private static PipedContextFor ( IPlugin plugin, Binboo.Core.Framework.IUser user, string commandLine, ICommandResult result ) : IContext | ||
plugin | IPlugin | |
user | Binboo.Core.Framework.IUser | |
commandLine | string | |
result | ICommandResult | |
return | IContext |
private static IContext PipedContextFor(IPlugin plugin, IUser user, string commandLine, ICommandResult result)
{
var passedArguments = CommandParameters(commandLine);
return result.PipeThrough(passedArguments, pipedArgs => new Context(user, plugin, pipedArgs));
}