Exemple #1
0
        public RazorOutputData(RazorContentType contentType, string content)
        {
            TkDebug.AssertArgumentNull(content, "content", null);

            ContentType = contentType;
            Content     = content;
        }
Exemple #2
0
        public RazorField(string nickName, RazorContentType contentType, string content)
            : base(contentType, content)
        {
            TkDebug.AssertArgumentNullOrEmpty(nickName, "nickName", null);

            NickName = nickName;
        }
Exemple #3
0
        private void AddDisplayField(string nickName, RazorContentType contentType, string content)
        {
            TkDebug.AssertArgumentNullOrEmpty(nickName, "nickName", this);

            fDisplayFields.Add(new RazorField(nickName, contentType, content));
        }