Пример #1
0
 public FlatFileResultSetResolverArgs(IScalarResolver <string> path, string basePath, string parserName, IResultSetResolver redirection, IFlatFileProfile profile)
 {
     Path        = path;
     BasePath    = basePath;
     ParserName  = parserName;
     Redirection = redirection;
     Profile     = profile;
 }
Пример #2
0
        public ITestVariable Instantiate(VariableScope scope, IScalarResolver resolver)
        {
            switch (scope)
            {
            case VariableScope.Global: return(new GlobalVariable(resolver));

            case VariableScope.Local:
            default:
                throw new ArgumentOutOfRangeException();
            }
        }
Пример #3
0
 public IPathSelect Instantiate(IScalarResolver <string> path, string attribute, bool isEvaluate)
 {
     if (isEvaluate)
     {
         return(new EvaluateSelect(path));
     }
     if (string.IsNullOrEmpty(attribute))
     {
         return(new ElementSelect(path));
     }
     else
     {
         return(new AttributeSelect(path, attribute));
     }
 }
Пример #4
0
 public NumericPredicate(bool not, IScalarResolver reference) : base(not, reference)
 {
 }
Пример #5
0
 public TextToDateTime(IScalarResolver <string> format)
 => (Format, Culture) = (format, new LiteralScalarResolver <string>(string.Empty));
Пример #6
0
 public AbstractTextPadTransformation(IScalarResolver <int> length, IScalarResolver <char> character)
     : base(length)
     => Character = character;
Пример #7
0
 public AbstractTextLengthTransformation(IScalarResolver <int> length)
 => Length = length;
Пример #8
0
 public TextToPrefix(IScalarResolver <string> prefix)
     : base(prefix)
 {
 }
Пример #9
0
 public TestVariable(IScalarResolver <object> resolver)
 {
     this.resolver = resolver;
 }
Пример #10
0
 public TestVariable(IScalarResolver resolver)
 {
     this.resolver = resolver;
 }
Пример #11
0
 public FunctionScalarResolverArgs(IScalarResolver resolver, IEnumerable <INativeTransformation> transformations)
 {
     Resolver        = resolver;
     Transformations = transformations;
 }
Пример #12
0
 public LocalToUtc(IScalarResolver <string> timeZoneLabel)
     : base(timeZoneLabel)
 {
 }
Пример #13
0
 public UtcToLocal(IScalarResolver <string> timeZoneLabel)
 {
     TimeZoneLabel = timeZoneLabel;
 }
Пример #14
0
 public ITestVariable Instantiate(IScalarResolver <object> resolver)
 {
     return(new TestVariable(resolver));
 }
Пример #15
0
 public NumericModulo(bool not, object secondOperand, IScalarResolver reference)
     : base(not, reference)
 {
     this.secondOperand = secondOperand;
 }
Пример #16
0
 public Concatenation(ICaster <T> caster, IScalarResolver <string> separator) : base(caster)
     => Separator = separator;
Пример #17
0
 public ConcatenationText(IScalarResolver <string> separator) : base(new TextCaster(), separator)
 {
 }
Пример #18
0
 protected PathFlattenizer(IScalarResolver <string> from, IEnumerable <IPathSelect> selects)
 => (From, Selects) = (from, selects);
Пример #19
0
 public TextEndsWith(bool not, IScalarResolver reference, StringComparison stringComparison)
     : base(not, reference, stringComparison)
 {
 }
Пример #20
0
 public BooleanEqual(bool not, IScalarResolver reference) : base(not, reference)
 {
 }
Пример #21
0
 public TextToSuffix(IScalarResolver <string> suffix)
     : base(suffix)
 {
 }
Пример #22
0
 public TextLessThanOrEqual(bool not, IScalarResolver reference) : base(not, reference)
 {
 }
Пример #23
0
 public TextToSkipLastChars(IScalarResolver <int> length)
     : base(length)
 {
 }
Пример #24
0
 public EmptyResultSetResolverArgs(IEnumerable <ColumnNameIdentifier> columns, IScalarResolver <int> columnCount)
 => (Identifiers, ColumnCount) = (columns, columnCount);
Пример #25
0
 public TextToPadLeft(IScalarResolver <int> length, IScalarResolver <char> character)
     : base(length, character)
 {
 }
Пример #26
0
 public HttpBasic(IScalarResolver <string> username, IScalarResolver <string> password)
 => (Username, Password) = (username, password);
Пример #27
0
 public AbstractTextAppend(IScalarResolver <string> append)
 => Append = append;
Пример #28
0
 public UrlReaderArgs(IScalarResolver <string> url)
 => (Url) = (url);
Пример #29
0
 internal ElementSelect(IScalarResolver <string> path)
 => Path = path;
Пример #30
0
 public NumericMoreThan(bool not, IScalarResolver reference) : base(not, reference)
 {
 }