1 <?xml version="1.0"?>
\r
4 <name>Microsoft.Extensions.Configuration.UserSecrets</name>
\r
7 <member name="T:Microsoft.Extensions.Configuration.UserSecrets.PathHelper">
\r
9 Provides paths for user secrets configuration files.
\r
12 <member name="M:Microsoft.Extensions.Configuration.UserSecrets.PathHelper.GetSecretsPathFromSecretsId(System.String)">
\r
15 Returns the path to the JSON file that stores user secrets.
\r
18 This uses the current user profile to locate the secrets file on disk in a location outside of source control.
\r
21 <param name="userSecretsId">The user secret ID.</param>
\r
22 <returns>The full path to the secret file.</returns>
\r
24 <member name="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute">
\r
27 Represents the user secrets ID.
\r
30 In most cases, this attribute is automatically generated during compilation by MSBuild targets
\r
31 included in the UserSecrets NuGet package. These targets use the MSBuild property 'UserSecretsId'
\r
32 to set the value for <see cref="P:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute.UserSecretsId"/>.
\r
36 <member name="M:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute.#ctor(System.String)">
\r
38 Initializes an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute" />.
\r
40 <param name="userSecretId">The user secrets ID.</param>
\r
42 <member name="P:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute.UserSecretsId">
\r
44 The user secrets ID.
\r
47 <member name="P:Microsoft.Extensions.Configuration.UserSecrets.Resources.Common_StringNullOrEmpty">
\r
48 <summary>Value cannot be null or an empty string.</summary>
\r
50 <member name="P:Microsoft.Extensions.Configuration.UserSecrets.Resources.Error_Invalid_Character_In_UserSecrets_Id">
\r
51 <summary>Invalid character '{0}' found in the user secrets ID at index '{1}'.</summary>
\r
53 <member name="M:Microsoft.Extensions.Configuration.UserSecrets.Resources.FormatError_Invalid_Character_In_UserSecrets_Id(System.Object,System.Object)">
\r
54 <summary>Invalid character '{0}' found in the user secrets ID at index '{1}'.</summary>
\r
56 <member name="P:Microsoft.Extensions.Configuration.UserSecrets.Resources.Error_Missing_UserSecretsIdAttribute">
\r
57 <summary>Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
\r
58 Check that the project for '{0}' has set the 'UserSecretsId' build property.
\r
59 If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecret ...</summary>
\r
61 <member name="M:Microsoft.Extensions.Configuration.UserSecrets.Resources.FormatError_Missing_UserSecretsIdAttribute(System.Object)">
\r
62 <summary>Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
\r
63 Check that the project for '{0}' has set the 'UserSecretsId' build property.
\r
64 If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecret ...</summary>
\r
66 <member name="T:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions">
\r
68 Configuration extensions for adding user secrets configuration source.
\r
71 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets``1(Microsoft.Extensions.Configuration.IConfigurationBuilder)">
\r
74 Adds the user secrets configuration source. Searches the assembly that contains type <typeparamref name="T"/>
\r
75 for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
78 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
81 <param name="configuration">The configuration builder.</param>
\r
82 <typeparam name="T">The type from the assembly to search for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</typeparam>
\r
83 <exception cref="T:System.InvalidOperationException">Thrown when the assembly containing <typeparamref name="T"/> does not have <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</exception>
\r
84 <returns>The configuration builder.</returns>
\r
86 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets``1(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.Boolean)">
\r
89 Adds the user secrets configuration source. Searches the assembly that contains type <typeparamref name="T"/>
\r
90 for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
93 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
96 <param name="configuration">The configuration builder.</param>
\r
97 <param name="optional">Whether loading secrets is optional. When false, this method may throw.</param>
\r
98 <exception cref="T:System.InvalidOperationException">Thrown when <paramref name="optional"/> is false and the assembly containing <typeparamref name="T"/> does not have a valid <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</exception>
\r
99 <typeparam name="T">The type from the assembly to search for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</typeparam>
\r
100 <returns>The configuration builder.</returns>
\r
102 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets``1(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.Boolean,System.Boolean)">
\r
105 Adds the user secrets configuration source. Searches the assembly that contains type <typeparamref name="T"/>
\r
106 for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
109 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
112 <param name="configuration">The configuration builder.</param>
\r
113 <param name="optional">Whether loading secrets is optional. When false, this method may throw.</param>
\r
114 <param name="reloadOnChange">Whether the configuration should be reloaded if the file changes.</param>
\r
115 <exception cref="T:System.InvalidOperationException">Thrown when <paramref name="optional"/> is false and the assembly containing <typeparamref name="T"/> does not have a valid <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</exception>
\r
116 <typeparam name="T">The type from the assembly to search for an instance of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</typeparam>
\r
117 <returns>The configuration builder.</returns>
\r
119 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.Reflection.Assembly)">
\r
122 Adds the user secrets configuration source. This searches <paramref name="assembly"/> for an instance
\r
123 of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
126 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
129 <param name="configuration">The configuration builder.</param>
\r
130 <param name="assembly">The assembly with the <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute" />.</param>
\r
131 <exception cref="T:System.InvalidOperationException">Thrown when <paramref name="assembly"/> does not have a valid <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/></exception>
\r
132 <returns>The configuration builder.</returns>
\r
134 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.Reflection.Assembly,System.Boolean)">
\r
137 Adds the user secrets configuration source. This searches <paramref name="assembly"/> for an instance
\r
138 of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
141 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
144 <param name="configuration">The configuration builder.</param>
\r
145 <param name="assembly">The assembly with the <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute" />.</param>
\r
146 <param name="optional">Whether loading secrets is optional. When false, this method may throw.</param>
\r
147 <exception cref="T:System.InvalidOperationException">Thrown when <paramref name="optional"/> is false and <paramref name="assembly"/> does not have a valid <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</exception>
\r
148 <returns>The configuration builder.</returns>
\r
150 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.Reflection.Assembly,System.Boolean,System.Boolean)">
\r
153 Adds the user secrets configuration source. This searches <paramref name="assembly"/> for an instance
\r
154 of <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>, which specifies a user secrets ID.
\r
157 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
160 <param name="configuration">The configuration builder.</param>
\r
161 <param name="assembly">The assembly with the <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute" />.</param>
\r
162 <param name="optional">Whether loading secrets is optional. When false, this method may throw.</param>
\r
163 <param name="reloadOnChange">Whether the configuration should be reloaded if the file changes.</param>
\r
164 <exception cref="T:System.InvalidOperationException">Thrown when <paramref name="optional"/> is false and <paramref name="assembly"/> does not have a valid <see cref="T:Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute"/>.</exception>
\r
165 <returns>The configuration builder.</returns>
\r
167 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.String)">
\r
170 Adds the user secrets configuration source with specified user secrets ID.
\r
173 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
176 <param name="configuration">The configuration builder.</param>
\r
177 <param name="userSecretsId">The user secrets ID.</param>
\r
178 <returns>The configuration builder.</returns>
\r
180 <member name="M:Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(Microsoft.Extensions.Configuration.IConfigurationBuilder,System.String,System.Boolean)">
\r
183 Adds the user secrets configuration source with specified user secrets ID.
\r
186 A user secrets ID is unique value used to store and identify a collection of secret configuration values.
\r
189 <param name="configuration">The configuration builder.</param>
\r
190 <param name="userSecretsId">The user secrets ID.</param>
\r
191 <param name="reloadOnChange">Whether the configuration should be reloaded if the file changes.</param>
\r
192 <returns>The configuration builder.</returns>
\r