Παρουσίαση με Ετικέτες

HowTo: Use MEF to implement import/export etc. plugin architecture
03 Ιουνίου 15 01:13 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my comment at a discussion on the GraphX project: https://github.com/panthernet/GraphX/pull/15 in case it helps somebody in using MEF (Managed Extensibility Framework) in their software’s architecture ——– Using static classes instead of interfaces can mean though that you need to use reflection to call them (e.g. if you wan to have a list of […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
.NET String extension methods to check for array of prefixes or suffixes
05 Απριλίου 13 10:51 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Seems StartsWith and EndsWith methods of String class in .NET are missing a version that accepts multiple (as an array) prefixes or suffixes respectively when testing the string. To achieve this I just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static bool [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
.NET String class extensions to replace prefix or suffix
26 Μαρτίου 13 05:47 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static string ReplacePrefix( this string s, string fromPrefix, string toPrefix, StringComparison comparisonType) { return (s.StartsWith(fromPrefix, comparisonType)) ? toPrefix + s.Substring(fromPrefix.Length) : s; } public static string ReplacePrefix( this string s, string[] fromPrefix, string toPrefix, [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Make Project Linker extension’s VSIX install at Visual Studio 2012
27 Νοεμβρίου 12 10:24 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Single statement ScaleTransform initialization in both WPF and SL
11 Αυγούστου 12 06:32 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
With Silverlight using a cut-down .NET API, some decisions have been at least ackward, causing Silverlight code to be sometimes unnecesserily more complex than its WPF counterpart and WPF code needing several changes to get ported for Silverlight. In ClipFlair I’ve implemented a WPFCompatibility layer to ease compiling WPF code for Silverlight (and vice-versa too) [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
How to compile code that uses WPF Decorator type in Silverlight
04 Ιουλίου 12 09:57 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair I’m using a modified version of FloatingWindow control, where I try to make the WPF and Silverlight flavours of the original control share as much code as possible (this is work in progress currently, hoping to eventually have the WPF and Silverlight projects both link to the same source files [this is currently [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές