File: Rules\Compat\CompatDifferenceRule.cs | Web Access |
Project: src\src\Microsoft.DotNet.ApiCompat\src\Microsoft.DotNet.ApiCompat.Core\Microsoft.DotNet.ApiCompat.Core.csproj (Microsoft.DotNet.ApiCompat.Core) |
using System.Composition; namespace Microsoft.Cci.Differs.Rules { internal abstract class CompatDifferenceRule : DifferenceRule { [Import] public IDifferenceOperands Operands { get; set; } public string Contract => Operands?.Contract ?? "contract"; public string Implementation => Operands?.Implementation ?? "implementation"; } } |