Class MyComponentFactory
  
  
  
  
    Inheritance
    System.Object
    MyComponentFactory
   
  
  Assembly: VRage.Game.dll
  Syntax
  
    [PreloadRequired]
public sealed class MyComponentFactory : Object
   
  Properties
  
  
  
  
  Static
  
  
  Declaration
  
    public static MyComponentFactory Static { get; }
   
  Property Value
  
  Methods
  
  
  
  
  CreateInstanceByType(Type)
  
  
  Declaration
  
    public MyComponentBase CreateInstanceByType(Type type)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Type | type |  | 
    
  
  Returns
  
  
  
  
  CreateInstanceByTypeId(MyObjectBuilderType)
  
  
  Declaration
  
    public MyComponentBase CreateInstanceByTypeId(MyObjectBuilderType type)
   
  Parameters
  
  Returns
  
  
  
  
  CreateObjectBuilder(MyComponentBase)
  
  
  Declaration
  
    public MyObjectBuilder_ComponentBase CreateObjectBuilder(MyComponentBase instance)
   
  Parameters
  
  Returns
  
  
  
  
  GetCreatedInstanceType(MyObjectBuilderType)
  
  
  Declaration
  
    public Type GetCreatedInstanceType(MyObjectBuilderType type)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Type |  | 
    
  
  
  
  
  RegisterFromAssembly(Assembly)
  
  
  Declaration
  
    public void RegisterFromAssembly(Assembly assembly)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Reflection.Assembly | assembly |  | 
    
  
  
  
  
  TryGetCreatedInstanceType(MyObjectBuilderType)
  
  
  Declaration
  
    public Type TryGetCreatedInstanceType(MyObjectBuilderType type)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Type |  | 
    
  
  
  
  
  UnregisterFromAssembly(Assembly)
  
  
  Declaration
  
    public void UnregisterFromAssembly(Assembly assembly)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Reflection.Assembly | assembly |  |