ObjectProperty

Configuration of an object property.

Namespace:
Inetdev.Context.Configuration
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

ObjectProperty

Initializes a new instance of ObjectProperty.

Signature:
public Void ObjectProperty(name, type, value, optional)
Parameters
Name Type Summary
name String Property name.
type PropertyType Property type.
value Object Configuration value of this property.
optional Boolean Whether the property is considered optional.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thown when name is null or empty.

Properties

Name

Property name.

Signature:
public String Name { get; set; }

Optional

Whether the property is considered optional.

Signature:
public Boolean Optional { get; set; }

Type

Property type.

Signature:
public PropertyType Type { get; set; }

Value

Configuration value of this property.

Signature:
public Object Value { get; set; }

Methods

ToString

Returns a textual representation of the object property configuration.

Signature:
public String ToString()