CrosRoad95
CrosRoad95
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
yes
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
When i run project it run it in different folder than project
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
No description
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
And this is not config file... i can't use appsettings
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
But i want at runtime know when file changed
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
this is not config file, rather script
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
Because next to this file is my "file.txt" i want to watch using file watcher
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
project where .csproj file is
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
Is there any magic variable like "ProjectPath"?
41 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
i just posted minimal code, i'm attaching events. i want to refactor this: string outputDirectory = AppDomain.CurrentDomain.BaseDirectory; string projectDirectory = Directory.GetParent(outputDirectory).Parent.Parent.Parent.FullName; // Navigate to the project folder
41 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
I tried few moments ago achieve it using exrpessions, basicly turn graphs into expressions
28 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
Also looking for reference how make such thing
28 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
No description
28 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
@Kaenguruu24 what library do you use to create, execute graphs? i'm looking for library where i can create graphs like your, i don't need visual part of graph, i will code it myself
28 replies
CC#
Created by CrosRoad95 on 2/11/2024 in #help
Thread safe moving value between two objects
Maybe 🤔
23 replies
CC#
Created by CrosRoad95 on 2/11/2024 in #help
Thread safe moving value between two objects
What do you think about pattern like this ^
23 replies
CC#
Created by CrosRoad95 on 2/11/2024 in #help
Thread safe moving value between two objects
{
using var lk1 = foo1.EnterWrite();
using var lk2 = foo2.EnterWrite();
// Change amount
}
{
using var lk1 = foo1.EnterWrite();
using var lk2 = foo2.EnterWrite();
// Change amount
}
23 replies
CC#
Created by CrosRoad95 on 2/11/2024 in #help
Thread safe moving value between two objects
Had idea to introduce some helper method like public IDisposable EnterWrite() that i can lock object from outside
23 replies
CC#
Created by CrosRoad95 on 2/11/2024 in #help
Thread safe moving value between two objects
But, items can be stacked across inventories so i endup with same issue just level highier
23 replies