Example #1
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 (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)));
            }

            return(p);
        }
Example #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 (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);
        }
Example #3
0
        /// <summary>
        /// Generate the necessary parameters
        /// </summary>
        public List <KeyValuePair <string, string> > GetParams()
        {
            var p = new List <KeyValuePair <string, string> >();

            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 (Identity != null)
            {
                p.Add(new KeyValuePair <string, string>("Identity", Identity));
            }

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

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

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

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

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

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

            return(p);
        }
Example #4
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 (LastConsumedMessageIndex != null)
            {
                p.Add(new KeyValuePair <string, string>("LastConsumedMessageIndex", LastConsumedMessageIndex.ToString()));
            }

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

            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 (RoleSid != null)
            {
                p.Add(new KeyValuePair <string, string>("RoleSid", RoleSid.ToString()));
            }

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

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

            return(p);
        }