public int ApproveAllMismatches( [Service] ISnapshooterService snapshooterService) { int count = snapshooterService .ApproveAllMismatches(); return(count); }
public ApproveSnapshotPayload ApproveSnapshot( ApproveSnapshotInput input, [Service] ISnapshooterService snapshooterService) { SnapshotContent?snap = snapshooterService .ApproveSnapshot(input.FileName, input.MissmatchFileName); return(new ApproveSnapshotPayload(snap)); }
public SnapshooterCommand(ISnapshooterService snapshooterService) { _snapshooterService = snapshooterService; }
public SnapshotContent GetSnapshooterSnapshot( GetSnapshooterSnapshotInput input, [Service] ISnapshooterService snapshooterService) { return(snapshooterService.GetSnapshot(input.FileName, input.MissmatchFileName)); }
public IEnumerable <SnapshotDirectory> GetSnapshooterDirectories( bool withMismatchOnly, [Service] ISnapshooterService snapshooterService) { return(snapshooterService.GetDirectories(withMismatchOnly)); }
public IEnumerable <SnapshotInfo> GetSnapshooterSnaps( bool withMismatchOnly, [Service] ISnapshooterService snapshooterService) { return(snapshooterService.GetSnapshots(withMismatchOnly)); }