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