Skip to content

Commit e3b6b40

Browse files
committed
Add thread safety to XML docs.
1 parent 73063e0 commit e3b6b40

15 files changed

+15
-0
lines changed

src/Ookii.AnswerFile/AutoLogonOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Ookii.AnswerFile;
55
/// <summary>
66
/// Provides options for logging on automatically.
77
/// </summary>
8+
/// <threadsafety instance="false" static="true"/>
89
public class AutoLogonOptions
910
{
1011
/// <summary>

src/Ookii.AnswerFile/CleanBiosOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/// disk. Windows will be installed on the second partition.
1616
/// </para>
1717
/// </remarks>
18+
/// <threadsafety instance="false" static="true"/>
1819
public class CleanBiosOptions : CleanOptionsBase
1920
{
2021
/// <summary>

src/Ookii.AnswerFile/CleanEfiOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Ookii.AnswerFile;
1717
/// remaining size of the disk. Windows will be installed on the third partition.
1818
/// </para>
1919
/// </remarks>
20+
/// <threadsafety instance="false" static="true"/>
2021
public class CleanEfiOptions : CleanOptionsBase
2122
{
2223
/// <summary>

src/Ookii.AnswerFile/DomainCredential.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/// at best. Do not store generated files with sensitive passwords in public locations.
1010
/// </note>
1111
/// </remarks>
12+
/// <threadsafety instance="false" static="true"/>
1213
public record class DomainCredential
1314
{
1415
/// <summary>

src/Ookii.AnswerFile/DomainOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Ookii.AnswerFile;
1010
/// The password of the account used to join the domain is stored in plain text.
1111
/// </note>
1212
/// </remarks>
13+
/// <threadsafety instance="false" static="true"/>
1314
public class DomainOptions
1415
{
1516
private Collection<string>? _domainAccounts;

src/Ookii.AnswerFile/DomainUser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Ookii.AnswerFile;
55
/// <summary>
66
/// Represents a domain or local user.
77
/// </summary>
8+
/// <threadsafety instance="false" static="true"/>
89
public record class DomainUser
910
{
1011
/// <summary>

src/Ookii.AnswerFile/ExistingPartitionOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/// Depending on the system type, a system or EFI partition must already exist.
1515
/// </para>
1616
/// </remarks>
17+
/// <threadsafety instance="false" static="true"/>
1718
public class ExistingPartitionOptions : TargetedInstallOptionsBase
1819
{
1920
/// <summary>

src/Ookii.AnswerFile/Generator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Ookii.AnswerFile;
1010
/// A generator for Windows unattended installation files.
1111
/// </summary>
1212
/// <seealso cref="GeneratorOptions"/>
13+
/// <threadsafety instance="false" static="true"/>
1314
public class Generator
1415
{
1516
internal const string PublicKeyToken = "31bf3856ad364e35";

src/Ookii.AnswerFile/GeneratorOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace Ookii.AnswerFile;
77
/// Provides options for generating an unattended Windows installation answer file.
88
/// </summary>
99
/// <seealso cref="Generator"/>
10+
/// <threadsafety instance="false" static="true"/>
1011
public class GeneratorOptions
1112
{
1213
private Collection<LocalCredential>? _localAccounts;

src/Ookii.AnswerFile/InstallOptionsBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Ookii.AnswerFile;
55
/// <summary>
66
/// A base class for all the various installation options classes.
77
/// </summary>
8+
/// <threadsafety instance="false" static="true"/>
89
[JsonDerivedType(typeof(CleanEfiOptions), typeDiscriminator: "CleanEfi")]
910
[JsonDerivedType(typeof(CleanBiosOptions), typeDiscriminator: "CleanBios")]
1011
[JsonDerivedType(typeof(ExistingPartitionOptions), typeDiscriminator: "ExistingPartition")]

src/Ookii.AnswerFile/LocalCredential.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/// at best. Do not store generated files with sensitive passwords in public locations.
1010
/// </note>
1111
/// </remarks>
12+
/// <threadsafety instance="false" static="true"/>
1213
public record class LocalCredential
1314
{
1415
/// <summary>

src/Ookii.AnswerFile/ManualInstallOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/// <remarks>
77
/// When using this installation method, the installation is not fully unattended.
88
/// </remarks>
9+
/// <threadsafety instance="false" static="true"/>
910
public class ManualInstallOptions : InstallOptionsBase
1011
{
1112
/// <summary>

src/Ookii.AnswerFile/OptionalFeatures.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Ookii.AnswerFile;
55
/// <summary>
66
/// Provides options for installing optional features.
77
/// </summary>
8+
/// <threadsafety instance="false" static="true"/>
89
public class OptionalFeatures
910
{
1011
private Collection<string>? _features;

src/Ookii.AnswerFile/Partition.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Ookii.AnswerFile;
66
/// Specifies a partition to be created when using the <see cref="CleanBiosOptions"/> or
77
/// <see cref="CleanEfiOptions"/> class.
88
/// </summary>
9+
/// <threadsafety instance="false" static="true"/>
910
public class Partition : ISpanParsable<Partition>
1011
{
1112
/// <summary>

src/Ookii.AnswerFile/TargetedInstallOptionsBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/// <summary>
44
/// Base class for all install options that target a specific disk and partition.
55
/// </summary>
6+
/// <threadsafety instance="false" static="true"/>
67
public abstract class TargetedInstallOptionsBase : InstallOptionsBase
78
{
89
/// <summary>

0 commit comments

Comments
 (0)