LibreOffice Module cli_ure (master) 1
|
is used to mark a parameterized UNO entity(i.e. More...
Public Member Functions | |
TypeArgumentsAttribute (Type[] arguments) | |
initializes an instance with the specified value. More... | |
Properties | |
Type[] | Arguments [get] |
Private Attributes | |
Type[] | m_arguments |
is used to mark a parameterized UNO entity(i.e.
struct) to be an instantiation of a template with the specified type arguments.
Currently only UNO structs can have type parameters.
[TypeParameters(new string[]{"T"})] struct Foo { [ParameterizedType("T")] Object member; } public interface XFoo { [return:TypeArguments(new string[]{typeof(char)})] Foo func( [TypeArguments(new string[]{typeof(char)})] Foo f); }
Definition at line 50 of file TypeArgumentsAttribute.cs.
|
inline |
initializes an instance with the specified value.
parameters | arrayay of names representing the types. It must not be null. |
Definition at line 58 of file TypeArgumentsAttribute.cs.
References uno.TypeArgumentsAttribute.m_arguments.
|
private |
Definition at line 71 of file TypeArgumentsAttribute.cs.
Referenced by uno.TypeArgumentsAttribute.TypeArgumentsAttribute().
|
get |
Definition at line 63 of file TypeArgumentsAttribute.cs.