字典类结构,实现 IDictionary 接口
More...
|
void | Add (object key, object value) |
| 增加属性
|
|
bool | ContainsKey (object key) |
| 是否包含属性
|
|
bool | Remove (object key) |
| 移除属性
|
|
bool | TryGetValue (object key, out object value) |
| 尝试获取属性值
|
|
void | Add (KeyValuePair< object, object > item) |
| 增加属性
|
|
void | Clear () |
| 清空属性
|
|
bool | Contains (KeyValuePair< object, object > item) |
| 是否包含属性
|
|
void | CopyTo (KeyValuePair< object, object >[] array, int arrayIndex) |
| 拷贝属性到数组
|
|
bool | Remove (KeyValuePair< object, object > item) |
| 移除属性
|
|
IEnumerator< KeyValuePair< object, object > > | GetEnumerator () |
| 获取迭代器
|
|
| PlayObject (int capacity) |
| 构造方法
|
|
| PlayObject () |
| 构造方法
|
|
| PlayObject (IDictionary dictionary) |
| 构造方法
|
|
bool | TryGetBool (object key, out bool val) |
| 尝试获取属性的 bool 值
|
|
bool | TryGetByte (object key, out byte val) |
| 尝试获取属性的 byte 值
|
|
bool | TryGetShort (object key, out short val) |
| 尝试获取属性的 short 值
|
|
bool | TryGetInt (object key, out int val) |
| 尝试获取属性的 int 值
|
|
bool | TryGetLong (object key, out long val) |
| 尝试获取属性的 long 值
|
|
bool | TryGetFloat (object key, out float val) |
| 尝试获取属性的 float 值
|
|
bool | TryGetDouble (object key, out double val) |
| 尝试获取属性的 double 值
|
|
bool | TryGetString (object key, out string val) |
| 尝试获取属性的 string 值
|
|
bool | TryGetBytes (object key, out byte[] val) |
| 尝试获取属性的 byte[] 值
|
|
bool | TryGetPlayObject (object key, out PlayObject val) |
| 尝试获取属性的 PlayObject 值
|
|
bool | TryGetPlayArray (object key, out PlayArray val) |
| 尝试获取属性的 PlayArray 值
|
|
bool | GetBool (object key) |
| 获取属性 bool 值
|
|
byte | GetByte (object key) |
| 获取属性 byte 值
|
|
short | GetShort (object key) |
| 获取属性 short 值
|
|
int | GetInt (object key) |
| 获取属性 int 值
|
|
long | GetLong (object key) |
| 获取属性 long 值
|
|
float | GetFloat (object key) |
| 获取属性 float 值
|
|
double | GetDouble (object key) |
| 获取属性 double 值
|
|
string | GetString (object key) |
| 获取属性 string 值
|
|
byte[] | GetBytes (object key) |
| 获取属性 byte[] 值
|
|
PlayObject | GetPlayObject (object key) |
| 获取属性 PlayObject 值
|
|
PlayArray | GetPlayArray (object key) |
| 获取属性 PlayArray 值
|
|
T | Get< T > (object key) |
| 获取属性 T 值
|
|
bool | IsNull (object key) |
| 属性是否为空
|
|
◆ PlayObject() [1/3]
LeanCloud.Play.PlayObject.PlayObject |
( |
int |
capacity | ) |
|
|
inline |
◆ PlayObject() [2/3]
LeanCloud.Play.PlayObject.PlayObject |
( |
| ) |
|
|
inline |
◆ PlayObject() [3/3]
LeanCloud.Play.PlayObject.PlayObject |
( |
IDictionary |
dictionary | ) |
|
|
inline |
◆ Add() [1/2]
void LeanCloud.Play.PlayObject.Add |
( |
KeyValuePair< object, object > |
item | ) |
|
|
inline |
◆ Add() [2/2]
void LeanCloud.Play.PlayObject.Add |
( |
object |
key, |
|
|
object |
value |
|
) |
| |
|
inline |
◆ Clear()
void LeanCloud.Play.PlayObject.Clear |
( |
| ) |
|
|
inline |
◆ Contains()
bool LeanCloud.Play.PlayObject.Contains |
( |
KeyValuePair< object, object > |
item | ) |
|
|
inline |
是否包含属性
- Returns
- The contains.
- Parameters
-
◆ ContainsKey()
bool LeanCloud.Play.PlayObject.ContainsKey |
( |
object |
key | ) |
|
|
inline |
是否包含属性
- Returns
true
, if key was containsed, false
otherwise.
- Parameters
-
◆ CopyTo()
void LeanCloud.Play.PlayObject.CopyTo |
( |
KeyValuePair< object, object >[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
|
inline |
拷贝属性到数组
- Parameters
-
array | 目标属性数组 |
arrayIndex | 数组索引 |
◆ Get< T >()
T LeanCloud.Play.PlayObject.Get< T > |
( |
object |
key | ) |
|
|
inline |
获取属性 T 值
- Returns
- The get.
- Parameters
-
- Template Parameters
-
◆ GetBool()
bool LeanCloud.Play.PlayObject.GetBool |
( |
object |
key | ) |
|
|
inline |
获取属性 bool 值
- Returns
true
, if bool was gotten, false
otherwise.
- Parameters
-
◆ GetByte()
byte LeanCloud.Play.PlayObject.GetByte |
( |
object |
key | ) |
|
|
inline |
获取属性 byte 值
- Returns
- The byte.
- Parameters
-
◆ GetBytes()
byte[] LeanCloud.Play.PlayObject.GetBytes |
( |
object |
key | ) |
|
|
inline |
获取属性 byte[] 值
- Returns
- The bytes.
- Parameters
-
◆ GetDouble()
double LeanCloud.Play.PlayObject.GetDouble |
( |
object |
key | ) |
|
|
inline |
获取属性 double 值
- Returns
- The double.
- Parameters
-
◆ GetEnumerator()
IEnumerator< KeyValuePair< object, object > > LeanCloud.Play.PlayObject.GetEnumerator |
( |
| ) |
|
|
inline |
获取迭代器
- Returns
- The enumerator.
◆ GetFloat()
float LeanCloud.Play.PlayObject.GetFloat |
( |
object |
key | ) |
|
|
inline |
获取属性 float 值
- Returns
- The float.
- Parameters
-
◆ GetInt()
int LeanCloud.Play.PlayObject.GetInt |
( |
object |
key | ) |
|
|
inline |
获取属性 int 值
- Returns
- The int.
- Parameters
-
◆ GetLong()
long LeanCloud.Play.PlayObject.GetLong |
( |
object |
key | ) |
|
|
inline |
获取属性 long 值
- Returns
- The long.
- Parameters
-
◆ GetPlayArray()
PlayArray LeanCloud.Play.PlayObject.GetPlayArray |
( |
object |
key | ) |
|
|
inline |
获取属性 PlayArray 值
- Returns
- The play array.
- Parameters
-
◆ GetPlayObject()
PlayObject LeanCloud.Play.PlayObject.GetPlayObject |
( |
object |
key | ) |
|
|
inline |
获取属性 PlayObject 值
- Returns
- The play object.
- Parameters
-
◆ GetShort()
short LeanCloud.Play.PlayObject.GetShort |
( |
object |
key | ) |
|
|
inline |
获取属性 short 值
- Returns
- The short.
- Parameters
-
◆ GetString()
string LeanCloud.Play.PlayObject.GetString |
( |
object |
key | ) |
|
|
inline |
获取属性 string 值
- Returns
- The string.
- Parameters
-
◆ IsNull()
bool LeanCloud.Play.PlayObject.IsNull |
( |
object |
key | ) |
|
|
inline |
属性是否为空
- Returns
true
, if null was ised, false
otherwise.
- Parameters
-
◆ Remove() [1/2]
bool LeanCloud.Play.PlayObject.Remove |
( |
KeyValuePair< object, object > |
item | ) |
|
|
inline |
移除属性
- Returns
- The remove.
- Parameters
-
◆ Remove() [2/2]
bool LeanCloud.Play.PlayObject.Remove |
( |
object |
key | ) |
|
|
inline |
移除属性
- Returns
- The remove.
- Parameters
-
◆ TryGetBool()
bool LeanCloud.Play.PlayObject.TryGetBool |
( |
object |
key, |
|
|
out bool |
val |
|
) |
| |
|
inline |
尝试获取属性的 bool 值
- Returns
true
, if get bool was tryed, false
otherwise.
- Parameters
-
◆ TryGetByte()
bool LeanCloud.Play.PlayObject.TryGetByte |
( |
object |
key, |
|
|
out byte |
val |
|
) |
| |
|
inline |
尝试获取属性的 byte 值
- Returns
true
, if get byte was tryed, false
otherwise.
- Parameters
-
◆ TryGetBytes()
bool LeanCloud.Play.PlayObject.TryGetBytes |
( |
object |
key, |
|
|
out byte[] |
val |
|
) |
| |
|
inline |
尝试获取属性的 byte[] 值
- Returns
true
, if get bytes was tryed, false
otherwise.
- Parameters
-
◆ TryGetDouble()
bool LeanCloud.Play.PlayObject.TryGetDouble |
( |
object |
key, |
|
|
out double |
val |
|
) |
| |
|
inline |
尝试获取属性的 double 值
- Returns
true
, if get double was tryed, false
otherwise.
- Parameters
-
◆ TryGetFloat()
bool LeanCloud.Play.PlayObject.TryGetFloat |
( |
object |
key, |
|
|
out float |
val |
|
) |
| |
|
inline |
尝试获取属性的 float 值
- Returns
true
, if get float was tryed, false
otherwise.
- Parameters
-
◆ TryGetInt()
bool LeanCloud.Play.PlayObject.TryGetInt |
( |
object |
key, |
|
|
out int |
val |
|
) |
| |
|
inline |
尝试获取属性的 int 值
- Returns
true
, if get int was tryed, false
otherwise.
- Parameters
-
◆ TryGetLong()
bool LeanCloud.Play.PlayObject.TryGetLong |
( |
object |
key, |
|
|
out long |
val |
|
) |
| |
|
inline |
尝试获取属性的 long 值
- Returns
true
, if get long was tryed, false
otherwise.
- Parameters
-
◆ TryGetPlayArray()
bool LeanCloud.Play.PlayObject.TryGetPlayArray |
( |
object |
key, |
|
|
out PlayArray |
val |
|
) |
| |
|
inline |
尝试获取属性的 PlayArray 值
- Returns
true
, if get play array was tryed, false
otherwise.
- Parameters
-
◆ TryGetPlayObject()
bool LeanCloud.Play.PlayObject.TryGetPlayObject |
( |
object |
key, |
|
|
out PlayObject |
val |
|
) |
| |
|
inline |
尝试获取属性的 PlayObject 值
- Returns
true
, if get play object was tryed, false
otherwise.
- Parameters
-
◆ TryGetShort()
bool LeanCloud.Play.PlayObject.TryGetShort |
( |
object |
key, |
|
|
out short |
val |
|
) |
| |
|
inline |
尝试获取属性的 short 值
- Returns
true
, if get short was tryed, false
otherwise.
- Parameters
-
◆ TryGetString()
bool LeanCloud.Play.PlayObject.TryGetString |
( |
object |
key, |
|
|
out string |
val |
|
) |
| |
|
inline |
尝试获取属性的 string 值
- Returns
true
, if get string was tryed, false
otherwise.
- Parameters
-
◆ TryGetValue()
bool LeanCloud.Play.PlayObject.TryGetValue |
( |
object |
key, |
|
|
out object |
value |
|
) |
| |
|
inline |
尝试获取属性值
- Returns
true
, if get value was tryed, false
otherwise.
- Parameters
-
◆ Count
int LeanCloud.Play.PlayObject.Count |
|
get |
◆ IsEmpty
bool LeanCloud.Play.PlayObject.IsEmpty |
|
get |
是否为空
true
if is empty; otherwise, false
.
◆ IsReadOnly
bool LeanCloud.Play.PlayObject.IsReadOnly |
|
get |
是否只读
true
if is read only; otherwise, false
.
◆ Keys
ICollection<object> LeanCloud.Play.PlayObject.Keys |
|
get |
◆ this[object key]
object LeanCloud.Play.PlayObject.this[object key] |
|
getset |
◆ Values
ICollection<object> LeanCloud.Play.PlayObject.Values |
|
get |
The documentation for this class was generated from the following file: