Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format changes.
  • Loading branch information
azabbasi committed Jun 17, 2020
commit 03474fcceebac7f0d81710fa8a24e3ddeebf8e46
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Azure.Iot.Hub.Service.Models;

Expand Down Expand Up @@ -121,32 +120,32 @@ public async Task<ModuleIdentity> CreateModuleIdentityAsync(DeviceIdentity devic
}
}

public Task InvokeMethodAsync()
public Task ListAllModulesAsync()
{
return Task.CompletedTask;
}

public Task ListAllModulesAsync()
public Task GetModuleIdentityAsync()
{
return Task.CompletedTask;
}

public Task UpdateModuleTwinAsync()
public Task UpdateModuleIdentityAsync()
{
return Task.CompletedTask;
}

public Task GetModuleTwinAsync()
{
return Task.CompletedTask;
}
}

public Task UpdateModuleIdentityAsync()
public Task UpdateModuleTwinAsync()
{
return Task.CompletedTask;
}

public Task GetModuleIdentityAsync()
public Task InvokeMethodAsync()
{
return Task.CompletedTask;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ internal static void PrintSuccessfulEvent(string message)
Console.ResetColor();
}

internal static void PrintUnsuccessfulEvent(string message)
internal static void PrintWarning(string message)
{
Console.ForegroundColor = ConsoleColor.Red;
Console.ForegroundColor = ConsoleColor.DarkYellow;
Console.WriteLine($"\n{message}");
Console.ResetColor();
}
Expand Down