# Summary

Class: | WireMock.Owin.WireMockMiddlewareOptions
Assembly: | WireMock.Net
File(s): | C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs
Covered lines: | 11
Uncovered lines: | 0
Coverable lines: | 11
Total lines: | 46
Line coverage: | 100%

# Metrics

Method | Cyclomatic complexity | NPath complexity | Sequence coverage | Branch coverage
--- | --- | --- | --- | ---
.ctor() | 1 | 0 | 100 | 100

# File(s)

## C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | `using System.Collections.Concurrent;`
|  | `3` |  | `using System.Collections.Generic;`
|  | `4` |  | `using System.Collections.ObjectModel;`
|  | `5` |  | `using WireMock.Logging;`
|  | `6` |  | `using WireMock.Matchers;`
|  | `7` |  | `using WireMock.Util;`
|  | `8` |  | `#if !NETSTANDARD`
|  | `9` |  | `using Owin;`
|  | `10` |  | `#else`
|  | `11` |  | `using Microsoft.AspNetCore.Builder;`
|  | `12` |  | `#endif`
|  | `13` |  | ``
|  | `14` |  | `namespace WireMock.Owin`
|  | `15` |  | `{`
|  | `16` |  | `internal class WireMockMiddlewareOptions`
|  | `17` |  | `{`
| 59 | `18` |  | `public IWireMockLogger Logger { get; set; }`
|  | `19` |  | ``
| 43 | `20` |  | `public TimeSpan? RequestProcessingDelay { get; set; }`
|  | `21` |  | ``
| 5 | `22` |  | `public IStringMatcher AuthorizationMatcher { get; set; }`
|  | `23` |  | ``
| 58 | `24` |  | `public bool AllowPartialMapping { get; set; }`
|  | `25` |  | ``
| 385 | `26` |  | `public IDictionary<Guid, Mapping> Mappings { get; } = new ConcurrentDictionary<Guid, Mapping>();`
|  | `27` |  | ``
| 122 | `28` |  | `public ObservableCollection<LogEntry> LogEntries { get; } = new ConcurentObservableCollection<LogEntry>();`
|  | `29` |  | ``
| 58 | `30` |  | `public int? RequestLogExpirationDuration { get; set; }`
|  | `31` |  | ``
| 62 | `32` |  | `public int? MaxRequestLogCount { get; set; }`
|  | `33` |  | ``
| 95 | `34` |  | `public IDictionary<string, object> Scenarios { get; } = new ConcurrentDictionary<string, object>();`
|  | `35` |  | ``
|  | `36` |  | `#if !NETSTANDARD`
| 94 | `37` |  | `public Action<IAppBuilder> PreWireMockMiddlewareInit { get; set; }`
|  | `38` |  | ``
| 94 | `39` |  | `public Action<IAppBuilder> PostWireMockMiddlewareInit { get; set; }`
|  | `40` |  | `#else`
|  | `41` |  | `public Action<IApplicationBuilder> PreWireMockMiddlewareInit { get; set; }`
|  | `42` |  | ``
|  | `43` |  | `public Action<IApplicationBuilder> PostWireMockMiddlewareInit { get; set; }`
|  | `44` |  | `#endif`
|  | `45` |  | `}`
|  | `46` |  | `}`

# Methods/Properties

Logger()
Logger(WireMock.Logging.IWireMockLogger)
RequestProcessingDelay()
RequestProcessingDelay(System.Nullable`1<System.TimeSpan>)
AuthorizationMatcher()
AuthorizationMatcher(WireMock.Matchers.IStringMatcher)
AllowPartialMapping()
AllowPartialMapping(System.Boolean)
Mappings()
.ctor()
LogEntries()
RequestLogExpirationDuration()
RequestLogExpirationDuration(System.Nullable`1<System.Int32>)
MaxRequestLogCount()
MaxRequestLogCount(System.Nullable`1<System.Int32>)
Scenarios()
PreWireMockMiddlewareInit()
PreWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>)
PostWireMockMiddlewareInit()
PostWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>)