1 implementation of IRuleRunner
Microsoft.DotNet.ApiCompatibility (1)
Rules\RuleRunner.cs (1)
12
public class RuleRunner(IRuleFactory ruleFactory, IRuleContext context) :
IRuleRunner
44 references to IRuleRunner
Microsoft.DotNet.ApiCompatibility (23)
ApiComparer.cs (3)
25
Func<IRuleFactory, IRuleContext,
IRuleRunner
>? ruleRunnerFactory = null,
26
Func<
IRuleRunner
, IElementMapperFactory>? elementMapperFactory = null)
29
IRuleRunner
ruleRunner = ruleRunnerFactory?.Invoke(ruleFactory, ruleContext) ?? new RuleRunner(ruleFactory, ruleContext);
ApiComparerFactory.cs (2)
16
Func<IRuleFactory, IRuleContext,
IRuleRunner
>? ruleRunnerFactory = null,
17
Func<
IRuleRunner
, IElementMapperFactory>? elementMapperFactory = null) : IApiComparerFactory
Mapping\AssemblyMapper.cs (2)
14
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the assembly mapper elements.</param>
18
public class AssemblyMapper(
IRuleRunner
ruleRunner,
Mapping\AssemblySetMapper.cs (2)
12
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the assembly set mapper elements.</param>
15
public class AssemblySetMapper(
IRuleRunner
ruleRunner,
Mapping\ElementMapper.cs (3)
27
protected readonly
IRuleRunner
RuleRunner;
32
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the mapper elements.</param>
35
protected ElementMapper(
IRuleRunner
ruleRunner,
Mapping\ElementMapperFactory.cs (1)
11
public sealed class ElementMapperFactory(
IRuleRunner
ruleRunner) : IElementMapperFactory
Mapping\MemberMapper.cs (2)
12
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the member mapper elements.</param>
16
public class MemberMapper(
IRuleRunner
ruleRunner,
Mapping\NamespaceMapper.cs (2)
26
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the namespace mapper elements.</param>
31
public NamespaceMapper(
IRuleRunner
ruleRunner,
Mapping\TypeMapper.cs (2)
16
/// <param name="ruleRunner">The <see cref="
IRuleRunner
"/> that compares the type mapper elements.</param>
21
public class TypeMapper(
IRuleRunner
ruleRunner,
Rules\IRuleContext.cs (1)
7
/// Interface representing the context of the <see cref="
IRuleRunner
"/> used to register and run rule actions.
Rules\IRuleRegistrationContext.cs (1)
9
/// Interface representing the context of the <see cref="
IRuleRunner
"/> used to register rule actions.
Rules\IRuleRunnerContext.cs (1)
9
/// Interface representing the context of the <see cref="
IRuleRunner
"/> used to run registered rule actions.
Rules\RuleContext.cs (1)
9
/// Class representing the context of the <see cref="
IRuleRunner
"/> used to register and run rule actions.
Microsoft.DotNet.ApiCompatibility.Tests (21)
Mapping\AssemblyMapperTests.cs (4)
19
IRuleRunner
ruleRunner = Mock.Of<
IRuleRunner
>();
35
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), Mock.Of<IMapperSettings>(), rightSetSize: 1);
70
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 1);
Mapping\AssemblySetMapperTests.cs (4)
18
IRuleRunner
ruleRunner = Mock.Of<
IRuleRunner
>();
33
AssemblySetMapper assemblySetMapper = new(Mock.Of<
IRuleRunner
>(), Mock.Of<IMapperSettings>(), rightSetSize: 1);
119
AssemblySetMapper assemblySetMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 2);
Mapping\MemberMapperTests.cs (2)
15
IRuleRunner
ruleRunner = Mock.Of<
IRuleRunner
>();
Mapping\NamespaceMapperTests.cs (4)
19
IRuleRunner
ruleRunner = Mock.Of<
IRuleRunner
>();
35
NamespaceMapper namespaceMapper = new(Mock.Of<
IRuleRunner
>(), Mock.Of<IMapperSettings>(), rightSetSize: 1, Mock.Of<IAssemblyMapper>());
59
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 1);
Mapping\TypeMapperTests.cs (7)
19
IRuleRunner
ruleRunner = Mock.Of<
IRuleRunner
>();
38
TypeMapper typeMapper = new(Mock.Of<
IRuleRunner
>(), Mock.Of<IMapperSettings>(), rightSetSize: 1, Mock.Of<INamespaceMapper>());
45
TypeMapper typeMapper = new(Mock.Of<
IRuleRunner
>(), Mock.Of<IMapperSettings>(), rightSetSize: 1, Mock.Of<INamespaceMapper>());
71
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 1);
112
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 1);
152
AssemblyMapper assemblyMapper = new(Mock.Of<
IRuleRunner
>(), new ApiComparerSettings(), rightSetSize: 1);