Click or drag to resize

folderStructure Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Inheritance Hierarchy

Namespace:  imbSCI.Core.files.folders
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public class folderStructure : folderNode
Request Example View Source

The folderStructure type exposes the following members.

Constructors
  NameDescription
Public methodfolderStructure(String, String, String)
Initializes a new instance of the folderStructure class.
Public methodfolderStructure(DirectoryInfo, String, String, SearchOption)
Creates new instance of structure by scanning DirectoryInfo object subfolders
Top
Properties
  NameDescription
Public propertyAdditionalDescriptionLines
These are additional description lines that will be inserted in readme file generated by [!:generateReadmeFiles(aceAuthorNotation, string)]
(Inherited from folderNode.)
Public propertyAdditionalFileEntries
Gets or sets the additional file entries.
(Inherited from folderNode.)
Public propertybaseDirectoryPath
Public propertycaption
Display title
(Inherited from folderNode.)
Public propertyCount
Gets the number of registered subfolders
(Inherited from folderNode.)
Public propertydescription
description/comment - objasnjenje
(Inherited from folderNode.)
Public propertyforTreeview (Inherited from folderNode.)
Public propertyItemEnum
Gets the folderNode with the specified key. If not found it will create new sub folder with key name
(Inherited from folderNode.)
Public propertyItemString
Gets the folderNode with the specified key. If not found it will create new sub folder with key name
(Inherited from folderNode.)
Public propertylevel
Depth level, from the root folderNode object in the hierarchy
(Inherited from folderNode.)
Public propertyname (Overrides folderNodename.)
Public propertyparent (Overrides folderNodeparent.)
Public propertypath (Overrides folderNodepath.)
Public propertyroot
Gets the root node in the structure
(Inherited from folderNode.)
Top
Methods
  NameDescription
Public methodAdd(folderNode)
Nests the specified folder node into this instance
(Inherited from folderNode.)
Public methodAdd(folderStructure) (Inherited from folderNode.)
Public methodAdd(Enum, String, String)
Creates new folder node as subdirectory
(Inherited from folderNode.)
Public methodAdd(String, String, String)
Adds new node or nodes to correspond to specified path or name. pathOrName can be path like: path1\\path2\\path3
(Inherited from folderNode.)
Public methodAttach(DirectoryInfo, String, String, Boolean, Boolean, ILogBuilder)
Attaches sub directory, sets caption and description. If these are not specified, it will scan the directory for readme file. ScanReadMe(ILogBuilder)
(Inherited from folderNode.)
Public methodAttach(String, String, String, Boolean, Boolean, ILogBuilder)
Attaches sub directory, sets caption and description. If these are not specified, it will scan the directory for readme file. ScanReadMe(ILogBuilder)
(Inherited from folderNode.)
Public methodAttachSubfolders
Scans the File System for unregistered sub directories at this folder, and returns newly registered ones.
(Inherited from folderNode.)
Public methodContains
Determines whether it has a subdirectory under specified key. Important: it only accounts for already registered filesystem entries. Check: Attach(DirectoryInfo, String, String, Boolean, Boolean, ILogBuilder)
(Inherited from folderNode.)
Public methodCountAll
Gets the number of all registered subfolders in full subtree depth
(Inherited from folderNode.)
Public methodcreateDirectory
Creates the directory, child node and finds unique name if required
(Inherited from folderNode.)
Public methoddeleteFiles
Deletes all files, matching the selectionPattern in the folder and all sub folders if subfolders is true
(Inherited from folderNode.)
Public methodfindDirectories
Finds the directories - returns relative paths
(Inherited from folderNode.)
Public methodfindFile(String, SearchOption, Boolean)
Finds the file - and returns relative path. If not found returns emptry string
(Inherited from folderNode.)
Public methodfindFile(Boolean, String, SearchOption, Boolean)
Finds the file - and returns relative path
(Inherited from folderNode.)
Public methodfindFiles(IEnumerableString, SearchOption)
Collects all files for all patterns
(Inherited from folderNode.)
Public methodfindFiles(String, SearchOption, Boolean)
Finds the files - returns relative paths
(Inherited from folderNode.)
Public methodfindNodeTreeMatch
Detects subtree matches in the filesystem
(Inherited from folderNode.)
Public methodfindUniqueDirectoryName
Finds a unique directory name, for new directory to be created
(Inherited from folderNode.)
Public methodgenerateReadmeFiles
Generates the readme files for complete folder tree
(Inherited from folderNode.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from folderNode.)
Public methodOnPropertyChanged
Called when a property is changed.
(Inherited from dataBindableBase.)
Public methodpathFor
Returns path with filename specified. Optionally, sets fileDescription for directory readme generator
(Inherited from folderNode.)
Public methodpathMake
Returns properly compiled path, without file registration. This is alternative to pathFor(String, getWritableFileMode, String, Boolean)
(Inherited from folderNode.)
Public methodRegisterFile
Registers the file, with description provided. Later, this description is used for generateReadmeFiles(aceAuthorNotation, String, Int32) />
(Inherited from folderNode.)
Public methodRemove
Unregisteres an subfolder from the node. It will not delete actual directory from the file system
(Inherited from folderNode.)
Public methodSaveText
Saves the content string as text file. Returns path with filename specified. Optionally, sets fileDescription for directory readme generator
(Inherited from folderNode.)
Public methodScanReadMe
Searches for readme file (directory_readme_filename) in this folder and extracts: caption, description and list of files
(Inherited from folderNode.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from dataBindableBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodBuildDataShema
Builds the data table.
(Defined by PropertyDataStructureTools.)
Public Extension MethodbuildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder)Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String)Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTableVerticalSummaryTable
Builds the vertical table with all data
(Defined by DataTableBuilders.)
Public Extension MethodbuildPCE
Public Extension MethodbuildPropertyCollectionT
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.)
Public Extension MethodchangeValueAsInt32
Changes the value as int32.
(Defined by imbValueChangers.)
Public Extension MethodchangeValueDouble
Step je 0.01
(Defined by imbValueChangers.)
Public Extension MethodConstructTableWithRandomContent
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.)
Public Extension MethodDeleteFolder
Deletes the folder.
(Defined by fileTools.)
Public Extension MethodgetDataTypeSafe
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.)
Public Extension MethodGetDefaultValueT
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.)
Public Extension MethodgetDescriptionForDictionary
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.)
Public Extension MethodgetDictionaryFromMappedSource
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.)
Public Extension MethodGetDirectedGraph
Gets the directed graph from folderNode
(Defined by StaticConverters.)
Public Extension MethodgetEnumMemberPath
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.)
Public Extension MethodGetExpressionResolved
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.)
Public Extension MethodGetFileDescription (Defined by folderNodeFileDescriptorTools.)
Public Extension MethodgetPathForObject
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.)
Public Extension MethodgetPathForObjectAndParent
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.)
Public Extension MethodgetProperty
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.)
Public Extension MethodgetSPEC (Defined by imbTypeQueryExtensions.)
Public Extension MethodgetStringValue
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.)
Public Extension MethodGetUserManual
Generates property manual
(Defined by settingsEntriesTools.)
Public Extension MethodGetUserManualSaved
Gets the user manual saved:
(Defined by settingsEntriesTools.)
Public Extension MethodgetValuesFromMappedSource (Defined by propertyMappingTools.)
Public Extension MethodimbAttributeToProperties
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.)
Public Extension MethodimbConvertValueSafe
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.)
Public Extension MethodimbConvertValueSafeTypedT (Defined by imbTypeExtensions.)
Public Extension MethodimbGetAllProperties
Vraca sve propertije iz objekta koji su Public i Instance. Vraca i nasledjene propertije ali ako su pregazeni onda vraca samo najnoviji
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetAllValues
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetCodeMark (Defined by imbStringExtensions.)
Public Extension MethodimbGetPropertySafe(String, Object, String)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded. (Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafeT(PropertyInfo)Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbPropertyToString
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertyConvertSafe
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(String, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbToBoolean
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodimbToEnumeration(Type, Enum)Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToEnumerationTOverloaded. (Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToInstance
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumber(Type)Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumberT(Type)Overloaded. (Defined by imbTypeExtensions.)
Public Extension MethodisCoreColumn (Defined by PropertyEntryColumnExtensions.)
Public Extension MethodisNullOrEmpty (Defined by imbSciStringExtensions.)
Public Extension MethodisNullOrEmptyString
Proverava da li je input null, ako je string onda ga proverava kao string ako je neki drugi objekat onda ga predvara u string pa proverava
(Defined by imbSciStringExtensions.)
Public Extension MethodkeyToString (Defined by imbPropertyCollectionExtensions.)
Public Extension MethodrenderToTemplate
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.)
Public Extension MethodresolvePath(String, pathResolveFlag)Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.)
Public Extension MethodresolvePathT(String, pathResolveFlag)Overloaded.
(Defined by resourcePathResolver.)
Public Extension MethodsaveObjectToXML (Defined by objectSerialization.)
Public Extension MethodsetObjectByMappedSource
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsetObjectBySource
Sets the object by source.
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetObjectValueTypesBySource
Sets the object by source, but only ValueTypes and string and only properties declared at top inherence level. Returns dictionary with updated properties (only if value changed)
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetValuesToMappedTarget
Postavlja vednosti iz recnika u dati ciljani objekat - da bi bilo kompatibilno niz mora biti u istom rasporedu kao i u property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsumValues
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodtoExpressionString
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.)
Public Extension MethodtoStringSafeOverloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String)Overloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String, String)Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.)
Top
See Also