Space Engineers
Public Member Functions | Properties | List of all members
VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase > Class Template Reference

Public Member Functions

void RegisterFromCreatedObjectAssembly ()
 
void RegisterDescriptor (TAttribute descriptor, Type type)
 
void RegisterFromAssembly (Assembly assembly)
 
TCreatedObjectBase CreateInstance (MyObjectBuilderType objectBuilderType)
 
TBase CreateInstance< TBase > (MyObjectBuilderType objectBuilderType)
 
TBase CreateInstance< TBase > ()
 
Type GetProducedType (MyObjectBuilderType objectBuilderType)
 
Type TryGetProducedType (MyObjectBuilderType objectBuilderType)
 
TObjectBuilder CreateObjectBuilder< TObjectBuilder > (TCreatedObjectBase instance)
 
TObjectBuilder CreateObjectBuilder< TObjectBuilder > (Type instanceType)
 

Properties

DictionaryValuesReader< Type, TAttribute > Attributes [get]
 

Detailed Description

Type Constraints
TAttribute :MyFactoryTagAttribute 
TCreatedObjectBase :class 

Definition at line 13 of file MyObjectFactory.cs.

Member Function Documentation

TCreatedObjectBase VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.CreateInstance ( MyObjectBuilderType  objectBuilderType)
inline

Definition at line 93 of file MyObjectFactory.cs.

TBase VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.CreateInstance< TBase > ( MyObjectBuilderType  objectBuilderType)
inline
Type Constraints
TBase :class 
TBase :TCreatedObjectBase 

Definition at line 98 of file MyObjectFactory.cs.

TBase VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.CreateInstance< TBase > ( )
inline
Type Constraints
TBase :TCreatedObjectBase 
TBase :new() 

Definition at line 111 of file MyObjectFactory.cs.

TObjectBuilder VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.CreateObjectBuilder< TObjectBuilder > ( TCreatedObjectBase  instance)
inline
Type Constraints
TObjectBuilder :MyObjectBuilder_Base 

Definition at line 129 of file MyObjectFactory.cs.

TObjectBuilder VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.CreateObjectBuilder< TObjectBuilder > ( Type  instanceType)
inline
Type Constraints
TObjectBuilder :MyObjectBuilder_Base 

Definition at line 134 of file MyObjectFactory.cs.

Type VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.GetProducedType ( MyObjectBuilderType  objectBuilderType)
inline

Definition at line 117 of file MyObjectFactory.cs.

void VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.RegisterDescriptor ( TAttribute  descriptor,
Type  type 
)
inline

Definition at line 39 of file MyObjectFactory.cs.

void VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.RegisterFromAssembly ( Assembly  assembly)
inline

Definition at line 69 of file MyObjectFactory.cs.

void VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.RegisterFromCreatedObjectAssembly ( )
inline

Definition at line 29 of file MyObjectFactory.cs.

Type VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.TryGetProducedType ( MyObjectBuilderType  objectBuilderType)
inline

Definition at line 122 of file MyObjectFactory.cs.

Property Documentation

DictionaryValuesReader<Type, TAttribute> VRage.ObjectBuilders.MyObjectFactory< TAttribute, TCreatedObjectBase >.Attributes
get

Definition at line 25 of file MyObjectFactory.cs.


The documentation for this class was generated from the following file: