Format:
Recent snippets for: rickrat
namespace RotationIntegration { using System; using System.Windows.Data; using System.Windows.Media; using CenterStage.DomainModel.Model.Rotation; public class SlotColorConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
52 Views
no comments
// ----------------------------------------------------------------------- // <copyright file="MefBootstrapper.cs" company="CompDJ"> // Copyright (c) CompDJ. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace ConsoleApplication2 { using System; using System.Collections.Generic;
132 Views
no comments
using System; using System.Collections; using System.Collections.Generic; namespace Core { /// <summary> /// Validation Routines /// </summary> /// <remarks>
444 Views
no comments
' I watched Karl's video about validation with custom rules, and wondered ' why Silverlight, ASP.NET and ASP.NET MVC had DataAnnotations, and ' WPF only had IDataErrorInfo. So I thought of using EF4 as the model, ' and generating a metadata class like in RIA, MVC, etc for WPF and a ' inheritable generic class to convert the validations between IDataErrorInfo ' and the DataAnnotation attributes. ' ' This way validation can happen the same way for each type of client! ' ' Let me know what you think please?
584 Views
no comments
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated from a template. ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Compare Binary
392 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
