Esempio n. 1
0
 protected Delta(object original, TypeSpec type, ITypeMapper typeMapper, Delta parent = null)
 {
     if (original == null) throw new ArgumentNullException("original");
     if (type == null) throw new ArgumentNullException("type");
     if (typeMapper == null) throw new ArgumentNullException("typeMapper");
     Original = original;
     Type = type;
     TypeMapper = typeMapper;
     this.parent = parent;
 }
Esempio n. 2
0
 protected Delta(object original, TypeSpec type, ITypeResolver typeMapper, Delta parent = null)
 {
     if (original == null)
         throw new ArgumentNullException(nameof(original));
     if (type == null)
         throw new ArgumentNullException(nameof(type));
     if (typeMapper == null)
         throw new ArgumentNullException(nameof(typeMapper));
     Original = original;
     Type = type;
     TypeMapper = typeMapper;
     Parent = parent;
 }
Esempio n. 3
0
 public ObjectDelta(object original, TypeSpec type, ITypeResolver typeMapper, Delta parent = null)
     : base(original, type, typeMapper, parent)
 {
 }