Пример #1
0
 public AnonymizerRule(string path, string method, AnonymizerRuleType type, string source)
 {
     Path   = path;
     Method = method;
     Type   = type;
     Source = source;
 }
Пример #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;
        }
Пример #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;
        }