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.
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 object CreateInstance(Type requestedType);
28 void InitializeInstance(object obj);
34 void FinalizeInstance(object obj);
40 Type ResolveType(Type requestedType);
41 }
42}
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.