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

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

            return(null);
        }
Exemple #2
0
        public IMigration TryRetrieveMigration(MigrationKey migrationKey)
        {
            lock (this._synchronizingObject)
            {
                IMigration migrationValue;

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

            return null;
        }