/// <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; }
/// <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; }