public PerDatabaseState this[string databaseName]
        {
            get
            {
                PerDatabaseState state;
                if (!states.ContainsKey(databaseName))
                {
                    state = new PerDatabaseState(databaseName);
                    states.Add(databaseName, state);
                }

                return states[databaseName];
            }
        }
Пример #2
0
        public PerDatabaseState this[string databaseName]
        {
            get
            {
                PerDatabaseState state;
                if (!states.ContainsKey(databaseName))
                {
                    state = new PerDatabaseState(databaseName);
                    states.Add(databaseName, state);
                }

                return(states[databaseName]);
            }
        }