When there is one it should return else create

Am 04.06.2013 um 11:05 schrieb Urs Enzler <notifications@github.com>:

> In source/Appccelerate.ScopingEventBroker/Internals/Context/AbstractEventScopeFactory.cs:
> 
> > +            return this.GetOrCreate();
> > +        }
> > +
> > +        public virtual IEventScopeHolder CreateScopeHolder()
> > +        {
> > +            return this.GetOrCreate();
> > +        }
> > +
> > +        public virtual IHandler CreateHandlerDecorator(IHandler handler)
> > +        {
> > +            return new ScopingHandlerDecorator(handler, this.CreateScopeHolder());
> > +        }
> > +
> > +        protected abstract IEventScopeContextInternal CreateScope(IEventScopeFactory eventScopeFactory);
> > +
> > +        private IEventScopeContextInternal GetOrCreate()
> Get or create what?
> --> GetOrCreateScopeContext
> 
> —
> Reply to this email directly or view it on GitHub.