C# Class GladNet.Serializer.GladNetSerializationIncludeAttribute

Inheritance: System.Attribute
Show file Open project: HelloKitty/GladNet2

Public Methods

Method Description
GladNetSerializationIncludeAttribute ( GladNetIncludeIndex includeIndex, Type type, bool isForDerived = true ) : System

Marks a target with the Include attribute. Attribute doesn't handle enforcing.

Private Methods

Method Description
GladNetSerializationIncludeAttribute ( int tagID, Type type, bool isForDerived = true ) : System

Marks a target with the Include attribute. Attribute doesn't handle enforcing.

Method Details

GladNetSerializationIncludeAttribute() public method

Marks a target with the Include attribute. Attribute doesn't handle enforcing.
Throws if tagID is 0 or negative.
public GladNetSerializationIncludeAttribute ( GladNetIncludeIndex includeIndex, Type type, bool isForDerived = true ) : System
includeIndex GladNetIncludeIndex A valid unique for the target .
type System.Type Type of the derived or base Type to associate with. (Unenforced to be a derived or subtype)
isForDerived bool
return System