Show / Hide Table of Contents

Class SimpleTypeSlimBase

Lightweight representation of a simple type.

Inheritance
System.Object
TypeSlim
SimpleTypeSlimBase
GenericDefinitionTypeSlim
SimpleTypeSlim
Implements
System.IEquatable<TypeSlim>
Inherited Members
TypeSlim.Array(TypeSlim)
TypeSlim.Array(TypeSlim, Int32)
TypeSlim.GenericDefinition(AssemblySlim, String)
TypeSlim.GenericParameter(String)
TypeSlim.Generic(GenericDefinitionTypeSlim, ReadOnlyCollection<TypeSlim>)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim[])
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim, TypeSlim, TypeSlim)
TypeSlim.Simple(AssemblySlim, String)
TypeSlim.Structural(ReadOnlyCollection<PropertyInfoSlim>, Boolean, StructuralTypeSlimKind)
TypeSlim.ToString()
TypeSlim.ToCSharpString()
TypeSlim.Equals(Object)
TypeSlim.Kind
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class SimpleTypeSlimBase : TypeSlim, IEquatable<TypeSlim>

Constructors

SimpleTypeSlimBase(AssemblySlim, String)

Creates a new generic type definition representation object.

Declaration
protected SimpleTypeSlimBase(AssemblySlim assembly, string name)
Parameters
Type Name Description
AssemblySlim assembly

Assembly defining the type.

System.String name

Name of the type.

Properties

Assembly

Gets the assembly defining the type.

Declaration
public AssemblySlim Assembly { get; }
Property Value
Type Description
AssemblySlim

Name

Gets the name of the type.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Methods

Equals(TypeSlim)

The equals method for comparing against other class instances.

Declaration
public override bool Equals(TypeSlim other)
Parameters
Type Name Description
TypeSlim other

The other instance.

Returns
Type Description
System.Boolean

true if the given instance equals this instance, false otherwise.

Overrides
TypeSlim.Equals(TypeSlim)

GetHashCode()

Returns a hash code for this object.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code.

Overrides
TypeSlim.GetHashCode()

Implements

System.IEquatable<>

Extension Methods

TypeSlimExtensions.ToType(TypeSlim)
TypeSlimExtensions.ToType(TypeSlim, IReflectionProvider)
TypeSlimExtensions.GetConstructor(TypeSlim, ReadOnlyCollection<TypeSlim>)
TypeSlimExtensions.GetProperty(TypeSlim, String, TypeSlim, ReadOnlyCollection<TypeSlim>, Boolean)
TypeSlimExtensions.GetField(TypeSlim, String, TypeSlim)
TypeSlimExtensions.GetSimpleMethod(TypeSlim, String, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSlimExtensions.GetGenericDefinitionMethod(TypeSlim, String, ReadOnlyCollection<TypeSlim>, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSlimExtensions.GetGenericMethod(TypeSlim, GenericDefinitionMethodInfoSlim, ReadOnlyCollection<TypeSlim>)
In This Article
Back to top Generated by DocFX