Class ConstructorArgument
Argument of the class constructor, which is created using the factory of replacement classes.
Inheritance
System.Object
ConstructorArgument
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Factories
Assembly: Terrasoft.Core.dll
Syntax
public class ConstructorArgument
Remarks
This class is designed for initialization of the arguments of parameter-based class constructors, which are created using factory.
Constructors
ConstructorArgument(String, Object)
Initializes an instance of ConstructorArgument with the specified name and value.
Declaration
public ConstructorArgument(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Argument name. |
System.Object | value | Argument value. |
Properties
Name
Argument name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Argument value.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |