Exemple #1
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this.sourceId = (System.String)fieldValue; break;

            case 1: this.destinationId = (System.String)fieldValue; break;

            case 2: this.currentTimeMillisec = (System.Int64)fieldValue; break;

            case 3: this.animation = (org.robokind.avrogen.animation.AnimationRecord)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }
		public virtual void Put(int fieldPos, object fieldValue)
		{
			switch (fieldPos)
			{
			case 0: this.sourceId = (System.String)fieldValue; break;
			case 1: this.destinationId = (System.String)fieldValue; break;
			case 2: this.currentTimeMillisec = (System.Int64)fieldValue; break;
			case 3: this.animation = (org.robokind.avrogen.animation.AnimationRecord)fieldValue; break;
			default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
			};
		}