Skip to content

Commit c9138c9

Browse files
committed
Updated to shorten namespaces
1 parent 5c2dc43 commit c9138c9

30 files changed

+358
-355
lines changed

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CachedServices.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
using ServiceStack.Common;
2-
using ServiceStack.Northwind.ServiceModel.Operations;
2+
using Northwind.ServiceModel.Operations;
33
using ServiceStack.ServiceHost;
4+
using ServiceStack.ServiceInterface;
45

5-
namespace ServiceStack.Northwind.ServiceInterface
6+
namespace Northwind.ServiceInterface
67
{
78
/// <summary>
89
/// Create your ServiceStack RESTful web service implementation.
910
/// </summary>
10-
public class CachedCustomersService : ServiceStack.ServiceInterface.Service
11+
public class CachedCustomersService : Service
1112
{
1213
public object Get(CachedCustomers request)
1314
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomerDetailsService.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
using System;
22
using System.Net;
33
using ServiceStack.Common.Web;
4-
using ServiceStack.Northwind.ServiceModel.Operations;
5-
using ServiceStack.Northwind.ServiceModel.Types;
4+
using Northwind.ServiceModel.Operations;
5+
using Northwind.ServiceModel.Types;
66
using ServiceStack.OrmLite;
7+
using ServiceStack.ServiceInterface;
78

8-
namespace ServiceStack.Northwind.ServiceInterface
9+
namespace Northwind.ServiceInterface
910
{
1011
/// <summary>
1112
/// Create your ServiceStack RESTful web service implementation.
1213
/// </summary>
13-
public class CustomerDetailsService : ServiceStack.ServiceInterface.Service
14+
public class CustomerDetailsService : Service
1415
{
1516
public CustomerDetailsResponse Get(CustomerDetails request)
1617
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using ServiceStack.Northwind.ServiceModel.Operations;
2-
using ServiceStack.Northwind.ServiceModel.Types;
1+
using Northwind.ServiceModel.Operations;
2+
using Northwind.ServiceModel.Types;
33
using ServiceStack.OrmLite;
44

5-
namespace ServiceStack.Northwind.ServiceInterface
5+
namespace Northwind.ServiceInterface
66
{
77
/// <summary>
88
/// Create your ServiceStack RESTful web service implementation.

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/OrdersService.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
using System.Linq;
22
using ServiceStack.Common.Extensions;
3-
using ServiceStack.Northwind.ServiceModel.Operations;
4-
using ServiceStack.Northwind.ServiceModel.Types;
3+
using Northwind.ServiceModel.Operations;
4+
using Northwind.ServiceModel.Types;
55
using ServiceStack.OrmLite;
6+
using ServiceStack.ServiceInterface;
67

7-
namespace ServiceStack.Northwind.ServiceInterface
8+
namespace Northwind.ServiceInterface
89
{
910
/// <summary>
1011
/// Create your ServiceStack RESTful web service implementation.
1112
/// </summary>
12-
public class OrdersService : ServiceStack.ServiceInterface.Service
13+
public class OrdersService : Service
1314
{
1415
private const int PageCount = 20;
1516

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("ServiceStack.Northwind.ServiceInterface")]
8+
[assembly: AssemblyTitle("Northwind.ServiceInterface")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("ServiceStack.Northwind.ServiceInterface")]
12+
[assembly: AssemblyProduct("Northwind.ServiceInterface")]
1313
[assembly: AssemblyCopyright("Copyright © 2011")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/VCardFormat.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
using System;
22
using System.IO;
33
using ServiceStack.Common.Web;
4-
using ServiceStack.Northwind.ServiceModel.Operations;
5-
using ServiceStack.Northwind.ServiceModel.Types;
4+
using Northwind.ServiceModel.Operations;
5+
using Northwind.ServiceModel.Types;
66
using ServiceStack.ServiceHost;
77
using ServiceStack.Text;
88
using ServiceStack.WebHost.Endpoints;
99

10-
namespace ServiceStack.Northwind.ServiceInterface
10+
namespace Northwind.ServiceInterface
1111
{
1212
public class VCardFormat
1313
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CachedOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using ServiceStack.ServiceHost;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Operations
3+
namespace Northwind.ServiceModel.Operations
44
{
55
[Route("/cached/customers")]
66
public class CachedCustomers {}

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CustomerDetails.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
2-
using ServiceStack.Northwind.ServiceModel.Types;
2+
using Northwind.ServiceModel.Types;
33
using ServiceStack.ServiceHost;
44
using ServiceStack.ServiceInterface.ServiceModel;
55

6-
namespace ServiceStack.Northwind.ServiceModel.Operations
6+
namespace Northwind.ServiceModel.Operations
77
{
88
[Route("/customers/{Id}")]
99
public class CustomerDetails

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/Customers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
2-
using ServiceStack.Northwind.ServiceModel.Types;
2+
using Northwind.ServiceModel.Types;
33
using ServiceStack.ServiceHost;
44
using ServiceStack.ServiceInterface.ServiceModel;
55

6-
namespace ServiceStack.Northwind.ServiceModel.Operations
6+
namespace Northwind.ServiceModel.Operations
77
{
88
[Route("/customers")]
99
public class Customers { }

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/Orders.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
2-
using ServiceStack.Northwind.ServiceModel.Types;
2+
using Northwind.ServiceModel.Types;
33
using ServiceStack.ServiceHost;
44
using ServiceStack.ServiceInterface.ServiceModel;
55

6-
namespace ServiceStack.Northwind.ServiceModel.Operations
6+
namespace Northwind.ServiceModel.Operations
77
{
88
[Route("/orders")]
99
[Route("/orders/page/{Page}")]

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// General Information about an assembly is controlled through the following
77
// set of attributes. Change these attribute values to modify the information
88
// associated with an assembly.
9-
[assembly: AssemblyTitle("ServiceStack.Northwind.ServiceModel")]
9+
[assembly: AssemblyTitle("Northwind.ServiceModel")]
1010
[assembly: AssemblyDescription("")]
1111
[assembly: AssemblyConfiguration("")]
1212
[assembly: AssemblyCompany("")]
13-
[assembly: AssemblyProduct("ServiceStack.Northwind.ServiceModel")]
13+
[assembly: AssemblyProduct("Northwind.ServiceModel")]
1414
[assembly: AssemblyCopyright("Copyright © 2011")]
1515
[assembly: AssemblyTrademark("")]
1616
[assembly: AssemblyCulture("")]
@@ -36,6 +36,6 @@
3636
[assembly: AssemblyVersion("1.0.0.0")]
3737
[assembly: AssemblyFileVersion("1.0.0.0")]
3838

39-
[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.Northwind.ServiceModel")]
40-
[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.Northwind.ServiceModel.Operations")]
39+
[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "Northwind.ServiceModel")]
40+
[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "Northwind.ServiceModel.Operations")]
4141

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Category.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Category
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Customer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Customer
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerCustomerDemo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class CustomerCustomerDemo
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerDemographic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class CustomerDemographic
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerOrders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using System.Runtime.Serialization;
33

4-
namespace ServiceStack.Northwind.ServiceModel.Types
4+
namespace Northwind.ServiceModel.Types
55
{
66
public class CustomerOrder
77
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Employee.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Runtime.Serialization;
33

4-
namespace ServiceStack.Northwind.ServiceModel.Types
4+
namespace Northwind.ServiceModel.Types
55
{
66
public class Employee
77
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/EmployeeTerritory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class EmployeeTerritory
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Order.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Runtime.Serialization;
33

4-
namespace ServiceStack.Northwind.ServiceModel.Types
4+
namespace Northwind.ServiceModel.Types
55
{
66
public class Order
77
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/OrderDetail.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class OrderDetail
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Product.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Product
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Region.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Region
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Shipper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Shipper
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Supplier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Supplier
66
{

src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Territory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.Serialization;
22

3-
namespace ServiceStack.Northwind.ServiceModel.Types
3+
namespace Northwind.ServiceModel.Types
44
{
55
public class Territory
66
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<%@ Application Codebehind="Global.asax.cs" Inherits="ServiceStack.Northwind.Global" Language="C#" %>
1+
<%@ Application Codebehind="Global.asax.cs" Inherits="Northwind.Global" Language="C#" %>

src/ServiceStack.Northwind/ServiceStack.Northwind/Global.asax.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
using ServiceStack.CacheAccess;
44
using ServiceStack.CacheAccess.Providers;
55
using ServiceStack.Common.Utils;
6-
using ServiceStack.Northwind.ServiceInterface;
6+
using Northwind.ServiceInterface;
77
using ServiceStack.OrmLite;
88
using ServiceStack.WebHost.Endpoints;
99

10-
namespace ServiceStack.Northwind
10+
namespace Northwind
1111
{
1212
/// <summary>
1313
/// Create your ServiceStack web service application with a singleton AppHost.

src/ServiceStack.Northwind/ServiceStack.Northwind/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("ServiceStack.Northwind")]
8+
[assembly: AssemblyTitle("Northwind")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("ServiceStack.Northwind")]
12+
[assembly: AssemblyProduct("Northwind")]
1313
[assembly: AssemblyCopyright("Copyright © 2011")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]

0 commit comments

Comments
 (0)