public MeasurementMetadataMapEnumerator(MeasurementMetadataMap collection) { collectionRef = collection; keyCollection = new global::System.Collections.Generic.List<System.Guid>(collection.Keys); currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void GetParsedMeasurementMetadata(MeasurementMetadataMap measurements) { CommonPINVOKE.SubscriberInstanceBase_GetParsedMeasurementMetadata(swigCPtr, MeasurementMetadataMap.getCPtr(measurements)); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
protected override void ParsedMetadata() { StatusMessage("Metadata successfully parsed."); if (HandleReceivedMetadata is null) { ErrorMessage("Metadata handler not defined."); return; } MeasurementMetadataMap metadata = new MeasurementMetadataMap(); GetParsedMeasurementMetadata(metadata); HandleReceivedMetadata(metadata.ToDictionary(m => m.Key, m => m.Value.PointTag)); }
public MeasurementMetadataMap(MeasurementMetadataMap other) : this(CommonPINVOKE.new_MeasurementMetadataMap__SWIG_1(MeasurementMetadataMap.getCPtr(other)), true) { if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MeasurementMetadataMap obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }