Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
▼
Terraria
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
source
►
Extensions
►
Microsoft.Xna.Framework
►
Microsoft.Xna.Framework.Graphics
►
Properties
►
ReLogic
►
System
►
System.AppContext
►
System.Buffers
►
System.Collections
►
System.Collections.Concurrent
►
System.Collections.Immutable
►
System.Collections.NonGeneric
►
System.Collections.Specialized
►
System.ComponentModel
►
System.ComponentModel.Annotations
►
System.ComponentModel.DataAnnotations
►
System.ComponentModel.EventBasedAsync
►
System.ComponentModel.Primitives
▼
System.ComponentModel.TypeConverter
►
FxResources.System.ComponentModel.TypeConverter
►
Microsoft.CodeAnalysis
▼
MS.Internal.Xml.Linq.ComponentModel
►
XAttributeValuePropertyDescriptor.cs
►
XDeferredAxis.cs
►
XDeferredSingleton.cs
►
XElementAttributePropertyDescriptor.cs
►
XElementDescendantsPropertyDescriptor.cs
►
XElementElementPropertyDescriptor.cs
►
XElementElementsPropertyDescriptor.cs
►
XElementValuePropertyDescriptor.cs
►
XElementXmlPropertyDescriptor.cs
►
XPropertyDescriptor.cs
►
XTypeDescriptionProvider.cs
►
XTypeDescriptor.cs
►
Properties
►
System
►
System.ComponentModel
►
System.ComponentModel.Design
►
System.ComponentModel.Design.Serialization
►
System.Drawing
►
System.Runtime.CompilerServices
►
System.Security.Authentication.ExtendedProtection
►
System.Timers
►
System.Configuration
►
System.Console
►
System.Core
►
System.Data
►
System.Data.Common
►
System.Data.DataSetExtensions
►
System.Diagnostics.Contracts
►
System.Diagnostics.Debug
►
System.Diagnostics.DiagnosticSource
►
System.Diagnostics.FileVersionInfo
►
System.Diagnostics.Process
►
System.Diagnostics.StackTrace
►
System.Diagnostics.TextWriterTraceListener
►
System.Diagnostics.Tools
►
System.Diagnostics.TraceSource
►
System.Diagnostics.Tracing
►
System.Drawing
►
System.Drawing.Primitives
►
System.Dynamic.Runtime
►
System.Formats.Asn1
►
System.Globalization
►
System.Globalization.Calendars
►
System.Globalization.Extensions
►
System.IO
►
System.IO.Compression
►
System.IO.Compression.Brotli
►
System.IO.Compression.FileSystem
►
System.IO.Compression.ZipFile
►
System.IO.FileSystem
►
System.IO.FileSystem.AccessControl
►
System.IO.FileSystem.DriveInfo
►
System.IO.FileSystem.Primitives
►
System.IO.FileSystem.Watcher
►
System.IO.IsolatedStorage
►
System.IO.MemoryMappedFiles
►
System.IO.Pipes
►
System.IO.Pipes.AccessControl
►
System.IO.UnmanagedMemoryStream
►
System.Linq
►
System.Linq.Expressions
►
System.Linq.Parallel
►
System.Linq.Queryable
►
System.Memory
►
System.Net
►
System.Net.Http
►
System.Net.Http.Json
►
System.Net.HttpListener
►
System.Net.Mail
►
System.Net.NameResolution
►
System.Net.NetworkInformation
►
System.Net.Ping
►
System.Net.Primitives
►
System.Net.Quic
►
System.Net.Requests
►
System.Net.Security
►
System.Net.ServicePoint
►
System.Net.Sockets
►
System.Net.WebClient
►
System.Net.WebHeaderCollection
►
System.Net.WebProxy
►
System.Net.WebSockets
►
System.Net.WebSockets.Client
►
System.Numerics
►
System.Numerics.Vectors
►
System.ObjectModel
►
System.Private.CoreLib
►
System.Private.DataContractSerialization
►
System.Private.Uri
►
System.Private.Xml
►
System.Private.Xml.Linq
►
System.Reflection
►
System.Reflection.DispatchProxy
►
System.Reflection.Emit
►
System.Reflection.Emit.ILGeneration
►
System.Reflection.Emit.Lightweight
►
System.Reflection.Extensions
►
System.Reflection.Metadata
►
System.Reflection.Primitives
►
System.Reflection.TypeExtensions
►
System.Resources.Reader
►
System.Resources.ResourceManager
►
System.Resources.Writer
►
System.Runtime
►
System.Runtime.CompilerServices.Unsafe
►
System.Runtime.CompilerServices.VisualC
►
System.Runtime.Extensions
►
System.Runtime.Handles
►
System.Runtime.InteropServices
►
System.Runtime.InteropServices.RuntimeInformation
►
System.Runtime.Intrinsics
►
System.Runtime.Loader
►
System.Runtime.Numerics
►
System.Runtime.Serialization
►
System.Runtime.Serialization.Formatters
►
System.Runtime.Serialization.Json
►
System.Runtime.Serialization.Primitives
►
System.Runtime.Serialization.Xml
►
System.Security
►
System.Security.AccessControl
►
System.Security.Claims
►
System.Security.Cryptography.Algorithms
►
System.Security.Cryptography.Cng
►
System.Security.Cryptography.Csp
►
System.Security.Cryptography.Encoding
►
System.Security.Cryptography.OpenSsl
►
System.Security.Cryptography.Primitives
►
System.Security.Cryptography.X509Certificates
►
System.Security.Principal
►
System.Security.Principal.Windows
►
System.Security.SecureString
►
System.ServiceModel.Web
►
System.ServiceProcess
►
System.Text.Encoding
►
System.Text.Encoding.CodePages
►
System.Text.Encoding.Extensions
►
System.Text.Encodings.Web
►
System.Text.Json
►
System.Text.RegularExpressions
►
System.Threading
►
System.Threading.Channels
►
System.Threading.Overlapped
►
System.Threading.Tasks
►
System.Threading.Tasks.Dataflow
►
System.Threading.Tasks.Extensions
►
System.Threading.Tasks.Parallel
►
System.Threading.Thread
►
System.Threading.ThreadPool
►
System.Threading.Timer
►
System.Transactions
►
System.Transactions.Local
►
System.ValueTuple
►
System.Web
►
System.Web.HttpUtility
►
System.Windows
►
System.Xml
►
System.Xml.Linq
►
System.Xml.ReaderWriter
►
System.Xml.Serialization
►
System.Xml.XDocument
►
System.Xml.XmlDocument
►
System.Xml.XmlSerializer
►
System.Xml.XPath
►
System.Xml.XPath.XDocument
►
Terraria
►
Terraria.Achievements
►
Terraria.Audio
►
Terraria.Chat
►
Terraria.Chat.Commands
►
Terraria.Cinematics
►
Terraria.DataStructures
►
Terraria.Enums
►
Terraria.GameContent
►
Terraria.GameContent.Achievements
►
Terraria.GameContent.Ambience
►
Terraria.GameContent.Animations
►
Terraria.GameContent.Bestiary
►
Terraria.GameContent.Biomes
►
Terraria.GameContent.Biomes.CaveHouse
►
Terraria.GameContent.Biomes.Desert
►
Terraria.GameContent.Creative
►
Terraria.GameContent.Drawing
►
Terraria.GameContent.Dyes
►
Terraria.GameContent.Events
►
Terraria.GameContent.Generation
►
Terraria.GameContent.Golf
►
Terraria.GameContent.ItemDropRules
►
Terraria.GameContent.Items
►
Terraria.GameContent.Liquid
►
Terraria.GameContent.LootSimulation
►
Terraria.GameContent.LootSimulation.LootSimulatorConditionSetterTypes
►
Terraria.GameContent.Metadata
►
Terraria.GameContent.NetModules
►
Terraria.GameContent.ObjectInteractions
►
Terraria.GameContent.Personalities
►
Terraria.GameContent.Prefixes
►
Terraria.GameContent.RGB
►
Terraria.GameContent.Shaders
►
Terraria.GameContent.Skies
►
Terraria.GameContent.Skies.CreditsRoll
►
Terraria.GameContent.Tile_Entities
►
Terraria.GameContent.UI
►
Terraria.GameContent.UI.BigProgressBar
►
Terraria.GameContent.UI.Chat
►
Terraria.GameContent.UI.Elements
►
Terraria.GameContent.UI.Minimap
►
Terraria.GameContent.UI.ResourceSets
►
Terraria.GameContent.UI.States
►
Terraria.GameInput
►
Terraria.Graphics
►
Terraria.Graphics.CameraModifiers
►
Terraria.Graphics.Capture
►
Terraria.Graphics.Effects
►
Terraria.Graphics.Light
►
Terraria.Graphics.Renderers
►
Terraria.Graphics.Shaders
►
Terraria.ID
►
Terraria.Initializers
►
Terraria.IO
►
Terraria.Localization
►
Terraria.Map
►
Terraria.Modules
►
Terraria.Net
►
Terraria.Net.Sockets
►
Terraria.ObjectData
►
Terraria.Physics
►
Terraria.Server
►
Terraria.Social
►
Terraria.Social.Base
►
Terraria.Social.Steam
►
Terraria.Social.WeGame
►
Terraria.Testing
►
Terraria.Testing.ChatCommands
►
Terraria.UI
►
Terraria.UI.Chat
►
Terraria.UI.Gamepad
►
Terraria.Utilities
►
Terraria.Utilities.FileBrowser
►
Terraria.Utilities.Terraria.Utilities
►
Terraria.WorldBuilding
►
nativefiledialog.cs
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
XTypeDescriptor.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.ComponentModel
;
3
using
System.Diagnostics.CodeAnalysis
;
4
using
System.Xml.Linq
;
5
6
namespace
MS.Internal.Xml.Linq.ComponentModel
;
7
8
internal
sealed
class
XTypeDescriptor
<T> :
CustomTypeDescriptor
9
{
10
public
XTypeDescriptor
(
ICustomTypeDescriptor
parent)
11
: base(parent)
12
{
13
}
10
public
XTypeDescriptor
(
ICustomTypeDescriptor
parent) {
…
}
14
15
[RequiresUnreferencedCode(
"PropertyDescriptor's PropertyType cannot be statically discovered."
)]
16
public
override
PropertyDescriptorCollection
GetProperties
()
17
{
18
return
GetProperties
(
null
);
19
}
16
public
override
PropertyDescriptorCollection
GetProperties
() {
…
}
20
21
[RequiresUnreferencedCode(
"PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type."
)]
22
public
override
PropertyDescriptorCollection
GetProperties
(
Attribute
[] attributes)
23
{
24
PropertyDescriptorCollection
propertyDescriptorCollection =
new
PropertyDescriptorCollection
(
null
);
25
if
(attributes ==
null
)
26
{
27
if
(typeof(T) == typeof(
XElement
))
28
{
29
propertyDescriptorCollection.
Add
(
new
XElementAttributePropertyDescriptor
());
30
propertyDescriptorCollection.
Add
(
new
XElementDescendantsPropertyDescriptor
());
31
propertyDescriptorCollection.
Add
(
new
XElementElementPropertyDescriptor
());
32
propertyDescriptorCollection.
Add
(
new
XElementElementsPropertyDescriptor
());
33
propertyDescriptorCollection.
Add
(
new
XElementValuePropertyDescriptor
());
34
propertyDescriptorCollection.
Add
(
new
XElementXmlPropertyDescriptor
());
35
}
36
else
if
(typeof(T) == typeof(
XAttribute
))
37
{
38
propertyDescriptorCollection.
Add
(
new
XAttributeValuePropertyDescriptor
());
39
}
40
}
41
foreach
(
PropertyDescriptor
property
in
base.GetProperties(attributes))
42
{
43
propertyDescriptorCollection.Add(property);
44
}
45
return
propertyDescriptorCollection;
46
}
22
public
override
PropertyDescriptorCollection
GetProperties
(
Attribute
[] attributes) {
…
}
47
}
8
internal
sealed
class
XTypeDescriptor
<T> :
CustomTypeDescriptor
{
…
};
MS.Internal.Xml.Linq.ComponentModel.XAttributeValuePropertyDescriptor
Definition
XAttributeValuePropertyDescriptor.cs:7
MS.Internal.Xml.Linq.ComponentModel.XElementAttributePropertyDescriptor
Definition
XElementAttributePropertyDescriptor.cs:7
MS.Internal.Xml.Linq.ComponentModel.XElementDescendantsPropertyDescriptor
Definition
XElementDescendantsPropertyDescriptor.cs:8
MS.Internal.Xml.Linq.ComponentModel.XElementElementPropertyDescriptor
Definition
XElementElementPropertyDescriptor.cs:7
MS.Internal.Xml.Linq.ComponentModel.XElementElementsPropertyDescriptor
Definition
XElementElementsPropertyDescriptor.cs:8
MS.Internal.Xml.Linq.ComponentModel.XElementValuePropertyDescriptor
Definition
XElementValuePropertyDescriptor.cs:7
MS.Internal.Xml.Linq.ComponentModel.XElementXmlPropertyDescriptor
Definition
XElementXmlPropertyDescriptor.cs:7
MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptor.GetProperties
override PropertyDescriptorCollection GetProperties()
Definition
XTypeDescriptor.cs:16
MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptor.GetProperties
override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
Definition
XTypeDescriptor.cs:22
MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptor.XTypeDescriptor
XTypeDescriptor(ICustomTypeDescriptor parent)
Definition
XTypeDescriptor.cs:10
MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptor
Definition
XTypeDescriptor.cs:9
System.Attribute
Definition
Attribute.cs:12
System.ComponentModel.CustomTypeDescriptor
Definition
CustomTypeDescriptor.cs:6
System.ComponentModel.PropertyDescriptorCollection.Add
int Add(PropertyDescriptor value)
Definition
PropertyDescriptorCollection.cs:245
System.ComponentModel.PropertyDescriptorCollection
Definition
PropertyDescriptorCollection.cs:7
System.ComponentModel.PropertyDescriptor
Definition
PropertyDescriptor.cs:8
System.Xml.Linq.XAttribute
Definition
XAttribute.cs:11
System.Xml.Linq.XElement
Definition
XElement.cs:19
System.ComponentModel.ICustomTypeDescriptor
Definition
ICustomTypeDescriptor.cs:6
MS.Internal.Xml.Linq.ComponentModel
Definition
XAttributeValuePropertyDescriptor.cs:4
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Xml.Linq
Definition
BaseUriAnnotation.cs:1
System
Definition
BlockingCollection.cs:8
source
System.ComponentModel.TypeConverter
MS.Internal.Xml.Linq.ComponentModel
XTypeDescriptor.cs
Generated by
1.10.0