Click or drag to resize

CargoListAttribute Class

This is preliminary documentation and is subject to change.

Annotates the property as a cargo list, i.e. List (Delimiter) of [type].
Inheritance Hierarchy
SystemObject
  SystemAttribute
    WikiClientLibrary.Cargo.Schema.DataAnnotationsCargoListAttribute

Namespace: WikiClientLibrary.Cargo.Schema.DataAnnotations
Assembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field)]
public class CargoListAttribute : Attribute

The CargoListAttribute type exposes the following members.

Constructors
 NameDescription
Public methodCargoListAttributeInitialize the attribute with comma (,) as list separator.
Public methodCargoListAttribute(String)Initializes a new instance of the CargoListAttribute class
Top
Properties
 NameDescription
Public propertyDelimiter 
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Top
Methods
 NameDescription
Public methodEqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
Public methodMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultDelimiter 
Top
Remarks
All the collection properties without CargoListAttribute will use default settings, i.e. using comma (,) as list separator.
See Also