Show / Hide Table of Contents

Class MyObjectBuilderType

Inheritance
System.Object
MyObjectBuilderType
Namespace: VRage.ObjectBuilders
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
Type Description
MyObjectBuilderType.ComparerType

Invalid

Declaration
public static readonly MyObjectBuilderType Invalid
Field Value
Type Description
MyObjectBuilderType

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
Type Name Description
MyObjectBuilderType type
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
Type Description
MyObjectBuilderType

ParseBackwardsCompatible(String)

Can handle old values as well.

Declaration
public static MyObjectBuilderType ParseBackwardsCompatible(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
MyObjectBuilderType

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
Type Name Description
System.String value
MyObjectBuilderType result
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
Type Name Description
System.Type lhs
MyObjectBuilderType rhs
Returns
Type Description
System.Boolean

Equality(MyObjectBuilderType, Type)

Declaration
public static bool operator ==(MyObjectBuilderType lhs, Type rhs)
Parameters
Type Name Description
MyObjectBuilderType lhs
System.Type rhs
Returns
Type Description
System.Boolean

Equality(MyObjectBuilderType, MyObjectBuilderType)

Declaration
public static bool operator ==(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
Parameters
Type Name Description
MyObjectBuilderType lhs
MyObjectBuilderType rhs
Returns
Type Description
System.Boolean

Explicit(MyObjectBuilderType to MyRuntimeObjectBuilderId)

Declaration
public static explicit operator MyRuntimeObjectBuilderId(MyObjectBuilderType t)
Parameters
Type Name Description
MyObjectBuilderType t
Returns
Type Description
MyRuntimeObjectBuilderId

Explicit(MyRuntimeObjectBuilderId to MyObjectBuilderType)

Declaration
public static explicit operator MyObjectBuilderType(MyRuntimeObjectBuilderId id)
Parameters
Type Name Description
MyRuntimeObjectBuilderId id
Returns
Type Description
MyObjectBuilderType

Implicit(Type to MyObjectBuilderType)

Declaration
public static implicit operator MyObjectBuilderType(Type t)
Parameters
Type Name Description
System.Type t
Returns
Type Description
MyObjectBuilderType

Implicit(MyObjectBuilderType to Type)

Declaration
public static implicit operator Type(MyObjectBuilderType t)
Parameters
Type Name Description
MyObjectBuilderType t
Returns
Type Description
System.Type

Inequality(Type, MyObjectBuilderType)

Declaration
public static bool operator !=(Type lhs, MyObjectBuilderType rhs)
Parameters
Type Name Description
System.Type lhs
MyObjectBuilderType rhs
Returns
Type Description
System.Boolean

Inequality(MyObjectBuilderType, Type)

Declaration
public static bool operator !=(MyObjectBuilderType lhs, Type rhs)
Parameters
Type Name Description
MyObjectBuilderType lhs
System.Type rhs
Returns
Type Description
System.Boolean

Inequality(MyObjectBuilderType, MyObjectBuilderType)

Declaration
public static bool operator !=(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
Parameters
Type Name Description
MyObjectBuilderType lhs
MyObjectBuilderType rhs
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾