Skip to content

Commit 609c0d7

Browse files
author
Jon Nicholson
committed
Removed unused using statements
1 parent 1bd6dcf commit 609c0d7

7 files changed

Lines changed: 6 additions & 20 deletions

File tree

Code/Sif3Framework/Sif.Framework/Model/Infrastructure/Right.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
using Sif.Framework.Model.Persistence;
18-
using System.Collections.Generic;
1918

2019
namespace Sif.Framework.Model.Infrastructure
2120
{
@@ -33,7 +32,7 @@ public Right() { }
3332

3433
public Right(RightType type, RightValue value)
3534
{
36-
35+
3736
Type = type.ToString();
3837
Value = value.ToString();
3938
}

Code/Sif3Framework/Sif.Framework/Service/Infrastructure/EnvironmentService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
using System;
2424
using System.Collections.Generic;
2525
using Environment = Sif.Framework.Model.Infrastructure.Environment;
26-
using Sif.Framework.Model;
2726

2827
namespace Sif.Framework.Service.Infrastructure
2928
{

Code/Sif3Framework/Sif.Framework/Service/SifService.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17-
using Sif.Framework.Model.Infrastructure;
1817
using Sif.Framework.Model.Persistence;
1918
using Sif.Framework.Persistence;
2019
using Sif.Framework.Service.Mapper;
2120
using System;
2221
using System.Collections.Generic;
23-
using Sif.Framework.Model.Settings;
2422
using log4net;
2523
using System.Reflection;
26-
using System.Threading;
27-
using Sif.Framework.Utils;
28-
using Sif.Framework.Service.Infrastructure;
29-
using System.Linq;
30-
using Sif.Framework.Service.Registration;
31-
using Environment = Sif.Framework.Model.Infrastructure.Environment;
3224

3325
namespace Sif.Framework.Service
3426
{

Code/Sif3Framework/Sif.Framework/Utils/EnvironmentUtils.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
using System;
2020
using System.Configuration;
2121
using System.Linq;
22-
using System.Web.Http;
2322
using Environment = Sif.Framework.Model.Infrastructure.Environment;
2423

2524
namespace Sif.Framework.Utils
@@ -151,10 +150,10 @@ internal static string ParseServiceUrl(Environment environment, ServiceType serv
151150
}
152151

153152
InfrastructureServiceNames name;
154-
switch(serviceType)
153+
switch (serviceType)
155154
{
156155
case ServiceType.UTILITY:
157-
name = connector;
156+
name = connector;
158157
break;
159158
case ServiceType.FUNCTIONAL:
160159
name = InfrastructureServiceNames.servicesConnector;
@@ -172,7 +171,7 @@ internal static string ParseServiceUrl(Environment environment, ServiceType serv
172171
{
173172
return null;
174173
}
175-
174+
176175
return environment.InfrastructureServices[name].Value;
177176
}
178177

Code/Sif3FrameworkDemo/Sif.Framework.Demo.Au.Provider/Services/SchoolInfoService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
using Sif.Framework.Demo.Au.Provider.Models;
18-
using Sif.Framework.Model.Infrastructure;
1918
using Sif.Framework.Model.Query;
2019
using Sif.Framework.Service.Providers;
2120
using System;

Code/Sif3FrameworkDemo/Sif.Framework.Demo.Au.Provider/Services/StudentPersonalService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
using Sif.Framework.Demo.Au.Provider.Models;
1818
using Sif.Framework.Demo.Au.Provider.Utils;
19-
using Sif.Framework.Model.Infrastructure;
2019
using Sif.Framework.Model.Query;
2120
using Sif.Framework.Service.Providers;
2221
using Sif.Specification.DataModel.Au;
@@ -86,7 +85,7 @@ static StudentPersonalService()
8685
{
8786
studentsCache = CreateStudents(20);
8887
}
89-
88+
9089
public StudentPersonal Create(StudentPersonal obj, bool? mustUseAdvisory = null, string zone = null, string context = null)
9190
{
9291
string refId = Guid.NewGuid().ToString();

Code/Sif3FrameworkDemo/Sif.Framework.Demo.Us.Provider/Services/XStudentService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
using Sif.Framework.Demo.Us.Provider.Models;
1818
using Sif.Framework.Demo.Us.Provider.Utils;
19-
using Sif.Framework.Model.Infrastructure;
2019
using Sif.Framework.Model.Query;
2120
using Sif.Framework.Service.Providers;
2221
using Sif.Specification.DataModel.Us;
@@ -56,7 +55,7 @@ static XStudentService()
5655
{
5756
studentsCache = CreateStudents(10);
5857
}
59-
58+
6059
public XStudent Create(XStudent obj, bool? mustUseAdvisory = null, string zone = null, string context = null)
6160
{
6261
string refId = Guid.NewGuid().ToString();

0 commit comments

Comments
 (0)