public void InterfaceRules_ObserverGrain_PropertySetter() { Xunit.Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(IInheritedGrain_ObserverGrain_PropertySetter))); }
public void InterfaceRules_Observer_Property() { Xunit.Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(ITestObserver_Property))); }
public void InterfaceRules_RefArgument() { Xunit.Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(ITestGrain_RefArgument))); }
public void InterfaceRules_IntMethod() { Xunit.Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(ITestGrain_IntMethod))); }
public void InterfaceRules_ObserverGrain_IntMethod() { Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(IInheritedGrain_ObserverGrain_IntMethod))); }
public void InterfaceRules_Observer_NonVoidMethod() { Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(ITestObserver_NonVoidMethod))); }
public void InterfaceRules_PropertySetter() { Assert.Throws <GrainInterfaceUtils.RulesViolationException>(() => GrainInterfaceUtils.ValidateInterface(typeof(ITestGrain_PropertySetter))); }
public void InterfaceRules_ValueTask() { GrainInterfaceUtils.ValidateInterface(typeof(ITestGrain_ValueTask)); }