Browse Source

Update CSharp.COM.Component.xft

Add the ComDefaultInterface attribute to the class created by the template.
pull/488/head
William MacDonald 11 years ago
parent
commit
d0417861c3
  1. 1
      data/templates/file/CSharp/CSharp.COM.Component.xft

1
data/templates/file/CSharp/CSharp.COM.Component.xft

@ -79,6 +79,7 @@ namespace ${StandardNamespace} @@ -79,6 +79,7 @@ namespace ${StandardNamespace}
ProgId("${StandardNamespace}.${ClassName}"),
ClassInterface(ClassInterfaceType.AutoDispatch),
ComSourceInterfaces(typeof(I${ClassName}Events)),
ComDefaultInterface(typeof(I${ClassName}Wrapper)),
ComVisible(true)]
public partial class ${ClassName} : Component, I${ClassName}Wrapper
{

Loading…
Cancel
Save