Example #1
0
        internal string WriteXmlAnnotationToString(aim_dotnet.Annotation annotation)
        {
            try
            {
                return(Model.WriteAnnotationToXmlString(annotation));
            }
            catch (Exception ex)
            {
                Platform.Log(LogLevel.Error, ex, "Failed to convert annotation to xml.");
            }

            return(null);
        }
Example #2
0
        public bool WriteXmlAnnotationToFile(aim_dotnet.Annotation annotation, string filePathName)
        {
            try
            {
                Model.WriteAnnotationToFile(annotation, filePathName);
                return(true);
            }
            catch (Exception ex)
            {
                Platform.Log(LogLevel.Error, ex, "Failed to save annotation to file \"{0}\"", filePathName);
            }

            return(false);
        }
        internal DataProvider(aim_dotnet.Annotation annotation)
        {
            Platform.CheckForNullReference(annotation, "Annotation");

            _annotation = annotation;
        }
 public void WriteAnnotationToFile(Annotation annotation, string filePathName)
 {
     throw new NotImplementedException();
 }
 public string WriteAnnotationToXmlString(Annotation annotation)
 {
     throw new NotImplementedException();
 }
        internal DataProvider(aim_dotnet.Annotation annotation)
        {
            Platform.CheckForNullReference(annotation, "Annotation");

            _annotation = annotation;
        }