Refactor 3/3: Moved namespaces for enums, interfaces to Swarmops.Common

This commit is contained in:
Rick Falkvinge
2015-02-18 09:54:22 +01:00
parent e560049326
commit c25548d6d2
224 changed files with 249 additions and 263 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+2 -2
View File
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+1 -1
View File
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types
{
+2 -2
View File
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Common
{
+2 -2
View File
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+2 -2
View File
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Financial
{
+1 -1
View File
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Governance
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Security
{
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Security
{
+1 -1
View File
@@ -1,4 +1,4 @@
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.Security
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Structure
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Structure
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Structure
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.Structure
{
@@ -4,7 +4,7 @@ using System.Collections.Specialized;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Structure
{
+1 -1
View File
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Structure
{
+2 -2
View File
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.Swarm
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+2 -2
View File
@@ -1,6 +1,6 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+2 -2
View File
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
+2 -2
View File
@@ -1,5 +1,5 @@
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Swarm
{
@@ -1,4 +1,4 @@
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.System
{
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.System
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Enums;
using Swarmops.Common.Enums;
namespace Swarmops.Basic.Types.System
{
+1 -1
View File
@@ -1,5 +1,5 @@
using System;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.System
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic
namespace Swarmops.Common.Enums
{
public enum AddressValidationResult
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum AutoMailType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum CommunicationType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum DocumentType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum EventType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum ExpenseEventType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum ExternalActivityType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum ExternalIdentityType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum FinancialAccountType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum FinancialDependencyType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum FinancialValidationType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum GeographyLevel
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum InvalidMembershipType
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum MailAuthorType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
/// <summary>
/// For handling of membership fee payment
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum ObjectType
{
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum OrganizationFinancialAccountType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum OutboundCommPriority
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum PaymentCodeIssueType
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum Permission
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum PersonGender
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum PersonOptionalDataKey
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
public enum PoliticalAffiliation
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace Swarmops.Basic.Enums
namespace Swarmops.Common.Enums
{
/// <summary>
/// RoleTypes.
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Interfaces
namespace Swarmops.Common.Interfaces
{
public interface IEmailPerson : IHasIdentity
{
+1 -8
View File
@@ -1,7 +1,6 @@
using System;
using Swarmops.Basic.Enums;
namespace Swarmops.Basic.Interfaces
namespace Swarmops.Common.Interfaces
{
public interface IHandleProvider
{
@@ -11,10 +10,7 @@ namespace Swarmops.Basic.Interfaces
int GetPersonByHandle (string handle);
}
}
namespace Swarmops.Basic.Enums
{
public enum HandleErrorType
{
Unknown = 0,
@@ -22,10 +18,7 @@ namespace Swarmops.Basic.Enums
HandleNotFound,
HandleOccupied
}
}
namespace Swarmops.Basic.Exceptions
{
public class HandleException : Exception
{
private readonly string attemptedHandle;
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Interfaces
namespace Swarmops.Common.Interfaces
{
public interface IHasIdentities
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Swarmops.Basic.Interfaces
namespace Swarmops.Common.Interfaces
{
public interface IHasIdentity
{
+1 -1
View File
@@ -1,8 +1,8 @@
using System;
using System.Data;
using System.Data.Common;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Types.Communications;
using Swarmops.Common.Enums;
namespace Swarmops.Database
{
+1 -2
View File
@@ -2,10 +2,9 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Swarmops.Basic.Enums;
using Swarmops.Basic.Interfaces;
using Swarmops.Basic.Types;
using Swarmops.Basic.Types.Swarm;
using Swarmops.Common.Interfaces;
namespace Swarmops.Database
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using Swarmops.Basic.Interfaces;
using Swarmops.Common.Interfaces;
using Swarmops.Database.Attributes;
namespace Swarmops.Database

Some files were not shown because too many files have changed in this diff Show More