internal UnmarshallingContext(XStreamReader reader, ConverterLookup converterLookup, Aliases aliases, List <Assembly> assemblies) { this.reader = reader; this.converterLookup = converterLookup; this.aliases = aliases; this.assemblies = assemblies; }
public void UserDefinedConvertersHavePriority() { var lookup = new ConverterLookup(); var alternateConverter = new AlternateStringConverter(); lookup.AddConverter(alternateConverter); Assert.That(lookup.GetConverter(typeof(string)), Is.EqualTo(alternateConverter)); }
internal MarshallingContext(XStreamWriter writer, ConverterLookup converterLookup, Aliases aliases) { this.writer = writer; this.converterLookup = converterLookup; this.aliases = aliases; }
public void UserDefinedConvertersHavePriority () { var lookup = new ConverterLookup (); var alternateConverter = new AlternateStringConverter (); lookup.AddConverter (alternateConverter); Assert.That (lookup.GetConverter (typeof(string)), Is.EqualTo (alternateConverter)); }
public Unmarshaller(XStreamReader reader, UnmarshallingContext context, ConverterLookup converterLookup) { this.reader = reader; this.context = context; this.converterLookup = converterLookup; }
internal UnmarshallingContext(XStreamReader reader, ConverterLookup converterLookup, Aliases aliases, List<Assembly> assemblies) { this.reader = reader; this.converterLookup = converterLookup; this.aliases = aliases; this.assemblies = assemblies; }