Show / Hide Table of Contents

Class EcoTextLimitAttribute

Limit the strings to a certain range, based on the text type

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

Constructors

EcoTextLimitAttribute(EcoTextLimitAttribute.TextRangeStyle)

Declaration
public EcoTextLimitAttribute(EcoTextLimitAttribute.TextRangeStyle textRangeStyle)
Parameters
Type Name Description
EcoTextLimitAttribute.TextRangeStyle textRangeStyle

EcoTextLimitAttribute(Int32, Int32, Int32)

Declaration
public EcoTextLimitAttribute(int min, int max, int maxWithTags)
Parameters
Type Name Description
System.Int32 min
System.Int32 max
System.Int32 maxWithTags

Fields

Range

Declaration
public EcoTextLimit Range
Field Value
Type Description
EcoTextLimit

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
☀
☾