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

Class DispatchedAttribute.DispatchedMethodAspect

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)