/// <summary> Возвращает глубокую копию объекта </summary> public override ModelPeer GetDeepCopy() { var result = new ModelPeer { Id = Id, Identity = Identity, ModelContactObj = ModelContactObj?.GetDeepCopy(), ModelEnumCallAddressTypeObj = ModelEnumCallAddressTypeObj }; return(result); }
/// <summary> Возвращает глубокую копию объекта </summary> public override ModelCall GetDeepCopy() { var result = new ModelCall { Id = Id, Duration = Duration, Identity = Identity, ModelContactObj = ModelContactObj?.GetDeepCopy(), ModelEnumCallDirectionObj = ModelEnumCallDirectionObj, ModelEnumCallAddressTypeObj = ModelEnumCallAddressTypeObj, ModelEnumVoipEncryptionObj = ModelEnumVoipEncryptionObj, ModelEnumCallStateObj = ModelEnumCallStateObj }; return(result); }