Calculate() public method

public Calculate ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax type ) : int
type Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
return int
Esempio n. 1
0
        private int CalculateDepthOfInheritance(TypeDeclarationSyntax type)
        {
            var analyzer = new DepthOfInheritanceAnalyzer(Model);

            return(analyzer.Calculate(type));
        }
		private int CalculateDepthOfInheritance(TypeDeclarationSyntax type)
		{
			var analyzer = new DepthOfInheritanceAnalyzer(Model);
			return analyzer.Calculate(type);
		}