Class AnchorAttribute
Denotes that the annotated reference is anchored at the given type
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class AnchorAttribute : Attribute
- Inheritance
-
AnchorAttribute
- Inherited Members
Constructors
AnchorAttribute(Type)
Creates a new instance
public AnchorAttribute(Type anchorType)
Parameters
anchorType
Typethe type of the anchor
Properties
AnchorType
Gets the type of the anchor
public Type AnchorType { get; }