| File: MS\Internal\WindowsRuntime\Generated\WinRT\Attributes.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; namespace WinRT { [EditorBrowsable(EditorBrowsableState.Never)] [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] internal sealed class ProjectedRuntimeClassAttribute : Attribute { public ProjectedRuntimeClassAttribute(string defaultInterfaceProp) { DefaultInterfaceProperty = defaultInterfaceProp; } public string DefaultInterfaceProperty { get; } } [EditorBrowsable(EditorBrowsableState.Never)] [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] internal sealed class ObjectReferenceWrapperAttribute : Attribute { public ObjectReferenceWrapperAttribute(string objectReferenceField) { ObjectReferenceField = objectReferenceField; } public string ObjectReferenceField { get; } } /// <summary> /// When applied to a type, designates to WinRT.Runtime that this type represents a type defined in WinRT metadata. /// </summary> [EditorBrowsable(EditorBrowsableState.Never)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)] internal sealed class WindowsRuntimeTypeAttribute : Attribute { } }