Recent snippets

Popular snippets

  • get the list of LAN Sql servers

    get the list of ethernet sql servers

    90 people like this

    Posted: 15 years ago by nCdy

  • FSX Structure

    I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.

    127 people like this

    Posted: 15 years ago by Blake Coverett

  • Chain of responsibility II

    Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.

    105 people like this

    Posted: 14 years ago by Tao Liu

  • WPF / SilverLight Converter II

    version 1 is http://fssnip.net/62. This new version support convert from any existing function to a converter function by using composition and pipeline. The convert function is to make the function signature agree to the IValueConverter interface. You can add new functions in the FunctionLibrary module and reuse the class definition to reduce the coding effort. The first sample is to show how to make the converter pipeline work, the second one is a debugger converter used to debug the data binding problem.

    91 people like this

    Posted: 14 years ago by Tao Liu

  • Dynamic operator using Reflection

    Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.

    74 people like this

    Posted: 14 years ago by Tomas Petricek

  • Command pattern for Redo-Undo II

    This command redo-undo implement group the command under Do/Undo category.

    71 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

algorithms (25) recursion (33) f# (43) seq (54) tutorial (17) computation expression (15) list (56) string (29) async (98) silverlight (22) kata (17) lists (15) staging (18) parsing (28) wpf (20) dsl (23) computation builder (17) agent (20) pattern matching (15) monad (24)

View all...

Database contains 3208 snippets out of which 1719 is public.