Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to even use ReadOnlyDiskBase.CreateFileContext and ReadOnlyDiskBase.FileContextFactory? #2

Open
Dwedit opened this issue Aug 22, 2021 · 0 comments

Comments

@Dwedit
Copy link

Dwedit commented Aug 22, 2021

I'm looking at the code for ReadOnlyDiskBase.CreateFileContext, and ReadOnlyDiskBase.FileContextFactory, and I'm not sure it's even possible to use that code as it's written.

The class ReadOnlyFileContextBase requires a IDokanDisk and IDokanFile object to create an instance.

But the function FileContextFactory takes no parameters, so the function CreateFileContext from the class ReadOnlyDiskBase can't be used without overriding the entire function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant