Class MyObjectBuilderType
Inheritance
System.Object
MyObjectBuilderType
Assembly: VRage.Game.dll
Syntax
public sealed class MyObjectBuilderType : ValueType
Constructors
MyObjectBuilderType(Type)
Declaration
public MyObjectBuilderType(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
Fields
Comparer
Declaration
public static readonly MyObjectBuilderType.ComparerType Comparer
Field Value
Invalid
Declaration
public static readonly MyObjectBuilderType Invalid
Field Value
LEGACY_TYPE_PREFIX
Declaration
public const string LEGACY_TYPE_PREFIX = "MyObjectBuilder_"
Field Value
| Type |
Description |
| System.String |
|
Properties
IsNull
Declaration
public bool IsNull { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Equals(MyObjectBuilderType)
Declaration
public bool Equals(MyObjectBuilderType type)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
IsReady()
Declaration
public static bool IsReady()
Returns
| Type |
Description |
| System.Boolean |
|
IsValidTypeName(String)
Declaration
public static bool IsValidTypeName(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
Parse(String)
Declaration
public static MyObjectBuilderType Parse(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
ParseBackwardsCompatible(String)
Can handle old values as well.
Declaration
public static MyObjectBuilderType ParseBackwardsCompatible(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
RegisterFromAssembly(Assembly, Boolean)
Declaration
public static void RegisterFromAssembly(Assembly assembly, bool registerLegacyNames = false)
Parameters
| Type |
Name |
Description |
| System.Reflection.Assembly |
assembly |
|
| System.Boolean |
registerLegacyNames |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
TryParse(String, out MyObjectBuilderType)
Declaration
public static bool TryParse(string value, out MyObjectBuilderType result)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
UnregisterAssemblies()
Declaration
public static void UnregisterAssemblies()
UnregisterFromAssembly(Assembly)
Declaration
public static void UnregisterFromAssembly(Assembly assembly)
Parameters
| Type |
Name |
Description |
| System.Reflection.Assembly |
assembly |
|
Operators
Equality(Type, MyObjectBuilderType)
Declaration
public static bool operator ==(Type lhs, MyObjectBuilderType rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equality(MyObjectBuilderType, Type)
Declaration
public static bool operator ==(MyObjectBuilderType lhs, Type rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equality(MyObjectBuilderType, MyObjectBuilderType)
Declaration
public static bool operator ==(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Explicit(MyObjectBuilderType to MyRuntimeObjectBuilderId)
Declaration
public static explicit operator MyRuntimeObjectBuilderId(MyObjectBuilderType t)
Parameters
Returns
Explicit(MyRuntimeObjectBuilderId to MyObjectBuilderType)
Declaration
public static explicit operator MyObjectBuilderType(MyRuntimeObjectBuilderId id)
Parameters
Returns
Implicit(Type to MyObjectBuilderType)
Declaration
public static implicit operator MyObjectBuilderType(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
Implicit(MyObjectBuilderType to Type)
Declaration
public static implicit operator Type(MyObjectBuilderType t)
Parameters
Returns
| Type |
Description |
| System.Type |
|
Inequality(Type, MyObjectBuilderType)
Declaration
public static bool operator !=(Type lhs, MyObjectBuilderType rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(MyObjectBuilderType, Type)
Declaration
public static bool operator !=(MyObjectBuilderType lhs, Type rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(MyObjectBuilderType, MyObjectBuilderType)
Declaration
public static bool operator !=(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|