Class FunctionModel
Inheritance
System.Object
FunctionModel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mix.Lib.Models.Common
Assembly: mix.library.dll
Syntax
public class FunctionModel
Properties
| Improve this Doc View SourceFieldName
Declaration
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxValue
Declaration
public string MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MinValue
Declaration
public string MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Rule
Declaration
public MixCompareOperatorKind Rule { get; set; }
Property Value
Type | Description |
---|---|
MixCompareOperatorKind |
Value
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCreate(MixCompareOperatorKind, String, String)
Declaration
public static FunctionModel Create(MixCompareOperatorKind rule, string fieldName, string value)
Parameters
Type | Name | Description |
---|---|---|
MixCompareOperatorKind | rule | |
System.String | fieldName | |
System.String | value |
Returns
Type | Description |
---|---|
FunctionModel |
Create(MixCompareOperatorKind, String, String, String)
Declaration
public static FunctionModel Create(MixCompareOperatorKind operatorKind, string fieldName, string minValue = "", string maxValue = "")
Parameters
Type | Name | Description |
---|---|---|
MixCompareOperatorKind | operatorKind | |
System.String | fieldName | |
System.String | minValue | |
System.String | maxValue |
Returns
Type | Description |
---|---|
FunctionModel |