예제 #1
0
 public ClassTypeDefinition( Type ItemClassType, FactoryAttribute.InstantiateType Instantiate )
 {
     this.ItemClassType = ItemClassType;
     this.Instantiate = Instantiate;
 }
예제 #2
0
        public void Add( String Identifier, Type ItemClassType, FactoryAttribute.InstantiateType InstantiateType )
        {
            if( this.classTypeMap.ContainsKey( Identifier ) && !this.ValidateType( ItemClassType ) ) return;

            this.classTypeMap.Add( Identifier, new ClassTypeDefinition( ItemClassType, InstantiateType ) );
        }
예제 #3
0
 public FactoryAttribute( String Identifier, FactoryAttribute.InstantiateType InstantiateType )
 {
     this.Identifier 	= Identifier;
     this.Instantiate 	= InstantiateType;
 }