C# Class Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader

Inheritance: Orchard.Environment.Extensions.Loaders.ExtensionLoaderBase
Show file Open project: ucdavis/Orchard

Public Properties

Property Type Description
ExtensionsVirtualPathPrefixes string[]

Public Methods

Method Description
DynamicExtensionLoader ( IBuildManager buildManager, IVirtualPathProvider virtualPathProvider, IVirtualPathMonitor virtualPathMonitor, IHostEnvironment hostEnvironment, IAssemblyProbingFolder assemblyProbingFolder, IDependenciesFolder dependenciesFolder, IProjectFileParser projectFileParser ) : System
ExtensionActivated ( ExtensionLoadingContext ctx, Orchard.Environment.Extensions.Models.ExtensionDescriptor extension ) : void
ExtensionDeactivated ( ExtensionLoadingContext ctx, Orchard.Environment.Extensions.Models.ExtensionDescriptor extension ) : void
ExtensionRemoved ( ExtensionLoadingContext ctx, Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : void
GetCompilationReferences ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
GetFileHashDependencies ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
GetVirtualPathDependencies ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
LoadReference ( Orchard.FileSystems.Dependencies.DependencyReferenceDescriptor reference ) : Assembly
Monitor ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor, Action monitor ) : void
Probe ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : Orchard.Environment.Extensions.Loaders.ExtensionProbeEntry
ProbeReferences ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : IEnumerable
ReferenceActivated ( ExtensionLoadingContext context, Orchard.Environment.Extensions.Loaders.ExtensionReferenceProbeEntry referenceEntry ) : void

Protected Methods

Method Description
GetDependencies ( string projectPath ) : IEnumerable
LoadWorker ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : ExtensionEntry

Private Methods

Method Description
AddDependencies ( string projectPath, HashSet currentSet ) : void
GetProjectPath ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : string
PrefixMatch ( string virtualPath ) : string

Method Details

DynamicExtensionLoader() public method

public DynamicExtensionLoader ( IBuildManager buildManager, IVirtualPathProvider virtualPathProvider, IVirtualPathMonitor virtualPathMonitor, IHostEnvironment hostEnvironment, IAssemblyProbingFolder assemblyProbingFolder, IDependenciesFolder dependenciesFolder, IProjectFileParser projectFileParser ) : System
buildManager IBuildManager
virtualPathProvider IVirtualPathProvider
virtualPathMonitor IVirtualPathMonitor
hostEnvironment IHostEnvironment
assemblyProbingFolder IAssemblyProbingFolder
dependenciesFolder IDependenciesFolder
projectFileParser IProjectFileParser
return System

ExtensionActivated() public method

public ExtensionActivated ( ExtensionLoadingContext ctx, Orchard.Environment.Extensions.Models.ExtensionDescriptor extension ) : void
ctx ExtensionLoadingContext
extension Orchard.Environment.Extensions.Models.ExtensionDescriptor
return void

ExtensionDeactivated() public method

public ExtensionDeactivated ( ExtensionLoadingContext ctx, Orchard.Environment.Extensions.Models.ExtensionDescriptor extension ) : void
ctx ExtensionLoadingContext
extension Orchard.Environment.Extensions.Models.ExtensionDescriptor
return void

ExtensionRemoved() public method

public ExtensionRemoved ( ExtensionLoadingContext ctx, Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : void
ctx ExtensionLoadingContext
dependency Orchard.FileSystems.Dependencies.DependencyDescriptor
return void

GetCompilationReferences() public method

public GetCompilationReferences ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
dependency Orchard.FileSystems.Dependencies.DependencyDescriptor
return IEnumerable

GetDependencies() protected method

protected GetDependencies ( string projectPath ) : IEnumerable
projectPath string
return IEnumerable

GetFileHashDependencies() public method

public GetFileHashDependencies ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
dependency Orchard.FileSystems.Dependencies.DependencyDescriptor
return IEnumerable

GetVirtualPathDependencies() public method

public GetVirtualPathDependencies ( Orchard.FileSystems.Dependencies.DependencyDescriptor dependency ) : IEnumerable
dependency Orchard.FileSystems.Dependencies.DependencyDescriptor
return IEnumerable

LoadReference() public method

public LoadReference ( Orchard.FileSystems.Dependencies.DependencyReferenceDescriptor reference ) : Assembly
reference Orchard.FileSystems.Dependencies.DependencyReferenceDescriptor
return System.Reflection.Assembly

LoadWorker() protected method

protected LoadWorker ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : ExtensionEntry
descriptor Orchard.Environment.Extensions.Models.ExtensionDescriptor
return ExtensionEntry

Monitor() public method

public Monitor ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor, Action monitor ) : void
descriptor Orchard.Environment.Extensions.Models.ExtensionDescriptor
monitor Action
return void

Probe() public method

public Probe ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : Orchard.Environment.Extensions.Loaders.ExtensionProbeEntry
descriptor Orchard.Environment.Extensions.Models.ExtensionDescriptor
return Orchard.Environment.Extensions.Loaders.ExtensionProbeEntry

ProbeReferences() public method

public ProbeReferences ( Orchard.Environment.Extensions.Models.ExtensionDescriptor descriptor ) : IEnumerable
descriptor Orchard.Environment.Extensions.Models.ExtensionDescriptor
return IEnumerable

ReferenceActivated() public method

public ReferenceActivated ( ExtensionLoadingContext context, Orchard.Environment.Extensions.Loaders.ExtensionReferenceProbeEntry referenceEntry ) : void
context ExtensionLoadingContext
referenceEntry Orchard.Environment.Extensions.Loaders.ExtensionReferenceProbeEntry
return void

Property Details

ExtensionsVirtualPathPrefixes public static property

public static string[] ExtensionsVirtualPathPrefixes
return string[]