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