Click here to Skip to main content
12,244,664 members (55,626 online)
Click here to Skip to main content

Stats

18.8K views
166 downloads
15 bookmarked
Posted

Event Logging in Cx

, 30 Sep 2009 CPOL
Adding an event logger to Cx.
Cx
App
bin
Debug
App.exe
App.vshost.exe
App.vshost.exe.manifest
Cx.Attributes.dll
Cx.CodeDom.dll
Cx.Common.dll
Cx.Designer.Common.dll
Cx.Designer.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
BusinessUnitComponent
bin
Debug
BusinessUnitComponent.dll
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.Attributes
bin
Debug
Cx.Attributes.dll
Properties
Cx.CodeDom
bin
Debug
Cx.CodeDom.dll
Cx.Interfaces.dll
Properties
Cx.Common
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.ComponentLoader
Properties
Cx.Converters
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Converters.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.DataService
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.DataService.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.Designer.App
bin
Debug
App.exe
Cx.Attributes.dll
Cx.CodeDom.dll
Cx.Common.dll
Cx.Designer.App.exe
Cx.Designer.App.vshost.exe
Cx.Designer.Common.dll
Cx.Designer.Interfaces.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.Designer.Common
bin
Debug
Cx.Designer.Common.dll
Properties
Cx.Designer.Components
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.Components.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
Properties
Cx.Designer.Interfaces
bin
Debug
Cx.Designer.Interfaces.dll
Cx.Interfaces.dll
Properties
Cx.Designer
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.Common.dll
Cx.Designer.dll
Cx.Designer.Interfaces.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
Cx.EventArgs
bin
Debug
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
obj
Debug
Cx.EventArgs.dll
Refactor
Cx.EventArgs.dll
TempPE
Properties
Cx.Exceptions
bin
Debug
Cx.Exceptions.dll
obj
Debug
Cx.Exceptions.dll
Refactor
Cx.Exceptions.dll
TempPE
Properties
Cx.Interfaces
bin
Debug
Cx.Interfaces.dll
obj
Debug
Cx.Interfaces.dll
Refactor
Cx.Interfaces.dll
TempPE
Properties
Cx.WinForm
bin
Debug
Cx.Interfaces.dll
Cx.WinForm.dll
Properties
Cx
bin
Debug
Cx.Attributes.dll
Cx.CodeDom.dll
Cx.Common.dll
Cx.Converters.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Properties
NumericKeypadComponent
bin
Debug
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
NumericKeypadComponent.dll
Properties
OperatorComponent
bin
Debug
Cx.Attributes.dll
Cx.Interfaces.dll
Cx.WinForm.dll
OperatorComponent.dll
Properties
TextDisplayComponent
bin
Debug
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
TextDisplayComponent.dll
Properties
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{48BC10B3-23DC-4E72-B5B1-8FF0D3E7781A}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Cx.DataService</RootNamespace>
    <AssemblyName>Cx.DataService</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\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>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Xml.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data.DataSetExtensions">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="CxDataService.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Cx.Attributes\Cx.Attributes.csproj">
      <Project>{EFDBD81C-64BE-47F3-905E-7618B61BD224}</Project>
      <Name>Cx.Attributes</Name>
    </ProjectReference>
    <ProjectReference Include="..\Cx.Common\Cx.Common.csproj">
      <Project>{C688ED2A-25B6-456A-91D3-10ABBD481A79}</Project>
      <Name>Cx.Common</Name>
    </ProjectReference>
    <ProjectReference Include="..\Cx.EventArgs\Cx.EventArgs.csproj">
      <Project>{56173598-C867-4F22-AA34-C3C10EAA897D}</Project>
      <Name>Cx.EventArgs</Name>
    </ProjectReference>
    <ProjectReference Include="..\Cx.Exceptions\Cx.Exceptions.csproj">
      <Project>{03900E11-176E-4A6E-8720-853BA251C8C1}</Project>
      <Name>Cx.Exceptions</Name>
    </ProjectReference>
    <ProjectReference Include="..\Cx.Interfaces\Cx.Interfaces.csproj">
      <Project>{50DBE7C4-757C-4D95-AAEA-957CF77DCDBD}</Project>
      <Name>Cx.Interfaces</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- 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>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Marc Clifton
United States United States
Marc is the creator of two open source projects, MyXaml, a declarative (XML) instantiation engine and the Advanced Unit Testing framework, and Interacx, a commercial n-tier RAD application suite.  Visit his website, www.marcclifton.com, where you will find many of his articles and his blog.

Marc lives in Philmont, NY.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 30 Sep 2009
Article Copyright 2009 by Marc Clifton
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid