Created
October 11, 2013 06:37
-
-
Save mastoj/6930469 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Configurer | |
{ | |
public static class SomeThing | |
{ | |
public static string SomeString { get; set; } | |
} | |
public class PreApplicationStartCode | |
{ | |
public static void Start() | |
{ | |
SomeThing.SomeString = "I was initialized"; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web; | |
[assembly: PreApplicationStartMethod(typeof(PreApplicationStartCode), "Start")] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment