public FormatterResolverExtensionHelper(ModuleDefinition module, IMetadataScope messagePackScope, InterfaceFormatterResolverHelper iFormatterResolverHelper, InterfaceMessagePackFormatterHelper iMessagePackFormatterHelper, ModuleImporter importer) { this.module = module; this.iFormatterResolverHelper = iFormatterResolverHelper; this.iMessagePackFormatterHelper = iMessagePackFormatterHelper; this.importer = importer; FormatterResolverExtension = new TypeReference("MessagePack", "FormatterResolverExtensions", module, messagePackScope, false); }
public MessagePackSerializerOptionsHelper(ModuleDefinition module, IMetadataScope messagePackScope, InterfaceFormatterResolverHelper interfaceFormatterResolverHelper, Func <MessagePackSecurityHelper> messagePackSecurityHelper) { this.interfaceFormatterResolverHelper = interfaceFormatterResolverHelper; this.messagePackSecurityHelper = messagePackSecurityHelper; Options = new TypeReference("MessagePack", "MessagePackSerializerOptions", module, messagePackScope, false); }