11namespace ColumnizerLib ;
22
3- public class Column : IColumn
3+ public class Column : IColumnMemory
44{
5+ //TODO Memory Functions need implementation
56 #region Fields
67
78 private const string REPLACEMENT = "..." ;
@@ -49,9 +50,9 @@ static Column ()
4950
5051 #region Properties
5152
52- public static IColumn EmptyColumn { get ; }
53+ public static IColumnMemory EmptyColumn { get ; }
5354
54- public IColumnizedLogLine Parent { get ; set ; }
55+ public IColumnizedLogLineMemory Parent { get ; set ; }
5556
5657 public string FullValue
5758 {
@@ -75,6 +76,19 @@ public string FullValue
7576
7677 public string Text => DisplayValue ;
7778
79+ public IColumnizedLogLineMemory ParentMemory { get ; }
80+
81+ public ReadOnlyMemory < char > FullValueMemory
82+ {
83+ get ;
84+ set ; //implement
85+ }
86+
87+ public ReadOnlyMemory < char > DisplayValueMemory { get ; }
88+
89+ public ReadOnlyMemory < char > TextMemory { get ; }
90+ IColumnizedLogLine IColumn . Parent { get ; }
91+
7892 #endregion
7993
8094 #region Public methods
@@ -99,12 +113,12 @@ public static void SetMaxDisplayLength (int maxLength)
99113 /// </summary>
100114 public static int GetMaxDisplayLength ( ) => _maxDisplayLength ;
101115
102- public static Column [ ] CreateColumns ( int count , IColumnizedLogLine parent )
116+ public static Column [ ] CreateColumns ( int count , IColumnizedLogLineMemory parent )
103117 {
104118 return CreateColumns ( count , parent , string . Empty ) ;
105119 }
106120
107- public static Column [ ] CreateColumns ( int count , IColumnizedLogLine parent , string defaultValue )
121+ public static Column [ ] CreateColumns ( int count , IColumnizedLogLineMemory parent , string defaultValue )
108122 {
109123 var output = new Column [ count ] ;
110124
0 commit comments