internal ItemDataBlob EnsureBlobData() { if (m_blobs == null) { m_blobs = new ItemDataBlob(); } return(m_blobs); }
public IAsyncAction RefreshBlobDataAsync(IRecord record) { if (record == null) { throw new ArgumentNullException("record"); } return(AsyncInfo.Run( async cancelToken => { RecordItem item = await record.GetItemAsync(Key, ItemSectionType.Blobs).AsTask(cancelToken); if (item != null) { m_blobs = item.m_blobs; } })); }
internal ItemDataBlob EnsureBlobData() { if (m_blobs == null) { m_blobs = new ItemDataBlob(); } return m_blobs; }
public IAsyncAction RefreshBlobDataAsync(IRecord record) { if (record == null) { throw new ArgumentNullException("record"); } return AsyncInfo.Run( async cancelToken => { RecordItem item = await record.GetItemAsync(Key, ItemSectionType.Blobs).AsTask(cancelToken); if (item != null) { m_blobs = item.m_blobs; } }); }