Show / Hide Table of Contents

Class TypeConstantLoader

ConstantLoader<T> that allows loading a Type token.

Inheritance
object
ConstantLoader<Type>
TypeConstantLoader
Implements
IConstantLoader
IEquatable<IConstantLoader>
Inherited Members
ConstantLoader<Type>.CanLoadConstant(object)
ConstantLoader<Type>.ConstantType
ConstantLoader<Type>.Emit(ILGenerator, object)
ConstantLoader<Type>.Equals(IConstantLoader)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions.ConstantLoaders
Assembly: MCART.TypeFactory.dll
Syntax
public class TypeConstantLoader : ConstantLoader<Type>, IConstantLoader, IEquatable<IConstantLoader>

Methods

| Edit this page View Source

Emit(ILGenerator, Type)

Loads a Type constant value into the MSIL instruction sequence.

Declaration
public override void Emit(ILGenerator il, Type value)
Parameters
Type Name Description
ILGenerator il

The IL generator to use.

Type value

The constant value to load into the instruction sequence.

Overrides
ConstantLoader<Type>.Emit(ILGenerator, Type)

Implements

IConstantLoader
IEquatable<T>

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX