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.
DefaultFilter.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="DefaultFilter.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>no summary</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla
11{
12 internal static class DefaultFilter
13 {
14 public static bool Filter(object item, object filter)
15 {
16 bool result = false;
17 if (item != null && filter != null)
18 result = item.ToString().Contains(filter.ToString());
19 return result;
20 }
21 }
22}