Browse Source

Added missing doc comments.

pull/58/head
Steven Kirk 11 years ago
parent
commit
3479dc7b5a
  1. 12
      Perspex.Base/PerspexObject.cs

12
Perspex.Base/PerspexObject.cs

@ -409,6 +409,12 @@ namespace Perspex
return (T)this.GetValue((PerspexProperty)property);
}
/// <summary>
/// Gets the value of of all properties that are registered on this object.
/// </summary>
/// <returns>
/// A collection of <see cref="PerspexPropertyValue"/> objects.
/// </returns>
public IEnumerable<PerspexPropertyValue> GetAllValues()
{
foreach (PerspexProperty property in this.GetRegisteredProperties())
@ -426,6 +432,12 @@ namespace Perspex
}
}
/// <summary>
/// Gets all properties that are registered on this object.
/// </summary>
/// <returns>
/// A collection of <see cref="PerspexProperty"/> objects.
/// </returns>
public IEnumerable<PerspexProperty> GetRegisteredProperties()
{
Type type = this.GetType();

Loading…
Cancel
Save