ARCed.Helpers.ResourceHelper.FileSystemWatcherCreated C# (CSharp) 메소드

FileSystemWatcherCreated() 개인적인 정적인 메소드

Event raised when a file resource file is created
private static FileSystemWatcherCreated ( object sender, FileSystemEventArgs e ) : void
sender object Invoker of the event
e System.IO.FileSystemEventArgs Event arguments
리턴 void
        private static void FileSystemWatcherCreated(object sender, FileSystemEventArgs e)
        {
            var location = e.FullPath.Contains(Constants.RTPPath) ? Location.RTP : Location.Local;
            _resources.Add(new GameResource(e.FullPath, location, ResourceType.Unknown));
        }