Skip to content

Commit

Permalink
Expose scope properties names (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Feb 24, 2021
1 parent d7b7a24 commit 908cd58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Fluid/Scope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public Scope(Scope parent)
_parent = parent;
}

public IEnumerable<string> Properties => _properties.Keys;

/// <summary>
/// Returns the value with the specified name in the chain of scopes, or undefined
/// if it doesn't exist.
Expand Down

0 comments on commit 908cd58

Please sign in to comment.