Show / Hide Table of Contents

Class ViewMemberInfo

Contains data about an individual member (property or method) that is accessible on the server from the client. Its analgous to a MemberInfo reflection class, it communicates to the client the type data on properties of a ViewClassInfo.

Inheritance
System.Object
ViewMemberInfo
Implements
IBsonSerialize
IBsonSerializable
IBsonDeserializable
Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
[BsonAutoSerialize]
public sealed class ViewMemberInfo : ValueType, IBsonSerialize, IBsonSerializable, IBsonDeserializable

Fields

BackgroundColor

Declaration
public Color BackgroundColor
Field Value
Type Description
Color

Description

Declaration
public string Description
Field Value
Type Description
System.String

DisplayName

Declaration
public string DisplayName
Field Value
Type Description
System.String

DynamicTitleParam

Declaration
public string DynamicTitleParam
Field Value
Type Description
System.String

EcoTextLimit

Declaration
public EcoTextLimit EcoTextLimit
Field Value
Type Description
EcoTextLimit

EnabledParam

Declaration
public string EnabledParam
Field Value
Type Description
System.String

GenericParamName

Declaration
public string GenericParamName
Field Value
Type Description
System.String

ListTypeName

Declaration
public string ListTypeName
Field Value
Type Description
System.String

MemberInfo

Declaration
[BsonSerializeIgnore]
public MemberInfo MemberInfo
Field Value
Type Description
System.Reflection.MemberInfo

Name

Declaration
public string Name
Field Value
Type Description
System.String

NameID

Declaration
public int NameID
Field Value
Type Description
System.Int32

Range

Declaration
public Range Range
Field Value
Type Description
Range

RelatedFeatureDisabledName

Declaration
public string RelatedFeatureDisabledName
Field Value
Type Description
System.String

RelatedFeatureName

Declaration
public string RelatedFeatureName
Field Value
Type Description
System.String

RequiredTag

Declaration
public string RequiredTag
Field Value
Type Description
System.String

RestrictToDerivedTypeID

Declaration
public int RestrictToDerivedTypeID
Field Value
Type Description
System.Int32

SelectorFlags

Declaration
public ViewSelectorFlags SelectorFlags
Field Value
Type Description
ViewSelectorFlags

Sort

Declaration
public float Sort
Field Value
Type Description
System.Single

SyncFlags

Declaration
public SyncFlags SyncFlags
Field Value
Type Description
SyncFlags

TypeName

Declaration
public string TypeName
Field Value
Type Description
System.String

UIListTypeName

Declaration
public string UIListTypeName
Field Value
Type Description
System.String

UITypeName

Declaration
public string UITypeName
Field Value
Type Description
System.String

ViewFlags

Declaration
public ViewMemberFlags ViewFlags
Field Value
Type Description
ViewMemberFlags

ViewName

Declaration
[BsonSerializeIgnore]
public string ViewName
Field Value
Type Description
System.String

ViewType

Declaration
[BsonSerializeIgnore]
public Type ViewType
Field Value
Type Description
System.Type

VisibilityParam

Declaration
public string VisibilityParam
Field Value
Type Description
System.String

Properties

IsList

Declaration
public bool IsList { get; }
Property Value
Type Description
System.Boolean

IsSet

Declaration
public bool IsSet { get; }
Property Value
Type Description
System.Boolean

RelevantTypeName

Declaration
public string RelevantTypeName { get; }
Property Value
Type Description
System.String

Type

Declaration
public ViewClassInfo Type { get; }
Property Value
Type Description
ViewClassInfo

Methods

DerivesType(ViewClassInfo)

Declaration
public bool DerivesType(ViewClassInfo type)
Parameters
Type Name Description
ViewClassInfo type
Returns
Type Description
System.Boolean

DerivesType(String, Boolean)

Declaration
public bool DerivesType(string parent, bool listEntryType)
Parameters
Type Name Description
System.String parent
System.Boolean listEntryType
Returns
Type Description
System.Boolean

DerivesType<T>()

Declaration
public bool DerivesType<T>()
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T

FromBson(BSONArray)

Declaration
public void FromBson(BSONArray bson)
Parameters
Type Name Description
BSONArray bson

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

IBsonSerialize
IBsonSerializable
IBsonDeserializable

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