aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/ICodeObject.cs
blob: 04423581314d440b86a11f0d9bc3f5c7e3febb6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.CodeGeneration
{
    /// <summary>
    /// Represents a code object.
    /// </summary>
    public interface ICodeObject
    {
        /// <summary>
        /// Generates the code represented by this code object.
        /// </summary>
        String GenerateCode();

        /// <summary>
        /// Gets the template associated with this code object.
        /// </summary>
        String GetTemplate();
    }
}
lor: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{CAEDAE94-11ED-473C-888A-268A6D38CD20}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Tango.CodeGeneration</RootNamespace>
    <AssemblyName>Tango.CodeGeneration</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <SccProjectName>SAK</SccProjectName>
    <SccLocalPath>SAK</SccLocalPath>
    <SccAuxPath>SAK</SccAuxPath>
    <SccProvider>SAK</SccProvider>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>..\Build\Core\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>..\Build\Core\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>false</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>
    </AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="RazorEngine, Version=3.10.0.0, Culture=neutral, PublicKeyToken=9ee697374c7e744a, processorArchitecture=MSIL">
      <HintPath>..\packages\RazorEngine.3.10.0\lib\net45\RazorEngine.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\Versioning\GlobalVersionInfo.cs">
      <Link>GlobalVersionInfo.cs</Link>
    </Compile>
    <Compile Include="Class.cs" />
    <Compile Include="CodeFile.cs" />
    <Compile Include="CodeObject.cs" />
    <Compile Include="CustomResolver.cs" />
    <Compile Include="DpProperty.cs" />
    <Compile Include="EntityInheritedDTOCodeFile.cs" />
    <Compile Include="EntityDTOCodeFile.cs" />
    <Compile Include="EntityCodeFileJavaExtension.cs" />
    <Compile Include="EntityCodeFileJava.cs" />
    <Compile Include="EntityCodeFile.cs" />
    <Compile Include="EntityInheritedCodeFile.cs" />
    <Compile Include="EnumerationField.cs" />
    <Compile Include="ObservablesContextCodeFile.cs" />
    <Compile Include="ObservablesStaticCollectionsFile.cs" />
    <Compile Include="ProtoEnumFile.cs" />
    <Compile Include="ProtoMessageFile.cs" />
    <Compile Include="ProtoProperty.cs" />
    <Compile Include="TangoDAOJavaFile.cs" />
    <Compile Include="EnumerationFileJava.cs" />
    <Compile Include="EnumerationFile.cs" />
    <Compile Include="Helper.cs" />
    <Compile Include="ICodeObject.cs" />
    <Compile Include="Method.cs" />
    <Compile Include="CodeObjectModifier.cs" />
    <Compile Include="MethodModifier.cs" />
    <Compile Include="Namespace.cs" />
    <Compile Include="ObservablesAdapterFile.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Property.cs" />
    <Compile Include="TangoWebClientCodeFile.cs" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Templates\CodeFile.cshtml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Templates\Property.cshtml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Templates\DpProperty.cshtml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Templates\Method.cshtml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Templates\Class.cshtml" />
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
    <EmbeddedResource Include="Templates\Namespace.cshtml" />
    <EmbeddedResource Include="Templates\EntityCodeFile.cshtml" />
    <EmbeddedResource Include="Templates\EnumerationFile.cshtml" />
    <EmbeddedResource Include="Templates\ObservablesAdapterFile.cshtml" />
    <EmbeddedResource Include="Templates\EntityCodeFileJava.cshtml" />
    <EmbeddedResource Include="Templates\EnumerationFileJava.cshtml" />
    <EmbeddedResource Include="Templates\TangoDAOJavaFile.cshtml" />
    <EmbeddedResource Include="Templates\ObservablesContextCodeFile.cshtml" />
    <EmbeddedResource Include="Templates\ProtoMessageFile.cshtml" />
    <EmbeddedResource Include="Templates\ProtoEnumFile.cshtml" />
    <EmbeddedResource Include="Templates\EntityCodeFileJavaExtension.cshtml" />
    <EmbeddedResource Include="Templates\ObservablesStaticCollectionsFile.cshtml" />
    <EmbeddedResource Include="Templates\EntityInheritedCodeFile.cshtml" />
    <EmbeddedResource Include="Templates\TangoWebClientCodeFile.cshtml" />
    <EmbeddedResource Include="Templates\EntityDTOCodeFile.cshtml" />
    <EmbeddedResource Include="Templates\EntityInheritedDTOCodeFile.cshtml" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <ProjectExtensions>
    <VisualStudio>
      <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
    </VisualStudio>
  </ProjectExtensions>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>