public static void CreateDataServiceController(DSConfiguration settings, CustomAuthorizationHandler.ICustomContextStore customContextStore, ISchemaBuilder testSchemaBuilder)
        {
            string filePath;

            lock (DataServiceController.syncObject)
            {
                Configuration configuration = null;
                if (settings == null)
                {
                    try
                    {
                        settings = DSConfiguration.GetSection(configuration);
                    }
                    catch (Exception exception1)
                    {
                        Exception exception = exception1;
                        Microsoft.Management.Odata.Tracing.Tracer current = TraceHelper.Current;
                        string str = "config file is ";
                        if (configuration == null)
                        {
                            filePath = "(not available)";
                        }
                        else
                        {
                            filePath = configuration.FilePath;
                        }
                        current.DebugMessage(string.Concat(str, filePath));
                        if (TraceHelper.IsEnabled(5))
                        {
                            TraceHelper.Current.DebugMessage(exception.ToTraceMessage("DataServiceController failed to create"));
                        }
                        TraceHelper.Current.DataServiceControllerCreationFailedOperational(exception.Message);
                        throw;
                    }
                }
                DataServiceController.current = new DataServiceController(settings, customContextStore, testSchemaBuilder);
            }
        }