You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
468 B
16 lines
468 B
using System; |
|
using System.Runtime.InteropServices; |
|
using CSharpDiscriminatedUnion.Attributes; |
|
|
|
namespace StabilityMatrix.Avalonia.Models.Inference; |
|
|
|
[GenerateDiscriminatedUnion(CaseFactoryPrefix = "From")] |
|
[StructLayout(LayoutKind.Auto)] |
|
public readonly partial struct FileNameFormatPart |
|
{ |
|
[StructCase("Constant", isDefaultValue: true)] |
|
private readonly string constant; |
|
|
|
[StructCase("Substitution")] |
|
private readonly Func<string?> substitution; |
|
}
|
|
|