Steak
Steak
CC#
Created by Steak on 3/2/2024 in #help
[GIthub] Package that is not open source but with Public Visibility?
Hello, I want to create a small library as a package (lets say nuget or unity package manager), However I dont want my code to be open source (distributed as assembly .dll) with Public Repository in Github. Is it legal to do this?
22 replies
CC#
Created by Steak on 2/26/2023 in #help
❔ Wrapping Conditional Attribute
Is There a way to wrap Conditional attribute, so I wouldn't have to declare Conditional Attribute all over?
[Conditional("RELEASE")]
[AttributeUsage(AttributeTargets.Method)]
public class UnExecuteableAttribute : Attribute { }
[Conditional("RELEASE")]
[AttributeUsage(AttributeTargets.Method)]
public class UnExecuteableAttribute : Attribute { }
❌❌❌
[Conditional("CLIENT")]
private void Execute() { }
[Conditional("CLIENT")]
private void Execute() { }
✅✅✅
[UnExecuteable]
private void Execute() { }
[UnExecuteable]
private void Execute() { }
18 replies
CC#
Created by Steak on 10/15/2022 in #help
Matchmaking Connection
Hello, Im building a Matchmaking Server: built on ASP. NET WebAPI Im confused to choose between HTTP (REST) or TCP Client/Listener Client will start issue MM Ticket, then Keep Get MM Status each interval in order to keep ticket alive VS Client will establish Tcp Connection to Server, Server will return MM Status when needed
36 replies
CC#
Created by Steak on 10/8/2022 in #help
Blazor Re-render [SOLVED]
Hello, I have a property stored in static class, and I would like to re-render some components that use this Property. I tried to use event Action on to call StateHasChanged on OnInitialized, but throw me error instead. whats the best way to achieve this?
7 replies