字典类结构,实现 IDictionary 接口
More...
|
void | Add (object key, object value) |
| 增加属性 More...
|
|
bool | ContainsKey (object key) |
| 是否包含属性 More...
|
|
bool | Remove (object key) |
| 移除属性 More...
|
|
bool | TryGetValue (object key, out object value) |
| 尝试获取属性值 More...
|
|
void | Add (KeyValuePair< object, object > item) |
| 增加属性 More...
|
|
void | Clear () |
| 清空属性 More...
|
|
bool | Contains (KeyValuePair< object, object > item) |
| 是否包含属性 More...
|
|
void | CopyTo (KeyValuePair< object, object >[] array, int arrayIndex) |
| 拷贝属性到数组 More...
|
|
bool | Remove (KeyValuePair< object, object > item) |
| 移除属性 More...
|
|
IEnumerator< KeyValuePair< object, object > > | GetEnumerator () |
| 获取迭代器 More...
|
|
| PlayObject (int capacity) |
| 构造方法 More...
|
|
| PlayObject () |
| 构造方法 More...
|
|
| PlayObject (IDictionary dictionary) |
| 构造方法 More...
|
|
bool | TryGetBool (object key, out bool val) |
| 尝试获取属性的 bool 值 More...
|
|
bool | TryGetByte (object key, out byte val) |
| 尝试获取属性的 byte 值 More...
|
|
bool | TryGetShort (object key, out short val) |
| 尝试获取属性的 short 值 More...
|
|
bool | TryGetInt (object key, out int val) |
| 尝试获取属性的 int 值 More...
|
|
bool | TryGetLong (object key, out long val) |
| 尝试获取属性的 long 值 More...
|
|
bool | TryGetFloat (object key, out float val) |
| 尝试获取属性的 float 值 More...
|
|
bool | TryGetDouble (object key, out double val) |
| 尝试获取属性的 double 值 More...
|
|
bool | TryGetString (object key, out string val) |
| 尝试获取属性的 string 值 More...
|
|
bool | TryGetBytes (object key, out byte[] val) |
| 尝试获取属性的 byte[] 值 More...
|
|
bool | TryGetPlayObject (object key, out PlayObject val) |
| 尝试获取属性的 PlayObject 值 More...
|
|
bool | TryGetPlayArray (object key, out PlayArray val) |
| 尝试获取属性的 PlayArray 值 More...
|
|
bool | GetBool (object key) |
| 获取属性 bool 值 More...
|
|
byte | GetByte (object key) |
| 获取属性 byte 值 More...
|
|
short | GetShort (object key) |
| 获取属性 short 值 More...
|
|
int | GetInt (object key) |
| 获取属性 int 值 More...
|
|
long | GetLong (object key) |
| 获取属性 long 值 More...
|
|
float | GetFloat (object key) |
| 获取属性 float 值 More...
|
|
double | GetDouble (object key) |
| 获取属性 double 值 More...
|
|
string | GetString (object key) |
| 获取属性 string 值 More...
|
|
byte[] | GetBytes (object key) |
| 获取属性 byte[] 值 More...
|
|
PlayObject | GetPlayObject (object key) |
| 获取属性 PlayObject 值 More...
|
|
PlayArray | GetPlayArray (object key) |
| 获取属性 PlayArray 值 More...
|
|
T | Get< T > (object key) |
| 获取属性 T 值 More...
|
|
bool | IsNull (object key) |
| 属性是否为空 More...
|
|
◆ 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: