PostSharp / / API Reference / Post­Sharp.​Patterns.​Xaml / Command­Attribute

Class CommandAttribute

Inheritance
CommandAttribute
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
[MulticastAttributeUsage]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[LinesOfCodeAvoided(5)]
[HasConstraint]
public class CommandAttribute : LocationLevelAspect, ILocationLevelAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IAspectProvider, IAspect, IService

Constructors

Name Description
CommandAttribute()
CommandAttribute(PortableFormatterConstructorContext)

Properties

Name Description
CanExecuteMethod
CanExecuteProperty
ExecuteMethod

Methods

Name Description
CompileTimeInitialize(LocationInfo, AspectInfo)
OnInstanceConstructed(Object)
OnPropertyGet<T>(Object, ILocationBinding, out T)
OnPropertyInitialized(LocationInitializationArgs)
OnPropertySet<T>(Object, ILocationBinding, ref T)
ProvideAspects(Object)
RegisterGenericTypeInstance(Type, Type)
RuntimeInitialize(LocationInfo)