blob: 51b95940b60cb7a6be36cf11ee4faac97000531b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
namespace Ice
{
/// <summary>
/// SlicedData holds the slices of unknown class or exception types.
/// </summary>
public class SlicedData
{
public SlicedData(SliceInfo[] slices)
{
this.slices = slices;
}
/**
* The details of each slice, in order of most-derived to least-derived.
**/
public SliceInfo[] slices;
}
/// <summary>
/// SliceInfo encapsulates the details of a slice for an unknown class or exception type.
/// </summary>
public class SliceInfo
{
/// <summary>
/// The Slice type ID for this slice.
/// </summary>
public string typeId;
/// <summary>
/// The Slice compact type ID for this slice.
/// </summary>
public int compactId;
/// <summary>
/// The encoded bytes for this slice, including the leading size integer.
/// </summary>
public byte[] bytes;
/// <summary>
/// The class instances referenced by this slice.
/// </summary>
public Value[] instances;
/// <summary>
/// Whether or not the slice contains optional members.
/// </summary>
public bool hasOptionalMembers;
/// <summary>
/// Whether or not this is the last slice.
/// </summary>
public bool isLastSlice;
}
}
|