diff options
Diffstat (limited to 'src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs')
-rw-r--r-- | src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs b/src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs new file mode 100644 index 0000000..f681510 --- /dev/null +++ b/src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs @@ -0,0 +1,20 @@ +using Microsoft.VisualStudio.Utilities; + +namespace Microsoft.VisualStudio.Text.OptionDescriptions +{ + /// <summary> + /// Attribute defining whether or not the option roams. + /// </summary> + /// <remarks> + /// If not provided, then the option is not considered a roaming attribute. + /// </remarks> + public sealed class IsRoamingAttribute : SingletonBaseMetadataAttribute + { + public IsRoamingAttribute(bool isRoaming = true) + { + this.IsRoaming = isRoaming; + } + + public bool IsRoaming { get; } + } +} |