csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
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.
54 lines
1.2 KiB
54 lines
1.2 KiB
using System;
|
|
|
|
namespace Avalonia.SourceGenerator
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
|
|
internal sealed class SubtypesFactoryAttribute : Attribute
|
|
{
|
|
public SubtypesFactoryAttribute(Type baseType, string @namespace)
|
|
{
|
|
BaseType = baseType;
|
|
Namespace = @namespace;
|
|
}
|
|
|
|
public string Namespace { get; }
|
|
public Type BaseType { get; }
|
|
}
|
|
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
internal sealed class GetProcAddressAttribute : Attribute
|
|
{
|
|
public GetProcAddressAttribute(string proc)
|
|
{
|
|
|
|
}
|
|
|
|
public GetProcAddressAttribute(string proc, bool optional = false)
|
|
{
|
|
|
|
}
|
|
|
|
public GetProcAddressAttribute(bool optional)
|
|
{
|
|
|
|
}
|
|
|
|
public GetProcAddressAttribute()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
internal sealed class GenerateEnumValueDictionaryAttribute : Attribute
|
|
{
|
|
}
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
internal sealed class GenerateEnumValueListAttribute : Attribute
|
|
{
|
|
}
|
|
}
|
|
|