Esempio n. 1
0
 public override String ToString()
 {
     IDictionary<String, Object> values = new Dictionary<String, Object>();
     values["Token"] = _token;
     values["DeltaType"] = _deltaType;
     values["PreviousUid"] = _previousUid;
     values["Uid"] = _uid;
     values["Object"] = _object;
     return values.ToString();
 }
Esempio n. 2
0
 public override string ToString()
 {
     // poor man's consistent toString impl..
     StringBuilder bld = new StringBuilder();
     bld.Append("ConnectorAttribute: ");
     IDictionary<string, object> map = new Dictionary<string, object>();
     map["Name"] = Name;
     map["Value"] = Value;
     bld.Append(map.ToString());
     return bld.ToString();
 }
Esempio n. 3
0
 public override string ToString()
 {
     StringBuilder bld = new StringBuilder();
     bld.Append("ScriptContext: ");
     // poor man's to string method.
     IDictionary<string, object> map = new Dictionary<string, object>();
     map["Language"] = ScriptLanguage;
     map["Text"] = ScriptText;
     map["Arguments"] = ScriptArguments;
     bld.Append(map.ToString());
     return bld.ToString();
 }
 public EchoResponseDictionary TestEcho(Dictionary<string,string> parameters)
 {
     var dictionary = new Dictionary<string, string>();
     dictionary.Add("method", "flickr.test.echo");
     dictionary.Add("parameters", parameters.ToString().ToLower());
     return GetResponse<EchoResponseDictionary>(dictionary);
 }