SimpleIniFileEntry Class

Component of SimpleIniFile.

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public class SimpleIniFileEntry
Inheritance
Object    SimpleIniFileEntry

Constructors

SimpleIniFileEntry Initializes a new instance of the SimpleIniFileEntry class

Properties

Changed  
CommentOnly  
Count  
DirectComment  
DoSyncing  
Filename  
InUse  
Key  
Note  
Original  
ParaSep  
PostComment  
PostCommentNL  
PreComment  
Separator  
Value  
ValueAsString  
Values Gets and allows to update multi-values. .Add(), .AddEntries(), .ReplaceEntries() etc. for updating. But no direct assignment of a new value.

Methods

AsT(FuncT) int i = e.ParseAs>int<(); bool i = e.ParseAs>bool<(); etc.
AsT(T) int i = e.ParseAs>int<(); bool i = e.ParseAs>bool<(); etc.
AsT(String)  
AsArrayOfT multi value ...
AsEnumerableOfT multi value ...
AsFormat Read as format string, and convert from a format specifier when needed.
AsListOfT multi value ...
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromCapture  
FromRawString  
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
LikeT Explicitly use type for returned value from fallback value.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ParseAsT(FuncT)  
ParseAsT(T) int i = e.ParseAs>int<(); bool i = e.ParseAs>bool<(); etc.
ParseAsT(String)  
ParseAsEnumerableOfT multi value ...
ParseAsRelationListOf  
ParseAsRelationListOfT1, T2 value is relation type, offer it in a useful way.
ReSet  
SetFromCapture  
SetFromOther Copy from another entry.
SetFromRawString Set entry data from raw value string or raw line.
ToString Returns a string that represents the current object.
(Overrides ObjectToString)
ToString(Boolean) Returns a string that represents the current object.
ValuesToString Combines multi values into a value string.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)
OnT Like .As>T<(x) and .Like(x) but works also for unknown (null) entries.
(Defined by IniReaderExt)

See Also