Sir Rufo
Sir Rufo
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
😉
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
If you got your answer, why not. It is your question
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
😉
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
Because you used it all the time
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
😁
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
Then you do know that fact of that partial class
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
Did you ever uses the ObservableProperty attribute and the generated property?
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
You are using the mvvm toolkit?
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
There is no difference if you put it all together in one file/declaration or in parts - it is the same - so you can reference any property, field or method from any of the parts
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
As a very long story you write down in four books. It is one story
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
you have not multiple classes with partial. it is one and only one class - it is only the declaration of this one and unique class that is split in several parts
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
It is one class - only the declaration has several parts
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
The runtime will not know if the class was a partial class
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
No, it is only syntax sugar - internally it will be merged together and gets compiled
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
A partial class can be written in as many files as you like
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
You asked for more code readability and putting them at the bottom ... I told you how you can separate them even in another file
49 replies
CC#
Created by ChaChaCha on 7/25/2024 in #help
MVVM toolkit receive method of messaging service
You can use partial class
c#
public partial class Foo
{
// define your class
}

public partial class Foo : IRecipient<BarMessage>
{
public void Receive( BarMessage message )
{
// do whatever you like
}
}
c#
public partial class Foo
{
// define your class
}

public partial class Foo : IRecipient<BarMessage>
{
public void Receive( BarMessage message )
{
// do whatever you like
}
}
49 replies
CC#
Created by stigzler on 5/1/2024 in #help
WPF - how to incorporate existing code into a Content Control
2 replies
CC#
Created by Akama Aka on 2/19/2024 in #help
Windows Worker Service times out
If you want an interaction you need two instances/applications and one has to run in the context of the current user which will communicate with the service and do the interaction with the user
144 replies
CC#
Created by Akama Aka on 2/19/2024 in #help
Windows Worker Service times out
It does not matter what it "only" should do - you simply can not have interaction from a service to the desktop. period.
144 replies