From 0a6216a35226afb3c8884346220f41b1867f3ba2 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Fri, 25 Aug 2017 01:15:12 +0200 Subject: [PATCH] Doc comments. --- src/Avalonia.Styling/Controls/IResourceNode.cs | 4 ++-- src/Avalonia.Styling/Controls/ResourceDictionary.cs | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.Styling/Controls/IResourceNode.cs b/src/Avalonia.Styling/Controls/IResourceNode.cs index 54cf39e3b5..6ff5fb8d2f 100644 --- a/src/Avalonia.Styling/Controls/IResourceNode.cs +++ b/src/Avalonia.Styling/Controls/IResourceNode.cs @@ -13,12 +13,12 @@ namespace Avalonia.Controls event EventHandler ResourcesChanged; /// - /// Gets a value indicating whether the provider has resources. + /// Gets a value indicating whether the node has resources. /// bool HasResources { get; } /// - /// Gets the parent resource provider, if any. + /// Gets the parent resource node, if any. /// IResourceNode ResourceParent { get; } diff --git a/src/Avalonia.Styling/Controls/ResourceDictionary.cs b/src/Avalonia.Styling/Controls/ResourceDictionary.cs index 975d27c08b..30fd8056f1 100644 --- a/src/Avalonia.Styling/Controls/ResourceDictionary.cs +++ b/src/Avalonia.Styling/Controls/ResourceDictionary.cs @@ -15,13 +15,18 @@ namespace Avalonia.Controls { private AvaloniaList _mergedDictionaries; - public event EventHandler ResourcesChanged; - + /// + /// Initializes a new instance of the class. + /// public ResourceDictionary() { CollectionChanged += OnCollectionChanged; } + /// + public event EventHandler ResourcesChanged; + + /// public IList MergedDictionaries { get