Пример #1
0
 public static MyObjectBuilder_Base CreateNewObject(MyObjectBuilderType type)
 {
     return(m_objectFactory.CreateInstance(type));
 }
Пример #2
0
 public TCreatedObjectBase CreateInstance(MyObjectBuilderType objectBuilderType)
 {
     return(CreateInstance <TCreatedObjectBase>(objectBuilderType));
 }
Пример #3
0
 public bool Equals(MyObjectBuilderType type)
 {
     return(type.m_type == this.m_type);
 }
Пример #4
0
 public Type GetProducedType(MyObjectBuilderType objectBuilderType)
 {
     return(m_attributesByObjectBuilder[objectBuilderType].ProducedType);
 }
Пример #5
0
 internal static void RegisterLegacyName(MyObjectBuilderType type, string legacyName)
 {
     m_typeByLegacyName.Add(legacyName, type);
 }