// Copyright (c) 2007 Omer Rauchwerger (a.k.a rauchy) (omer@rauchy.net)
// All rights reserved.
//
// This file is part of Regionerate.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License,
// or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
using Rauchy.Regionerate.ServiceLayer.Components.Services;
namespace Rauchy.Regionerate.Presentation.Playground
{
internal class Program
{
#region Fields (3)
public string _mPublicString;
public string _myOtherPrivateString;
private string _myPrivateString;
#endregion Fields
#region Methods (1)
// Private Methods (1)
// [rgn] Private Methods (1)
private static void Main( string[] args )
{
ProjectService projectService = new CSharpProjectService( new[] {"AssemblyInfo.cs"} );
projectService.Process(
@"C:\Documents and Settings\Omer\My Documents\Visual Studio 2005\Projects\Entities\Domain.Entities\Domain.Entities.csproj" );
//string input = new StreamReader( File.OpenRead( "Code.txt" ) ).ReadToEnd();
//ConstructionCoordinator coordinator = new ConstructionCoordinator( ConstructionContext.Document );
//Code[] codes = coordinator.Construct( input );
//Class @class = ( Class )codes[ 0 ];
//CodeLayout layout = CodeLayout.Load( @"..\..\XMLFile1.xml" );
//Class newClass = new Shaper( layout ).Shape( @class );
//using ( Stream stream = File.Create( @"..\..\NewCode.cs" ) )
//{
// StreamWriter writer = new StreamWriter( stream );
// writer.Write( newClass.ToString() );
// writer.Flush();
// stream.Flush();
//}
}
#endregion Methods
}
}