public EhfSyncDiffRecord(string organization, ObjectId identity, EhfSyncObjectType ehfSyncObjectType, string name, T expectedObject, T actualObject) { this.organization = organization; this.identity = identity; this.syncObject = ehfSyncObjectType; this.name = name; this.onlyInEhf = new MultiValuedProperty <T>(actualObject); this.onlyInExchange = new MultiValuedProperty <T>(expectedObject); this.common = MultiValuedProperty <T> .Empty; this.syncErrors = MultiValuedProperty <string> .Empty; }
public EhfSyncDiffRecord(string organization, ObjectId identity, EhfSyncObjectType ehfSyncObjectType, string name, T expectedObject, T actualObject, T common, MultiValuedProperty <string> syncErrors) : this(organization, identity, ehfSyncObjectType, name, expectedObject, actualObject) { this.common = new MultiValuedProperty <T>(common); this.syncErrors = syncErrors; }