Table of Contents

Delegate IMBIcon.IconFragment

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

A delegate that applies user-defined class, style, and other attributes to the icon.

public delegate RenderFragment IMBIcon.IconFragment(string @class, string style, IEnumerable<KeyValuePair<string, object>> attributes)

Parameters

class string
style string
attributes IEnumerable<KeyValuePair<string, object>>

Returns

RenderFragment

Constructors

IconFragment(object, nint)

public IconFragment(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(string, string, IEnumerable<KeyValuePair<string, object>>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(string @class, string style, IEnumerable<KeyValuePair<string, object>> attributes, AsyncCallback callback, object @object)

Parameters

class string
style string
attributes IEnumerable<KeyValuePair<string, object>>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual RenderFragment EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

RenderFragment

Invoke(string, string, IEnumerable<KeyValuePair<string, object>>)

public virtual RenderFragment Invoke(string @class, string style, IEnumerable<KeyValuePair<string, object>> attributes)

Parameters

class string
style string
attributes IEnumerable<KeyValuePair<string, object>>

Returns

RenderFragment