Beispiel #1
0
 public bool ContainsKey(string key)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.ContainsKeyDelegate, key));
 }
Beispiel #2
0
 public bool IsPinned(string tileId)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.IsPinnedDelegate, tileId));
 }
Beispiel #3
0
 public bool Remove(string key)
 {
     return(MockHelper.ExecuteDelegate <string, bool>(this.RemoveDelegate, key));
 }
Beispiel #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)));
 }
Beispiel #5
0
 public object Deserialize(Type type, string data)
 {
     return(MockHelper.ExecuteDelegate <Type, string, object>(this.DeserializeDelegate, type, data));
 }
Beispiel #6
0
 public string Serialize(object instance)
 {
     return(MockHelper.ExecuteDelegate <object, string>(this.SerializeDelegate, instance));
 }
Beispiel #7
0
 public T Deserialize <T>(string data)
 {
     return((T)MockHelper.ExecuteDelegate <string, object>(this.DeserializeGenericDelegate, data));
 }