Esempio n. 1
0
        /// <summary>
        /// 'Created' event handler for our watcher singleton (if started)
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void watcher_Created(object sender, FileSystemEventArgs e)
        {
            dynamic[] data = new dynamic[] { JsonConvert.SerializeObject(e) };

            host.PackageAndMulticast(watcherBaseName + ".created", data);
        }