-
Notifications
You must be signed in to change notification settings - Fork 81
UnityWeld.Binding.Adapters
Adapter that inverts the value of the bound boolean property.
public class UnityWeld.Binding.Adapters.BoolInversionAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter for converting from a bool to a Unity color.
public class UnityWeld.Binding.Adapters.BoolToColorAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for converting from a bool to a Unity color.
public class UnityWeld.Binding.Adapters.BoolToColorAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
Color |
FalseColor | The value used when the bool is false. |
Color |
TrueColor | The value used when the bool is true. |
Adapter for converting from a bool to a Unity color.
public class UnityWeld.Binding.Adapters.BoolToColorBlockAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for converting from a bool to a Unity color.
public class UnityWeld.Binding.Adapters.BoolToColorBlockAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
ColorBlock |
FalseColors | The value used when the bool is false. |
ColorBlock |
TrueColors | The value used when the bool is true. |
Adapter for converting from a bool to a string.
public class UnityWeld.Binding.Adapters.BoolToStringAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for converting from a bool to a string.
public class UnityWeld.Binding.Adapters.BoolToStringAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
String |
FalseValueString | The value used when the bool is set to false. |
String |
TrueValueString | The value used when the bool is set to true. |
Adapter that converts a single Color to one of the colors inside a ColorBlock
public class UnityWeld.Binding.Adapters.ColorToColorBlockAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter that converts a single Color to one of the colors inside a ColorBlock
public class UnityWeld.Binding.Adapters.ColorToColorBlockAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
ColorBlock |
DefaultColors | Default colors for the other roles. |
Role |
OverrideColor | Which color to override. |
Adapter for converting from a DateTime to an OADate as a float.
public class UnityWeld.Binding.Adapters.DateTimeToFloatAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter for converting from a DateTime to a string.
public class UnityWeld.Binding.Adapters.DateTimeToStringAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for converting a DateTime to a string.
public class UnityWeld.Binding.Adapters.DateTimeToStringAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
String |
Format | Format passed in to the DateTime.ToString method. See this page for details on usage: https://msdn.microsoft.com/en-us/library/zdtaw1bw(v=vs.110).aspx |
Adapter for converting from a float as an OADate to a DateTime.
public class UnityWeld.Binding.Adapters.FloatToDateTimeAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter that converts a float to a string.
public class UnityWeld.Binding.Adapters.FloatToStringAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for the float to string adapter.
public class UnityWeld.Binding.Adapters.FloatToStringAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
String |
Format | Options passed in to the Single.ToString() method. Defaults to two decimal places. See this page for more details: https://msdn.microsoft.com/en-us/library/f71z6k0c(v=vs.110).aspx |
Adapter for converting from an int to a string.
public class UnityWeld.Binding.Adapters.IntToStringAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter for converting from a string to a DateTime, using a specified culture.
public class UnityWeld.Binding.Adapters.StringCultureToDateTimeAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Options for converting from a string to a DateTime using format from a specified culture.
public class UnityWeld.Binding.Adapters.StringCultureToDateTimeAdapterOptions
: AdapterOptions
Fields
Type | Name | Summary |
---|---|---|
String |
CultureName |
String to bool adapter that returns false if the string is null or empty, otherwise true.
public class UnityWeld.Binding.Adapters.StringEmptyToBoolAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter that parses a string as a float.
public class UnityWeld.Binding.Adapters.StringToFloatAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |
Adapter for converting from a string to an int.
public class UnityWeld.Binding.Adapters.StringToIntAdapter
: IAdapter
Methods
Type | Name | Summary |
---|---|---|
Object |
Convert(Object valueIn, AdapterOptions options) |