public IFolder OpenSubFolder(string name) { if (SubFolderCount <= 0) { return(default(IFolder)); } return(SubFolders.FirstOrDefault(folder => folder.Name.CompareTo(name) == 0)); }
public ComponentFolder <TId, TFolderMetaData, TComponentMetaData> FindSubFolder(string subFolderName) { return(SubFolders .FirstOrDefault(f => f.MetaData.DisplayName == subFolderName)); }
public KmlFolder GetFolderByName(string name) => SubFolders.FirstOrDefault(f => f.Name == name);
public string GetSubDirectory(string subfolder) => SubFolders.FirstOrDefault(sf => sf.Contains(subfolder));
public KmlFolder GetFolder(string cn) => SubFolders.FirstOrDefault(f => f.CN == cn);