Example #1
0
 public XmlSettings()
 {
     _typeInstantiator = new TypeInstantiator();
     _converter = new Converter(_typeInstantiator);
     _xmlInstantiator = new CustomXmlSerializer(this);
     _xmlPattern = Xml.XmlPattern.Default;
 }
Example #2
0
 public ExtensionAssemblyTypesCreatorV1(ITypeInstantiator instantiator)
     : base(instantiator, new Version[] { new Version("1.0.0") })
 {
 }
 protected ExtensionAssemblyTypesCreator(ITypeInstantiator instantiator, IEnumerable <Version> supportedVersions)
 {
     this.instantiator      = instantiator;
     this.SupportedVersions = new List <Version>(supportedVersions);
 }