CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
IdentityConverter.cs
Go to the documentation of this file.
1#if !NETFX_CORE && !XAMARIN
2//-----------------------------------------------------------------------
3// <copyright file="IdentityConverter.cs" company="Marimer LLC">
4// Copyright (c) Marimer LLC. All rights reserved.
5// Website: https://cslanet.com
6// </copyright>
7// <summary>Provides the functionality of a WPF</summary>
8//-----------------------------------------------------------------------
9using System;
10using System.Windows.Data;
11
12namespace Csla.Xaml
13{
19 public class IdentityConverter : IValueConverter
20 {
21#region IValueConverter Members
22
30 public object Convert(
31 object value, Type targetType,
32 object parameter, System.Globalization.CultureInfo culture)
33 {
34 return value;
35 }
36
44 public object ConvertBack(
45 object value, Type targetType,
46 object parameter, System.Globalization.CultureInfo culture)
47 {
48 return value;
49 }
50
51#endregion
52 }
53}
54#endif
Provides the functionality of a WPF value converter without affecting the value as it flows to and fr...
object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Returns the unchanged value.
object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Returns the unchanged value.