예제 #1
0
        public IPublisher LookupPublisher(SifContext context, IElementDef objectType)
        {
            ContextMatrix handler = LookupContextMatrix(context);

            if (handler != null)
            {
                return(handler.lookupPublisher(objectType));
            }
            return(null);
        }
예제 #2
0
        ///<summary>Looks up the ContextMatrix for the specified SifContext</summary>
        ///<param name="context"
        private ContextMatrix GetOrCreateContextMatrix(SifContext context)
        {
            ContextMatrix handler = LookupContextMatrix(context);

            if (handler == null)
            {
                handler = new ContextMatrix(context);
                fAllContexts.Add(handler);
            }
            return(handler);
        }
예제 #3
0
        public IQueryResults LookupQueryResults(SifContext context, IElementDef objectType)
        {
            ContextMatrix handler = LookupContextMatrix(context);

            if (handler != null)
            {
                return(handler.lookupQueryResults(objectType));
            }

            return(null);
        }