Class DynamicTypeInfo
Internal use only.
[DataContract]
public class DynamicTypeInfo
- Inheritance
-
DynamicTypeInfo
- Inherited Members
Fields
BaseDynamicPrefix
For internal use only
public const string BaseDynamicPrefix = "_IB_"
Field Value
CSharpAnonPrefix
For internal use only
public const string CSharpAnonPrefix = "<>f__Anon"
Field Value
CSharpDynamicPrefix
For internal use only
public const string CSharpDynamicPrefix = "_IB_f__Anon"
Field Value
DynamicAssemblyNameSuffix
Suffix added to all dynamic assemblies constructed here.
public const string DynamicAssemblyNameSuffix = "_IdeaBlade"
Field Value
VBAnonPrefix
For internal use only
public const string VBAnonPrefix = "VB$"
Field Value
VBDynamicPrefix
For internal use only
public const string VBDynamicPrefix = "$IBVB"
Field Value
Properties
DynamicConstructor
For internal use only.
public ConstructorInfo DynamicConstructor { get; }
Property Value
DynamicEmptyConstructor
For internal use only.
public ConstructorInfo DynamicEmptyConstructor { get; }
Property Value
DynamicType
For internal use only.
public Type DynamicType { get; }
Property Value
DynamicTypeName
For internal use only.
[DataMember]
public string DynamicTypeName { get; }
Property Value
OriginalType
For internal use only.
public Type OriginalType { get; set; }
Property Value
Properties
For internal use only.
public ReadOnlyCollection<PropertyInfo> Properties { get; }
Property Value
PropertyNameWrappers
For internal use only.
[DataMember]
public List<string> PropertyNameWrappers { get; set; }
Property Value
PropertyNames
For internal use only.
public ReadOnlyCollection<string> PropertyNames { get; }
Property Value
PropertyTypes
For internal use only.
public ReadOnlyCollection<Type> PropertyTypes { get; }
Property Value
TypeName
For internal use only. The anonymous type's name; null for types built from a property list.
[DataMember]
public string? TypeName { get; protected set; }
Property Value
Methods
Equals(object?)
For internal use only.
public override bool Equals(object? obj)
Parameters
objobject
Returns
FindByAssemblyName(string)
Return the DynamicTypeInfo for the specified assembly name containing a dynamic type.
public static DynamicTypeInfo? FindByAssemblyName(string pAssemblyName)
Parameters
pAssemblyNamestring
Returns
FindByDynamicTypeName(string)
Return the DynamicTypeInfo for the specified dynamic type name.
public static DynamicTypeInfo? FindByDynamicTypeName(string name)
Parameters
namestring
Returns
FindOrCreate(IEnumerable<string>, IEnumerable<Type>)
Either finds a dynamic type that matches the specified propertyNames and propertyTypes or creates a new DynamicType that does.
public static DynamicTypeInfo FindOrCreate(IEnumerable<string> propertyNames, IEnumerable<Type> propertyTypes)
Parameters
propertyNamesIEnumerable<string>propertyTypesIEnumerable<Type>
Returns
FindOrCreate(Type)
Either finds a dynamic type that matches the specified anon or dynamic type or creates a new DynamicTypeInfo that does.
public static DynamicTypeInfo? FindOrCreate(Type anonOrDynType)
Parameters
anonOrDynTypeType
Returns
GetHashCode()
For internal use only.
public override int GetHashCode()
Returns
IsDynamicType(Type)
For internal use only.
public static bool IsDynamicType(Type type)
Parameters
typeType