Airship.Net
AirshipDotNet.Attributes.AttributeEditor Class Reference

Editor for Channel and Named User attributes. More...

Public Member Functions

AttributeEditor SetAttribute (string key, string value)
 Sets a string attribute.
 
AttributeEditor SetAttribute (string key, float value)
 Sets a float attribute.
 
AttributeEditor SetAttribute (string key, double value)
 Sets a double attribute.
 
AttributeEditor SetAttribute (string key, int value)
 Sets an int attribute.
 
AttributeEditor SetAttribute (string key, long value)
 Sets a long attribute.
 
AttributeEditor SetAttribute (string key, DateTime value)
 Sets a date attribute.
 
AttributeEditor RemoveAttribute (string key)
 Removes an attribute.
 
void Apply ()
 Apply the attribute edits.
 

Detailed Description

Editor for Channel and Named User attributes.

Member Function Documentation

◆ Apply()

void AirshipDotNet.Attributes.AttributeEditor.Apply ( )
inline

Apply the attribute edits.

◆ RemoveAttribute()

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.RemoveAttribute ( string key)
inline

Removes an attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.

◆ SetAttribute() [1/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
DateTime value )
inline

Sets a date attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.

◆ SetAttribute() [2/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
double value )
inline

Sets a double attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.

◆ SetAttribute() [3/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
float value )
inline

Sets a float attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.

◆ SetAttribute() [4/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
int value )
inline

Sets an int attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.

◆ SetAttribute() [5/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
long value )
inline

Sets a long attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.

◆ SetAttribute() [6/6]

AttributeEditor AirshipDotNet.Attributes.AttributeEditor.SetAttribute ( string key,
string value )
inline

Sets a string attribute.

Returns
The attribute editor.
Parameters
keyThe attribute key.
valueThe attribute value.