mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use explicit public access modifier in C# code
This commit is contained in:
parent
1ce3101fbc
commit
9993438a9e
7 changed files with 19 additions and 19 deletions
|
|
@ -4,7 +4,7 @@ namespace GodotTools.IdeMessaging
|
|||
{
|
||||
public interface IHandshake
|
||||
{
|
||||
string GetHandshakeLine(string identity);
|
||||
bool IsValidPeerHandshake(string handshake, [NotNullWhen(true)] out string? identity, ILogger logger);
|
||||
public string GetHandshakeLine(string identity);
|
||||
public bool IsValidPeerHandshake(string handshake, [NotNullWhen(true)] out string? identity, ILogger logger);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ namespace GodotTools.IdeMessaging
|
|||
{
|
||||
public interface ILogger
|
||||
{
|
||||
void LogDebug(string message);
|
||||
void LogInfo(string message);
|
||||
void LogWarning(string message);
|
||||
void LogError(string message);
|
||||
void LogError(string message, Exception e);
|
||||
public void LogDebug(string message);
|
||||
public void LogInfo(string message);
|
||||
public void LogWarning(string message);
|
||||
public void LogError(string message);
|
||||
public void LogError(string message, Exception e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ namespace GodotTools.IdeMessaging
|
|||
{
|
||||
public interface IMessageHandler
|
||||
{
|
||||
Task<MessageContent> HandleRequest(Peer peer, string id, MessageContent content, ILogger logger);
|
||||
public Task<MessageContent> HandleRequest(Peer peer, string id, MessageContent content, ILogger logger);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -281,13 +281,13 @@ namespace GodotTools.OpenVisualStudio
|
|||
private interface IOleMessageFilter
|
||||
{
|
||||
[PreserveSig]
|
||||
int HandleInComingCall(int dwCallType, IntPtr hTaskCaller, int dwTickCount, IntPtr lpInterfaceInfo);
|
||||
public int HandleInComingCall(int dwCallType, IntPtr hTaskCaller, int dwTickCount, IntPtr lpInterfaceInfo);
|
||||
|
||||
[PreserveSig]
|
||||
int RetryRejectedCall(IntPtr hTaskCallee, int dwTickCount, int dwRejectType);
|
||||
public int RetryRejectedCall(IntPtr hTaskCallee, int dwTickCount, int dwRejectType);
|
||||
|
||||
[PreserveSig]
|
||||
int MessagePending(IntPtr hTaskCallee, int dwTickCount, int dwPendingType);
|
||||
public int MessagePending(IntPtr hTaskCallee, int dwTickCount, int dwPendingType);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue