Skip to content

Commit 3dfbe49

Browse files
author
Warren Buckley
committed
Add in XML comments
1 parent 967d501 commit 3dfbe49

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Our.Umbraco.TagHelpers/OurFallbackTagHelper.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,24 @@
77
namespace Our.Umbraco.TagHelpers
88
{
99
/// <summary>
10-
/// Use to fallback simple properties
10+
/// Fallback Umbraco properties
1111
/// </summary>
1212
[HtmlTargetElement("our-fallback")]
1313
public class OurFallbackTagHelper : TagHelper
1414
{
15+
/// <summary>
16+
/// The property on the Model to use as a fallback such as Model.Header
17+
/// Would just be Header
18+
/// </summary>
1519
[HtmlAttributeName("property")]
1620
public ModelExpression ModelProperty { get; set; }
1721

1822
[HtmlAttributeName("mode")]
1923
public Fallback Mode { get; set; }
2024

25+
/// <summary>
26+
/// If using the fallback mode as Language then you can specify the culture to fallback to
27+
/// </summary>
2128
[HtmlAttributeName("culture")]
2229
public string CultureCode { get; set; } = null;
2330

0 commit comments

Comments
 (0)