Compartir a través de


SerializableMethodInfo Members

A binary and XML serializable representation of a method.

The following tables list the members exposed by the SerializableMethodInfo type.

Public Constructors

  Name Description
  SerializableMethodInfo  

Top

Public Properties

  Name Description
public property AssociationReference The association references of this method. It is non-null only if this method is a get or set method of property.
public property DeclaringType  The declaring type of this member. (Inherited from SerializableMemberInfo)
public property Header  A unique representation of the member as a string. Uniqueness is determined by .Net naming rules. For instance, whether a member is static or not, will not be represented, as static and non-static members with same name/parameters cannot co-exist in one declaring type. And for methods, the return type will not be represented, as different methods with same name and parameters cannot co-exist in one type. (Inherited from SerializableMemberInfo)
public property IsPublic  Whether this is a public member. (Inherited from SerializableMemberInfo)
public property IsStatic  Whether this is a static member. (Inherited from SerializableMemberInfo)
public property Name  The simple name of this member. (Inherited from SerializableMemberInfo)
public property Parameters  The parameter types. (Inherited from SerializableMethodBase)
public property ReturnType The return type, or null, if method is void.
public property TypeParameters The type parameter types.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overridden. Equality, based on headers. (Inherited from Object)
public method GetHashCode  Overridden. Hash code based on headers. (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToMemberInfo Overridden. Convert to member info.
public method ToMethodInfo Convert to reflection method using type resolver.
public method ToString  Overridden. Convert to string. Returns the header. (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

SerializableMethodInfo Class
Microsoft.SpecExplorer.ObjectModel Namespace