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.
SerializationFormatterFactory.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="SerializationFormatterFactory.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Factory used to create the appropriate</summary>
7//-----------------------------------------------------------------------
8namespace Csla.Serialization
9{
15 public static class SerializationFormatterFactory
16 {
20 public static ISerializationFormatter GetFormatter(ApplicationContext applicationContext)
21 {
22 return (ISerializationFormatter)applicationContext.CreateInstanceDI(ApplicationContext.SerializationFormatter);
23 }
24 }
25}