private bool ValidateType(Parameter typeName) { if (typeName == null || string.IsNullOrEmpty(typeName.Value)) { output.WriteLine("The /TypeName argument is missing or incomplete"); return false; } return true; }
private bool ValidateMethod(Parameter methodName) { if (methodName == null || string.IsNullOrEmpty(methodName.Value)) { output.WriteLine("The /MethodName argument is missing or incomplete"); } return true; }
private bool ValidatePath(Parameter path) { if (path == null || string.IsNullOrEmpty(path.Value)) { output.WriteLine("The /AssemblyPath argument is missing or incomplete"); return false; } if (File.Exists(path.Value) == false) { output.WriteLine("Requested assembly not found"); return false; } return true; }