public string GetTemplateValue(TemplateValueSource valueSource) { return(DateTime.Now.ToString("G")); }
public string GetTemplateValue(TemplateValueSource valueSource) { var renamedArgs = valueSource.FileSystemEventArgs as RenamedEventArgs; return(renamedArgs == null ? valueSource.FileSystemEventArgs.FullPath : renamedArgs.OldFullPath); }
public string GetTemplateValue(TemplateValueSource valueSource) { return(valueSource.FileSystemEventArgs.FullPath); }
public string GetTemplateValue(TemplateValueSource valueSource) { return(valueSource.FileSystemEventArgs.ChangeType.ToString()); }
public string GetTemplateValue(TemplateValueSource valueSource) { return(valueSource.ServiceToStopStatus); }
public string GetTemplateValue(TemplateValueSource valueSource) { return(Environment.MachineName); }