Show / Hide Table of Contents

Class CustomIconOnTypeTooltipAttribute

Use to have a property prepended with an icon different than its type's.

Example: Alias has no icon of its own, but we want it to appear with the icon of 'Demographics', so we apply [CustomIconOnTypeTooltip(typeof(Demographics))].

Inheritance
System.Object
CustomIconOnTypeTooltipAttribute
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public class CustomIconOnTypeTooltipAttribute : Attribute

Constructors

CustomIconOnTypeTooltipAttribute(Type)

Declaration
public CustomIconOnTypeTooltipAttribute(Type type)
Parameters
Type Name Description
System.Type type

Type to inherit the icon from.

Fields

IconType

Declaration
public Type IconType
Field Value
Type Description
System.Type

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾