/// <summary> /// Constructor /// </summary> static BuildPlatform() { // Find all classes that inherit from BuildPlatform and register them with BuildProject. Type ti = typeof(BuildPlatform); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) { foreach (Type t in asm.GetTypes()) { if (ti.IsAssignableFrom(t) && ti != t) { BuildProject.RegisterPlatform((BuildPlatform)Activator.CreateInstance(t)); } } } }
/// <summary> /// Perform build for platform. /// </summary> public void Build() { BuildProject.PerformBuild(this); }