コード例 #1
0
ファイル: PerforceRequest.cs プロジェクト: Joxx0r/ATF
 /// <summary>
 /// Constructor</summary>
 /// <param name="info"></param>
 /// <param name="doRequest">Requested perforce command</param>
 public PerforceRequest(FileInfo info, Func<Uri, bool> doRequest) 
 { 
     Info = info; 
     DoRequest = doRequest;
 }
コード例 #2
0
ファイル: PerforceRequest.cs プロジェクト: vincenthamm/ATF
 /// <summary>
 /// Constructor</summary>
 /// <param name="info"></param>
 /// <param name="doRequest">Requested perforce command</param>
 /// <param name="doAfterCompleted">Action after request is completed</param>
 public PerforceRequest(FileInfo info, Func<Uri, bool> doRequest, Func<Uri, bool> doAfterCompleted) 
 { 
     Info = info; 
     DoRequest = (u, d) => doRequest(u);
     DoAfterCompleted = doAfterCompleted; 
 }