/// <summary> /// 获取Material图标标签生成器 /// </summary> private MaterialIconBuilder GetMaterialIconBuilder() { var builder = new MaterialIconBuilder(); builder.SetIcon(_config); return(builder); }
/// <summary> /// 配置Material图标 /// </summary> private void ConfigMaterialIcon( TagBuilder builder ) { if( _config.Contains( UiConst.MaterialIcon ) == false ) return; var iconBuilder = new MaterialIconBuilder(); iconBuilder.SetIcon( _config ); builder.AppendContent( iconBuilder ); }
/// <summary> /// 创建MaterialIcon标签生成器 /// </summary> private TagBuilder GetMaterialIconBuilder() { var builder = new MaterialIconBuilder(); Config(builder); builder.SetIcon(_config); builder.SetSize(_config); return(builder); }