C# (CSharp) GSoft.Dynamite.ServiceLocator Namespace

Nested Namespaces

GSoft.Dynamite.ServiceLocator.Internal

Сlasses

Name Description
AddOnProvidedServiceLocator Special service locator which scans the GAC for DLLs that match the *.ServiceLocator.dll pattern for a ISharePointServiceLocatorAccessor to which it will delegate container provider duties. Thanks to these ServiceLocator-bootstrapping mechanics, you can build reusable "framework" SharePoint components that can have their inner implementations overrided by AddOns' registration module (since the AddOn's ServiceLocator is responsible for determining the final set of all registration modules that will be loaded).
AppDomainContainers Maintains AppDomain-wide root containers that automatically scan the GAC for Autofac dependency injection modules that derive from the Module Autofac base class.
AutofacDynamiteRegistrationModule Container registrations for GSoft.Dynamite core components
ChildScopeFactory Helps to maintain long-lived child containers
FallbackServiceLocator Service Locator that will be used by default if you fail to define a ISharePointServiceLocatorAccess of your own (the usual convention is that you provide such an implementation within an assembly that matches the pattern *.ServiceLocator.DLL. By default, this fallback service locator will load all available Dynamite modules.
NamespaceFilteredContainerProvider Basic Autofac container provider that will automatically scan the GAC for assemblies that match the provider's appRootNamespace (or, alternatively, those that match the provider's assemblyFileMatcher). All Autoface registration modules found in those assemblies will be loaded in the provided container when Current is accessed for the first time after an application pool recyle.
RequestLifetimeHttpModule Autofac-related HttpModule that takes care of disposing per-request lifetimes at the end of each HTTP request.
SPLifetimeScopeProvider Base class for all type of SharePoint Life time scopes.
SPLifetimeTag Constants used to tag lifetime scopes within SharePoint Autofac web applications.
SPRequestLifetimeScopeProvider Lifetime scope provider the help share state at the HTTP request level
SPSiteLifetimeScopeProvider Lifetime scope provider the help share state at the SPSite-level
SPWebLifetimeScopeProvider Lifetime scope provider the help share state at the SPWeb-level
SharePointContainerProvider A SharePoint-specific Autofac container provider implementation, which is meant to provide your application with a Container that automatically scans the GAC (using the appRootNamespace or assemblyFileNameMatcher as assembly filename filter) and loads the matched assemblies' registration modules.
SharePointServiceLocator Interface for the retrieval of Autofac dependency injection lifetime scopes, with SharePoint-specific semantics. Less flexible than , it is meant to encourage container usage that depends as little as possible on direct injection through the service locator pattern.