Show / Hide Table of Contents

Class TypeResolver

Resolves a System.Type by name.

Inheritance
System.Object
TypeResolver
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tangosol.Util
Assembly: Coherence.Core.dll
Syntax
public class TypeResolver
Remarks

It resolves type by either loading it directly from the assembly (if one is specified within a type name), or by iterating over all of the loaded assemblies and trying to find the type.

Methods

| Improve this Doc View Source

Resolve(String)

Gets a System.Type for the typeName supplied as parameter.

Declaration
public static Type Resolve(string typeName)
Parameters
Type Name Description
System.String typeName

The name of a System.Type to resolve.

Returns
Type Description
System.Type

System.Type instance.

Exceptions
Type Condition
System.TypeLoadException

If the typeName could not be resolved to a System.Type.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000, 2020, Oracle and/or its affiliates. All rights reserved.