private static void Boot() { Type target; target = AbstractBootstrap.GetTypeInternal("Bootstrap"); if (!typeof(AbstractBootstrap).IsAssignableFrom(target)) { throw new TypeLoadException( "Bootstrap is not instance of AbstractBootstrap"); } AbstractBootstrap._instance = (AbstractBootstrap)Activator.CreateInstance(target); AbstractBootstrap._instance.Initialize(); }
private static void Boot() { Type target; target = AbstractBootstrap.GetTypeInternal("Bootstrap"); if (!typeof(AbstractBootstrap).IsAssignableFrom(target)) throw new TypeLoadException( "Bootstrap is not instance of AbstractBootstrap"); AbstractBootstrap._instance = (AbstractBootstrap)Activator.CreateInstance(target); AbstractBootstrap._instance.Initialize(); }
static AbstractBootstrap() { AbstractBootstrap._lock = new System.Object(); AbstractBootstrap._path = null; AbstractBootstrap._instance = null; }
public virtual Type GetType(string name) { return(AbstractBootstrap.GetTypeInternal(name)); }
static AbstractBootstrap() { AbstractBootstrap._lock = new System.Object(); AbstractBootstrap._path = null; AbstractBootstrap._instance = null; }