GetMember() public method

public GetMember ( Stack model ) : object
model Stack
return object
示例#1
0
        public override void Execute(Stack <object> model, TextWriter output)
        {
            var m = _templateMemberAccessor.GetMember(model);

            foreach (var i in (IEnumerable)m)
            {
                model.Push(i);
                _content.Execute(model, output);
                model.Pop();
            }
        }
示例#2
0
 public override void Execute(Stack <object> model, TextWriter output)
 {
     output.Write(_member.GetMember(model));
 }