ConfigurationOptionAttribute

Allows to mark a property that is filled with configuration information.

Namespace:
Inetdev
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Attribute

Constructors

ConfigurationOptionAttribute

Initializes a new instance of ConfigurationOptionAttribute.

Signature:
public Void ConfigurationOptionAttribute(name)
Parameters
Name Type Summary
name String
Exceptions
Type Summary
ArgumentNullOrEmptyException

Properties

Default

Default value when not specified (optional).

Signature:
public String Default { get; set; }

Name

Name of the configuration option.

Signature:
public String Name { get; set; }

Required

Whether the property is required to be setted.

Signature:
public Boolean Required { get; set; }