public AvaloniaXamlIlCompilerConfiguration(IXamlTypeSystem typeSystem,
                                            IXamlAssembly defaultAssembly,
                                            XamlLanguageTypeMappings typeMappings,
                                            XamlXmlnsMappings xmlnsMappings,
                                            XamlValueConverter customValueConverter,
                                            XamlIlClrPropertyInfoEmitter clrPropertyEmitter,
                                            XamlIlPropertyInfoAccessorFactoryEmitter accessorFactoryEmitter)
     : base(typeSystem, defaultAssembly, typeMappings, xmlnsMappings, customValueConverter)
 {
     ClrPropertyEmitter     = clrPropertyEmitter;
     AccessorFactoryEmitter = accessorFactoryEmitter;
     AddExtra(ClrPropertyEmitter);
     AddExtra(AccessorFactoryEmitter);
 }
示例#2
0
 public AssemblyDefinition GetAssembly(IXamlAssembly asm)
 => ((CecilAssembly)asm).Assembly;
示例#3
0
 public bool Equals(IXamlAssembly other) => Assembly == ((SreAssembly)other)?.Assembly;
 public bool Equals(IXamlAssembly other) => other == this;