Game Development Reference
In-Depth Information
get { return filePattern; }
set
{
if (!this.running)
filePattern = value;
}
}
public bool Cancelled
{
get { return cancelled; }
set { cancelled = value; }
}
public void Execute(string fullPath)
{
cancelled = false;
running = true;
if (File.Exists(fullPath))
Process(this, new FileInfo(fullPath));
else if (Directory.Exists(fullPath))
ProcessDirectory(fullPath);
running = false;
}
public void Cancel()
{
cancelled = true;
}
public void Notify(string message)
{
if (!verbose)
{
if (this.OnNotify != null)
this.OnNotify(message);
}
}
Search Nedrilad ::




Custom Search