C# Class Sitecore.FakeDb.DbTemplate

Inheritance: IEnumerable
Afficher le fichier Open project: sergeyshushlyapin/Sitecore.FakeDb Class Usage Examples

Private Properties

Свойство Type Description
DbTemplate System.Linq

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DbTemplate ( string name, ID id, ID templateId ) : System.Linq

Method Details

Add() public méthode

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.
Résultat void

Add() public méthode

Adds a field with a specific id and auto-generated name.
public Add ( ID id ) : void
id ID The field id.
Résultat void

Add() public méthode

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.
Résultat void

Add() public méthode

Adds a field with a specific name and auto-generated id.
public Add ( string fieldName ) : void
fieldName string The field name.
Résultat void

Add() public méthode

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.
Résultat void

DbTemplate() public méthode

Initializes a new instance of the DbTemplate class with auto-generated name and id.
public DbTemplate ( ) : System.Linq
Résultat System.Linq

DbTemplate() public méthode

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.
Résultat System.Linq

DbTemplate() public méthode

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.
Résultat System.Linq

DbTemplate() public méthode

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.
Résultat System.Linq