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]; }
public IEnumerable <string> GetCompatibilityWarnings(object obj) { IEnumerable <string> res = format.GetCompatibilityWarnings(obj); return(res ?? new string [0]); }