C# Class Realms.PreserveAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: realm/realm-dotnet

Public Properties

Property Type Description
AllMembers bool
Conditional bool

Public Methods

Method Description
PreserveAttribute ( ) : System

Initializes a new instance of the PreserveAttribute class.

PreserveAttribute ( bool allMembers, bool conditional ) : System

Initializes a new instance of the PreserveAttribute class.

Method Details

PreserveAttribute() public method

Initializes a new instance of the PreserveAttribute class.
public PreserveAttribute ( ) : System
return System

PreserveAttribute() public method

Initializes a new instance of the PreserveAttribute class.
public PreserveAttribute ( bool allMembers, bool conditional ) : System
allMembers bool If set to true all members will be preserved.
conditional bool If set to true, the method will only be preserved if the container class is preserved.
return System

Property Details

AllMembers public_oe property

When used on a class rather than a property, ensures that all members of this type are preserved.
public bool AllMembers
return bool

Conditional public_oe property

Flags the method as a method to preserve during linking if the container class is pulled in.
public bool Conditional
return bool