Examples of using Ikc5.Prism.Settings

This post describes an example of the using NuGet packages under the common title Ikc5.Prism.Settings: Ikc5.Prism.Settings.Library, Ikc5.Prism.Settings.Module and Ikc5.Prism.Settings.Application. These packages allow manipulate user settings in Prism applications and serialize/deserialize them in xml files. All package contains the same library and last two packages add models, view models and views to the project. Full code… Read More Examples of using Ikc5.Prism.Settings

NuGet packages Ikc5.Prism.Settings

In this post I would like to announce three NuGet packages under the common title Ikc5.Prism.Settings: Ikc5.Prism.Settings.Library, Ikc5.Prism.Settings.Module and Ikc5.Prism.Settings.Application. These packages allow manipulate user settings in Prism applications and serialize/deserialize them in xml files. All package contains the same library and last two packages add models, view models and views to the project. The… Read More NuGet packages Ikc5.Prism.Settings

Examples of using Ikc5.TypeLibrary

This post lists examples of the using classes from NuGet package Ikc5.TypeLibrary. Full code is accessible on GitHub Blog repository. static class TypeExtensions Class contains the extensions that manipulate DefaultValueAttribute and properties through reflection. bool SetDefaultValue(this object thisObject, string propertyName) Method sets value to the property from DefaultValue attribute or do nothing if the attribute… Read More Examples of using Ikc5.TypeLibrary

NuGet package Ikc5.TypeLibrary

In this post I would like to announce my first NuGet package, Ikc5.TypeLibrary. The library contains the extension class with methods that manipulate with properties that has DefaultValueAttribute and copy values of properties between objects, and the service that provides lite object with public properties from parent object. The package is open-source project, full code… Read More NuGet package Ikc5.TypeLibrary

Xunit and dynamic

Working with XML serialization, I need to create object with several public properties taken from complex “parent” object, and its class is created on the fly via reflection. Full code is accessible on GitHub Blog repository. The following MSDN’s topic contains an example of the creating dynamic class with public property. Let me list sample code that creates… Read More Xunit and dynamic