daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         public string ProcessInput(IList<string> inputParameters)
  2.         {
  3.             string command = inputParameters[0];
  4.             inputParameters.RemoveAt(0);
  5.  
  6.             string result = string.Empty;
  7.  
  8.             var method = tankManager.GetType().GetMethods().FirstOrDefault(x => x.Name.Contains(command));
  9.  
  10.             result = (string)method.Invoke(this.tankManager, new object[] { inputParameters });
  11.  
  12.             return result;
  13.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top