Click or drag to resize

TypeReference Structure

Represents a reference to a Type that will be serialized to XML using the type name.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Ookii.JumboTypeReference

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public struct TypeReference : IXmlSerializable, 
	IEquatable<TypeReference>

The TypeReference type exposes the following members.

Constructors
 NameDescription
Public methodTypeReference(String) Initializes a new instance of the TypeReference structure using the specified type name.
Public methodTypeReference(Type) Initializes a new instance of the TypeReference structure using the specified type.
Top
Properties
 NameDescription
Public propertyStatic memberResolveTypes Gets or sets a value indicating whether TypeReference instances should resolve the type specified by TypeName if the type isn't already known.
Public propertyTypeName Gets or sets the name of the type that this TypeReference references.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to the current TypeReference.
(Overrides ValueTypeEquals(Object))
Public methodEquals(TypeReference) Returns a value indicating whether the this instance is equal to the specified instance.
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode)
Public methodGetReferencedType Gets the type that this TypeReference references.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Converts this instance to a string representation.
(Overrides ValueTypeToString)
Public methodTryGetReferencedType Gets type that this TypeReference references, if any.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(TypeReference, TypeReference) Determines whether two specified TypeReference object have the same value.
Public operatorStatic member(Type to TypeReference) Implicitly converts a Type to a TypeReference.
Public operatorStatic memberInequality(TypeReference, TypeReference) Determines whether two specified TypeReference object have different values.
Top
Fields
 NameDescription
Public fieldStatic memberEmpty A TypeReference instance that doesn't reference any type.
Top
See Also