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