Browse Source

Create PreloadAttribute.cs

pull/165/head
Ionite 1 year ago
parent
commit
3aa5513653
No known key found for this signature in database
  1. 8
      StabilityMatrix.Core/Attributes/PreloadAttribute.cs

8
StabilityMatrix.Core/Attributes/PreloadAttribute.cs

@ -0,0 +1,8 @@
namespace StabilityMatrix.Core.Attributes;
/// <summary>
/// Marks that a ViewModel should have its OnLoaded and OnLoadedAsync methods called in the background
/// during MainWindow initialization, after LibraryDirectory is set.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class PreloadAttribute : Attribute { }
Loading…
Cancel
Save