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
可以调用静态方法吗?