Example #1
0
        public void CopyFrom(XS_objectType objectType_in)
        {
            int _index = -1;

            type_    = objectType_in.type_;
            version_ = objectType_in.version_;
            id_      = objectType_in.id_;
            attributecollection_.Clear();
            for (int d = 0; d < objectType_in.attributecollection_.Count; d++)
            {
                attributecollection_.Add(
                    out _index,
                    new XS_attributeType()
                    );
                attributecollection_[_index].CopyFrom(
                    objectType_in.attributecollection_[d]
                    );
            }
            if (objectType_in.connections__ != null)
            {
                connections__.CopyFrom(objectType_in.connections__);
            }
        }
Example #2
0
		public void CopyFrom(XS_objectType objectType_in) {
			int _index = -1;

			type_ = objectType_in.type_;
			version_ = objectType_in.version_;
			id_ = objectType_in.id_;
			attributecollection_.Clear();
			for (int d = 0; d < objectType_in.attributecollection_.Count; d++) {
				attributecollection_.Add(
					out _index,
					new XS_attributeType()
				);
				attributecollection_[_index].CopyFrom(
					objectType_in.attributecollection_[d]
				);
			}
			if (objectType_in.connections__ != null) connections__.CopyFrom(objectType_in.connections__);
		}