| | 1 | | // Copyright (c) ZeroC, Inc. |
| | 2 | |
|
| | 3 | | #nullable enable |
| | 4 | |
|
| | 5 | | namespace Ice; |
| | 6 | |
|
| | 7 | | /// <summary> |
| | 8 | | /// Unknown sliced value holds an instance of an unknown Slice class type. |
| | 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 object.</param> |
| 1 | 16 | | public UnknownSlicedValue(string unknownTypeId) => _unknownTypeId = unknownTypeId; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Returns the Slice type ID associated with this object. |
| | 20 | | /// </summary> |
| | 21 | | /// <returns>The type ID.</returns> |
| 1 | 22 | | public override string ice_id() => _unknownTypeId; |
| | 23 | |
|
| | 24 | | private readonly string _unknownTypeId; |
| | 25 | | } |