private static DataContainerDescriptor RequireDescriptor(IStorageDriver driver) { var descriptor = driver.GetDescriptor(); if (descriptor == null) { throw new InvalidOperationException("Driver reports that container descriptor is not initialized"); } return(descriptor); }
private static DataContainerDescriptor RequireDescriptor(IStorageDriver driver) { var descriptor = driver.GetDescriptor(); if (descriptor == null) { throw new InvalidOperationException("Driver reports that container descriptor is not initialized"); } return descriptor; }