# < Summary

Information

Class: | Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9.X9ECParametersHolder
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\asn1\x9\X9ECParametersHolder.cs

Line coverage
100%

Covered lines: | 9
Uncovered lines: | 0
Coverable lines: | 9
Total lines: | 25
Line coverage: | 100%

Branch coverage
100%

Covered branches: | 2
Total branches: | 2
Branch coverage: | 100%

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
get_Parameters() | 100% | 2 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\asn1\x9\X9ECParametersHolder.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9`
|  | `2` |  | `{`
|  | `3` |  | `internal abstract class X9ECParametersHolder`
|  | `4` |  | `{`
|  | `5` |  | `private X9ECParameters parameters;`
|  | `6` |  | ``
|  | `7` |  | `public X9ECParameters Parameters`
|  | `8` |  | `{`
|  | `9` |  | `get`
| 45 | `10` |  | `{`
| 45 | `11` |  | `lock (this)`
| 45 | `12` |  | `{`
| 45 | `13` |  | `if (parameters == null)`
| 3 | `14` |  | `{`
| 3 | `15` |  | `parameters = CreateParameters();`
| 3 | `16` |  | `}`
|  | `17` |  | ``
| 45 | `18` |  | `return parameters;`
|  | `19` |  | `}`
| 45 | `20` |  | `}`
|  | `21` |  | `}`
|  | `22` |  | ``
|  | `23` |  | `protected abstract X9ECParameters CreateParameters();`
|  | `24` |  | `}`
|  | `25` |  | `}`

# Methods/Properties

get_Parameters()