Show / Hide Table of Contents

Class View.ViewData

Inheritance
System.Object
View.ViewData
Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
public class ViewData : Object

Constructors

ViewData()

Declaration
public ViewData()

Fields

ControllerID

Declaration
public int ControllerID
Field Value
Type Description
System.Int32

ViewTypeID

Declaration
public int ViewTypeID
Field Value
Type Description
System.Int32

Methods

CreateView()

Declaration
public virtual View CreateView()
Returns
Type Description
View

GetDynamicValue(String)

Declaration
public object GetDynamicValue(string propName)
Parameters
Type Name Description
System.String propName
Returns
Type Description
System.Object

HasDynamicValue(String)

Declaration
public bool HasDynamicValue(string propName)
Parameters
Type Name Description
System.String propName
Returns
Type Description
System.Boolean

HasProperty(String)

Declaration
public bool HasProperty(string propname)
Parameters
Type Name Description
System.String propname
Returns
Type Description
System.Boolean

SetDynamicValue(String, Object)

Declaration
public void SetDynamicValue(string propName, object value)
Parameters
Type Name Description
System.String propName
System.Object value

TryGetDynamicValue(String, out Object)

Get a dynamic value matching the given name, returning false if the property isnt found.

Declaration
public bool TryGetDynamicValue(string propName, out object val)
Parameters
Type Name Description
System.String propName
System.Object val
Returns
Type Description
System.Boolean

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