IsNullOrDefault(T) |
Gets a value indicating if the specified value has the default value of the generic type.
|
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.
|
ThumbPlaceholderUrl(Embed, Boolean, Boolean) |
Returns a placeholder url to a thumbnail image of the specified Embed.
The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.
|
ThumbUrl(Embed, Nullable, Nullable, Boolean, FitMode, ScaleMode, ContentAlignment, Nullable, Int32, Int32, Boolean, Boolean, Boolean, Boolean) |
Returns an url to a thumbnail image for the specified embed
|
IsValid(Object) |
Determines whether the specified object is valid by evaluating
each ValidationAttribute instance that is attached to the object type.
|