internal void AHoop(IVersaCommand <ICommandContext> command) { command.Run(new CommandContext.Builder().Build(), default(IServiceProvider)).Wait(); Assert.True(iRan); iRan = false; DoImplicitConversion(VersaCommandBase <CommandContext> .GetFromInterface(command).casted); Assert.True(iRan); iRan = false; DoubleCastCrais((VersaCommand)VersaCommandBase <CommandContext> .GetFromInterface(command).casted); Assert.True(iRan); }
internal void DoImplicitConversion(VersaCommandBase <CommandContext> command) { command.Run(new CommandContext.Builder().Build(), default(IServiceProvider)).Wait(); }