Пример #1
0
        public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)
        {
            LinkedResource a = new LinkedResource();

            a.SetContentFromString(content, contentType);
            return(a);
        }
Пример #2
0
        public static LinkedResource CreateLinkedResourceFromString(string content)
        {
            LinkedResource a = new LinkedResource();

            a.SetContentFromString(content, null, String.Empty);
            return(a);
        }
Пример #3
0
        public static LinkedResource CreateLinkedResourceFromString(string content, Encoding contentEncoding, string mediaType)
        {
            LinkedResource a = new LinkedResource();

            a.SetContentFromString(content, contentEncoding, mediaType);
            return(a);
        }
Пример #4
0
        public static LinkedResource CreateLinkedResourceFromString(string content)
        {
            LinkedResource resource = new LinkedResource();

            resource.SetContentFromString(content, null, string.Empty);
            return(resource);
        }
Пример #5
0
 public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType){
     LinkedResource a = new LinkedResource();
     a.SetContentFromString(content, contentType);
     return a;
 }
Пример #6
0
 public static LinkedResource CreateLinkedResourceFromString(string content, Encoding contentEncoding, string mediaType){
     LinkedResource a = new LinkedResource();
     a.SetContentFromString(content, contentEncoding, mediaType);
     return a;
 }
Пример #7
0
 public static LinkedResource CreateLinkedResourceFromString(string content){
     LinkedResource a = new LinkedResource();
     a.SetContentFromString(content, null, String.Empty);
     return a;
 }
 public static LinkedResource CreateLinkedResourceFromString(string content)
 {
     LinkedResource resource = new LinkedResource();
     resource.SetContentFromString(content, null, string.Empty);
     return resource;
 }