4 types derived from ElementMapping
Microsoft.Cci.Extensions (4)
Mappings\AssemblySetMapping.cs (1)
9
public class AssemblySetMapping :
ElementMapping
<IEnumerable<IAssembly>>
Mappings\AttributesMapping.cs (1)
14
public class AttributesMapping<T> :
ElementMapping
<T> where T : class
Mappings\NamespaceMapping.cs (1)
12
public class NamespaceMapping :
ElementMapping
<INamespaceDefinition>
Mappings\SimpleElementMapping.cs (1)
9
public class SimpleElementMapping<T> :
ElementMapping
<T> where T : class
2 instantiations of ElementMapping
Microsoft.Cci.Extensions (2)
Mappings\AssemblyMapping.cs (1)
41
mapping = new
ElementMapping
<AssemblyProperty>(this.Settings);
Mappings\AttributesMapping.cs (1)
51
mapping = new
ElementMapping
<AttributeGroup>(this.Settings);
34 references to ElementMapping
Microsoft.Cci.Extensions (15)
Differs\DifferenceRule.cs (1)
11
public virtual DifferenceType Diff<T>(IDifferences differences,
ElementMapping
<T> mapping) where T : class
Differs\ElementDiffer.cs (2)
13
private readonly
ElementMapping
<T> _mapping;
19
public ElementDiffer(
ElementMapping
<T> mapping, IDifferenceRule[] differenceRules)
Differs\ElementDifferenceFactory.cs (1)
33
public IDifferences GetDiffer<T>(
ElementMapping
<T> element) where T : class
Differs\IDifferenceRule.cs (1)
11
DifferenceType Diff<T>(IDifferences differences,
ElementMapping
<T> mapping) where T : class;
Differs\IElementDifferenceFactory.cs (1)
10
IDifferences GetDiffer<T>(
ElementMapping
<T> element) where T : class;
Differs\ListMerger.cs (1)
14
public static IEnumerable<
ElementMapping
<T>> MergeLists<T>(IEnumerable<T> list0, IEnumerable<T> list1) where T : class
Mappings\AssemblyMapping.cs (4)
14
private Dictionary<string,
ElementMapping
<AssemblyProperty>> _properties;
24
public IEnumerable<
ElementMapping
<AssemblyProperty>> Properties
30
_properties = new Dictionary<string,
ElementMapping
<AssemblyProperty>>();
38
ElementMapping
<AssemblyProperty> mapping;
Mappings\AttributesMapping.cs (4)
16
private Dictionary<string,
ElementMapping
<AttributeGroup>> _attributes;
23
public IEnumerable<
ElementMapping
<AttributeGroup>> Attributes
29
_attributes = new Dictionary<string,
ElementMapping
<AttributeGroup>>();
47
ElementMapping
<AttributeGroup> mapping;
Microsoft.DotNet.AsmDiff (19)
ApiRecordingCSharpDiffWriter.cs (1)
51
private void PushApi<T>(
ElementMapping
<T> elementMapping)
Csv\DiffCsvColumn.cs (1)
26
public string GetValue<TElement>(
ElementMapping
<TElement> mapping) where TElement : class
Csv\DiffObsoletionCsvColumn.cs (1)
33
private string GetObsoletionMarker<T>(
ElementMapping
<T> mapping)
Csv\DiffTokensCsvColumn.cs (3)
33
private string GetTokenString<T>(
ElementMapping
<T> mapping)
41
private string GetTokenDiff<T>(
ElementMapping
<T> mapping)
55
private string GetTokenStringForSingleItem<T>(
ElementMapping
<T> mapping)
Csv\IDiffCsvColumn.cs (1)
12
string GetValue<TElement>(
ElementMapping
<TElement> mapping) where TElement : class;
DiffCSharpWriter.cs (11)
223
private void WriteHeader<T>(
ElementMapping
<T> element) where T : class, IDefinition
230
private void WriteComments<TElement>(
ElementMapping
<TElement> mapping) where TElement : class
245
public string GetDocId<TElement>(
ElementMapping
<TElement> mapping) where TElement : class
266
private void WriteElement<T>(
ElementMapping
<T> element, Action<T> write, System.Action<T, T> writeMerged, bool writeNewLine = false) where T : class
428
private void Visit(IEnumerable<
ElementMapping
<AttributeGroup>> attributes)
430
foreach (
var
attribute in attributes)
434
private void Visit(
ElementMapping
<AttributeGroup> attribute)
451
foreach (
var
token in ListMerger.MergeLists(ag1Tokens, ag2Tokens))
468
private void Visit(IEnumerable<
ElementMapping
<AssemblyMapping.AssemblyProperty>> properties)
470
foreach (
var
property in properties)
474
private void Visit(
ElementMapping
<AssemblyMapping.AssemblyProperty> property)
DiffCsvWriter.cs (1)
47
private void WriteRow<TElement>(
ElementMapping
<TElement> mapping) where TElement : class