/// <summary> /// Initializes a new instance of the <see cref="CmisSync.Lib.Events.FileConflictEvent"/> class. /// </summary> /// <param name='type'> /// Conflict Type. /// </param> /// <param name='affectedPath'> /// Affected path. /// </param> /// <param name='createdConflictPath'> /// Created conflict path. /// </param> public FileConflictEvent(FileConflictType type, string affectedPath, string createdConflictPath = null) { if (affectedPath == null) { throw new ArgumentNullException("affectedPath"); } this.Type = type; this.AffectedPath = affectedPath; this.CreatedConflictPath = createdConflictPath; }
/// <summary></summary> /// <param name="type"></param> /// <param name="affectedPath"></param> /// <param name="createdConflictPath"></param> public FileConflictEvent(FileConflictType type, string affectedPath, string createdConflictPath = null) { if (affectedPath == null) { throw new ArgumentNullException("Argument null in FileConflictEvent Constructor", "path"); } Type = type; AffectedPath = affectedPath; CreatedConflictPath = createdConflictPath; }
public FileConflictEvent(FileConflictType type, string affectedPath, string createdConflictPath = null) { if (affectedPath == null) { throw new ArgumentNullException("Argument null in FileConflictEvent Constructor", "path"); } Type = type; AffectedPath = affectedPath; CreatedConflictPath = createdConflictPath; }
public FileConflict(Guid fileId, FileConflictType type) { FileId = fileId; Type = type; }