/// <summary> /// Return true if document can be opened /// </summary> /// <param name="uri">Document URI</param> /// <returns>True iff document can be opened</returns> public bool CanOpen(Uri uri) { if (s_catchAllClient == this) { return(!IsThereABetterDocumentClient(uri)); } return(Info.IsCompatibleUri(uri)); }
/// <summary> /// Returns whether the client can open or create a document at the given URI</summary> /// <param name="uri">Document URI</param> /// <returns>True iff the client can open or create a document at the given URI</returns> public bool CanOpen(Uri uri) { return(EditorInfo.IsCompatibleUri(uri)); }
/// <summary> /// Returns whether the client can open or create a document at the given URI</summary> /// <param name="uri">Document URI</param> /// <returns>True iff the client can open or create a document at the given URI</returns> public bool CanOpen(Uri uri) { return(DocumentClientInfo.IsCompatibleUri(uri)); }
public bool CanOpen(Uri uri) { return(m_info.IsCompatibleUri(uri)); }