| | | 1 | | // Copyright (c) ZeroC, Inc. |
| | | 2 | | |
| | | 3 | | #nullable enable |
| | | 4 | | |
| | | 5 | | namespace Ice; |
| | | 6 | | |
| | | 7 | | /// <summary> |
| | | 8 | | /// Represents an instance of an unknown class. |
| | | 9 | | /// </summary> |
| | | 10 | | public sealed class UnknownSlicedValue : Value |
| | | 11 | | { |
| | | 12 | | /// <summary> |
| | | 13 | | /// Initializes a new instance of the <see cref="UnknownSlicedValue" /> class. |
| | | 14 | | /// </summary> |
| | | 15 | | /// <param name="unknownTypeId">The Slice type ID of the unknown value.</param> |
| | 1 | 16 | | public UnknownSlicedValue(string unknownTypeId) => _unknownTypeId = unknownTypeId; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Returns the Slice type ID associated with this instance. |
| | | 20 | | /// </summary> |
| | | 21 | | /// <returns>The type ID supplied to the constructor.</returns> |
| | 1 | 22 | | public override string ice_id() => _unknownTypeId; |
| | | 23 | | |
| | | 24 | | private readonly string _unknownTypeId; |
| | | 25 | | } |