public IPublisher LookupPublisher(SifContext context, IElementDef objectType) { ContextMatrix handler = LookupContextMatrix(context); if (handler != null) { return(handler.lookupPublisher(objectType)); } return(null); }
///<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); }
public IQueryResults LookupQueryResults(SifContext context, IElementDef objectType) { ContextMatrix handler = LookupContextMatrix(context); if (handler != null) { return(handler.lookupQueryResults(objectType)); } return(null); }