Class CommentsPropertyDescriptor
Source: https://dotnetfiddle.net/8M6iIE.
Inheritance
System.Object
CommentsPropertyDescriptor
Implements
YamlDotNet.Serialization.IPropertyDescriptor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Loader.Features.Configs
Assembly: Exiled.Loader.dll
Syntax
public sealed class CommentsPropertyDescriptor : IPropertyDescriptor
Constructors
| Improve this Doc View SourceCommentsPropertyDescriptor(IPropertyDescriptor)
Initializes a new instance of the CommentsPropertyDescriptor class.
Declaration
public CommentsPropertyDescriptor(IPropertyDescriptor baseDescriptor)
Parameters
Type | Name | Description |
---|---|---|
YamlDotNet.Serialization.IPropertyDescriptor | baseDescriptor | The base descriptor instance. |
Properties
| Improve this Doc View SourceCanWrite
Declaration
public bool CanWrite { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Order
Declaration
public int Order { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ScalarStyle
Declaration
public ScalarStyle ScalarStyle { get; set; }
Property Value
Type | Description |
---|---|
YamlDotNet.Core.ScalarStyle |
Type
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |
TypeOverride
Declaration
public Type TypeOverride { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceGetCustomAttribute<T>()
Declaration
public T GetCustomAttribute<T>()
where T : Attribute
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Read(Object)
Declaration
public IObjectDescriptor Read(object target)
Parameters
Type | Name | Description |
---|---|---|
System.Object | target |
Returns
Type | Description |
---|---|
YamlDotNet.Serialization.IObjectDescriptor |
Write(Object, Object)
Declaration
public void Write(object target, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | target | |
System.Object | value |
Implements
YamlDotNet.Serialization.IPropertyDescriptor