Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Commit

Permalink
Added some more XML comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jchannon committed Dec 20, 2012
1 parent c91dee8 commit e04e4de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Nancy.ViewEngines.Razor/TextResourceFinder.cs
Expand Up @@ -22,6 +22,12 @@ public TextResourceFinder(ITextResource textResource, NancyContext context)
this.context = context; this.context = context;
} }


/// <summary>
/// Finds text resource
/// </summary>
/// <param name="binder">GetMemberBinder with dynamic text key</param>
/// <param name="result">Text item</param>
/// <returns></returns>
public override bool TryGetMember(GetMemberBinder binder, out object result) public override bool TryGetMember(GetMemberBinder binder, out object result)
{ {
result = this.textResource[binder.Name, this.context]; result = this.textResource[binder.Name, this.context];
Expand Down

0 comments on commit e04e4de

Please sign in to comment.