Exemplo n.º 1
0
 public Step(MetadataRule def, TextColumnWrapper source, Regex regex, string replacement, TextColumnWrapper target)
 {
     Def         = def;
     Source      = source;
     Regex       = regex;
     Replacement = replacement;
     Target      = target;
 }
Exemplo n.º 2
0
        public static bool IsTarget(TextColumnWrapper column)
        {
            if (column.IsImportable)
            {
                return(true);
            }

            var annotationDef = column.AnnotationDef;

            if (annotationDef != null)
            {
                if (annotationDef.Expression == null)
                {
                    return(true);
                }
            }

            return(false);
        }
Exemplo n.º 3
0
 public static bool IsSource(TextColumnWrapper column)
 {
     return(!IsTarget(column));
 }