public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
        {
            AlternateView view = new AlternateView();

            view.SetContentFromString(content, contentEncoding, mediaType);
            return(view);
        }
        public static AlternateView CreateAlternateViewFromString(string content, ContentType contentType)
        {
            AlternateView view = new AlternateView();

            view.SetContentFromString(content, contentType);
            return(view);
        }
        public static AlternateView CreateAlternateViewFromString(string content)
        {
            AlternateView view = new AlternateView();

            view.SetContentFromString(content, null, string.Empty);
            return(view);
        }
 public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
 {
     AlternateView view = new AlternateView();
     view.SetContentFromString(content, contentEncoding, mediaType);
     return view;
 }
 public static AlternateView CreateAlternateViewFromString(string content, ContentType contentType)
 {
     AlternateView view = new AlternateView();
     view.SetContentFromString(content, contentType);
     return view;
 }
 public static AlternateView CreateAlternateViewFromString(string content)
 {
     AlternateView view = new AlternateView();
     view.SetContentFromString(content, null, string.Empty);
     return view;
 }
 public static AlternateView CreateAlternateViewFromString(string content){
     AlternateView a = new AlternateView();
     a.SetContentFromString(content, null, String.Empty);
     return a;
 }