Deveel.Data.Services.ServiceContainer.OpenScope C# (CSharp) Method

OpenScope() public method

public OpenScope ( string name ) : IScope
name string
return IScope
        public IScope OpenScope(string name)
        {
            // RegisterConfigurations();
            return new ServiceContainer(this, name);
        }

Usage Example

Example #1
0
        internal SystemContext(ServiceContainer container)
        {
            scope = container.OpenScope(ContextNames.System);
            scope.RegisterInstance<ISystemContext>(this);

            EventRegistry = new EventRegistry(this);
        }
All Usage Examples Of Deveel.Data.Services.ServiceContainer::OpenScope