internal CustomOperation(string operation, ConstantOperation constant)
        {
            Contract.RequiresNotEmpty(operation, $"Argument '{nameof(operation)}' is invalid.");
            Contract.RequiresNotNull(constant, "operation != null");

            Operation = operation;
            Constant  = constant;
        }
Beispiel #2
0
 public static CustomOperation Custom(string operation, ConstantOperation constant)
 {
     return(new CustomOperation(operation, constant));
 }