diff --git a/Core/Config.cs b/Core/Config.cs index 7a7fcce..a9cceeb 100644 --- a/Core/Config.cs +++ b/Core/Config.cs @@ -5,7 +5,7 @@ using System.Text; namespace FLocal.Core { - class Config where T : Config { + public class Config where T : Config { private static Config _instance; diff --git a/Core/DataObject.cs b/Core/DataObject.cs index 239c083..866cccb 100644 --- a/Core/DataObject.cs +++ b/Core/DataObject.cs @@ -6,7 +6,7 @@ using System.Diagnostics; namespace FLocal.Core { - abstract class DataObject : IDataObject + abstract public class DataObject : IDataObject where T : DataObject, new() where TKey : struct { @@ -48,7 +48,7 @@ namespace FLocal.Core { this.AfterCreate(); } - public static Registry registry { + private static Registry registry { get { return Registry.instance; } diff --git a/Core/exceptions/CriticalException.cs b/Core/exceptions/CriticalException.cs index f1b899a..4dbc920 100644 --- a/Core/exceptions/CriticalException.cs +++ b/Core/exceptions/CriticalException.cs @@ -5,7 +5,7 @@ using System.Text; namespace FLocal.Core { - partial class CriticalException : FLocalException { + public partial class CriticalException : FLocalException { public CriticalException(string Message) : base(Message) { } diff --git a/Core/exceptions/FLocalException.cs b/Core/exceptions/FLocalException.cs index 6968884..bb7e69f 100644 --- a/Core/exceptions/FLocalException.cs +++ b/Core/exceptions/FLocalException.cs @@ -5,7 +5,7 @@ using System.Text; namespace FLocal.Core { - partial class FLocalException : ApplicationException { + public partial class FLocalException : ApplicationException { public readonly string FullStackTrace; diff --git a/Core/exceptions/ObjectDoesntHaveAnIdException.cs b/Core/exceptions/ObjectDoesntHaveAnIdException.cs index 3a53d21..6b2bc12 100644 --- a/Core/exceptions/ObjectDoesntHaveAnIdException.cs +++ b/Core/exceptions/ObjectDoesntHaveAnIdException.cs @@ -5,7 +5,7 @@ using System.Text; namespace FLocal.Core { - partial class ObjectDoesntHaveAnIdException : FLocalException { + public partial class ObjectDoesntHaveAnIdException : FLocalException { public ObjectDoesntHaveAnIdException() : base("Object doesn't have an id") {