IdenticonTagHelperValue Property

Gets or sets the value that will be hashed using SHA1 and then used as base for this icon.
public Object Value { get; set; }

Property Value

Object

Remarks

null values for this property is allowed and handled as empty strings.

If both identicon-hash and identicon-value is specified, identicon-hash has precedence.

Examples

In the following example identicon-value is used to render an identicon for a user id.

Using identicon-value
@{
    var userId = "TestIcon";
}
<img identicon-value="userId" width="100" height="100" /&lt;

See Also

Reference