-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interface for lazy children retrieval
Behavior is unchanged, implementation will follow. References #21
- Loading branch information
1 parent
2576ac7
commit ee1b4b0
Showing
10 changed files
with
256 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// <copyright>Copyright 2012-2016 Lawo AG (http://www.lawo.com).</copyright> | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
namespace Lawo.EmberPlusSharp.Model | ||
{ | ||
/// <summary>Represents the policy how children for a given node should be requested from the provider.</summary> | ||
public enum ChildrenRequestPolicy | ||
{ | ||
/// <summary>Do not request any children.</summary> | ||
/// <remarks>No children will be requested as long as the <see cref="INode.ChildrenRequestPolicy"/> | ||
/// property of an <see cref="INode"/> implementation has this value.</remarks> | ||
None, | ||
|
||
/// <summary>Request only direct children.</summary> | ||
/// <remarks>If the <see cref="INode.ChildrenRequestPolicy"/> property of an <see cref="INode"/> implementation | ||
/// has this value then only direct children were or will be requested for the node. The | ||
/// <see cref="INode.ChildrenRequestPolicy"/> property of the direct children implementing <see cref="INode"/> | ||
/// will have the initial value <see cref="None"/>.</remarks> | ||
DirectOnly, | ||
|
||
/// <summary>Request direct and indirect children.</summary> | ||
/// <remarks>If the <see cref="INode.ChildrenRequestPolicy"/> property of an <see cref="INode"/> implementation | ||
/// has this value, then all direct and indirect children were or will be requested for the node. The | ||
/// <see cref="INode.ChildrenRequestPolicy"/> property of the direct and indirect children implementing | ||
/// <see cref="INode"/> will have the value <see cref="All"/>.</remarks> | ||
All | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.