ARKBreedingStats.FileSync.FileSync C# (CSharp) 메소드

FileSync() 공개 메소드

public FileSync ( String fileName, System.Action callback ) : System
fileName String
callback System.Action
리턴 System
        public FileSync(String fileName, Action callback)
        {
            currentFile = fileName;
            callbackFunction = callback;

            file_watcher = new FileSystemWatcher();

            // Add the handler for file changes
            file_watcher.Changed += new FileSystemEventHandler(onChanged);

            // Update the file watcher's properties
            updateProperties();
        }