Example #1
0
        private static void VerifyAssetStateAndDelete(IngestManifestState expectedState, string id)
        {
            IIngestManifest ingestManifest = WindowsAzureMediaServicesTestConfiguration.CreateCloudMediaContext().IngestManifests.Where(c => c.Id == id).FirstOrDefault();

            Assert.IsNotNull(ingestManifest);
            Assert.AreEqual(expectedState, ingestManifest.State);
            ingestManifest.Delete();
        }
 private static void VerifyAssetStateAndDelete(IngestManifestState expectedState, string id)
 {
     IIngestManifest ingestManifest = WindowsAzureMediaServicesTestConfiguration.CreateCloudMediaContext().IngestManifests.Where(c => c.Id == id).FirstOrDefault();
     Assert.IsNotNull(ingestManifest);
     Assert.AreEqual(expectedState, ingestManifest.State);
     ingestManifest.Delete();
 }