mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
refactoring.
(ArchiveFormat): added Query<ResourceOptions> protected method for convenient invocation of parameters requests. (FormatCatalog): changed misguiding method name 'LookupTag' to 'LookupExtension'.
This commit is contained in:
@@ -281,15 +281,8 @@ NextEntry:
|
||||
|
||||
ICrypt QueryCryptAlgorithm ()
|
||||
{
|
||||
var args = new ParametersRequestEventArgs
|
||||
{
|
||||
Notice = arcStrings.ArcEncryptedNotice,
|
||||
};
|
||||
FormatCatalog.Instance.InvokeParametersRequest (this, args);
|
||||
if (!args.InputResult)
|
||||
throw new OperationCanceledException();
|
||||
|
||||
return GetOptions<Xp3Options> (args.Options).Scheme;
|
||||
var options = Query<Xp3Options> (arcStrings.ArcEncryptedNotice);
|
||||
return options.Scheme;
|
||||
}
|
||||
|
||||
public static ICrypt GetScheme (string scheme)
|
||||
|
||||
Reference in New Issue
Block a user