Class BinariesFinder
Locates modules assemblies NuGet compatible approach is used to find modules binaries: http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package.
Inheritance
Inherited Members
Namespace: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
public class BinariesFinder
Remarks
Possible structure of module binaries folder: bin\module.dll bin\NET20\module.dll bin\NET40\module.dll clientbin\Silverlight4\module.dll clientbin\sl4\module.dll
Constructors
BinariesFinder(VirtualPathProvider)
Initializes a new instance of the BinariesFinder class.
Declaration
public BinariesFinder(VirtualPathProvider virtualPathProvider)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Hosting.VirtualPathProvider | virtualPathProvider | The virtual path provider. |
BinariesFinder(VirtualPathProvider, Version)
Initializes a new instance of the BinariesFinder class.
Declaration
public BinariesFinder(VirtualPathProvider virtualPathProvider, Version runtimeVersion)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Hosting.VirtualPathProvider | virtualPathProvider | The virtual path provider. |
System.Version | runtimeVersion | The runtime version. |
Methods
GetAllBinaries(String)
Gets all binaries in modules.
Declaration
public IList<VirtualFile> GetAllBinaries(string modulesRootPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | modulesRootPath |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Web.Hosting.VirtualFile> |
Remarks
If module supports several runtime versions method returns binaries related to the current runtime version
GetAllSilverlightBinaries(String)
Gets all silverlight binaries in modules.
Declaration
public IList<VirtualFile> GetAllSilverlightBinaries(string modulesRootPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | modulesRootPath |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Web.Hosting.VirtualFile> |
Remarks
If module supports several runtime versions method returns binaries related to the current runtime version
GetBinariesForModule(String)
Gets binaries for specified module path.
Declaration
public IList<VirtualFile> GetBinariesForModule(string moduleFolder)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleFolder | The module folder. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Web.Hosting.VirtualFile> |
Remarks
If module supports several runtime versions method returns binaries related to the current runtime version
GetSilverlightBinariesForModule(String)
Gets Silverlight binaries for specified module path.
Declaration
public IList<VirtualFile> GetSilverlightBinariesForModule(string moduleFolder)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleFolder | The module folder. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Web.Hosting.VirtualFile> |
Remarks
If module supports several runtime versions method returns binaries related to the current runtime version