Show / Hide Table of Contents

Class CustomRPCSetterAttribute

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

Constructors

CustomRPCSetterAttribute()

Declaration
public CustomRPCSetterAttribute()

CustomRPCSetterAttribute(Type, String)

Create a custom setter that calls a static function on the given type.

Declaration
public CustomRPCSetterAttribute(Type container, string methodName)
Parameters
Type Name Description
System.Type container
System.String methodName

Fields

ContainerType

Declaration
public Type ContainerType
Field Value
Type Description
System.Type

MethodName

Declaration
public string MethodName
Field Value
Type Description
System.String

Methods

Setter()

Declaration
public MethodInfo Setter()
Returns
Type Description
System.Reflection.MethodInfo

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