IsNullOrDefault(T) |
Gets a value indicating if the specified value has the default value of the generic type.
|
Ratio(Blob) |
Get the width/height ratio of an image.
|
Serialize(Object) |
Serializes an object, or graph of connected objects, to a byte array.
|
SerializeToJson(Object, Nullable, JsonSerializerSettings) |
Serializes an object, or graph of connected objects, to a json string.
|
FileUrl(Blob, String, Boolean, Boolean) |
Returns the url to the binary data of a blob.
|
ThumbPlaceholderUrl(Blob, Boolean, Boolean) |
Returns a placeholder url to a thumbnail image of the specified blob.
The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.
|
ThumbUrl(Blob, Nullable, Nullable, Boolean, FitMode, ScaleMode, ContentAlignment, Nullable, Int32, Int32, Boolean, Boolean, Boolean, Boolean) |
Returns an url to a thumbnail image for the specified blob.
|
IsValid(Object) |
Determines whether the specified object is valid by evaluating
each ValidationAttribute instance that is attached to the object type.
|