public T As <T>(int index) { if (IsError) { throw new ZYNETException(ErrorMsg, ErrorId); } return((T)Serialization.UnpackSingleObject(typeof(T), Arguments[index])); }
public T As <T>() { if (IsError) { throw new ZYNETException(ErrorMsg, ErrorId); } if (Length <= 0) { throw new ZYNETException("null value", -102); } return((T)Serialization.UnpackSingleObject(typeof(T), Arguments[0])); }
public object Value(Type type) { return(Serialization.UnpackSingleObject(type, Data)); }
public T Value <T>() { return((T)Serialization.UnpackSingleObject(typeof(T), Data)); }
public T As <T>(int index) { return((T)Serialization.UnpackSingleObject(typeof(T), Arguments[index])); }