示例#1
0
 /// <summary>
 /// Gets an instance of <see cref="IGenericDevice" /> for
 /// the device with the specified ID.
 /// </summary>
 /// <param name="deviceId">
 /// The <see cref="Guid" /> of the device to get,
 /// valid IDs can be found in <see cref="Devices" />.
 /// </param>
 /// <returns>An instance of <see cref="IGenericDevice" />.</returns>
 public IGenericDevice Get(Guid deviceId)
 {
     Log.DebugFormat("Device {0} requested", deviceId);
     return(GenericDevice.Get(deviceId));
 }
示例#2
0
 /// <summary>
 /// Gets an instance of <see cref="IGenericDevice" /> for
 /// the device with the specified ID.
 /// </summary>
 /// <param name="deviceId">
 /// The <see cref="Guid" /> of the device to get,
 /// valid IDs can be found in <see cref="Devices" />.
 /// </param>
 /// <returns>An instance of <see cref="IGenericDevice" />.</returns>
 public IGenericDevice Get(Guid deviceId)
 {
     return(GenericDevice.Get(deviceId));
 }