This commit is contained in:
kudzu_cp 2007-11-20 16:16:12 +00:00
parent 29ce47b8f9
commit b9e7a965b9
4 changed files with 9 additions and 21 deletions

View file

@ -2,9 +2,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Cosmos.Kernel.Plugs namespace Cosmos.Kernel.Plugs {
{ //Attrib here to mark this as a plug class for system.console
class Console class Console {
{ // we dont need attrib here - all methods marked public will be plugged
public void WriteLn(string aOut) {
}
} }
} }

View file

@ -1,10 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.Kernel
{
class Console
{
}
}

View file

@ -38,7 +38,6 @@
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Console.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -2,12 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Cosmos.Shell.Console namespace Cosmos.Shell.Console {
{ class Program {
class Program static void Main(string[] args) {
{
static void Main(string[] args)
{
} }
} }
} }