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]);
            }
        }