예제 #1
0
 internal UnmarshallingContext(XStreamReader reader, ConverterLookup converterLookup, Aliases aliases, List <Assembly> assemblies)
 {
     this.reader          = reader;
     this.converterLookup = converterLookup;
     this.aliases         = aliases;
     this.assemblies      = assemblies;
 }
예제 #2
0
        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;
 }
예제 #4
0
 internal MarshallingContext(XStreamWriter writer, ConverterLookup converterLookup, Aliases aliases) {
     this.writer = writer;
     this.converterLookup = converterLookup;
     this.aliases = aliases;
 }
예제 #5
0
		public void UserDefinedConvertersHavePriority () {
			var lookup = new ConverterLookup ();
			var alternateConverter = new AlternateStringConverter ();
			lookup.AddConverter (alternateConverter);
			Assert.That (lookup.GetConverter (typeof(string)), Is.EqualTo (alternateConverter));
		}
예제 #6
0
 public Unmarshaller(XStreamReader reader, UnmarshallingContext context, ConverterLookup converterLookup)
 {
     this.reader          = reader;
     this.context         = context;
     this.converterLookup = converterLookup;
 }
예제 #7
0
 internal UnmarshallingContext(XStreamReader reader, ConverterLookup converterLookup, Aliases aliases, List<Assembly> assemblies) {
     this.reader = reader;
     this.converterLookup = converterLookup;
     this.aliases = aliases;
     this.assemblies = assemblies;
 }
예제 #8
0
 public Unmarshaller(XStreamReader reader, UnmarshallingContext context, ConverterLookup converterLookup) {
     this.reader = reader;
     this.context = context;
     this.converterLookup = converterLookup;
 }