C# Class Rock.Model.FieldTypeService

Service/Data Access class for Rock.Model.FieldType entity objects.
Exibir arquivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method 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 method

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.
return Rock.Model.FieldType

GetByName() public method

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

GetGuid() public method

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

RegisterFieldTypes() public static method

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