private MethodInfo GetCommand(PdfCommandName command)
        {
            var type   = GetType();
            var method = type.GetMethod(command.ToString());

            if (method == null)
            {
                throw new NotImplementedException();
            }

            return(method);
        }
 public PdfCommand(PdfCommandName name) : this()
 {
     this.command = GetCommand(name);
 }