Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zelmanovich <igorz@mono-cvs.ximian.com>2007-08-15 14:46:38 +0400
committerIgor Zelmanovich <igorz@mono-cvs.ximian.com>2007-08-15 14:46:38 +0400
commit4bda45bab0c2945de330b7d0920c0c66e8fbbc4e (patch)
tree767cd466f8b412f9fd71d6e9ba91202da544113e /mcs/class/Mainsoft.Configuration
parent52686769076893380b17564e5194070bbde25a7a (diff)
added new Mainsoft.Configuration module
svn path=/trunk/mcs/; revision=84141
Diffstat (limited to 'mcs/class/Mainsoft.Configuration')
-rw-r--r--mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.JavaEE.csproj76
-rw-r--r--mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.csproj49
-rw-r--r--mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/MainsoftWebSectionGroup.cs15
-rw-r--r--mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/PagesSection.cs20
-rw-r--r--mcs/class/Mainsoft.Configuration/Properties/AssemblyInfo.cs35
5 files changed, 195 insertions, 0 deletions
diff --git a/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.JavaEE.csproj b/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.JavaEE.csproj
new file mode 100644
index 00000000000..c3d1d8e1e82
--- /dev/null
+++ b/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.JavaEE.csproj
@@ -0,0 +1,76 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug_Java</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{05391985-1646-4D19-BDEC-9C4550EB8E90}</ProjectGuid>
+ <ProjectTypeGuids>{F6B19D50-1E2E-4e87-ADFB-10393B439DE0};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mainsoft.Configuration</AssemblyName>
+ <JDKName>1.6</JDKName>
+ <GHProjectType>1</GHProjectType>
+ <Version>2.0</Version>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <AdditionalClassPath>
+ </AdditionalClassPath>
+ <RootNamespace>Mainsoft.Configuration</RootNamespace>
+ <jarserver>ipa</jarserver>
+ <StartupObject>
+ </StartupObject>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug_Java|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug_Java\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;JAVA</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <BaseAddress>4194304</BaseAddress>
+ <SkipValidation>false</SkipValidation>
+ <KeepIntermediate>false</KeepIntermediate>
+ <TargetPlatform>0</TargetPlatform>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Java|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release_Java\</OutputPath>
+ <DefineConstants>TRACE;JAVA</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <BaseAddress>4194304</BaseAddress>
+ <SkipValidation>false</SkipValidation>
+ <KeepIntermediate>false</KeepIntermediate>
+ <TargetPlatform>0</TargetPlatform>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ </PropertyGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.csharp.targets" />
+ <Import Project="$(VMW_HOME)\bin\Mainsoft.Common.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>
+ -->
+ <ProjectExtensions>
+ <VisualStudio>
+ <UserProperties REFS-RefInfo-system-xml="repository:vmw:framework:2.0" REFS-JarPath-system-xml="" REFS-RefInfo-system-data="repository:vmw:framework:2.0" REFS-JarPath-system-data="" REFS-RefInfo-system-configuration="repository:vmw:framework:2.0" REFS-JarPath-system-configuration="" REFS-RefInfo-system="repository:vmw:framework:2.0" REFS-JarPath-system="" REFS-JarPath-rt="" REFS-RefInfo-rt="repository:jre:sun:1.6.0" />
+ </VisualStudio>
+ </ProjectExtensions>
+ <ItemGroup>
+ <Reference Include="rt, Version=1.6.0.65535, Culture=neutral, processorArchitecture=MSIL" />
+ <Reference Include="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
+ <Reference Include="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+ <Reference Include="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86" />
+ <Reference Include="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Mainsoft.Web.Configuration\MainsoftWebSectionGroup.cs" />
+ <Compile Include="Mainsoft.Web.Configuration\PagesSection.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.csproj b/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.csproj
new file mode 100644
index 00000000000..6729829fd24
--- /dev/null
+++ b/mcs/class/Mainsoft.Configuration/Mainsoft.Configuration.csproj
@@ -0,0 +1,49 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{A384DE21-09A4-4C80-99BC-2F08F9ADBA5C}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Mainsoft.Configuration</RootNamespace>
+ <AssemblyName>Mainsoft.Configuration</AssemblyName>
+ </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.configuration" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Mainsoft.Web.Configuration\MainsoftWebSectionGroup.cs" />
+ <Compile Include="Mainsoft.Web.Configuration\PagesSection.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\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> \ No newline at end of file
diff --git a/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/MainsoftWebSectionGroup.cs b/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/MainsoftWebSectionGroup.cs
new file mode 100644
index 00000000000..225d32b3747
--- /dev/null
+++ b/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/MainsoftWebSectionGroup.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Configuration;
+
+namespace Mainsoft.Web.Configuration
+{
+ public class MainsoftWebSectionGroup : ConfigurationSectionGroup
+ {
+ [ConfigurationProperty ("pages")]
+ public PagesSection Pages {
+ get { return (PagesSection) Sections ["pages"]; }
+ }
+ }
+}
diff --git a/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/PagesSection.cs b/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/PagesSection.cs
new file mode 100644
index 00000000000..6561ba2feca
--- /dev/null
+++ b/mcs/class/Mainsoft.Configuration/Mainsoft.Web.Configuration/PagesSection.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Configuration;
+
+namespace Mainsoft.Web.Configuration
+{
+ public class PagesSection : ConfigurationSection
+ {
+ [ConfigurationPropertyAttribute ("multiForm", DefaultValue = false)]
+ public bool MultiForm {
+ get {
+ return (bool) this ["multiForm"];
+ }
+ set {
+ this ["multiForm"] = value;
+ }
+ }
+ }
+}
diff --git a/mcs/class/Mainsoft.Configuration/Properties/AssemblyInfo.cs b/mcs/class/Mainsoft.Configuration/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000000..0246e59c301
--- /dev/null
+++ b/mcs/class/Mainsoft.Configuration/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("Mainsoft.Configuration")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("")]
+[assembly: AssemblyProduct ("Mainsoft.Configuration")]
+[assembly: AssemblyCopyright ("Copyright © 2007")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible (false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid ("bb6e0097-9341-4bdb-8558-3c07daa6d3e1")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyFileVersion ("1.0.0.0")]