CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
IDataPortalActivator.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IDataPortalActivator.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Defines a type used to activate concrete business instances.</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Server
11{
16 public interface IDataPortalActivator
17 {
23 [Obsolete]
24 object CreateInstance(Type requestedType);
29 void InitializeInstance(object obj);
35 void FinalizeInstance(object obj);
41 [Obsolete]
42 Type ResolveType(Type requestedType);
43 }
44}
Defines a type used to activate concrete business instances.
Type ResolveType(Type requestedType)
Gets the actual business domain class type based on the requested type (which might be an interface).
void InitializeInstance(object obj)
Initializes an existing business object instance.
object CreateInstance(Type requestedType)
Gets a new instance of the requested type.
void FinalizeInstance(object obj)
Finalizes an existing business object instance.