Method Builder
Builder<TElement>(string, string)
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder<TElement>(string name = null, string className = null) where TElement : VisualElement
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the first targetedVisualElement. |
string | className | Class name of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Type Parameters
Name | Description |
---|---|
TElement | Type of the first targetedVisualElement. |
Builder(Type, string, string)
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder(Type type, string name = null, string className = null)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the targetedVisualElement. |
string | name | Name of the first targetedVisualElement. |
string | className | Class name of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Builder(string, string)
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder(string name = null, string className = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the first targetedVisualElement. |
string | className | Class name of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Builder<TElement>(string, params string[])
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder<TElement>(string name = null, params string[] classNames) where TElement : VisualElement
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the first targetedVisualElement. |
string[] | classNames | Class names of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Type Parameters
Name | Description |
---|---|
TElement | Type of the first targetedVisualElement. |
Builder(Type, string, params string[])
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder(Type type, string name = null, params string[] classNames)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the targetedVisualElement. |
string | name | Name of the first targetedVisualElement. |
string[] | classNames | Class names of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Builder(string, params string[])
Initializes a Selector Builder
Declaration
public static Selector.SelectorBuilder Builder(string name = null, params string[] classNames)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the first targetedVisualElement. |
string[] | classNames | Class names of the first targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |