本文整理汇总了C#中LangCode类的典型用法代码示例。如果您正苦于以下问题:C# LangCode类的具体用法?C# LangCode怎么用?C# LangCode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LangCode类属于命名空间,在下文中一共展示了LangCode类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string abbr = null,
string axis = null,
string headers = null,
Scope? scope = null,
int? rowspan = null,
int? colspan = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null,
Align? align = null,
char? @char = null,
Length charoff = null,
Valign? valign = null
)
{
Abbr = abbr;
Axis = axis;
Headers = headers;
Scope = scope;
RowSpan = rowspan;
ColSpan = colspan;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
Align = align;
Char = @char;
CharOff = charoff;
Valign = valign;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:62,代码来源:TagTd.cs
示例2: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
Shape? shape = null,
Length[] coords = null,
string href = null,
NoHref? nohref = null,
Target target = null,
string alt = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null,
char? accesskey = null,
int? tabindex = null,
string onfocus = null,
string onblur = null
)
{
Shape = shape;
Coords = coords;
Href = href;
NoHref = nohref;
Target = target;
Alt = alt;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
AccessKey = accesskey;
TabIndex = tabindex;
OnFocus = onfocus;
OnBlur = onblur;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:62,代码来源:TagArea.cs
示例3: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string action = null,
Method? method = null,
MimeType enctype = null,
Target target = null,
string onsubmit = null,
string onreset = null,
MimeType[] accept = null,
Charset[] acceptcharset = null,
string id = null,
string name = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Action = action;
Method = method;
EncType = enctype;
Target = target;
OnSubmit = onsubmit;
OnReset = onreset;
Accept = accept;
AcceptCharset = acceptcharset;
Id = id;
Name = name;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:60,代码来源:TagForm.cs
示例4: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string name = null,
string value = null,
ButtonType? type = null,
Disabled? disabled = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null,
char? accesskey = null,
int? tabindex = null,
string onfocus = null,
string onblur = null
)
{
Name = name;
Value = value;
Type = type;
Disabled = disabled;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
AccessKey = accesskey;
TabIndex = tabindex;
OnFocus = onfocus;
OnBlur = onblur;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:58,代码来源:TagButton.cs
示例5: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string name = null,
int? size = null,
Multiple? multiple = null,
Disabled? disabled = null,
int? tabindex = null,
string onfocus = null,
string onblur = null,
string onchange = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Name = name;
Size = size;
Multiple = multiple;
Disabled = disabled;
TabIndex = tabindex;
OnFocus = onfocus;
OnBlur = onblur;
OnChange = onchange;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:58,代码来源:TagSelect.cs
示例6: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
Charset charset = null,
string href = null,
LangCode hreflang = null,
Target target = null,
MimeType type = null,
LinkType? rel = null,
LinkType? rev = null,
Media? media = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Charset = charset;
Href = href;
HrefLang = hreflang;
Target = target;
Type = type;
Rel = rel;
Rev = rev;
Media = media;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:58,代码来源:TagLink.cs
示例7: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string src = null,
string alt = null,
string longdesc = null,
Length height = null,
Length width = null,
string usemap = null,
IsMap? ismap = null,
string id = null,
string name = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Src = src;
Alt = alt;
LongDesc = longdesc;
Height = height;
Width = width;
UseMap = usemap;
IsMap = ismap;
Id = id;
Name = name;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:58,代码来源:TagImg.cs
示例8: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string summary = null,
Length width = null,
int? border = null,
Frame? frame = null,
Rules? rules = null,
Length cellspacing = null,
Length cellpadding = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Summary = summary;
Width = width;
Border = border;
Frame = frame;
Rules = rules;
CellSpacing = cellspacing;
CellPadding = cellpadding;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:56,代码来源:TagTable.cs
示例9: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
LangCode lang = null,
string xmllang = null,
Dir? dir = null
)
{
Lang = lang;
XmlLang = xmllang;
Dir = dir;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:14,代码来源:TagTitle.cs
示例10: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
int? span = null,
MultiLength width = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null,
Align? align = null,
char? @char = null,
Length charoff = null,
Valign? valign = null
)
{
Span = span;
Width = width;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
Align = align;
Char = @char;
CharOff = charoff;
Valign = valign;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:54,代码来源:TagCol.cs
示例11: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string profile = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null
)
{
Profile = profile;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:16,代码来源:TagHead.cs
示例12: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string @for = null,
char? accesskey = null,
string onfocus = null,
string onblur = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
For = @for;
AccessKey = accesskey;
OnFocus = onfocus;
OnBlur = onblur;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:50,代码来源:TagLabel.cs
示例13: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
Selected? selected = null,
Disabled? disabled = null,
string label = null,
string value = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Selected = selected;
Disabled = disabled;
Label = label;
Value = value;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:50,代码来源:TagOption.cs
示例14: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string cite = null,
DateTime? datetime = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null
)
{
Cite = cite;
DateTime = datetime;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:46,代码来源:TagIns.cs
示例15: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string id = null,
string @class = null,
string style = null,
string title = null
)
{
Lang = lang;
XmlLang = xmllang;
Dir = dir;
Id = id;
Class = @class;
Style = style;
Title = title;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:22,代码来源:TagBdo.cs
示例16: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
MimeType type = null,
Media? media = null,
string title = null,
string xmlspace = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null
)
{
Type = type;
Media = media;
Title = title;
XmlSpace = xmlspace;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:22,代码来源:TagStyle.cs
示例17: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
HttpEquiv httpequiv = null,
MetaName name = null,
string content = null,
string scheme = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null
)
{
HttpEquiv = httpequiv;
Name = name;
Content = content;
Scheme = scheme;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:22,代码来源:TagMeta.cs
示例18: lang
public static TagInput lang(this TagInput tag, LangCode value) { tag.Lang = value; return tag; }
开发者ID:bzure,项目名称:BSA.Net,代码行数:1,代码来源:TagInputExtension.cs
示例19: attr
/// <summary>Assigns all needed attributes to the tag</summary>
/// <returns>This instance downcasted to base class</returns>
public virtual IndexedTag attr(
string name = null,
int? rows = null,
int? cols = null,
Disabled? disabled = null,
ReadOnly? @readonly = null,
string onselect = null,
string onchange = null,
string id = null,
string @class = null,
string style = null,
string title = null,
LangCode lang = null,
string xmllang = null,
Dir? dir = null,
string onclick = null,
string ondblclick = null,
string onmousedown = null,
string onmouseup = null,
string onmouseover = null,
string onmousemove = null,
string onmouseout = null,
string onkeypress = null,
string onkeydown = null,
string onkeyup = null,
char? accesskey = null,
int? tabindex = null,
string onfocus = null,
string onblur = null
)
{
Name = name;
Rows = rows;
Cols = cols;
Disabled = disabled;
ReadOnly = @readonly;
OnSelect = onselect;
OnChange = onchange;
Id = id;
Class = @class;
Style = style;
Title = title;
Lang = lang;
XmlLang = xmllang;
Dir = dir;
OnClick = onclick;
OnDblClick = ondblclick;
OnMouseDown = onmousedown;
OnMouseUp = onmouseup;
OnMouseOver = onmouseover;
OnMouseMove = onmousemove;
OnMouseOut = onmouseout;
OnKeyPress = onkeypress;
OnKeyDown = onkeydown;
OnKeyUp = onkeyup;
AccessKey = accesskey;
TabIndex = tabindex;
OnFocus = onfocus;
OnBlur = onblur;
return this;
}
开发者ID:bzure,项目名称:BSA.Net,代码行数:64,代码来源:TagTextArea.cs
示例20: lang
public static TagTable lang(this TagTable tag, LangCode value) { tag.Lang = value; return tag; }
开发者ID:bzure,项目名称:BSA.Net,代码行数:1,代码来源:TagTableExtension.cs
注:本文中的LangCode类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论