Exemple #1
0
		public void EqualsAndHashCode ()
		{
			ClientTarget c1, c2;

			c1 = new ClientTarget ("alias", "userAgent");
			c2 = new ClientTarget ("alias", "userAgent");

			Assert.IsTrue (c1.Equals (c2), "A1");
			Assert.AreEqual (c1.GetHashCode (), c2.GetHashCode (), "A2");
		}
Exemple #2
0
		public void ctor_validationFailure2 ()
		{
			ClientTarget c = new ClientTarget ("hi", "");
		}
 public void Remove(ClientTarget clientTarget)
 {
 }
		public void Remove (ClientTarget clientTarget)
		{
			BaseRemove (clientTarget.Alias);
		}
 public void Add(ClientTarget clientTarget)
 {
 }
Exemple #6
0
 public void Remove(ClientTarget clientTarget)
 {
     BaseRemove(clientTarget.Alias);
 }
		public void Add (ClientTarget clientTarget)
		{
			BaseAdd (clientTarget);
		}
 public void Remove(ClientTarget clientTarget)
 {
 }
Exemple #9
0
 public void Add(ClientTarget clientTarget)
 {
     BaseAdd(clientTarget);
 }
 public void Add(ClientTarget clientTarget)
 {
 }
 public void Remove(ClientTarget clientTarget) {
     BaseRemove(GetElementKey(clientTarget));
 }
 public void Remove(ClientTarget clientTarget)
 {
     BaseRemove(GetElementKey(clientTarget));
 }
Exemple #13
0
 public void Remove(ClientTarget clientTarget)
 {
     base.BaseRemove(this.GetElementKey(clientTarget));
 }
 public void Remove(ClientTarget clientTarget)
 {
     base.BaseRemove(this.GetElementKey(clientTarget));
 }