CsWinRT
CsWinRT copied to clipboard
Remove generated 'As<I>()' methods for static types
This PR removes the generated As<I>()
methods on static RCW types. This method is:
- Unnecessary, now that
ActivationFactory
is public - Only works with either
[ComImport]
types, or via IDIC - It doesn't exist on non-static RCW types, which is not consistent (eg. Win2D uses that)
Devs should just use ActivationFactory
directly, which also exposes new high perf methods.