You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I beleive that the IAssemblyProvider interface is too specific. I intend to use ExtCore to create a simple pluggable CMS which will allow installation of Packages containing ExtCore extensions.
Packages will be created as projects, containing json files, detailing the content of each package. A database table will be maintained containing reference to installed packages. My intention is to create a new Assembly Provider which will return assemblies for the packages recorded as installed on my SQL table.
Is this the intended use for the IAssemblyProvider interface? If so then can the path and includeSubpaths parameters within GetAssemblies be made properties of the implementation rather than the declaration?
Activity
[-]IAssemblyProvider[/-][+]IAssemblyProvider too specific[/+]DmitrySikorsky commentedon Jan 22, 2018
Yes, you are right. I think we could have 1 method in the interface:
GetAssemblies(IAssemblyProviderOptions options)(But in this case IAssemblyProviderOptions will be just marker interface with no properties or methods defined. What do you think about that?)
fraserkyle commentedon Jan 22, 2018
Perfect. This would leave the options open to extension. :-)