public static RedactProcessor Create(AnonymizerConfigurationManager configuratonManager) { var parameters = configuratonManager.GetParameterConfiguration(); return(new RedactProcessor(parameters.EnablePartialDatesForRedact, parameters.EnablePartialAgesForRedact, parameters.EnablePartialZipCodesForRedact, parameters.RestrictedZipCodeTabulationAreas)); }
public static DateShiftProcessor Create(AnonymizerConfigurationManager configuratonManager) { var parameters = configuratonManager.GetParameterConfiguration(); return(new DateShiftProcessor(parameters.DateShiftKey, parameters.DateShiftKeyPrefix, parameters.EnablePartialDatesForRedact)); }