Browse Source

Ignore modules for json serializer

pull/333/head
Ionite 1 year ago
parent
commit
d57a11a689
No known key found for this signature in database
  1. 2
      StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs

2
StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs

@ -31,12 +31,14 @@ public partial class StackEditableCardViewModel : StackViewModelBase
/// <summary>
/// Available module types for user creation
/// </summary>
[JsonIgnore]
public IReadOnlyList<Type> AvailableModules { get; set; } = Array.Empty<Type>();
/// <summary>
/// Default modules that are used when no modules are loaded
/// This is a subset of <see cref="AvailableModules"/>
/// </summary>
[JsonIgnore]
public IReadOnlyList<Type> DefaultModules { get; set; } = Array.Empty<Type>();
/// <inheritdoc />

Loading…
Cancel
Save