Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs')
-rw-r--r--src/Text/Def/Internal/TextLogic/IsRoamingAttribute.cs20
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; }
+ }
+}