Show / Hide Table of Contents

Class ClientControllerExtensions

Inheritance
System.Object
ClientControllerExtensions
Namespace: Eco.Core.Utils
Assembly: Eco.Core.dll
Syntax
public static class ClientControllerExtensions : Object

Methods

Add(IClientControlledContainer, INetObject, PropertyInfo)

Declaration
public static object Add(this IClientControlledContainer container, INetObject caller, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledContainer container
INetObject caller
System.Reflection.PropertyInfo property
Returns
Type Description
System.Object

AddNew(IClientControlledContainer, PropertyInfo)

Declaration
public static object AddNew(this IClientControlledContainer container, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledContainer container
System.Reflection.PropertyInfo property
Returns
Type Description
System.Object

Move(IClientControlledList, INetObject, Int32, Int32, PropertyInfo)

Declaration
public static void Move(IClientControlledList container, INetObject caller, int oldIndex, int newIndex, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledList container
INetObject caller
System.Int32 oldIndex
System.Int32 newIndex
System.Reflection.PropertyInfo property

Remove(IClientControlledContainer, INetObject, Object, PropertyInfo)

An extension that allows ClientControlledContainers to be told to delete stuff by the client.

Declaration
public static Result Remove(this IClientControlledContainer container, INetObject caller, object entry, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledContainer container
INetObject caller
System.Object entry
System.Reflection.PropertyInfo property
Returns
Type Description
Result

RemoveAt(IClientControlledList, INetObject, Int32, PropertyInfo)

An extension that allows ClientControlledContainers to be told to remove an index by the client.

Declaration
public static Result RemoveAt(IClientControlledList container, INetObject caller, int index, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledList container
INetObject caller
System.Int32 index
System.Reflection.PropertyInfo property
Returns
Type Description
Result

SetAt(IClientControlledList, INetObject, Int32, Object, PropertyInfo)

Declaration
public static void SetAt(IClientControlledList container, INetObject caller, int index, object entry, PropertyInfo property = null)
Parameters
Type Name Description
IClientControlledList container
INetObject caller
System.Int32 index
System.Object entry
System.Reflection.PropertyInfo property
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾