Table of Contents Previous Next
Logo
Slice Metadata Directives : B.5 Metadata Directives for .NET and Mono
Copyright © 2003-2010 ZeroC, Inc.

B.5 Metadata Directives for .NET and Mono

clr:class

This directive applies to Slice structures. It directs the code generator to emit a C# class instead of a structure. (See Section 14.7.2.)

clr:collection

This directive applies to sequences and dictionaries and maps them to types that are derived from CollectionBase and DictionaryBase, respectively. (See Section 14.7.3 and Section 14.7.4.)

clr:generic:List
clr:generic:LinkedList
clr:generic:Queue
clr:generic:Stack

This directives apply to sequences and map them to the specified sequence type. (See Section 14.7.3.)

clr:generic:SortedDictionary

This directive applies to dictionaries and maps them to SortedDictionary. (See Section 14.7.4.)

clr:generic

This directive applies to sequences and allows you map them to custom types. (See Section 14.7.3.)

clr:property

This directive applies to Slice structures and classes. It directs the code generator to create C# property definitions for data members. (See Section 14.7.2.)

clr:serializable

This directive allows you to use Ice to transmit serializable CLR classes as native objects, without having to define corresponding Slice definitions for these classes. See Section 14.14 for more detail.

Table of Contents Previous Next
Logo