Show / Hide Table of Contents

Class TypeBuilder<T>

TypeBuilder that includes strongly typed information about its base class.

Inheritance
object
TypeBuilder<T>
Implements
ITypeBuilder<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types
Assembly: MCART.TypeFactory.dll
Syntax
public class TypeBuilder<T> : ITypeBuilder<T>
Type Parameters
Name Description
T

Base class of the type to be built.

Constructors

| Edit this page View Source

TypeBuilder(TypeBuilder)

Initializes a new instance of the TypeBuilder<T> class by specifying the underlying TypeBuilder to associate.

Declaration
public TypeBuilder(TypeBuilder builder)
Parameters
Type Name Description
TypeBuilder builder

Underlying TypeBuilder to associate.

Properties

| Edit this page View Source

Builder

Underlying TypeBuilder of this instance.

Declaration
public TypeBuilder Builder { get; }
Property Value
Type Description
TypeBuilder

Methods

| Edit this page View Source

New()

Creates a new instance of the specified runtime type.

Declaration
public T New()
Returns
Type Description
T

The new instance of the specified type.

Operators

| Edit this page View Source

implicit operator TypeBuilder<T>(TypeBuilder)

Implicitly converts a TypeBuilder into a TypeBuilder<T>.

Declaration
public static implicit operator TypeBuilder<T>(TypeBuilder builder)
Parameters
Type Name Description
TypeBuilder builder

TypeBuilder to convert.

Returns
Type Description
TypeBuilder<T>
| Edit this page View Source

implicit operator TypeBuilder(TypeBuilder<T>)

Implicitly converts a TypeBuilder<T> into a TypeBuilder.

Declaration
public static implicit operator TypeBuilder(TypeBuilder<T> builder)
Parameters
Type Name Description
TypeBuilder<T> builder

TypeBuilder to convert.

Returns
Type Description
TypeBuilder

Implements

ITypeBuilder<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.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