protected override void AddMappingForAdditionalInterfaces( CompositeTypeContributor contributor, Type[] proxiedInterfaces, IDictionary <Type, ITypeContributor> typeImplementerMapping, ICollection <Type> targetInterfaces ) { }
protected override void AddMappingForAdditionalInterfaces(CompositeTypeContributor contributor, Type[] proxiedInterfaces, IDictionary <Type, ITypeContributor> typeImplementerMapping, ICollection <Type> targetInterfaces) { foreach (var @interface in interfaces) { if (!ImplementedByTarget(targetInterfaces, @interface) || proxiedInterfaces.Contains(@interface)) { continue; } contributor.AddInterfaceToProxy(@interface); AddMappingNoCheck(@interface, contributor, typeImplementerMapping); } }