internal static string HTMLFromENMLContent(string content, ENCollection resources) { List <Resource> edamResources = new List <Resource>(); foreach (Resource resource in resources) { edamResources.Add(resource); } return(HTMLFromENMLContent(content, edamResources)); }
public string NoteHTMLContent(string noteContent, ENCollection noteResources) { string content = null; try { content = ENMLtoHTMLConverter.HTMLFromENMLContent(noteContent, noteResources); } catch (Exception) { ENSDKLogger.ENSDKLogError("Unable to convert note content to HTML"); } return(content); }
public ENCollection ListTagsForCOM() { List<Tag> tags = Client.listTags(AuthenticationToken()); ENCollection comResults = new ENCollection(); foreach (Tag tag in tags) { EdamTag edTag = new EdamTag(); edTag.Guid = tag.Guid; edTag.Name = tag.Name; edTag.ParentGuid = tag.ParentGuid; edTag.UpdateSequenceNum = tag.UpdateSequenceNum; object tempvar = edTag; object tempkey = tag.Guid; comResults.Add(ref tempvar, ref tempkey); } return comResults; }
public string NoteHTMLContent(string noteContent, ENCollection noteResources) { string content = null; try { content = ENMLtoHTMLConverter.HTMLFromENMLContent(noteContent, noteResources); } catch (Exception) { ENSDKLogger.ENSDKLogError("Unable to convert note content to HTML"); } return content; }