Exemple #1
0
        /// <summary>
        /// Can read or recreate a streams file, monitor changes,
        /// and add all the sections and items to a context menu.
        /// </summary>
        /// <param name="filepath">
        /// Path to the streams file to read from.
        /// </param>
        public StreamsFileLoader(String filepath)
        {
            this.filepath = filepath;

            resourcepath = "GaGa.StreamsFile.Resources.Streams.ini";
            reader = new StreamsFileReader();
            lastUpdated = DateTime.MinValue;
        }
        /// <summary>
        /// Can read or recreate a streams file, monitor changes,
        /// and add all the sections and items to a context menu.
        /// </summary>
        /// <param name="filepath">
        /// Path to the streams file to read from.
        /// </param>
        public StreamsFileLoader(String filepath)
        {
            this.filepath = filepath;

            resourcepath = "GaGa.StreamsFile.Resources.Streams.ini";
            reader       = new StreamsFileReader();
            lastUpdated  = DateTime.MinValue;
        }