c# Programming Glossary: mycustomclass
Two Way Data Binding With a Dictionary in WPF http://stackoverflow.com/questions/800130/two-way-data-binding-with-a-dictionary-in-wpf use an ObservableCollection int Custom Class public class MyCustomClass public string Key get set public int Value get set Set ItemsSource.. int Value get set Set ItemsSource ObservableCollection MyCustomClass dict new ObservableCollection MyCustomClass dict.Add new MyCustomClass.. MyCustomClass dict new ObservableCollection MyCustomClass dict.Add new MyCustomClass Key test Value 1 dict.Add new MyCustomClass..
How to use Custom Serialization or Deserialization in WCF to force a new instance on every property of a datacontact ? http://stackoverflow.com/questions/8084868/how-to-use-custom-serialization-or-deserialization-in-wcf-to-force-a-new-instanc Here is my sample code. namespace MySpace public class MyCustomClass public string MyStrData get set DataContract public class Data.. class Data DataMember public int mInt DataMember public MyCustomClass MyCustonObj OnDeserialized void OnDeserialized StreamingContext.. StreamingContext c if MyCustonObj null MyCustonObj new MyCustomClass MyCustonObj.MyStrData Overridden in serialization OnDeserializing..
|