Struct Property
Struct of this type store a property value and its current type.
Implements
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
[Serializable]
public struct Property : IDictionaryConvertible
Properties
Name | Description |
---|---|
type | Stored value's type. |
Methods
Name | Description |
---|---|
As |
Explicitly casts this Property into a bool. Handle convertible types properly. |
As |
Explicitly casts this Property into a double. Handle convertible types properly. |
As |
Explicitly casts this Property into a float. Handle convertible types properly. |
As |
Explicitly casts this Property into an integer. Handle convertible types properly. |
As |
Explicitly casts this Property into a long. Handle convertible types properly. |
As |
Explicitly casts this Property into a string. Handle convertible types properly. |
Compare |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
Equals(object) | Indicates whether this instance and a specified object are equal. |
Equals(Property) | Indicates whether the current object is equal to another object of the same type. |
Equals(Property, Property) | Determines whether the specified objects are equal. |
Fill |
Reset this object and fill it with the given data. |
Get |
Returns the hash code for this instance. |
Get |
Returns a hash code for the specified object. |
To |
Converts this object to a JSON ready dictionary. |
To |
Returns the fully qualified type name of this instance. |
Try |
Create a new Property instance by parsing the given
|
Operators
Name | Description |
---|---|
operator +(Property, Property) | Add the two given operands into a new Property. |
operator ==(Property, Property) | Compare the two given operands for equality. |
operator >(Property, Property) | Compare the two given operands if they are numbers. |
operator >=(Property, Property) | Compare the two given operands if they are numbers. |
implicit operator Property(bool) | Construct a Property from the given |
implicit operator Property(double) | Construct a Property from the given |
implicit operator Property(int) | Construct a Property from the given |
implicit operator Property(long) | Construct a Property from the given |
implicit operator Property(float) | Construct a Property from the given |
implicit operator Property(string) | Construct a Property from the given |
implicit operator bool(Property) | Explicitly casts this Property into a bool. Handle convertible types properly. |
implicit operator double(Property) | Explicitly casts this Property into a double. Handle convertible types properly. |
implicit operator int(Property) | Explicitly casts this Property into an integer. Handle convertible types properly. |
implicit operator long(Property) | Explicitly casts this Property into a long. Handle convertible types properly. |
implicit operator float(Property) | Explicitly casts this Property into a float. Handle convertible types properly. |
implicit operator string(Property) | Explicitly casts this Property into a string. Handle convertible types properly. |
operator !=(Property, Property) | Compare the two given operands for inequality. |
operator <(Property, Property) | Compare the two given operands if they are numbers. |
operator <=(Property, Property) | Compare the two given operands if they are numbers. |
operator -(Property, Property) | Subtract the two given operands into a new Property. |