Ejemplo n.º 1
0
 public AnonymizerRule(string path, string method, AnonymizerRuleType type, string source)
 {
     Path   = path;
     Method = method;
     Type   = type;
     Source = source;
 }
Ejemplo n.º 2
0
        public AnonymizationFhirPathRule(string path, string expression, string resourceType, string method,
                                         AnonymizerRuleType type, string source, Dictionary <string, object> settings = null)
            : base(path, method, type, source)
        {
            EnsureArg.IsNotNull(expression);

            Expression   = expression;
            ResourceType = resourceType;
            RuleSettings = settings;
        }
Ejemplo n.º 3
0
        public AnonymizationFhirPathRule(string path, string expression, string resourceType, string method,
                                         AnonymizerRuleType type, string source, Dictionary <string, object> settings = null)
            : base(path, method, type, source)
        {
            if (string.IsNullOrEmpty(expression))
            {
                throw new ArgumentNullException("expression");
            }

            Expression   = expression;
            ResourceType = resourceType;
            RuleSettings = settings;
        }
        public AnonymizationFhirPathRule(string path, string expression, string resourceType, string method, AnonymizerRuleType type, string source)
            : base(path, method, type, source)
        {
            if (string.IsNullOrEmpty(expression))
            {
                throw new ArgumentNullException("expression");
            }

            Expression   = expression;
            ResourceType = resourceType;
        }