/// <summary>
        /// Generate the necessary parameters
        /// </summary>
        public List <KeyValuePair <string, string> > GetParams()
        {
            var p = new List <KeyValuePair <string, string> >();

            if (RoleSid != null)
            {
                p.Add(new KeyValuePair <string, string>("RoleSid", RoleSid.ToString()));
            }

            if (LastConsumedMessageIndex != null)
            {
                p.Add(new KeyValuePair <string, string>("LastConsumedMessageIndex", LastConsumedMessageIndex.ToString()));
            }

            return(p);
        }
Exemple #2
0
        /// <summary>
        /// Generate the necessary parameters
        /// </summary>
        public List <KeyValuePair <string, string> > GetParams()
        {
            var p = new List <KeyValuePair <string, string> >();

            if (Identity != null)
            {
                p.Add(new KeyValuePair <string, string>("Identity", Identity));
            }

            if (MessagingBindingAddress != null)
            {
                p.Add(new KeyValuePair <string, string>("MessagingBinding.Address", MessagingBindingAddress));
            }

            if (MessagingBindingProxyAddress != null)
            {
                p.Add(new KeyValuePair <string, string>("MessagingBinding.ProxyAddress", MessagingBindingProxyAddress));
            }

            if (DateCreated != null)
            {
                p.Add(new KeyValuePair <string, string>("DateCreated", Serializers.DateTimeIso8601(DateCreated)));
            }

            if (DateUpdated != null)
            {
                p.Add(new KeyValuePair <string, string>("DateUpdated", Serializers.DateTimeIso8601(DateUpdated)));
            }

            if (Attributes != null)
            {
                p.Add(new KeyValuePair <string, string>("Attributes", Attributes));
            }

            if (MessagingBindingProjectedAddress != null)
            {
                p.Add(new KeyValuePair <string, string>("MessagingBinding.ProjectedAddress", MessagingBindingProjectedAddress));
            }

            if (RoleSid != null)
            {
                p.Add(new KeyValuePair <string, string>("RoleSid", RoleSid.ToString()));
            }

            return(p);
        }
Exemple #3
0
        /// <summary>
        /// Generate the necessary parameters
        /// </summary>
        public List<KeyValuePair<string, string>> GetParams()
        {
            var p = new List<KeyValuePair<string, string>>();
            if (RoleSid != null)
            {
                p.Add(new KeyValuePair<string, string>("RoleSid", RoleSid.ToString()));
            }

            if (Attributes != null)
            {
                p.Add(new KeyValuePair<string, string>("Attributes", Attributes));
            }

            if (FriendlyName != null)
            {
                p.Add(new KeyValuePair<string, string>("FriendlyName", FriendlyName));
            }

            return p;
        }
        /// <summary>
        /// Generate the necessary parameters
        /// </summary>
        public List <KeyValuePair <string, string> > GetParams()
        {
            var p = new List <KeyValuePair <string, string> >();

            if (Identity != null)
            {
                p.Add(new KeyValuePair <string, string>("Identity", Identity));
            }

            if (RoleSid != null)
            {
                p.Add(new KeyValuePair <string, string>("RoleSid", RoleSid.ToString()));
            }

            if (LastConsumedMessageIndex != null)
            {
                p.Add(new KeyValuePair <string, string>("LastConsumedMessageIndex", LastConsumedMessageIndex.ToString()));
            }

            if (LastConsumptionTimestamp != null)
            {
                p.Add(new KeyValuePair <string, string>("LastConsumptionTimestamp", Serializers.DateTimeIso8601(LastConsumptionTimestamp)));
            }

            if (DateCreated != null)
            {
                p.Add(new KeyValuePair <string, string>("DateCreated", Serializers.DateTimeIso8601(DateCreated)));
            }

            if (DateUpdated != null)
            {
                p.Add(new KeyValuePair <string, string>("DateUpdated", Serializers.DateTimeIso8601(DateUpdated)));
            }

            if (Attributes != null)
            {
                p.Add(new KeyValuePair <string, string>("Attributes", Attributes));
            }

            return(p);
        }