Example #1
0
 /// <summary>
 /// Assign parameter value for use with URI templates
 /// </summary>
 /// <param name="name"></param>
 /// <param name="value"></param>
 public void SetParameter(string name, object value)
 {
     _Parameters[name] = new LinkParameter()
     {
         Name = name, Value = value
     };
 }
Example #2
0
 /// <summary>
 /// Assign parameter value for use with URI templates
 /// </summary>
 /// <param name="name"></param>
 /// <param name="value"></param>
 /// <param name="identifier">URL of documentation for this parameter</param>
 public void SetParameter(string name, object value, Uri identifier)
 {
     _Parameters[name] = new LinkParameter()
     {
         Name = name, Value = value, Identifier = identifier
     };
 }
Example #3
0
 /// <summary>
 /// Assign parameter value for use with URI templates
 /// </summary>
 /// <param name="name"></param>
 /// <param name="value"></param>
 public void SetParameter(string name, object value)
 {
     _Parameters[name] = new LinkParameter() {Name = name, Value = value};
 }
Example #4
0
 /// <summary>
 /// Assign parameter value for use with URI templates
 /// </summary>
 /// <param name="name"></param>
 /// <param name="value"></param>
 /// <param name="identifier">URL of documentation for this parameter</param>
 public void SetParameter(string name, object value, Uri identifier)
 {
     _Parameters[name] = new LinkParameter() { Name = name, Value = value, Identifier = identifier };
 }