Skip to content

Commit b8b396c

Browse files
committed
Create MultilineAttribute.cs
1 parent 4d0d6ec commit b8b396c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Src/MultilineAttribute.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright (c) 2013-2025 Cem Dervis, MIT License.
2+
// https://sharpconfig.org
3+
4+
using System;
5+
6+
namespace SharpConfig
7+
{
8+
/// <summary>
9+
/// Represents an attribute that tells SharpConfig to
10+
/// treat the subject as a multiline value.
11+
/// When the value of this property is written, it produces a setting in the form of:
12+
/// Setting=[[Value]]
13+
///
14+
/// Where '[[' and ']]' act as delimiters for the value.
15+
/// This allows a value to span across multiple lines.
16+
/// </summary>
17+
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
18+
public sealed class MultilineAttribute : Attribute
19+
{
20+
}
21+
}

0 commit comments

Comments
 (0)