예제 #1
0
        public IMigration TryRetrieveMigration(MigrationKey migrationKey)
        {
            lock (this._synchronizingObject)
            {
                IMigration migrationValue;

                if (this.MigrationDictionary.TryGetValue(migrationKey, out migrationValue))
                {
                    return(migrationValue);
                }
            }

            return(null);
        }
예제 #2
0
파일: IMigration.cs 프로젝트: vermie/NoSql
        public IMigration TryRetrieveMigration(MigrationKey migrationKey)
        {
            lock (this._synchronizingObject)
            {
                IMigration migrationValue;

                if (this.MigrationDictionary.TryGetValue(migrationKey, out migrationValue))
                {
                    return migrationValue;
                }
            }

            return null;
        }