Exemple #1
0
 public IEnumerable<string> GetCompatibilityWarnings (object obj)
 {
     IWorkspaceFileObject wfo = obj as IWorkspaceFileObject;
     if (wfo != null && !wfo.SupportsFormat (this))
     {
         return new string[] {GettextCatalog.GetString ("The project '{0}' is not supported by {1}", wfo.Name, Name) };
     }
     IEnumerable<string> res = format.GetCompatibilityWarnings (obj);
     return res ?? new string [0];
 }
Exemple #2
0
        public IEnumerable <string> GetCompatibilityWarnings(object obj)
        {
            IEnumerable <string> res = format.GetCompatibilityWarnings(obj);

            return(res ?? new string [0]);
        }