Rock.Model.FieldTypeService.GetByGuid C# (CSharp) Method

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
        public Rock.Model.FieldType GetByGuid( Guid guid )
        {
            return Queryable().FirstOrDefault( t => t.Guid == guid );
        }