Beispiel #1
0
        protected Unlimited <uint>?GetValueFromPropertyBag(string key)
        {
            string valueToConvert;

            if (this.settings.TryGetValue(key, out valueToConvert))
            {
                return(new Unlimited <uint>?(ThrottlingPolicyBaseSettings.ParseValue(valueToConvert)));
            }
            return(null);
        }
Beispiel #2
0
 private LegacyThrottlingPolicySettings(string value)
 {
     this.toString = value;
     this.settings = new Dictionary <string, string>();
     ThrottlingPolicyBaseSettings.InternalParse(value, this.settings);
 }
Beispiel #3
0
 protected ThrottlingPolicyBaseSettings(string value) : this()
 {
     ThrottlingPolicyBaseSettings.InternalParse(value, this.settings);
 }