Esempio n. 1
0
 static ContractButton()
 {
     ContractsFactory.RegisterFactory(typeof(IButton), () => new ContractButton());
 }
Esempio n. 2
0
 static ContractLabel()
 {
     ContractsFactory.RegisterFactory(typeof(ILabel), () => new ContractLabel());
 }
 static ContractInventoryWindow()
 {
     ContractsFactory.RegisterFactory(typeof(IInventoryWindow), () => new ContractInventoryWindow());
 }
Esempio n. 4
0
 static ContractObject()
 {
     ContractsFactory.RegisterFactory(typeof(IObject), () => new ContractObject());
 }
Esempio n. 5
0
 static ContractCharacter()
 {
     ContractsFactory.RegisterFactory(typeof(ICharacter), () => new ContractCharacter());
     ContractsFactory.RegisterSubtype(typeof(IContract <IObject>), typeof(ContractCharacter));
 }
Esempio n. 6
0
 static ContractSlider()
 {
     ContractsFactory.RegisterFactory(typeof(ISlider), () => new ContractSlider());
 }