Skip to content

Commit 925d5fd

Browse files
maca88hazzik
authored andcommitted
code refactoring
1 parent 7fee3d1 commit 925d5fd

31 files changed

+914
-449
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace NHibernate.AsyncGenerator
8+
{
9+
public class AsyncConfiguration
10+
{
11+
public AsyncLockConfiguration Lock { get; set; }
12+
13+
public AsyncCustomTaskTypeConfiguration CustomTaskType { get; set; } = new AsyncCustomTaskTypeConfiguration();
14+
15+
public string AttributeName { get; set; }
16+
}
17+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace NHibernate.AsyncGenerator
8+
{
9+
public class AsyncCustomTaskTypeConfiguration
10+
{
11+
public string TypeName { get; set; }
12+
13+
public string Namespace { get; set; }
14+
15+
public bool HasCompletedTask { get; set; }
16+
17+
public bool HasFromException { get; set; }
18+
}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace NHibernate.AsyncGenerator
8+
{
9+
public class AsyncLockConfiguration
10+
{
11+
public string TypeName { get; set; }
12+
13+
public string MethodName { get; set; }
14+
15+
public string FieldName { get; set; }
16+
17+
public string Namespace { get; set; }
18+
}
19+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using Microsoft.CodeAnalysis.CSharp.Syntax;
7+
8+
namespace NHibernate.AsyncGenerator
9+
{
10+
public class DocumentTransformationResult
11+
{
12+
public CompilationUnitSyntax TransformedNode { get; set; }
13+
14+
public CompilationUnitSyntax OriginalRootNode { get; set; }
15+
}
16+
}

0 commit comments

Comments
 (0)