mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
chore: convert Dalamud to file-scoped namespaces
This commit is contained in:
parent
b093323acc
commit
987ff8dc8f
368 changed files with 55081 additions and 55450 deletions
|
|
@ -1,39 +1,38 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Utility.Signatures.Wrappers
|
||||
namespace Dalamud.Utility.Signatures.Wrappers;
|
||||
|
||||
/// <summary>
|
||||
/// Interface providing information about a field or a property.
|
||||
/// </summary>
|
||||
internal interface IFieldOrPropertyInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface providing information about a field or a property.
|
||||
/// Gets the name of the field or property.
|
||||
/// </summary>
|
||||
internal interface IFieldOrPropertyInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name of the field or property.
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the actual type of the field or property.
|
||||
/// </summary>
|
||||
Type ActualType { get; }
|
||||
/// <summary>
|
||||
/// Gets the actual type of the field or property.
|
||||
/// </summary>
|
||||
Type ActualType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not the field or property is nullable.
|
||||
/// </summary>
|
||||
bool IsNullable { get; }
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not the field or property is nullable.
|
||||
/// </summary>
|
||||
bool IsNullable { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Set this field or property's value.
|
||||
/// </summary>
|
||||
/// <param name="self">The object instance.</param>
|
||||
/// <param name="value">The value to set.</param>
|
||||
void SetValue(object? self, object? value);
|
||||
/// <summary>
|
||||
/// Set this field or property's value.
|
||||
/// </summary>
|
||||
/// <param name="self">The object instance.</param>
|
||||
/// <param name="value">The value to set.</param>
|
||||
void SetValue(object? self, object? value);
|
||||
|
||||
/// <summary>
|
||||
/// Get a custom attribute.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of the attribute.</typeparam>
|
||||
/// <returns>The attribute.</returns>
|
||||
T? GetCustomAttribute<T>() where T : Attribute;
|
||||
}
|
||||
/// <summary>
|
||||
/// Get a custom attribute.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of the attribute.</typeparam>
|
||||
/// <returns>The attribute.</returns>
|
||||
T? GetCustomAttribute<T>() where T : Attribute;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue