|
|
|
Copyright © 2003-2010 ZeroC, Inc. |
14.15 C#-Specific Metadata Directives
The slice2cs compiler supports metadata directives that allow you inject C# attribute specifications into the generated code. The metadata directive is cs:attribute:. For example:You can apply this metadata directive to any slice construct, such as structure, operation, or parameter definitions.This results in the following code being inserted following any using directives and preceding any definitions:
|
|