1
0
Steven Kirk 8 жил өмнө
parent
commit
0a6216a352

+ 2 - 2
src/Avalonia.Styling/Controls/IResourceNode.cs

@@ -13,12 +13,12 @@ namespace Avalonia.Controls
         event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
 
         /// <summary>
-        /// Gets a value indicating whether the provider has resources.
+        /// Gets a value indicating whether the node has resources.
         /// </summary>
         bool HasResources { get; }
 
         /// <summary>
-        /// Gets the parent resource provider, if any.
+        /// Gets the parent resource node, if any.
         /// </summary>
         IResourceNode ResourceParent { get; }
 

+ 7 - 2
src/Avalonia.Styling/Controls/ResourceDictionary.cs

@@ -15,13 +15,18 @@ namespace Avalonia.Controls
     {
         private AvaloniaList<IResourceDictionary> _mergedDictionaries;
 
-        public event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
-
+        /// <summary>
+        /// Initializes a new instance of the <see cref="ResourceDictionary"/> class.
+        /// </summary>
         public ResourceDictionary()
         {
             CollectionChanged += OnCollectionChanged;
         }
 
+        /// <inheritdoc/>
+        public event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
+
+        /// <inheritdoc/>
         public IList<IResourceDictionary> MergedDictionaries
         {
             get