Exemplo n.º 1
0
		public bool IsEqual(ToiletType otherType)
		{
			if (ToiletsNames == null)
				return otherType.ToiletsNames == null;
			if (otherType.ToiletsNames == null)
				return false;

			for (int i = 0; i < ToiletsNames.Length; i++)
				if (ToiletsNames [i].CompareTo (otherType.ToiletsNames [i]) != 0)
					return false;

			return  string.Compare (ToiletTypeName, otherType.ToiletTypeName) == 0 && ReleaseTime.CompareTo (otherType.ReleaseTime) == 0;
		}
Exemplo n.º 2
0
		[In(7)]public void ReceiveComplexSequence(testEn e, string[] sArr, ToiletType[] tt)
		{
			this.e = e;
			this.strArr = sArr;
			this.tt = tt;
		}
Exemplo n.º 3
0
		[In(5)] public ToiletType Copy(ToiletType t){
			return t;
		}
Exemplo n.º 4
0
		[In(5)] public void ReceiveProtoBuffArray(ToiletType[] tt){
			this.tt = tt;
		}