PostSharp SDK6.6//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/IMethod­Collection Interface

IMethodCollection Interface

Semantics of collections of methods as required by IType.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.6.3.0 (6.6.3.0)
Syntax
C#
public interface IMethodCollection : IEnumerable<IMethod>, 
	IEnumerable

The IMethodCollection type exposes the following members.

Properties
  NameDescription
Public propertyParent
Gets the parent of the current collection.
Methods
  NameDescription
Public methodGetByName
Gets a set of methods given their name.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<IMethod>.)
Public methodGetMethod
Finds a method in the type given its name and signature.
Extension Methods
  NameDescription
Public Extension MethodGetMethod
Gets a method of an IMethodCollection given its name and a predicate.
(Defined by MethodCollectionExtensions.)
See Also