PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingDispatched­Attribute.​Dispatched­Method­Aspect
Open sandboxFocus

DispatchedAttribute.DispatchedMethodAspect Class

Inheritance
DispatchedAttribute.DispatchedMethodAspect
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[ProvideAspectRole("Threading")]
[AspectTypeDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[LinesOfCodeAvoided(1)]
[AspectDescription("Executes the method in the object thread")]
[Internal(AttributeId = -9126100459348525006L)]
[HasConstraint]
[Serializer]
public sealed class DispatchedMethodAspect : MethodInterceptionAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IAsyncMethodInterceptionAspect, IMethodInterceptionAspect, IMethodLevelAspect, IAspect

Constructors

Name Description
DispatchedMethodAspect(PortableFormatterConstructorContext)

Methods

Name Description
CompileTimeValidate(MethodBase)
OnInvoke(MethodInterceptionArgs)
OnInvokeAsync(MethodInterceptionArgs)