Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EditableAttribute.cs
Go to the documentation of this file.
1
namespace
System.ComponentModel.DataAnnotations
;
2
3
[AttributeUsage(
AttributeTargets
.Property |
AttributeTargets
.Field, AllowMultiple =
false
,
Inherited
=
true
)]
4
public
sealed
class
EditableAttribute
:
Attribute
5
{
6
public
bool
AllowEdit
{
get
; }
7
8
public
bool
AllowInitialValue
{
get
;
set
; }
9
10
public
EditableAttribute
(
bool
allowEdit)
11
{
12
AllowEdit
= allowEdit;
13
AllowInitialValue
= allowEdit;
14
}
15
}
System.Attribute
Definition
Attribute.cs:12
System.ComponentModel.DataAnnotations.EditableAttribute.AllowEdit
bool AllowEdit
Definition
EditableAttribute.cs:6
System.ComponentModel.DataAnnotations.EditableAttribute.AllowInitialValue
bool AllowInitialValue
Definition
EditableAttribute.cs:8
System.ComponentModel.DataAnnotations.EditableAttribute.EditableAttribute
EditableAttribute(bool allowEdit)
Definition
EditableAttribute.cs:10
System.ComponentModel.DataAnnotations.EditableAttribute
Definition
EditableAttribute.cs:5
System.ComponentModel.DataAnnotations
Definition
ColumnAttribute.cs:3
System.ComponentModel.InheritanceLevel.Inherited
@ Inherited
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.ComponentModel.Annotations
System.ComponentModel.DataAnnotations
EditableAttribute.cs
Generated by
1.10.0