Table of Contents

Class FakeClassStructureInfo

Namespace
CMS.Tests
Assembly
CMS.Tests.dll

Class structure info for testing purposes

public class FakeClassStructureInfo : ClassStructureInfo
Inheritance
object
FakeClassStructureInfo
Derived
Inherited Members
Extension Methods

Constructors

FakeClassStructureInfo(InfoFakeSettings)

Constructor

public FakeClassStructureInfo(InfoFakeSettings settings)

Parameters

settings InfoFakeSettings

Fake settings

Fields

NestedClasses

Nested class structures

public List<ClassStructureInfo> NestedClasses

Field Value

List<ClassStructureInfo>

Properties

ClassName

Class name.

public string ClassName { get; set; }

Property Value

string

ClassType

Class type

public Type ClassType { get; protected set; }

Property Value

Type

IDColumn

ID column name.

public string IDColumn { get; set; }

Property Value

string

Methods

AddNestedClass(ClassStructureInfo)

Adds the nested class to this class structure info

public void AddNestedClass(ClassStructureInfo nested)

Parameters

nested ClassStructureInfo

Nested class

GetNewDataSet()

Gets new data structure for class data as a DataSet.

public override DataSet GetNewDataSet()

Returns

DataSet

IncludeColumns(Type)

Includes the columns from the given type

public void IncludeColumns(Type type)

Parameters

type Type

Type from which the columns should be collected

RegisterColumn(string, Type)

Registers the given column within the structure info

public void RegisterColumn(string colName, Type colType)

Parameters

colName string

Column name

colType Type

Column type