Table of Contents

Class ContainmentAttribute

Namespace
NMF.Models
Assembly
NMF.Models.dll

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 bool

true, if the reference is a containment, otherwise false

Properties

IsContainment

Indicates whether the reference is a containment

public bool IsContainment { get; set; }

Property Value

bool