Dalamud/Dalamud/Utility/Signatures/Wrappers/IFieldOrPropertyInfo.cs
goat 448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00

36 lines
1 KiB
C#
Executable file

namespace Dalamud.Utility.Signatures.Wrappers;
/// <summary>
/// Interface providing information about a field or a property.
/// </summary>
internal interface IFieldOrPropertyInfo
{
/// <summary>
/// Gets the name of the field or property.
/// </summary>
string Name { 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>
/// 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;
}