Class FunctionParameter<T>
- Assembly
- TimeCockpit.Data.dll
Represents a class that encapsulates parameters that have been passed to a TCQL function. The class provides methods to query if the function parameter has a value or not.
public class FunctionParameter<T>
Type Parameters
TThe underlying type of the parameter.
- Inheritance
-
ObjectFunctionParameter<T>
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
FunctionParameter()
Initializes a new instance of the FunctionParameter<T> class.
public FunctionParameter()
FunctionParameter(T)
Initializes a new instance of the FunctionParameter<T> class.
public FunctionParameter(T value)
Parameters
valueTThe param.
Properties
HasValue
Gets a value indicating whether this instance has value.
public bool HasValue { get; }
Property Value
- Boolean
trueif this instance has value; otherwise,false.
Value
Gets or sets the value of the current instance of FunctionParameter<T>.
public T Value { get; set; }
Property Value
- T