DynamicLong
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class DynamicLong : IDynamicNumber
Properties
Type
View Source
Declaration
public Type Type { get; }
DefaultValue
View Source
Declaration
public object DefaultValue { get; }
Fields
Instance
View Source
Declaration
public static DynamicLong Instance
Methods
Convert(Object)
View Source
Declaration
public long Convert(object value)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.Object | value |
ConvertFrom(Object)
View Source
Declaration
public object ConvertFrom(object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | value |
TryParse(String, out Object)
View Source
Declaration
public bool TryParse(string str, out object result)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | str |
System.Object | result |
ToString(Object)
View Source
Declaration
public string ToString(object value)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | value |
add(Object, Object)
View Source
Declaration
public object add(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
sub(Object, Object)
View Source
Declaration
public object sub(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
mul(Object, Object)
View Source
Declaration
public object mul(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
div(Object, Object)
View Source
Declaration
public object div(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
mod(Object, Object)
View Source
Declaration
public object mod(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
min(Object, Object)
View Source
Declaration
public object min(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
max(Object, Object)
View Source
Declaration
public object max(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
pow(Object, Object)
View Source
Declaration
public object pow(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
log(Object, Object)
View Source
Declaration
public object log(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
compareTo(Object, Object)
View Source
Declaration
public int compareTo(object lhs, object rhs)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseAnd(Object, Object)
View Source
Declaration
public object bitwiseAnd(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseOr(Object, Object)
View Source
Declaration
public object bitwiseOr(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseXOr(Object, Object)
View Source
Declaration
public object bitwiseXOr(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseLeftShift(Object, Object)
View Source
Declaration
public object bitwiseLeftShift(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseRightShift(Object, Object)
View Source
Declaration
public object bitwiseRightShift(object lhs, object rhs)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | lhs |
System.Object | rhs |
bitwiseNot(Object)
View Source
Declaration
public object bitwiseNot(object target)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | target |