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.
MobileCriteriaRequest.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="MobileCriteriaRequest.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Class that will be used to execute a request from a client.</summary>
7//-----------------------------------------------------------------------
8using System;
9using Csla.Core;
10using System.Security.Principal;
11
13{
19 {
23 public string TypeName { get; set; }
27 public object Criteria { get; set; }
31 public IPrincipal Principal { get; set; }
35 public ContextDictionary GlobalContext { get; set; }
39 public ContextDictionary ClientContext { get; set; }
43 public string ClientCulture { get; set; }
47 public string ClientUICulture { get; set; }
48
60 string typeName,
61 object criteria,
62 IPrincipal principal,
63 ContextDictionary globalContext,
64 ContextDictionary clientContext,
65 string clientCulture,
66 string clientUICulture)
67 {
68 TypeName = typeName;
69 Criteria = criteria;
70 Principal = principal;
71 GlobalContext = globalContext;
72 ClientContext = clientContext;
73 ClientCulture = clientCulture;
74 ClientUICulture = clientUICulture;
75 }
76 }
77}
Dictionary type that is serializable with the SerializationFormatterFactory.GetFormatter().
Class that will be used to execute a request from a client.
ContextDictionary ClientContext
Client context object.
IPrincipal Principal
Principal that will be set for the request
ContextDictionary GlobalContext
Global context object.
string TypeName
Type of object that is the target of the request
MobileCriteriaRequest(string typeName, object criteria, IPrincipal principal, ContextDictionary globalContext, ContextDictionary clientContext, string clientCulture, string clientUICulture)
New instance of criteria object
Interface for all requests from client