Class SimpleTypeSlimBase
Lightweight representation of a simple type.
Implements
System.IEquatable<TypeSlim>
Inherited Members
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
GetHashCode()
Returns a hash code for this object.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | The hash code. |
Overrides
Implements
System.IEquatable<>