public void AddSystemPackageAtRuntime(string packageName) { if (ProvenceManager.Collections <SystemPackage>().ContainsKey(packageName)) { HashSet <Type> package = ProvenceManager.Collections <SystemPackage>()[packageName].systems; foreach (Type systemType in package) { if (!systemDictionary.ContainsKey(systemType)) { ProvenceSystem system = (ProvenceSystem)Activator.CreateInstance(systemType); AddSystem((dynamic)system); } } } }
public AddSystem() { this.system = null; }
public AddSystem(ProvenceSystem system) { this.system = system; }
public SystemReadyEvent(ProvenceSystem system) { this.system = system; }