xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
<Button Content="Status">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<ei:CallMethodAction MethodName="ResetStatus" TargetObject="{StaticResource Domain.Adapters.IIS}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
启动时抛出异常。可以CallMethodAction
调用静态方法吗?