Ejemplo n.º 1
0
        public static RenameContext Create(string sourceRegex, string destRegex, IDictionary <string, string> variableTypes)
        {
            var result = new RenameContext();

            result._regex     = new Regex(sourceRegex);
            result._destRegex = destRegex;
            result.InitialiseTypeMap(variableTypes);

            return(result);
        }
Ejemplo n.º 2
0
 public RenameContext CreateRenameContext()
 {
     return(RenameContext.Create(SourceRegex, DestRegex, VariableTypes));
 }