Table of Contents Previous Next
Logo
Slice Metadata Directives : B.4 Metadata Directives for C#
Copyright © 2003-2010 ZeroC, Inc.

B.4 Metadata Directives for C#

Note that C# (and other Common Language Runtime languages) are also affected by metadata with a clr: prefix. (See Section B.5.)

cs:attribute

This directive can be used both as a global directive and as directive for specific Slice constructs. It injects C# attribute definitions into the generated code. (See Section 14.15.)

Table of Contents Previous Next
Logo