C# Class Rock.Model.FieldTypeService

Service/Data Access class for Rock.Model.FieldType entity objects.
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetByGuid ( System.Guid guid ) : Rock.Model.FieldType

Returns a Rock.Model.FieldType by its Guid identifier.

GetByName ( string name ) : IQueryable

Returns an enumerable collection of FieldTypes by Name.

GetGuid ( int id ) : Guid?

Gets the Guid for the FieldType that has the specified Id

RegisterFieldTypes ( string physWebAppPath ) : void

Gets a list of all Rock.Model.FieldType">FieldTypes (all items that implement the FieldTypes that have not been previously registered.

Method Details

GetByGuid() public méthode

Returns a Rock.Model.FieldType by its Guid identifier.
public GetByGuid ( System.Guid guid ) : Rock.Model.FieldType
guid System.Guid A representing the Guid identifier of the to retrieve.
Résultat Rock.Model.FieldType

GetByName() public méthode

Returns an enumerable collection of FieldTypes by Name.
public GetByName ( string name ) : IQueryable
name string A represents the Name of the FieldType(s) to retrieve.
Résultat IQueryable

GetGuid() public méthode

Gets the Guid for the FieldType that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
Résultat Guid?

RegisterFieldTypes() public static méthode

Gets a list of all Rock.Model.FieldType">FieldTypes (all items that implement the FieldTypes that have not been previously registered.
public static RegisterFieldTypes ( string physWebAppPath ) : void
physWebAppPath string A representing the physical path of the web application.
Résultat void