C# Class Sitecore.FakeDb.DbTemplate

Inheritance: IEnumerable
Mostrar archivo Open project: sergeyshushlyapin/Sitecore.FakeDb Class Usage Examples

Private Properties

Property Type Description
DbTemplate System.Linq

Public Methods

Method 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

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

Method Details

Add() public method

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.
return void

Add() public method

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

Add() public method

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.
return void

Add() public method

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

Add() public method

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.
return void

DbTemplate() public method

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

DbTemplate() public method

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.
return System.Linq

DbTemplate() public method

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.
return System.Linq

DbTemplate() public method

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.
return System.Linq