altcover

namespace AltCover

namespace AltCover


module PrepareExtension and module CollectExtension

module PrepareExtension = begin
  [<Extension>]
  val WhatIf : prepare:Abstract.IPrepareOptions -> AltCover.ValidatedCommandLine
end
module CollectExtension = begin
  [<Extension>]
  val WhatIf :
    collect:Abstract.ICollectOptions ->
      afterPreparation:bool -> AltCover.ValidatedCommandLine
end

These provide C#-compatible extension methods to perform a WhatIf style command line validation

WhatIf compiles the effective command-line and the result of Validate

module WhatIfExtension

[<AutoOpen>]
module WhatIfExtension = begin
  type Abstract.ICollectOptions with
    [<CompiledName("WhatIf")>]
    member WhatIf : afterPreparation:bool -> AltCover.AltCover.ValidatedCommandLine
  type Abstract.IPrepareOptions with
    [<CompiledName("WhatIf")>]
    member WhatIf : unit -> AltCover.AltCover.ValidatedCommandLine
end

provides seamless F# style extensions