Beispiel #1
0
        /// <summary>
        /// Lee un archivo de texto.
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            Texto file = new Texto();

            file.Leer("Jornada.txt", out string datos);
            return(datos);
        }
Beispiel #2
0
        public static string Leer()
        {
            Texto texto = new Texto();

            texto.Leer("Jornada.txt", out string jornadaAux);
            return(jornadaAux);
        }
        /// <summary>
        /// Retorna los datos de la Jornada como texto.
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            string datos;
            Texto  writer = new Texto();

            writer.Leer("archivoJornada.txt", out datos);
            return(datos);
        }
Beispiel #4
0
        /// <summary>
        /// Lee los datos de la Jornada como texto.
        /// </summary>
        /// <returns></returns>
        public string Leer()
        {
            Texto  texto = new Texto();
            string datos;

            texto.Leer("Jornada.txt", out datos);
            return(datos);
        }
Beispiel #5
0
        public static string Leer()
        {
            string cadena = " ";
            Texto  texto  = new Texto();

            texto.Leer("Jornada.txt", out cadena);
            return(cadena);
        }
Beispiel #6
0
        /// <summary>
        /// Metodo Leer de clase retornará los datos de la Jornada como texto.
        /// </summary>
        public static string Leer()
        {
            string s;
            Texto  t = new Texto();

            t.Leer(AppDomain.CurrentDomain.BaseDirectory + "Jornada.txt", out s);
            return(s);
        }
        /// <summary>
        /// Lee los Datos de un Archivo txt
        /// </summary>
        /// <returns>Retorna un String con los Datos</returns>
        public static string Leer()
        {
            Texto  txt = new Texto();
            string texto;

            txt.Leer(AppDomain.CurrentDomain.BaseDirectory + @"\Jornada.txt", out texto);
            return(texto);
        }
Beispiel #8
0
        /// <summary>
        /// Lee la jornada desde un archivo de texto
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            string datosJornada = string.Empty;
            Texto  texto        = new Texto();

            texto.Leer("Jornada.txt", out datosJornada);
            return(datosJornada);
        }
        /// <summary>
        /// Retornará los datos de la Jornada como texto
        /// </summary>
        /// <returns></returns>
        static public string Leer()
        {
            string linea;
            Texto  Cargador = new Texto();

            Cargador.Leer("Jornada.txt", out linea);
            return(linea);
        }
Beispiel #10
0
        /// <summary>
        /// Metodo estatico que lee una jornada laboral previamente generada
        /// <param name="j"></param>
        /// <returns></returns>
        public static string Leer(JornadaLaboral j)
        {
            Texto  txt = new Texto();
            string aux = "";

            txt.Leer("jornada.log", out aux);
            return(aux);
        }
Beispiel #11
0
        /// <summary>
        /// Retorna los datos de la Jornada como texto.
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            Texto  txt   = new Texto();
            string datos = "";

            txt.Leer("Jornada.txt", out datos);
            return(datos);
        }
Beispiel #12
0
        /// <summary>
        /// Lee un archivo de texto
        /// </summary>
        /// <returns>retorna un string con los datos del archivo</returns>
        public static string Leer()
        {
            string buffer;
            Texto  txt = new Texto();

            txt.Leer(AppDomain.CurrentDomain.BaseDirectory + "Jornada.txt", out buffer);
            return(buffer);
        }
Beispiel #13
0
        /// <summary>
        /// Leera desde un archivo una Jornada
        /// </summary>
        /// <returns>Retornara los datos de la Jornada como texto</returns>
        public static string Leer()
        {
            Texto  archivo = new Texto();
            string path    = AppDomain.CurrentDomain.BaseDirectory + "Texto.txt";

            archivo.Leer(path, out string datos);
            return(datos);
        }
Beispiel #14
0
        public static string Leer()
        {
            string str;
            Texto  texto = new Texto();

            texto.Leer("Jornada.txt", out str);
            return(str);
        }
        /// <summary>
        /// Método estático que lee archivos
        /// </summary>
        /// <returns>los datos leídos</returns>
        public static string Leer()    //Arreglado RECUPERATORIO. Faltaba "static".
        {
            Texto nuevoTexto = new Texto();

            nuevoTexto.Leer("jornada.txt", out string datos);

            return(datos);
        }
        /// <summary>
        /// Lee un archivo de texto con la información de una Jornada y la guarda.
        /// </summary>
        /// <returns>String con el texto de la información de una Jornada</returns>
        public string Leer()
        {
            string jornada = "";
            Texto  texto   = new Texto();

            texto.Leer("Jornada.txt", out jornada);
            return(jornada);
        }
        /// <summary>
        /// Método estático que lee archivos
        /// </summary>
        /// <returns>los datos leídos</returns>
        public static string Leer()
        {
            Texto nuevoTexto = new Texto();

            nuevoTexto.Leer("jornada.txt", out string datos);

            return(datos);
        }
Beispiel #18
0
        public static string Leer()
        {
            Texto  retorno = new Texto();
            string datos;

            retorno.Leer("JornadaTxt", out datos);
            return(datos.ToString());
        }
Beispiel #19
0
        /// <summary>
        /// Recupera la información de una jornada desde un archivo de texto
        /// </summary>
        /// <returns>Cadena con información de la jornada si logra leer el archivo; ArchivosException si no</returns>
        public static string Leer()
        {
            string retorno;
            Texto  texto = new Texto();

            texto.Leer(AppDomain.CurrentDomain.BaseDirectory + "//Jornada.txt", out retorno);
            return(retorno);
        }
Beispiel #20
0
        /// <summary>
        /// tomo los datos de un archivo de texto
        /// </summary>
        /// <returns></returns> devuelvo un string
        public static string Leer()
        {
            string data = "";
            Texto  nt   = new Texto();

            nt.Leer("Dato.txt", out data);
            return(data);
        }
Beispiel #21
0
        /// <summary>
        /// Metodo leer
        /// </summary>
        /// <returns> retornara si pudo o no cargar el archivo.</returns>
        public string Leer()
        {
            Texto  t     = new Texto();
            string texto = "";

            t.Leer(AppDomain.CurrentDomain.BaseDirectory + "\\jornada.txt", out texto);
            return(texto);
        }
Beispiel #22
0
        /// <summary>
        /// Leer de clase retornará los datos de la Jornada como texto.
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            Texto  archivoTexto = new Texto();
            string datosArchivo;

            archivoTexto.Leer("Jornada.txt", out datosArchivo);

            return(datosArchivo);
        }
Beispiel #23
0
        /// <summary>
        /// lee el archivo txt y retorna en un string
        /// </summary>
        /// <returns></returns>
        public string Leer()
        {
            string retorno;
            Texto  texto = new Texto();
            string path  = AppDomain.CurrentDomain.BaseDirectory + "Jornada.txt";

            texto.Leer(path, out retorno);
            return(retorno);
        }
Beispiel #24
0
        public static string Leer()
        {
            string datos;
            Texto  leer = new Texto();

            leer.Leer("Jornada.txt", out datos);

            return(datos);
        }
Beispiel #25
0
        public static string Leer()
        {
            Texto  txt   = new Texto();
            string datos = string.Empty;

            txt.Leer(string.Format("{0}\\Jornada.txt", Environment.GetFolderPath(Environment.SpecialFolder.Desktop)), out datos);

            return(datos);
        }
Beispiel #26
0
        /// <summary>
        /// lee los datos de un archivo text "\Jornada.txt" de una jornada desde el escritorio
        /// </summary>
        /// <returns></returns>
        public string Leer()
        {
            Texto  texto = new Texto();
            string datos;
            string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\Jornada.txt";

            texto.Leer(path, out datos);
            return(datos);
        }
Beispiel #27
0
        /// <summary>
        /// Lee los datos de un archivo de nombre Jornada.txt, ubicado en el escritorio.
        /// </summary>
        /// <returns>retorna la informacion de una jornada</returns>
        public static string Leer()
        {
            string retorno = "";
            string path    = String.Format("{0}\\Jornada.txt", (Environment.GetFolderPath(Environment.SpecialFolder.Desktop)));
            Texto  txt     = new Texto();

            txt.Leer(path, out retorno);
            return(retorno);
        }
Beispiel #28
0
        /// <summary>
        /// lee los datos de un archivo de texto y los devuelve en un string
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            string datos;
            Texto  texto = new Texto();
            string path  = String.Format("{0}\\Jornada.txt", Environment.GetFolderPath(Environment.SpecialFolder.Desktop));

            texto.Leer(path, out datos);
            return(datos);
        }
Beispiel #29
0
        /// <summary>
        /// Lee el archivo de texto y devuelve los datos de Jornada
        /// </summary>
        /// <returns>Ldatos de la jornada en formato string</returns>
        public string Leer()
        {
            string datosJornada = null;
            Texto  archivoText  = new Texto();

            archivoText.Leer("Jornada.txt", out datosJornada);

            return(datosJornada);
        }
Beispiel #30
0
        /// <summary>
        /// lee el archivo Jornada.txt
        /// </summary>
        /// <returns></returns>
        public static string Leer()
        {
            Texto  jor = new Texto();
            string retorno;

            jor.Leer("Jornada.txt", out retorno);

            return(retorno);
        }