Esempio n. 1
0
 public bool ContainsKey(string key)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.ContainsKeyDelegate, key));
 }
Esempio n. 2
0
 public bool IsPinned(string tileId)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.IsPinnedDelegate, tileId));
 }
Esempio n. 3
0
 public bool Remove(string key)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.RemoveDelegate, key));
 }
Esempio n. 4
0
 public bool TryGetValue <T>(string key, out T value)
 {
     value = default(T);
     value = (T)MockHelper.ExecuteDelegate <string, object, object>(this.TryGetValueDelegate, key, value);
     return(!object.Equals(value, default(T)));
 }
Esempio n. 5
0
 public object Deserialize(Type type, string data)
 {
     return(MockHelper.ExecuteDelegate <Type, string, object>(this.DeserializeDelegate, type, data));
 }
Esempio n. 6
0
 public string Serialize(object instance)
 {
     return(MockHelper.ExecuteDelegate <object, string>(this.SerializeDelegate, instance));
 }
Esempio n. 7
0
 public T Deserialize <T>(string data)
 {
     return((T)MockHelper.ExecuteDelegate <string, object>(this.DeserializeGenericDelegate, data));
 }