Archive

Archive for August 29th, 2009

Yet Another Code Snippet formatter

August 29th, 2009 No comments

First some text.

Then some code:

[TestClass]

public class MyTest

{

    public MyTest()

    {

    }

    

    [TestMethod]

    public void Test()

    {

      // Fixture setup

      // Exercise system

      // Verify outcome

      Assert.Inconclusive();

      // Teardown

    }

}

Then some more text:

Categories: UnitTest Tags:

Code Test, Take 2

August 29th, 2009 No comments

This is a test of formatted code:

        public CompleteStorageService(string connectionString, string fileName)
        {
            if (connectionString == null)
            {
                throw new ArgumentNullException("connectionString");
            }
            if (fileName == null)
            {
                throw new ArgumentNullException("fileName");
            }

            this.connectionString = connectionString;
            this.fileName = fileName;

            this.syncLock = new object();
        }

Thanks ploeh …

Categories: Uncategorized Tags:

Kræmmermarket

August 29th, 2009 No comments

Today was the yearly cultural day and fair in our small town. Lene had a stand and was actually able to sell some of our junk … ups … I mean valuables we no longer have a need for ;)

Categories: Private Tags:

Formatting code

August 29th, 2009 No comments

I’m trying to find the best plugin for formatting the code.

Categories: Admin Tags: ,