|
Dec
7 |
|
awarded | Popular Question |
|
Aug
23 |
|
comment |
Implement INotifyCollectionChanged on a service or INotifyPropertyChanged is fine? I've designed an ObservableList<T> that inherits from ObservableCollection<T> with support for an AddRange method that will raise a single CollectionChanged event and wrapped it in a ReadOnlyObservableCollection<T> object which I have made publicly available in my service from a property. Worked just great, thanks again for the answer! |
|
Aug
23 |
|
accepted | Implement INotifyCollectionChanged on a service or INotifyPropertyChanged is fine? |
|
Aug
23 |
|
comment |
Implement INotifyCollectionChanged on a service or INotifyPropertyChanged is fine? Thanks for you answer! While I was dinning I was thinking in moving the add/remove/clear/addrange to a specific property, just like you did, instead of reimplementing all the methods. The problem comes when thread safety is an issue, but I think I can lock around inside the Get accessor to return the reference to the ObservableCollection instance. Thanks mate! |
|
Aug
23 |
|
asked | Implement INotifyCollectionChanged on a service or INotifyPropertyChanged is fine? |
|
Jul
23 |
|
comment |
C# - Creating and managing application specific project files Even before trying to figure out how to implement a different solution, I decided to go for serialization of the settings class. In this particular case, I decided to use the BinaryFormatter, instead of the XmlSerializer class, which also works great with interfaces and all those hard to deal with nonserializable classes, like dictionaries and so on. Finally, I'm grateful for the wise words, those which I shall remind myself from now on when I face situations of doubt like this. Thanks! |
|
Jul
23 |
|
accepted | C# - Creating and managing application specific project files |
|
Jul
22 |
|
comment |
C# - Creating and managing application specific project files I've had forgot about Entity Framework, I'll take a look at it! Still I'll be waiting for a few other suggestions before deciding which implementation to use. Thanks! |
|
Jul
22 |
|
comment |
C# - Creating and managing application specific project files I really liked when you said "Don't introduce complexity where you don't need it" but it comes down to the ease of (un)serializing an settings object. Sometimes serializing a framework class is not possible and that's what happens with Uri, Dictionaries, Lists and many other types. The System.Configuration.Configuration class can easily serialize those kind of nonserializable classes, but then again it would tie the code arround concrete classes too much. Thanks anyways! |
|
Jul
22 |
|
asked | C# - Creating and managing application specific project files |
|
May
9 |
|
awarded | Teacher |
|
May
9 |
|
answered | How do I discover which function is called when I press a button? |
|
May
10 |
|
accepted | How can I capture an URL or HTTP request and redirect it using C# |
|
May
10 |
|
awarded | Commentator |
|
May
10 |
|
comment |
How can I capture an URL or HTTP request and redirect it using C# It looks like exactly what I need. Just need to play around with it a little and read its documentation. Thanks a lot for all your efforts in helping me, even with the unclear question. Thanks! |
|
May
10 |
|
revised |
How can I capture an URL or HTTP request and redirect it using C# added 352 characters in body |
|
May
10 |
|
comment |
How can I capture an URL or HTTP request and redirect it using C# Thanks for efforts. In fact, I needed to build an application that could somehow be "attached" to and hijack an existing connection between the already developed application and the data server so it could listen and modify the data sent through this connection. I know its hard to accomplish in a high level language like c# but I just wanted to make sure. |
|
May
10 |
|
asked | How can I capture an URL or HTTP request and redirect it using C# |
|
Dec
9 |
|
awarded | Tumbleweed |
|
Dec
2 |
|
asked | Check for a directory inside a subdirectory dynamically |