Parameter

Parameter implements a data model for an application patameter.

Namespace:
Inetdev.Commons
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.DataModel
Implements:
System.IEquatable{Inetdev.Commons.Parameter}

Constructors

Parameter

Default constructor

Signature:
public Void Parameter()

Parameter

Initializes a new instance of Parameter.

Signature:
public Void Parameter(id)
Parameters
Name Type Summary
id String Parameter Id.

Properties

EnforceModelValidation

Gets whether the model validation must be enforced.

Signature:
public Boolean EnforceModelValidation { get; }

Id

Parameter identification.

Signature:
public String Id { get; set; }

Value

Value os the parameter.

Signature:
public String Value { get; set; }

Methods

Equals

Checks whether other is equal to this object.

Signature:
public Boolean Equals(other)
Parameters
Name Type Summary
other Parameter The object to check equality to.

Equals

Checks whether obj is equal to this object.

Signature:
public Boolean Equals(obj)
Parameters
Name Type Summary
obj Object The object to compare this object to.

GetHashCode

Serves as the default hash function. Not required, implemented to avoid compiler warning.

Signature:
public Int32 GetHashCode()

Load

Initializes a new instance of Parameter and loads it data from the underlaying repository.

Signature:
public Parameter Load(Id)
Parameters
Name Type Summary
Id String Object Id.

LoadAsync

Initializes a new instance of Parameter and loads it data from the underlaying repository asyncronously.

Signature:
public Task<Parameter> LoadAsync(Id)
Parameters
Name Type Summary
Id String Object Id.

ToString

Returns a textual representation of this Parameter.

Signature:
public String ToString()