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.
Startup.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using Microsoft.VisualStudio.TestTools.UnitTesting;
7
8namespace Csla.Test
9{
10 [TestClass]
11 public class Startup
12 {
13
15 public static void AssemblyInitialize(TestContext context)
16 {
17 string path = AppDomain.CurrentDomain.BaseDirectory;
18 if (path.EndsWith(@"\"))
19 {
20 path = path.Substring(0, path.Length - 1);
21 }
22 AppDomain.CurrentDomain.SetData("DataDirectory", path);
23 }
24 }
25}
static void AssemblyInitialize(TestContext context)
Definition: Startup.cs:15