コード例 #1
0
        public static IEnumerable <ParameterBase> ToParameters(this TableFilterLine tableFilterLine)
        {
            yield return(new SimpleParameter("FieldName", tableFilterLine.FieldName));

            yield return(new SimpleParameter("Type", tableFilterLine.Type));

            yield return(new SimpleParameter("Value", tableFilterLine.Value));
        }
コード例 #2
0
 public static Invocation ToInvocation(this TableFilterLine tableFilterLine) => new Invocation("New-CBreezeFilter", tableFilterLine.ToParameters());