Exemplo n.º 1
0
 /// <summary>
 /// Creates SourceChange
 /// </summary>
 /// <param name="oldEntity">Old version of IEntity.</param>
 /// <param name="newEntity">New version of IEntity.</param>
 /// <param name="memberKind">Kind of member changed.</param>
 /// <param name="action">Action done to member.</param>
 public SourceChange(IEntity oldEntity, IEntity newEntity, SourceChangeMember memberKind, SourceChangeAction action, bool isError = false)
 {
     OldEntity    = oldEntity;
     NewEntity    = newEntity;
     MemberAction = action;
     MemberKind   = memberKind;
     IsError      = isError;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates SourceChange
 /// </summary>
 /// <param name="oldEntity">Old version of IEntity.</param>
 /// <param name="newEntity">New version of IEntity.</param>
 /// <param name="memberKind">Kind of member changed.</param>
 /// <param name="action">Action done to member.</param>
 public SourceChange(IEntity oldEntity,IEntity newEntity, SourceChangeMember memberKind, SourceChangeAction action, bool isError = false)
 {
     OldEntity = oldEntity;
     NewEntity = newEntity;
     MemberAction = action;
     MemberKind = memberKind;
     IsError = isError;
 }
Exemplo n.º 3
0
 public BodyChange(IEntity oldEntity, IEntity newEntity, SourceChangeMember memberKind, SourceChangeAction action, bool isGetter, bool isError = false)
     : base(oldEntity, newEntity, memberKind, action, isError)
 {
     this.isGetter = isGetter;
 }
Exemplo n.º 4
0
 public BodyChange(IEntity oldEntity, IEntity newEntity, SourceChangeMember memberKind, SourceChangeAction action, bool isGetter, bool isError = false)
     : base(oldEntity,newEntity, memberKind, action, isError)
 {
     this.isGetter = isGetter;
 }