Show / Hide Table of Contents

Class XRoadCollectionAttribute

Provides serialization option for various collection types. Initializes new attribute with item element name.

Inheritance
System.Object
System.Attribute
XRoadCollectionAttribute
Implements
System.Runtime.InteropServices._Attribute
Inherited Members
abstract member System.Attribute.Equals: obj -> bool
static member System.Attribute.GetCustomAttribute: System.Reflection.Assembly * System.Type * bool -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.Assembly * System.Type -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.MemberInfo * System.Type * bool -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.MemberInfo * System.Type -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.Module * System.Type * bool -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.Module * System.Type -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.ParameterInfo * System.Type * bool -> System.Attribute
static member System.Attribute.GetCustomAttribute: System.Reflection.ParameterInfo * System.Type -> System.Attribute
static member System.Attribute.GetCustomAttributes: System.Reflection.Assembly * System.Type * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Assembly * System.Type -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Assembly * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Assembly -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.MemberInfo * System.Type * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.MemberInfo * System.Type -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.MemberInfo * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.MemberInfo -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Module * System.Type * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Module * System.Type -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Module * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.Module -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.ParameterInfo * System.Type * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.ParameterInfo * System.Type -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.ParameterInfo * bool -> System.Attribute []
static member System.Attribute.GetCustomAttributes: System.Reflection.ParameterInfo -> System.Attribute []
abstract member System.Attribute.GetHashCode: unit -> int
abstract member System.Attribute.IsDefaultAttribute: unit -> bool
static member System.Attribute.IsDefined: System.Reflection.Assembly * System.Type * bool -> bool
static member System.Attribute.IsDefined: System.Reflection.Assembly * System.Type -> bool
static member System.Attribute.IsDefined: System.Reflection.MemberInfo * System.Type * bool -> bool
static member System.Attribute.IsDefined: System.Reflection.MemberInfo * System.Type -> bool
static member System.Attribute.IsDefined: System.Reflection.Module * System.Type * bool -> bool
static member System.Attribute.IsDefined: System.Reflection.Module * System.Type -> bool
static member System.Attribute.IsDefined: System.Reflection.ParameterInfo * System.Type * bool -> bool
static member System.Attribute.IsDefined: System.Reflection.ParameterInfo * System.Type -> bool
abstract member System.Attribute.Match: obj -> bool
abstract property System.Attribute.TypeId: obj
Namespace: XRoad.Serialization.Attributes
Assembly: XRoadProvider.dll
Syntax
[<AllowNullLiteral; AttributeUsage(2180, AllowMultiple=true)>]
type XRoadCollectionAttribute (id:int, itemName:string)
    inherit Attribute
    interface _Attribute
Parameters
Type Name Description
int id
string itemName

Constructors

new: int * string -> XRoadCollectionAttribute

Implicit constructor.

Declaration
new: id:int * itemName:string -> XRoadCollectionAttribute
Parameters
Type Name Description
int id
string itemName
Returns
Type Description
XRoadCollectionAttribute

new: int -> XRoadCollectionAttribute

Declaration
new: id:int -> XRoadCollectionAttribute
Parameters
Type Name Description
int id
Returns
Type Description
XRoadCollectionAttribute

new: string -> XRoadCollectionAttribute

Declaration
new: itemName:string -> XRoadCollectionAttribute
Parameters
Type Name Description
string itemName
Returns
Type Description
XRoadCollectionAttribute

new: unit -> XRoadCollectionAttribute

Initializes new attribute with no item element name.

Declaration
new: unit -> XRoadCollectionAttribute
Returns
Type Description
XRoadCollectionAttribute

Properties

property Id: int

Unique id for this attribute.

Declaration
property Id: int with get
Property Value
Type Description
int

property ItemIsNullable: bool

Specifies if collection elements item element is allowed to contain null values.

Declaration
property ItemIsNullable: bool with get, set
Property Value
Type Description
bool

property ItemName: string

Item element name for particular collection element.

Declaration
property ItemName: string with get
Property Value
Type Description
string

property ItemNamespace: string

Item element namespace for particular collection element.

Declaration
property ItemNamespace: string with get, set
Property Value
Type Description
string

property MergeContent: bool

When true, no extra element is serialized for this property. Instead, all collection item elements become direct child elements of property owner element.

Declaration
property MergeContent: bool with get, set
Property Value
Type Description
bool

Implements

System.Runtime.InteropServices._Attribute
Back to top Generated by DocFX