public static PSDeviceTwin ToPSDeviceTwin(Twin deviceTwin) { return(IotHubUtils.ConvertObject <Twin, PSDeviceTwin>(deviceTwin)); }
public static PSModule ToPSModule(Module module) { return(IotHubUtils.ConvertObject <Module, PSModule>(module)); }
public static IEnumerable <PSModules> ToPSModules(IEnumerable <Module> modules) { return(IotHubUtils.ConvertObject <IEnumerable <Module>, IEnumerable <PSModules> >(modules.ToList())); }
public static IEnumerable <PSDevices> ToPSDevices(IEnumerable <Device> devices) { return(IotHubUtils.ConvertObject <IEnumerable <Device>, IEnumerable <PSDevices> >(devices.ToList())); }
public static PSDevice ToPSDevice(Device device) { return(IotHubUtils.ConvertObject <Device, PSDevice>(device)); }
public static Module ToModule(PSModule psModule) { return(IotHubUtils.ConvertObject <PSModule, Module>(psModule)); }
public static Device ToDevice(PSDevice psDevice) { return(IotHubUtils.ConvertObject <PSDevice, Device>(psDevice)); }
public static PSModuleTwin ToPSModuleTwin(Twin moduleTwin) { return(IotHubUtils.ConvertObject <Twin, PSModuleTwin>(moduleTwin)); }