GetMember() 공개 메소드

public GetMember ( Stack model ) : object
model Stack
리턴 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));
 }