Пример #1
0
 private ODataSparqlServiceSettings AssertContext(string name, HttpContext context)
 {
     lock (_contextLock)
     {
         ODataSparqlServiceSettings ret;
         if (!_contexts.TryGetValue(name, out ret))
         {
             ret = new ODataSparqlServiceSettings(name, context.Server);
             _contexts[name] = ret;
         }
         return ret;
     }
 }
 public ODataSparqlRequestHandler(ODataSparqlServiceSettings serviceSettings)
 {
     _config = serviceSettings;
 }