Rock.Model.DeviceService.GetByDeviceTypeGuid C# (CSharp) Method

GetByDeviceTypeGuid() public method

Returns a queryable collection of Rock.Model.Device">Devices by the Guid of their Device Type
public GetByDeviceTypeGuid ( System.Guid guid ) : IQueryable
guid System.Guid A representing the unique identifier of the Device's Device Type
return IQueryable
        public IQueryable<Device> GetByDeviceTypeGuid( Guid guid )
        {
            return Queryable().Where( d => d.DeviceType.Guid == guid );
        }