コード例 #1
0
        //private static GenericEventMetadata[] makeMetaDataList(EventData eventData)
        private static GenericEventMetadata[] makeMetaDataList()
        {
            GenericEventMetadata[] metadataList = new GenericEventMetadata[MetadataFieldCount];
            metadataList[0] = makeMetadata("Type", _typeGuid);
            metadataList[1] = makeMetadata("Location", _locationGuid);
            metadataList[2] = makeMetadata("Card", _cardGuid);
            metadataList[3] = makeMetadata("CardHolder", _userGuid);
            metadataList[4] = makeMetadata("Description", _descriptionGuid);

            return metadataList;
        }
コード例 #2
0
 private static GenericEventMetadata makeMetadata(string value, Guid guid)
 {
     GenericEventMetadata metadata = new GenericEventMetadata();
     metadata.Guid = guid;
     metadata.Value = value;
     return metadata;
 }
コード例 #3
0
 /// <remarks/>
 public void UpdateMetaDataAsync(System.Guid eventGuid, bool useServerTime, GenericEventMetadata[] metadataList, object userState)
 {
     if ((this.UpdateMetaDataOperationCompleted == null)) {
         this.UpdateMetaDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateMetaDataOperationCompleted);
     }
     this.InvokeAsync("UpdateMetaData", new object[] {
                 eventGuid,
                 useServerTime,
                 metadataList}, this.UpdateMetaDataOperationCompleted, userState);
 }
コード例 #4
0
 /// <remarks/>
 public void UpdateMetaDataAsync(System.Guid eventGuid, bool useServerTime, GenericEventMetadata[] metadataList)
 {
     this.UpdateMetaDataAsync(eventGuid, useServerTime, metadataList, null);
 }
コード例 #5
0
 public void UpdateMetaData(System.Guid eventGuid, bool useServerTime, GenericEventMetadata[] metadataList)
 {
     this.Invoke("UpdateMetaData", new object[] {
                 eventGuid,
                 useServerTime,
                 metadataList});
 }
コード例 #6
0
 /// <remarks/>
 public System.IAsyncResult BeginUpdateMetaData(System.Guid eventGuid, bool useServerTime, GenericEventMetadata[] metadataList, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("UpdateMetaData", new object[] {
                 eventGuid,
                 useServerTime,
                 metadataList}, callback, asyncState);
 }