C# Класс Sitecore.FakeDb.DbTemplate

Наследование: IEnumerable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DbTemplate System.Linq

Открытые методы

Метод Описание
Add ( DbField field, string standardValue ) : void

Adds a specific field with a Standard Value.

Add ( ID id ) : void

Adds a field with a specific id and auto-generated name.

Add ( ID id, string standardValue ) : void

Adds a field with a specific id and Standard Value.

Add ( string fieldName ) : void

Adds a field with a specific name and auto-generated id.

Add ( string fieldName, string standardValue ) : void

Adds a field with a specific name and Standard Value.

DbTemplate ( ) : System.Linq

Initializes a new instance of the DbTemplate class with auto-generated name and id.

DbTemplate ( ID id ) : System.Linq

Initializes a new instance of the DbTemplate class with a specific id and auto-generated name.

DbTemplate ( string name ) : System.Linq

Initializes a new instance of the DbTemplate class with a specific name and auto-generated id.

DbTemplate ( string name, ID id ) : System.Linq

Initializes a new instance of the DbTemplate class with a specific name and id.

Приватные методы

Метод Описание
DbTemplate ( string name, ID id, ID templateId ) : System.Linq

Описание методов

Add() публичный Метод

Adds a specific field with a Standard Value.
public Add ( DbField field, string standardValue ) : void
field DbField The field.
standardValue string The field standard value.
Результат void

Add() публичный Метод

Adds a field with a specific id and auto-generated name.
public Add ( ID id ) : void
id ID The field id.
Результат void

Add() публичный Метод

Adds a field with a specific id and Standard Value.
public Add ( ID id, string standardValue ) : void
id ID The field id.
standardValue string The field standard value.
Результат void

Add() публичный Метод

Adds a field with a specific name and auto-generated id.
public Add ( string fieldName ) : void
fieldName string The field name.
Результат void

Add() публичный Метод

Adds a field with a specific name and Standard Value.
public Add ( string fieldName, string standardValue ) : void
fieldName string The field name.
standardValue string The field standard value.
Результат void

DbTemplate() публичный Метод

Initializes a new instance of the DbTemplate class with auto-generated name and id.
public DbTemplate ( ) : System.Linq
Результат System.Linq

DbTemplate() публичный Метод

Initializes a new instance of the DbTemplate class with a specific id and auto-generated name.
public DbTemplate ( ID id ) : System.Linq
id ID The template id.
Результат System.Linq

DbTemplate() публичный Метод

Initializes a new instance of the DbTemplate class with a specific name and auto-generated id.
public DbTemplate ( string name ) : System.Linq
name string The template name.
Результат System.Linq

DbTemplate() публичный Метод

Initializes a new instance of the DbTemplate class with a specific name and id.
public DbTemplate ( string name, ID id ) : System.Linq
name string The template name.
id ID The template id.
Результат System.Linq