Metalama//API Documentation/Advanced API/Metalama.​Framework.​Engine.​Metrics/Syntax­Metric­Provider<T>
Open sandboxFocus

Class SyntaxMetricProvider<T>

An implementation of IMetricProvider<T> that is based on a CSharpSyntaxVisitor.

Inheritance
SyntaxMetricProvider<T>
Namespace: Metalama.Framework.Engine.Metrics
Assembly: Metalama.Framework.Sdk.dll
Syntax
public abstract class SyntaxMetricProvider<T> : MetricProvider<T>, IMetricProvider<T>, IProjectService, IService where T : struct, IMetric, ValueType
Type Parameters
Name Description
T

Type of the metric.

Constructors

Name Description
SyntaxMetricProvider(SyntaxMetricProvider<T>.BaseVisitor)

Methods

Name Description
ComputeMetricForMember(IMember)
ComputeMetricForType(INamedType)