示例#1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="content"></param>
        /// <param name="mode"></param>
        public AtomContent(string content, EncodedMode mode)
            : this( content, DefaultValues.MediaType, mode ) {

        }
示例#2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="content"></param>
 /// <param name="type"></param>
 /// <param name="mode"></param>
 public AtomContent(string content, MediaType type, EncodedMode mode)
     : base( "content", content, type, mode ) {
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="local_name"></param>
 /// <param name="content"></param>
 /// <param name="type"></param>
 /// <param name="mode"></param>
 public AtomContentConstruct(string local_name, string content, MediaType type, EncodedMode mode) {
     base.LocalName = local_name;
     this.Content = content;
     this.Type = type;
     this.Mode = mode;
 }