Class PreviewColumn
Inheritance
System.Object
PreviewColumn
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.Import
Assembly: TimeCockpit.Data.Import.dll
Syntax
public class PreviewColumn
Constructors
PreviewColumn(String, IEnumerable<String>, Type)
Declaration
public PreviewColumn(string name, IEnumerable<string> sampleValues, Type typeHint)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.Collections.Generic.IEnumerable<System.String> | sampleValues | |
| System.Type | typeHint |
Properties
AllSampleValues
Declaration
public string AllSampleValues { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SampleValues
Declaration
public IEnumerable<string> SampleValues { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.String> |
TypeHint
Declaration
public Type TypeHint { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Methods
Read(JObject)
Declaration
public static PreviewColumn Read(JObject json)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | json |
Returns
| Type | Description |
|---|---|
| PreviewColumn |
Write(JsonWriter, PreviewColumn)
Declaration
public static void Write(JsonWriter writer, PreviewColumn column)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonWriter | writer | |
| PreviewColumn | column |