Move files to shared project

このコミットが含まれているのは:
Sergio Pedri committed 2024-10-17 22:09:57 -07:00
1 親 d4ed2099a3
コミット 7f704fa326
9ファイル変更
+10 -1

検索条件に一致するファイルはありません

+25
ファイルの表示
@@ -0,0 +1,25 @@
using ComputeSharp.SourceGeneration.Models;
using Microsoft.CodeAnalysis;
namespace ComputeSharp.D2D1.WinUI.SourceGenerators.Models;
/// <summary>
/// A model representing a generated canvas effect property.
/// </summary>
/// <param name="Hierarchy">The hierarchy info for the shader type.</param>
/// <param name="PropertyName">The generated property name.</param>
/// <param name="DeclaredAccessibility">The accessibility of the property, if available.</param>
/// <param name="GetterAccessibility">The accessibility of the <see langword="get"/> accessor, if available.</param>
/// <param name="SetterAccessibility">The accessibility of the <see langword="set"/> accessor, if available.</param>
/// <param name="TypeNameWithNullabilityAnnotations">The type name for the generated property, including nullability annotations.</param>
/// <param name="IsReferenceTypeOrUnconstraindTypeParameter">Indicates whether the property is of a reference type or an unconstrained type parameter.</param>
/// <param name="InvalidationType">The invalidation type to request.</param>
internal sealed record CanvasEffectPropertyInfo(
HierarchyInfo Hierarchy,
string PropertyName,
Accessibility DeclaredAccessibility,
Accessibility GetterAccessibility,
Accessibility SetterAccessibility,
string TypeNameWithNullabilityAnnotations,
bool IsReferenceTypeOrUnconstraindTypeParameter,
CanvasEffectInvalidationType InvalidationType);