Show / Hide Table of Contents

Class LangSettingFieldAttribute

This attribute will cause a field, property, or function to show up in the Weaver Settings Screen, but also uses GetString(string, string, string) to translate it

Inheritance
object
Attribute
SettingFieldAttribute_BASE
LangSettingFieldAttribute
Implements
_Attribute
Inherited Members
SettingFieldAttribute_BASE.IsEnabled
SettingFieldAttribute_BASE.DisplayName
Attribute.Equals(object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.Match(object)
Attribute.TypeId
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class LangSettingFieldAttribute : SettingFieldAttribute_BASE, _Attribute

Constructors

| Edit this page View Source

LangSettingFieldAttribute(string, string, EnabledType)

Applied to a field, property, or function to determine whether it should be shown in the settings menu

Declaration
public LangSettingFieldAttribute(string sheetTitle, string key, EnabledType enabled = EnabledType.AlwaysVisible)
Parameters
Type Name Description
string sheetTitle
string key
EnabledType enabled

Determines in what scenario should the field be visible in

| Edit this page View Source

LangSettingFieldAttribute(string, EnabledType)

Applied to a field, property, or function to determine whether it should be shown in the settings menu

Declaration
public LangSettingFieldAttribute(string key, EnabledType enabled = EnabledType.AlwaysVisible)
Parameters
Type Name Description
string key
EnabledType enabled

Determines in what scenario should the field be visible in

Implements

_Attribute

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾