| | 1 | | // Copyright (c) ZeroC, Inc. |
| | 2 | |
|
| | 3 | | namespace IceRpc; |
| | 4 | |
|
| | 5 | | /// <summary>Assigns a default service path to an interface.</summary> |
| | 6 | | [AttributeUsage(AttributeTargets.Interface, Inherited = false)] |
| | 7 | | public sealed class DefaultServicePathAttribute : Attribute |
| | 8 | | { |
| | 9 | | /// <summary>Gets the default service path.</summary> |
| | 10 | | /// <value>The default service path.</value> |
| 7 | 11 | | public string Value { get; } |
| | 12 | |
|
| | 13 | | /// <summary>Constructs a default service path attribute.</summary> |
| | 14 | | /// <param name="value">The default service path.</param>> |
| 14 | 15 | | public DefaultServicePathAttribute(string value) => Value = value; |
| | 16 | | } |