Struct TypeSpec
Type specification for marshalling contract types between glued peers
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Glue.Protocol
Assembly: Azos.dll
Syntax
[Serializable]
public struct TypeSpec
Constructors
TypeSpec(Type)
Declaration
public TypeSpec(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Properties
Hash
Declaration
public ulong Hash { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
GetSpecifiedType()
Returns the type or throws if it can't be found
Declaration
public Type GetSpecifiedType()
Returns
Type | Description |
---|---|
System.Type | The type or throws exception if actual type could not be gotten |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()