public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (ServiceAccountId.Length != 0) { hash ^= ServiceAccountId.GetHashCode(); } if (createdAt_ != null) { hash ^= CreatedAt.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (KeyId.Length != 0) { hash ^= KeyId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Entered for '{0}' and '{1}'", ServiceAccountId, Consumer)); int myServiceAccountId = ServiceAccountId.Get(context); devlog.Debug(string.Format("Gor for '{0}'", myServiceAccountId)); var consumer = ConsumerRepository.GetConsumerByServiceAccountId(myServiceAccountId); Consumer.Set(context, consumer.Value); }
protected override void DoExecute(System.Activities.CodeActivityContext context) { devlog.Debug(string.Format("Called on '{0}'and '{1}'", AdapterAppointment, ServiceAccountId)); var myAdapterAppointment = AdapterAppointment.Get(context); var myServiceAccountId = ServiceAccountId.Get(context); var myOriginalAppointment = OriginalCalDAVEvent.Get(context); devlog.Debug(string.Format("Got '{0}' and '{1}' and '{2}'", myAdapterAppointment, myServiceAccountId, myOriginalAppointment)); var Appointment = Repository.ConvertFromDTO(myAdapterAppointment, myServiceAccountId, myOriginalAppointment); CalDAVEvent.Set(context, Appointment); }
protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Called on '{0}'and '{1}'", AdapterAppointment, ServiceAccountId)); var myAdapterAppointment = AdapterAppointment.Get(context); var myServiceAccountId = ServiceAccountId.Get(context); var myOriginalExchangeAppointment = OriginalExchangeAppointment.Get(context); devlog.Debug(string.Format("Got '{0}' and '{1}' and '{2}'", myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment)); var exchangeAppointment = ExchangeRepository.ConvertFromDTO(myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment); ExchangeAppointment.Set(context, exchangeAppointment); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (subjectCase_ == SubjectOneofCase.UserAccountId) { hash ^= UserAccountId.GetHashCode(); } if (subjectCase_ == SubjectOneofCase.ServiceAccountId) { hash ^= ServiceAccountId.GetHashCode(); } if (createdAt_ != null) { hash ^= CreatedAt.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (KeyAlgorithm != global::Yandex.Cloud.Iam.V1.Key.Types.Algorithm.Unspecified) { hash ^= KeyAlgorithm.GetHashCode(); } if (PublicKey.Length != 0) { hash ^= PublicKey.GetHashCode(); } hash ^= (int)subjectCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }