HtmlUtils
Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public static class HtmlUtils
Properties
TableClass
View Source
Declaration
public static string TableClass { get; set; }
Methods
HtmlEncode(String)
View Source
Declaration
public static string HtmlEncode(this string s)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | s |
AsString(Object)
View Source
Declaration
public static string AsString(this object str)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | str |
GetScalarHtml(Object)
View Source
Declaration
public static string GetScalarHtml(object target)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | target |
HtmlDump(Object)
View Source
Declaration
public static string HtmlDump(object target)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | target |
HtmlDump(Object, HtmlDumpOptions)
View Source
Declaration
public static string HtmlDump(object target, HtmlDumpOptions options)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | target |
ServiceStack.Blazor.HtmlDumpOptions | options |
HtmlList(IEnumerable)
View Source
Declaration
public static string HtmlList(IEnumerable items)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Collections.IEnumerable | items |
HtmlList(IEnumerable, HtmlDumpOptions)
View Source
Declaration
public static string HtmlList(IEnumerable items, HtmlDumpOptions options)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Collections.IEnumerable | items |
ServiceStack.Blazor.HtmlDumpOptions | options |
SanitizeAttributes(Nullable<IReadOnlyDictionary<String, Object>>)
View Source
Declaration
public static IReadOnlyDictionary<string, object>? SanitizeAttributes(this IReadOnlyDictionary<string, object>? attrs)
Returns
System.Nullable<IReadOnlyDictionary<System.String,System.Object>>
Parameters
Type | Name |
---|---|
System.Nullable<IReadOnlyDictionary<System.String,System.Object>> | attrs |