🎨REFACTOR: Rename some methods and fields in IMediaImage interface.

This commit is contained in:
2017-12-28 19:56:36 +00:00
parent b0bcda2e43
commit feecb2f70a
139 changed files with 325 additions and 325 deletions

View File

@@ -81,7 +81,7 @@ namespace DiscImageChef.DiscImages
public Guid Id => new Guid("47C3E78D-2BE2-4BA5-AA6B-FEE27C86FC65");
public ImageInfo Info => imageInfo;
public string ImageFormat => "RS-IDE disk image";
public string Format => "RS-IDE disk image";
public List<Partition> Partitions =>
throw new FeatureUnsupportedImageException("Feature not supported by image format");
@@ -92,7 +92,7 @@ namespace DiscImageChef.DiscImages
public List<Session> Sessions =>
throw new FeatureUnsupportedImageException("Feature not supported by image format");
public bool IdentifyImage(IFilter imageFilter)
public bool Identify(IFilter imageFilter)
{
Stream stream = imageFilter.GetDataForkStream();
stream.Seek(0, SeekOrigin.Begin);
@@ -103,7 +103,7 @@ namespace DiscImageChef.DiscImages
return magic.SequenceEqual(signature);
}
public bool OpenImage(IFilter imageFilter)
public bool Open(IFilter imageFilter)
{
Stream stream = imageFilter.GetDataForkStream();
stream.Seek(0, SeekOrigin.Begin);