Skip to content

Commit 9a7843a

Browse files
authored
Merge pull request #1 from BlazorExpress/features/xml-documentation-updates
Features/xml documentation updates
2 parents 0a3d1e9 + 50d9a68 commit 9a7843a

3 files changed

Lines changed: 34 additions & 13 deletions

File tree

BlazorExpress.Core/BlazorExpress.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<PackageId>BlazorExpress.Core</PackageId>
5-
<Version>0.0.4</Version>
6-
<PackageVersion>0.0.4</PackageVersion>
5+
<Version>0.1.0</Version>
6+
<PackageVersion>0.1.0</PackageVersion>
77

88
<!--<PackageIconUrl></PackageIconUrl>-->
99
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>

BlazorExpress.Core/Components/BlazorExpressComponentCore.cs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,27 @@ protected virtual ValueTask DisposeAsyncCore(bool disposing)
133133

134134
#region Properties, Indexers
135135

136-
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> AdditionalAttributes { get; set; } = default!;
136+
/// <summary>
137+
/// Gets or sets additional attributes that will be applied to the component.
138+
/// <para>
139+
/// Default value is <see langword="null" />.
140+
/// </para>
141+
/// </summary>
142+
[AddedVersion("1.0.0")]
143+
[DefaultValue(null)]
144+
[Description("Gets or sets additional attributes that will be applied to the component.")]
145+
[Parameter(CaptureUnmatchedValues = true)]
146+
public Dictionary<string, object> AdditionalAttributes { get; set; } = default!;
137147

138148
/// <summary>
139-
/// Gets or sets the CSS class.
149+
/// Gets or sets the CSS class name(s) to apply to the component.
140150
/// <para>
141151
/// Default value is <see langword="null" />.
142152
/// </para>
143153
/// </summary>
144154
[AddedVersion("1.0.0")]
145155
[DefaultValue(null)]
146-
[Description("Gets or sets the CSS class.")]
156+
[Description("Gets or sets the CSS class name(s) to apply to the component.")]
147157
[Parameter]
148158
public string? Class { get; set; }
149159

@@ -175,14 +185,14 @@ protected virtual ValueTask DisposeAsyncCore(bool disposing)
175185
[Inject] protected IJSRuntime JSRuntime { get; set; } = default!;
176186

177187
/// <summary>
178-
/// Gets or sets the CSS style.
188+
/// Gets or sets the CSS style string that defines the inline styles for the component.
179189
/// <para>
180190
/// Default value is <see langword="null" />.
181191
/// </para>
182192
/// </summary>
183193
[AddedVersion("1.0.0")]
184194
[DefaultValue(null)]
185-
[Description("Gets or sets the CSS style.")]
195+
[Description("Gets or sets the CSS style string that defines the inline styles for the component.")]
186196
[Parameter]
187197
public string? Style { get; set; }
188198

BlazorExpress.Core/Components/BlazorExpressLayoutComponentCore.cs

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,27 @@ protected virtual ValueTask DisposeAsyncCore(bool disposing)
133133

134134
#region Properties, Indexers
135135

136-
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> AdditionalAttributes { get; set; } = default!;
136+
/// <summary>
137+
/// Gets or sets additional attributes that will be applied to the component.
138+
/// <para>
139+
/// Default value is <see langword="null" />.
140+
/// </para>
141+
/// </summary>
142+
[AddedVersion("1.0.0")]
143+
[DefaultValue(null)]
144+
[Description("Gets or sets additional attributes that will be applied to the component.")]
145+
[Parameter(CaptureUnmatchedValues = true)]
146+
public Dictionary<string, object> AdditionalAttributes { get; set; } = default!;
137147

138148
/// <summary>
139-
/// Gets or sets the CSS class.
149+
/// Gets or sets the CSS class name(s) to apply to the component.
140150
/// <para>
141151
/// Default value is <see langword="null" />.
142152
/// </para>
143153
/// </summary>
144154
[AddedVersion("1.0.0")]
145155
[DefaultValue(null)]
146-
[Description("Gets or sets the CSS class.")]
156+
[Description("Gets or sets the CSS class name(s) to apply to the component.")]
147157
[Parameter]
148158
public string? Class { get; set; }
149159

@@ -172,17 +182,18 @@ protected virtual ValueTask DisposeAsyncCore(bool disposing)
172182

173183
protected bool IsFirstRenderComplete { get; private set; }
174184

175-
[Inject] protected IJSRuntime JSRuntime { get; set; } = default!;
185+
[Inject]
186+
protected IJSRuntime JSRuntime { get; set; } = default!;
176187

177188
/// <summary>
178-
/// Gets or sets the CSS style.
189+
/// Gets or sets the CSS style string that defines the inline styles for the component.
179190
/// <para>
180191
/// Default value is <see langword="null" />.
181192
/// </para>
182193
/// </summary>
183194
[AddedVersion("1.0.0")]
184195
[DefaultValue(null)]
185-
[Description("Gets or sets the CSS style.")]
196+
[Description("Gets or sets the CSS style string that defines the inline styles for the component.")]
186197
[Parameter]
187198
public string? Style { get; set; }
188199

0 commit comments

Comments
 (0)