8abb7228 4760 3466 f8d8 1bac378b4e7b - akesseler/Plexdata.CsvParser GitHub Wiki

CsvContainer Methods

The CsvContainer type exposes the following members.

Methods

 

Name Description
Private method ChangeColumn Changes the whole content of affected column.
Public method Contains Determines whether a particular header is in the container.
Private methodStatic member CreateDefaultSettings Creates an instance of class CsvSettings and initializes it with relevant default values.
Private methodStatic member CreateInitialContent Creates an initial content according to provided width and length.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetColumnIndex This method tries to determine the column for provided header.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Private method GetObject This method simply tries to convert provided string into its expected object representation.
Public method GetTransformedContent Gets the transformed content of this container.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue(Int32, Int32, Type) This method gets the type-save value for provided column and at specified index taking provide type into account.
Public method GetValue(String, Int32, Type) This method gets the type-save value for provided header and at specified index taking provide type into account.
Public method GetValue(TType)(Int32, Int32) This method gets the type-save value for provided column and at specified index.
Public method GetValue(TType)(String, Int32) This method gets the type-save value for provided header and at specified index.
Private method IsValid Determines whether source list is valid.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetValue(Object, Int32, Int32) Sets provided value at field referenced by column and index.
Public method SetValue(Object, String, Int32) Sets provided value at field referenced by header and index.
Public method SetValue(TType)(TType, Int32, Int32) Sets provided value of type TType at field referenced by column and index.
Public method SetValue(TType)(TType, String, Int32) Sets provided value of type TType at field referenced by header and index.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Private methodCode example Transform This method transforms line-oriented content into its column-oriented representation.
Public method TryGetValue(Int32, Int32, Type) This method tries to get the type-save value for provided column an at specified index taking provide type into account.
Public method TryGetValue(String, Int32, Type) This method tries to get the type-save value for provided header an at specified index taking provide type into account.
Public method TryGetValue(TType)(Int32, Int32) This method tries to get the type-save value for provided column an at specified index.
Public method TryGetValue(TType)(String, Int32) This method tries to get the type-save value for provided header an at specified index.
Public method TrySetValue(Object, Int32, Int32) Tries to set provided value at field referenced by column and index.
Public method TrySetValue(Object, String, Int32) Tries to set provided value at field referenced by header and index.
Public method TrySetValue(TType)(TType, Int32, Int32) Tries to set provided value of type TType at field referenced by column and index.
Public method TrySetValue(TType)(TType, String, Int32) Tries to set provided value of type TType at field referenced by header and index.
  Back to Top

Extension Methods

 

Name Description
Private Extension Method GetColumn Gets the zero-based index of a column that is referenced by provided header. (Defined by CsvContainerExtension.)
Public Extension Method Serialize() Overloaded.
Serializes the content of provided CsvContainer into a string. (Defined by CsvContainerExtension.)
Public Extension Method Serialize(CsvSettings) Overloaded.
Serializes the content of provided CsvContainer into a string using provided settings. (Defined by CsvContainerExtension.)
Public Extension Method Sort(String, SortOrder) Overloaded.
Sorts the container by column referenced by provided header and in provided sort order. (Defined by CsvContainerExtension.)
Public Extension Method Sort(Int32, SortOrder) Overloaded.
Sorts the container by referenced column and in provided sort order. (Defined by CsvContainerExtension.)
  Back to Top

See Also

Reference

CsvContainer Class
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️