コード例 #1
0
        public void Media_Exists_Check()
        {
            var fileStream = File.OpenRead(MediaFilePath);
            var mediaId    = GetMediaId();

            StorageProvider.Put(fileStream, mediaId);

            var exists = StorageProvider.Exists(mediaId);

            Assert.IsTrue(exists);
        }
 public override bool BlobStreamExists(Guid blobId, CallContext context)
 {
     return(StorageProvider.Exists(blobId.ToString()));
 }