Aqueduct.Configuration.Processors.ReplacementProcessor.EnsureThereAreNoCircularReplacements C# (CSharp) Method

EnsureThereAreNoCircularReplacements() private method

private EnsureThereAreNoCircularReplacements ( string matchKey ) : void
matchKey string
return void
        private void EnsureThereAreNoCircularReplacements(string matchKey)
        {
            if (processedList.Count(set => set.Key == matchKey) > 0)
                throw new CircularReplacementException(
                    String.Format("Key {0} is in the list of keys being processed.", matchKey), processedList);
        }