protected override async Task OnAfterRenderAsync(bool firstRender)
        {
            if (firstRender)
            {
                await ElementReferenceId.SetAnalogClock(JSRuntimeObj, ClockType.GetHashCode());

                base.StateHasChanged();
            }
        }
Esempio n. 2
0
 /// <summary>
 /// 哈希数
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(ClockType.GetHashCode() * 3
            + base.GetHashCode()
            );
 }