Class ContainmentAttribute
Marks a reference as a containment
[AttributeUsage(AttributeTargets.Property)]
public class ContainmentAttribute : Attribute
- Inheritance
-
ContainmentAttribute
- Inherited Members
Constructors
ContainmentAttribute()
Creates a new instance
public ContainmentAttribute()
ContainmentAttribute(bool)
Creates a new instance
public ContainmentAttribute(bool isContainment)
Parameters
isContainment
booltrue, if the reference is a containment, otherwise false
Properties
IsContainment
Indicates whether the reference is a containment
public bool IsContainment { get; set; }