Class InventoryAttribute
Defines an inventory-related set of data which is used by automatic code/component discovery such as database schema generation tools and system-global registry servers
Inheritance
Inherited Members
Namespace: NFX.Inventorization
Assembly: NFX.dll
Syntax
[AttributeUsage(AttributeTargets.All | AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)]
public sealed class InventoryAttribute : Attribute
Properties
Concerns
Indicates what concerns this entry relates to
Declaration
public SystemConcerns Concerns { get; set; }
Property Value
Type | Description |
---|---|
SystemConcerns |
EndDate
Provides an optional end date i.e. when this item will be phased out
Declaration
public DateTime? EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Parameters
Parameters for particular inventory entry. This can be used as params for auto-generating tools that scan inventories
Declaration
public string Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Schema
Provides a name of schema for this item, for example [Inventory(Technology="MongoDB", Schema="UserTransactions")]
Declaration
public string Schema { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartDate
Provides an optional start date i.e. when this item will start to be used
Declaration
public DateTime? StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Technology
A type of implementaton that this inventory entry refers to, i.e. "Oracle", "MongoDB", "Riak"
Declaration
public string Technology { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Tiers
Designates what tier this entry is for
Declaration
public SystemTiers Tiers { get; set; }
Property Value
Type | Description |
---|---|
SystemTiers |
Tool
Provides an optional name of an applicable tool [Inventory(Tool="ErlangModuleGenerator")]
Declaration
public string Tool { get; set; }
Property Value
Type | Description |
---|---|
System.String |