Freigeben über


ParameterReflectionHelper Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

The ParameterReflectionHelper type exposes the following members.

Constructors

  Name Description
Ee649534.pubmethod(en-us,PandP.10).gif ParameterReflectionHelper
Create a new instance of ParameterReflectionHelper that lets you query information about the given ParameterInfo object.

Methods

  Name Description
Ee649534.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee649534.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee649534.pubmethod(en-us,PandP.10).gif GetClosedParameterType
If this type is an open generic, use the given genericArguments array to determine what the required closed type is and return that.
(Inherited from ReflectionHelper.)
Ee649534.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee649534.pubmethod(en-us,PandP.10).gif GetNamedGenericParameter
Given a generic argument name, return the corresponding type for this closed type. For example, if the current type is MyType<User>, and the corresponding definition was MyType<TSomething>, calling this method and passing "TSomething" will return typeof(User).
(Inherited from ReflectionHelper.)
Ee649534.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee649534.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee649534.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

  Name Description
Ee649534.pubproperty(en-us,PandP.10).gif IsGenericType
Is this type generic?
(Inherited from ReflectionHelper.)
Ee649534.pubproperty(en-us,PandP.10).gif IsOpenGeneric
Is this type an open generic (no type parameter specified)
(Inherited from ReflectionHelper.)
Ee649534.pubproperty(en-us,PandP.10).gif Type
The Type object we're reflecting over.
(Inherited from ReflectionHelper.)

See Also

ParameterReflectionHelper Class

Microsoft.Practices.Unity.Utility Namespace