Class DescriptionExtensinons
Inheritance
System.Object
DescriptionExtensinons
Namespace: Eco.Shared.Localization
Assembly: Eco.Shared.dll
Syntax
public static class DescriptionExtensinons : Object
Methods
GetNamesAndTags(ViewClassInfo)
Gets ViewClassInfo's display name and tags.
Declaration
public static (string, IEnumerable<string>) GetNamesAndTags(this ViewClassInfo info)
Parameters
Type | Name | Description |
---|---|---|
ViewClassInfo | info |
Returns
Type | Description |
---|---|
System.ValueTuple<System.String, System.Collections.Generic.IEnumerable<System.String>> |
GetNamesAndTagsFromViews(IEnumerable<Object>)
Gets display name and tags of every ViewClassInfo in the collection.
Declaration
public static IEnumerable<(string, IEnumerable<string>)> GetNamesAndTagsFromViews(this IEnumerable<object> views)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Object> | views |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.Collections.Generic.IEnumerable<System.String>>> |