Objects which decorated with this attribute will be excluded from collection of types which support feature of branches

Namespace: Xafari.BC.Branches
Assembly: Xafari.BC.Branches (in Xafari.BC.Branches.dll)

Syntax

C#

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true, AllowMultiple = false)]
public class ForceBranchSupportDisableAttribute : Attribute

 

Remarks

If your object doesn't need to use feature of branches and inherited from type which implement IBranchSupport, then you can decorate him this attribute to exclude from collection of types which support feature of branches

Example

Sample of class which implement IBranchSupport but excluded from collection of types which support feature of branches

 

 
 [ForceBranchSupportDisable()]
 public class SomeObject : XafariBaseObject //XafariBaseObject implements IBranchSupport
 {
    public string Name {get; set;}
 }
 

 

Inheritance Hierarchy

System.Object

System.Attribute

Xafari.BC.Branches.ForceBranchSupportDisableAttribute

See Also