public DestructureByMaskingPolicy(MaskingOptions opts)
        {
            if (opts == null)
            {
                throw new ArgumentNullException(nameof(opts));
            }

            maskingOptions = opts;
        }
Пример #2
0
        public DestructureByMaskingPolicy(MaskingOptions opts)
        {
            if (opts == null)
            {
                throw new ArgumentNullException(nameof(opts));
            }

            maskedProperties = opts.PropertyNames;
            mask             = opts.Mask;
        }
 public DestructureByMaskingPolicy(MaskingOptions opts)
 {
     maskingOptions = opts ?? throw new ArgumentNullException(nameof(opts));
 }