예제 #1
0
 private void  InitBlock(AverageGuessMemoryModel enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
     Add(typeof(bool), 1);
     Add(typeof(byte), 1);
     Add(typeof(sbyte), 1);
     Add(typeof(char), 2);
     Add(typeof(short), 2);
     Add(typeof(int), 4);
     Add(typeof(float), 4);
     Add(typeof(double), 8);
     Add(typeof(long), 8);
 }
예제 #2
0
			private void  InitBlock(AverageGuessMemoryModel enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
				Add(typeof(bool), 1);
				Add(typeof(byte), 1);
                Add(typeof(sbyte), 1);
				Add(typeof(char), 2);
				Add(typeof(short), 2);
				Add(typeof(int), 4);
				Add(typeof(float), 4);
				Add(typeof(double), 8);
				Add(typeof(long), 8);
			}
예제 #3
0
 public AnonymousClassIdentityHashMap(AverageGuessMemoryModel enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
예제 #4
0
			public AnonymousClassIdentityHashMap(AverageGuessMemoryModel enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}