From b9e7a965b95da9961fcbb03e40c76ed30d978d33 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Tue, 20 Nov 2007 16:16:12 +0000 Subject: [PATCH] Comments --- source/Cosmos/Cosmos.Kernel.Plugs/Console.cs | 10 ++++++---- source/Cosmos/Cosmos.Kernel/Console.cs | 10 ---------- source/Cosmos/Cosmos.Kernel/Cosmos.Kernel.csproj | 1 - source/Cosmos/Cosmos.Shell.Console/Program.cs | 9 +++------ 4 files changed, 9 insertions(+), 21 deletions(-) delete mode 100644 source/Cosmos/Cosmos.Kernel/Console.cs diff --git a/source/Cosmos/Cosmos.Kernel.Plugs/Console.cs b/source/Cosmos/Cosmos.Kernel.Plugs/Console.cs index 6e53bb0bd..9a02fea69 100644 --- a/source/Cosmos/Cosmos.Kernel.Plugs/Console.cs +++ b/source/Cosmos/Cosmos.Kernel.Plugs/Console.cs @@ -2,9 +2,11 @@ using System.Collections.Generic; using System.Text; -namespace Cosmos.Kernel.Plugs -{ - class Console - { +namespace Cosmos.Kernel.Plugs { + //Attrib here to mark this as a plug class for system.console + class Console { + // we dont need attrib here - all methods marked public will be plugged + public void WriteLn(string aOut) { + } } } diff --git a/source/Cosmos/Cosmos.Kernel/Console.cs b/source/Cosmos/Cosmos.Kernel/Console.cs deleted file mode 100644 index f361a73ef..000000000 --- a/source/Cosmos/Cosmos.Kernel/Console.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Cosmos.Kernel -{ - class Console - { - } -} diff --git a/source/Cosmos/Cosmos.Kernel/Cosmos.Kernel.csproj b/source/Cosmos/Cosmos.Kernel/Cosmos.Kernel.csproj index 02cd5b7b8..f1e232493 100644 --- a/source/Cosmos/Cosmos.Kernel/Cosmos.Kernel.csproj +++ b/source/Cosmos/Cosmos.Kernel/Cosmos.Kernel.csproj @@ -38,7 +38,6 @@ - diff --git a/source/Cosmos/Cosmos.Shell.Console/Program.cs b/source/Cosmos/Cosmos.Shell.Console/Program.cs index 0f1e29aac..df630b498 100644 --- a/source/Cosmos/Cosmos.Shell.Console/Program.cs +++ b/source/Cosmos/Cosmos.Shell.Console/Program.cs @@ -2,12 +2,9 @@ using System.Collections.Generic; using System.Text; -namespace Cosmos.Shell.Console -{ - class Program - { - static void Main(string[] args) - { +namespace Cosmos.Shell.Console { + class Program { + static void Main(string[] args) { } } }