| File: MS\Internal\Annotations\OwnedObject.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. // // // Description: // IOwnedObject is an internal interface that identifies objects in the // Annotation Framework Object Model that can belong to only one parent. // This restriction is in place to prevent OM structures that cannot be // reproduced from a round-trip serialization/deserialization. // namespace MS.Internal.Annotations { /// <summary> /// Interface that identifies classes in the Annotation Framework Object /// Model that can belong to only one parent. /// </summary> internal interface IOwnedObject { //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties /// <summary> /// Sets/gets the ownership status of this object. /// </summary> bool Owned { get; set; } #endregion Public Properties //------------------------------------------------------ // // Public Operators // //------------------------------------------------------ //------------------------------------------------------ // // Public Events // //------------------------------------------------------ //------------------------------------------------------ // // Public Methods // //------------------------------------------------------ } }