Catel.ApiCop.Rules.TooManyDependenciesApiCopRule.GetResultAsText C# (CSharp) Метод

GetResultAsText() публичный Метод

Gets the result as text.
public GetResultAsText ( string tag ) : string
tag string The tag.
Результат string
        public override string GetResultAsText(string tag)
        {
            int maxDependencies = 0;
            if (_dependenciesPerType.ContainsKey(tag))
            {
                maxDependencies = _dependenciesPerType[tag];
            }

            return string.Format("[{0}] Type has '{1}' dependencies injected, consider splitting the class into multiple classes",
                tag, maxDependencies);
        }
        #endregion