migrated to ASP.Net Core

This commit is contained in:
RaidMax 2018-02-21 19:29:23 -06:00
parent 8aae31d10d
commit 3f82ecacfc
4407 changed files with 311698 additions and 124726 deletions

View File

@ -160,6 +160,22 @@
<binding protocol="http" bindingInformation=":8080:localhost" />
</bindings>
</site>
<site name="Webfront" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\User\Desktop\stuff\IW4M-Admin\IW4M-Admin\Webfront" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:9327:localhost" />
</bindings>
</site>
<site name="WebfrontCore" id="3">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\User\Desktop\stuff\IW4M-Admin\IW4M-Admin\WebfrontCore" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:38815:localhost" />
</bindings>
</site>
<siteDefaults>
<logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
<traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />

View File

@ -5,11 +5,11 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DD5DCDA2-51DB-4B1A-922F-5705546E6115}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>IW4MAdmin</RootNamespace>
<AssemblyName>IW4MAdmin</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
@ -38,7 +38,7 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
@ -79,7 +79,8 @@
<ApplicationIcon>IW4AdminIcon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<StartupObject>IW4MAdmin.Program</StartupObject>
<StartupObject>
</StartupObject>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
@ -90,9 +91,7 @@
</PropertyGroup>
<PropertyGroup />
<PropertyGroup />
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Stable|AnyCPU'">
<OutputPath>bin\Release-Stable\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
@ -121,18 +120,47 @@
<OutputPath>bin\x86\Release-Stable\</OutputPath>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>CODE_ANALYSIS;DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<RunCodeAnalysis>true</RunCodeAnalysis>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisIgnoreGeneratedCode>false</CodeAnalysisIgnoreGeneratedCode>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Nightly|x64'">
<OutputPath>bin\x64\Release-Nightly\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<WarningLevel>3</WarningLevel>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisIgnoreGeneratedCode>false</CodeAnalysisIgnoreGeneratedCode>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Stable|x64'">
<OutputPath>bin\x64\Release-Stable\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<WarningLevel>3</WarningLevel>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisIgnoreGeneratedCode>false</CodeAnalysisIgnoreGeneratedCode>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Kayak, Version=0.7.2.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>lib\Kayak.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Data" />
@ -141,7 +169,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Kayak.cs" />
<None Include="Kayak.cs" />
<Compile Include="Logger.cs" />
<Compile Include="Main.cs" />
<Compile Include="Manager.cs" />
@ -153,7 +181,6 @@
</Compile>
<Compile Include="Server.cs" />
<Compile Include="ServerConfigurationGenerator.cs" />
<Compile Include="WebService.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Webfront\chat.html">
@ -176,18 +203,6 @@
</Content>
<None Include="app.manifest" />
<Content Include="IW4AdminIcon.ico" />
<Content Include="Lib\Kayak.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Lib\Newtonsoft.Json.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Lib\SharedLibrary.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="version.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Webfront\admins.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@ -203,7 +218,7 @@
<Content Include="Webfront\footer.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Webfront\header.html">
<Content Include="Webfront\_header.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Webfront\login.html">
@ -236,15 +251,9 @@
<Content Include="Config\rules.cfg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="app.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<Content Include="Config\web.cfg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="IW4MAdmin.exe.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
@ -353,7 +362,9 @@
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Folder Include="Webfront\views\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /E "$(SolutionDir)lib" "$(TargetDir)lib"

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,891 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>EntityFramework.SqlServerCompact</name>
</assembly>
<members>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator">
<summary>
Provider to convert provider agnostic migration operations into SQL commands
that can be run against a Microsoft SQL Server Compact Edition database.
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Collections.Generic.IEnumerable{System.Data.Entity.Migrations.Model.MigrationOperation},System.String)">
<summary>
Converts a set of migration operations into Microsoft SQL Server specific SQL.
</summary>
<param name="migrationOperations"> The operations to be converted. </param>
<param name="providerManifestToken"> Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). </param>
<returns> A list of SQL statements to be executed to perform the migration operations. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.UpdateDatabaseOperation)">
<summary>
Generates the specified update database operation which represents applying a series of migrations.
The generated script is idempotent, meaning it contains conditional logic to check if individual migrations
have already been applied and only apply the pending ones.
</summary>
<param name="updateDatabaseOperation">The update database operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MigrationOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.MigrationOperation"/>.
Allows derived providers to handle additional operation types.
Generated SQL should be added using the Statement method.
</summary>
<param name="migrationOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.CreateConnection">
<summary>
Creates an empty connection for the current provider.
Allows derived providers to use connection other than <see cref="T:System.Data.SqlClient.SqlConnection"/>.
</summary>
<returns> An empty connection for the current provider. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateProcedureOperation)">
<summary>
Generates the specified create procedure operation.
</summary>
<param name="createProcedureOperation">The create procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterProcedureOperation)">
<summary>
Generates the specified alter procedure operation.
</summary>
<param name="alterProcedureOperation">The alter procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropProcedureOperation)">
<summary>
Generates the specified drop procedure operation.
</summary>
<param name="dropProcedureOperation">The drop procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.CreateTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="createTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterTableOperation)">
<summary>
Override this method to generate SQL when the definition of a table or its attributes are changed.
The default implementation of this method does nothing.
</summary>
<param name="alterTableOperation"> The operation describing changes to the table. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.GenerateMakeSystemTable(System.Data.Entity.Migrations.Model.CreateTableOperation,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Generates SQL to mark a table as a system table.
Generated SQL should be added using the Statement method.
</summary>
<param name="createTableOperation"> The table to mark as a system table. </param>
<param name="writer"> The <see cref="T:System.Data.Entity.Migrations.Utilities.IndentedTextWriter"/> to write the generated SQL to. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddForeignKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddForeignKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addForeignKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropForeignKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropForeignKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropForeignKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.CreateIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="createIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addPrimaryKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropPrimaryKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AlterColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="alterColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.SqlOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.SqlOperation"/>.
Generated SQL should be added using the Statement or StatementBatch methods.
</summary>
<param name="sqlOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameProcedureOperation)">
<summary>
Generates the specified rename procedure operation.
</summary>
<param name="renameProcedureOperation">The rename procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MoveProcedureOperation)">
<summary>
Generates the specified move procedure operation.
</summary>
<param name="moveProcedureOperation">The move procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MoveTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.MoveTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="moveTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.ColumnModel,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Generates SQL for the given column model. This method is called by other methods that
process columns and can be overridden to change the SQL generated.
</summary>
<param name="column">The column for which SQL is being generated.</param>
<param name="writer">The writer to which generated SQL should be written.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.HistoryOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.HistoryOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="historyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Byte[])">
<summary>
Generates SQL to specify a constant byte[] default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Boolean)">
<summary>
Generates SQL to specify a constant bool default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.DateTime)">
<summary>
Generates SQL to specify a constant DateTime default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.DateTimeOffset)">
<summary>
Generates SQL to specify a constant DateTimeOffset default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Guid)">
<summary>
Generates SQL to specify a constant Guid default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.String)">
<summary>
Generates SQL to specify a constant string default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.TimeSpan)">
<summary>
Generates SQL to specify a constant TimeSpan default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Spatial.DbGeography)">
<summary>
Generates SQL to specify a constant geogrpahy default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Spatial.DbGeometry)">
<summary>
Generates SQL to specify a constant geometry default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Object)">
<summary>
Generates SQL to specify a constant default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.BuildColumnType(System.Data.Entity.Migrations.Model.ColumnModel)">
<summary>
Generates SQL to specify the data type of a column.
This method just generates the actual type, not the SQL to create the column.
</summary>
<param name="columnModel"> The definition of the column. </param>
<returns> SQL representing the data type. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Name(System.String)">
<summary>
Generates a quoted name. The supplied name may or may not contain the schema.
</summary>
<param name="name"> The name to be quoted. </param>
<returns> The quoted name. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Quote(System.String)">
<summary>
Quotes an identifier for SQL Server.
</summary>
<param name="identifier"> The identifier to be quoted. </param>
<returns> The quoted identifier. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Statement(System.String,System.Boolean)">
<summary>
Adds a new Statement to be executed against the database.
</summary>
<param name="sql"> The statement to be executed. </param>
<param name="suppressTransaction"> Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Writer">
<summary>
Gets a new <see cref="T:System.Data.Entity.Migrations.Utilities.IndentedTextWriter"/> that can be used to build SQL.
This is just a helper method to create a writer. Writing to the writer will
not cause SQL to be registered for execution. You must pass the generated
SQL to the Statement method.
</summary>
<returns> An empty text writer to use for SQL generation. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Statement(System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Adds a new Statement to be executed against the database.
</summary>
<param name="writer"> The writer containing the SQL to be executed. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.StatementBatch(System.String,System.Boolean)">
<summary>
Breaks string into one or more statements, handling T-SQL utility statements as necessary.
</summary>
<param name="sqlBatch">The SQL to split into one ore more statements to be executed.</param>
<param name="suppressTransaction"> Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. </param>
</member>
<member name="P:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.GuidColumnDefault">
<summary>
Returns the column default value to use for store-generated GUID columns when
no default value is explicitly specified in the migration.
Always returns newid() for SQL Compact.
</summary>
<value>The string newid().</value>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderManifest.SupportsParameterOptimizationInSchemaQueries">
<summary>
Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195.
</summary>
<returns><c>True</c> since this provider supports the parameter optimization.</returns>
</member>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeProviderServices">
<summary>
The ProviderServices object for the Sql CE provider
</summary>
<remarks>
Note that instance of this type also resolves additional provider services for Microsoft SQL Server Compact Edition
when this type is registered as an EF provider either using an entry in the application's config file or through
code-based registration in <see cref="T:System.Data.Entity.DbConfiguration"/>.
The services resolved are:
Requests for <see cref="T:System.Data.Entity.Infrastructure.IDbConnectionFactory"/> are resolved to a Singleton instance of
<see cref="T:System.Data.Entity.Infrastructure.SqlCeConnectionFactory"/> to create connections to SQL Compact by default.
Requests for <see cref="T:System.Data.Entity.Migrations.Sql.MigrationSqlGenerator"/> for the invariant name "System.Data.SqlServerCe.4.0" are
resolved to <see cref="T:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator"/> instances to provide default Migrations SQL
generation for SQL Compact.
</remarks>
</member>
<member name="F:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.ProviderInvariantName">
<summary>
This is the well-known string using in configuration files and code-based configuration as
the "provider invariant name" used to specify Microsoft SQL Server Compact Edition 4.0 for
ADO.NET and Entity Framework provider services.
</summary>
</member>
<member name="F:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.Instance">
<summary>
Singleton object;
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbCreateDatabaseScript(System.String,System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for generating script for creating schema objects from the Store Item Collection.
</summary>
<param name="providerManifestToken"> Provider manifest </param>
<param name="storeItemCollection"> Store items </param>
<returns> T-SQL script for generating schema objects. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for checkin whether database exists or not.
This will internally only check whether the file that the connection points to exists or not.
Note: In case of SQLCE, timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
<returns> Bool indicating whether database exists or not. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})">
<summary>
API for checkin whether database exists or not.
This will internally only check whether the file that the connection points to exists or not.
Note: In case of SQLCE, timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
<returns> Bool indicating whether database exists or not. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for deleting the database.
In SQLCE case, this will translate to File.Delete() call.
Note: Timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbCreateDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for creating the databse and schema objects given a StoreItemCollection.
This will do following things:
1. Create a new database using SqlCeEngine.CreateDatabase().
2. Generate scripts for creating schema objects.
3. Execute the scrip generated in step2.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands </param>
<param name="storeItemCollection"> Store Item Collection </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.RegisterInfoMessageHandler(System.Data.Common.DbConnection,System.Action{System.String})">
<summary>
Registers a handler to process non-error messages coming from the database provider.
</summary>
<param name="connection">The connection to receive information for.</param>
<param name="handler">The handler to process messages.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.CreateDbCommandDefinition(System.Data.Entity.Core.Common.DbProviderManifest,System.Data.Entity.Core.Common.CommandTrees.DbCommandTree)">
<summary>
Create a Command Definition object, given the connection and command tree
</summary>
<param name="providerManifest"> provider manifest that was determined from metadata </param>
<param name="commandTree"> command tree for the statement </param>
<returns> an executable command definition object </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.GetDbProviderManifestToken(System.Data.Common.DbConnection)">
<summary>
Returns provider manifest token for a given connection.
</summary>
<param name="connection">Connection to find manifest token from.</param>
<returns>The provider manifest token for the specified connection.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.GetDbProviderManifest(System.String)">
<summary>
Returns the provider manifest by using the specified version information.
</summary>
<returns> The provider manifest by using the specified version information. </returns>
<param name="versionHint"> The token information associated with the provider manifest. </param>
</member>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeFunctions">
<summary>
Contains function stubs that expose SqlServerCe methods in Linq to Entities.
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String)">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[])">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String,System.Nullable{System.Int32})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[],System.Nullable{System.Int32})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String,System.Nullable{System.Int64})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>
A <see cref="T:System.Nullable`1" /> of <see cref="T:System.Int64" /> value that is the starting position of toFind if it is found in toSearch .
</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[],System.Nullable{System.Int64})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.NChar(System.Nullable{System.Int32})">
<summary>Returns the Unicode character with the specified integer code, as defined by the Unicode standard.</summary>
<returns>The character that corresponds to the input character code.</returns>
<param name="arg">A character code.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.PatIndex(System.String,System.String)">
<summary>Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types.</summary>
<returns>The starting character position where the string pattern was found.</returns>
<param name="stringPattern">A string pattern to search for.</param>
<param name="target">The string to search.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Replicate(System.String,System.Nullable{System.Int32})">
<summary>Repeats a string value a specified number of times.</summary>
<returns>The target string, repeated the number of times specified by count .</returns>
<param name="target">A valid string.</param>
<param name="count">The value that specifies how many time to repeat target .</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Space(System.Nullable{System.Int32})">
<summary>Returns a string of repeated spaces.</summary>
<returns>A string that consists of the specified number of spaces.</returns>
<param name="arg1">The number of spaces. If negative, a null string is returned.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double},System.Nullable{System.Int32},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
<param name="decimalArg">The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal},System.Nullable{System.Int32},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
<param name="decimalArg">The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Stuff(System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.String)">
<summary>Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position.</summary>
<returns>A string consisting of the two strings.</returns>
<param name="stringInput">The target string.</param>
<param name="start">The character position in stringinput where the replacement string is to be inserted.</param>
<param name="length">The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement .</param>
<param name="stringReplacement">The substring to be inserted into stringInput .</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Unicode(System.String)">
<summary>Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.</summary>
<returns>The character code for the first character in the input string.</returns>
<param name="arg">A valid string.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Acos(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.</summary>
<returns>The angle, in radians, defined by the input cosine value.</returns>
<param name="arg1">The cosine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Acos(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The cosine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Asin(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The sine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Asin(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The sine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The tangent of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The tangent of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan2(System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The y-coordinate of a point.</param>
<param name="arg2">The x-coordinate of a point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan2(System.Nullable{System.Decimal},System.Nullable{System.Decimal})">
<summary>Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The y-coordinate of a point.</param>
<param name="arg2">The x-coordinate of a point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cos(System.Nullable{System.Double})">
<summary>Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.</summary>
<returns>The trigonometric cosine of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cos(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.</summary>
<returns>The trigonometric cosine of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cot(System.Nullable{System.Double})">
<summary>A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.</summary>
<returns>The trigonometric cotangent of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cot(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.</summary>
<returns>The trigonometric cotangent of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Int32})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Int64})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Decimal})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Double})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Exp(System.Nullable{System.Double})">
<summary>Returns the exponential value of the specified float expression.</summary>
<returns>The constant e raised to the power of the input value.</returns>
<param name="arg">The input value.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Exp(System.Nullable{System.Decimal})">
<summary>Returns the exponential value of the specified float expression.</summary>
<returns>The constant e raised to the power of the input value.</returns>
<param name="arg">The input value.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log(System.Nullable{System.Double})">
<summary>Returns the natural logarithm of the specified input value.</summary>
<returns>The natural logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log(System.Nullable{System.Decimal})">
<summary>Returns the natural logarithm of the specified input value.</summary>
<returns>The natural logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log10(System.Nullable{System.Double})">
<summary>Returns the base-10 logarithm of the specified input value.</summary>
<returns>The base-10 logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log10(System.Nullable{System.Decimal})">
<summary>Returns the base-10 logarithm of the specified input value.</summary>
<returns>The base-10 logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Pi">
<summary>Returns the constant value of pi.</summary>
<returns>The numeric value of pi.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Int32})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Int64})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Decimal})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Double})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Rand">
<summary>Returns a pseudo-random float value from 0 through 1, exclusive.</summary>
<returns>The pseudo-random value.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Rand(System.Nullable{System.Int32})">
<summary>Returns a pseudo-random float value from 0 through 1, exclusive.</summary>
<returns>The pseudo-random value.</returns>
<param name="seed">The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Int32})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Int64})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Decimal})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Double})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sin(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric sine of the specified angle.</summary>
<returns>The trigonometric sine of the input expression.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sin(System.Nullable{System.Double})">
<summary>Returns the trigonometric sine of the specified angle.</summary>
<returns>The trigonometric sine of the input expression.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.SquareRoot(System.Nullable{System.Double})">
<summary>Returns the square root of the specified number.</summary>
<returns>The square root of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.SquareRoot(System.Nullable{System.Decimal})">
<summary>Returns the square root of the specified number.</summary>
<returns>The square root of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Tan(System.Nullable{System.Double})">
<summary>Returns the trigonometric tangent of the input expression.</summary>
<returns>The tangent of the input angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Tan(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric tangent of the input expression.</summary>
<returns>The tangent of the input angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateAdd(System.String,System.Nullable{System.Double},System.Nullable{System.DateTime})">
<summary>Returns a new datetime value based on adding an interval to the specified date.</summary>
<returns>The new date.</returns>
<param name="datePartArg">The part of the date to increment. </param>
<param name="number">The value used to increment a date by a specified amount.</param>
<param name="date">The date to increment.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateAdd(System.String,System.Nullable{System.Double},System.String)">
<summary>Returns a new datetime value based on adding an interval to the specified date.</summary>
<returns>
A <see cref="T:System.Nullable`1" /> of <see cref="T:System.DateTime" /> value that is the new date.
</returns>
<param name="datePartArg">The part of the date to increment.</param>
<param name="number">The value used to increment a date by a specified amount.</param>
<param name="date">The date to increment.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.String,System.Nullable{System.DateTime})">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.Nullable{System.DateTime},System.String)">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.String,System.String)">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateName(System.String,System.Nullable{System.DateTime})">
<summary>Returns a character string that represents the specified datepart of the specified date.</summary>
<returns>The specified part of the specified date.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateName(System.String,System.String)">
<summary>Returns a character string that represents the specified datepart of the specified date.</summary>
<returns>The specified part of the specified date.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DatePart(System.String,System.Nullable{System.DateTime})">
<summary>Returns an integer that represents the specified datepart of the specified date.</summary>
<returns>The the specified datepart of the specified date.</returns>
<param name="datePartArg">The part of the date to return the value.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DatePart(System.String,System.String)">
<summary>Returns an integer that represents the specified datepart of the specified date.</summary>
<returns>The specified datepart of the specified date.</returns>
<param name="datePartArg">The part of the date to return the value.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.GetDate">
<summary>Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running.</summary>
<returns>The current database timestamp.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Boolean})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Double})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Decimal})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.DateTime})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.String)">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Byte[])">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Guid})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.30729.4148" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="1b065fdf0cb8516b0553128eae4af39c5f8eeb46"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>Vy8CgQgbu3qH5JHTK0op4kR8114=</dsig:DigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="45d3027d87eade77317e92994790598c755b3920"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>QTJu3Gttpt8hhCktGelNeXj4Yp8=</dsig:DigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="e77fd69f7c88f34329d8a95c3179f67ead330217"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>1ruqF7/L+m1tqnJVscaOtNRNHIE=</dsig:DigestValue></asmv2:hash></file>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.30729.4148" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="98e8006e0a4542e69f1a3555b927758bd76ca07d"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>+CXED+6HzJlSphyMNOn27ujadC0=</dsig:DigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="3aec3be680024a46813dee891a753bd58b3f3b12"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>MyKED+9DyS+1XcMeaC0Zlw2vFZ0=</dsig:DigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="0195dd0896d74b62531e4f3c771904a3d996450e"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>EeyDE7og6WoPd2oBhYbMEnpFHhY=</dsig:DigestValue></asmv2:hash></file>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,20 +5,26 @@ using SharedLibrary;
using System.Threading.Tasks;
using System.IO;
using SharedLibrary.Objects;
using System.Reflection;
#if DEBUG
using SharedLibrary.Database;
#endif
namespace IW4MAdmin
{
class Program
public class Program
{
[DllImport("kernel32.dll")]
public static extern bool AllocConsole();
static public double Version { get; private set; }
static private ApplicationManager ServerManager;
static public ApplicationManager ServerManager = ApplicationManager.GetInstance();
public static string OperatingDirectory = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + Path.DirectorySeparatorChar;
static void Main(string[] args)
public static void Main(string[] args)
{
AppDomain.CurrentDomain.SetData("DataDirectory", OperatingDirectory);
System.Diagnostics.Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.BelowNormal;
Version = 1.6;
@ -39,8 +45,11 @@ namespace IW4MAdmin
ServerManager = ApplicationManager.GetInstance();
ServerManager.Init();
Task.Run(() =>
{
ServerManager.Start();
/*
String userInput;
Player Origin = ServerManager.GetClientService().Get(1).Result.AsPlayer();
@ -59,7 +68,7 @@ namespace IW4MAdmin
ServerManager.Servers[0].ExecuteEvent(E);
Console.Write('>');
} while (ServerManager.Running);
} while (ServerManager.Running);*/
});
}
@ -74,7 +83,7 @@ namespace IW4MAdmin
try
{
ServerManager.Start();
}
catch (Exception e)
@ -105,26 +114,27 @@ namespace IW4MAdmin
static void CheckDirectories()
{
if (!Directory.Exists("Lib"))
string curDirectory = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + Path.DirectorySeparatorChar;
if (!Directory.Exists($"{curDirectory}Lib"))
throw new Exception("Lib folder does not exist");
if (!Directory.Exists("Config"))
if (!Directory.Exists($"{curDirectory}Config"))
{
Console.WriteLine("Warning: Config folder does not exist");
Directory.CreateDirectory("Config");
Directory.CreateDirectory($"{curDirectory}Config");
}
if (!Directory.Exists("Config/Servers"))
Directory.CreateDirectory("Config/Servers");
if (!Directory.Exists($"{curDirectory}Config/Servers"))
Directory.CreateDirectory($"{curDirectory}Config/Servers");
if (!Directory.Exists("Logs"))
Directory.CreateDirectory("Logs");
if (!Directory.Exists($"{curDirectory}Logs"))
Directory.CreateDirectory($"{curDirectory}Logs");
if (!Directory.Exists("Database"))
Directory.CreateDirectory("Database");
if (!Directory.Exists($"{curDirectory}Database"))
Directory.CreateDirectory($"{curDirectory}Database");
if (!Directory.Exists("Plugins"))
Directory.CreateDirectory("Plugins");
if (!Directory.Exists($"{curDirectory}Plugins"))
Directory.CreateDirectory($"{curDirectory}Plugins");
}
}
}

View File

@ -17,7 +17,7 @@ using SharedLibrary.Services;
namespace IW4MAdmin
{
class ApplicationManager : IManager
public class ApplicationManager : IManager
{
private List<Server> _servers;
public List<Server> Servers => _servers.OrderByDescending(s => s.ClientNum).ToList();
@ -28,7 +28,7 @@ namespace IW4MAdmin
List<AsyncStatus> TaskStatuses;
List<Command> Commands;
List<MessageToken> MessageTokens;
WebService WebSvc;
//WebService WebSvc;
Thread WebThread;
ClientService ClientSvc;
AliasService AliasSvc;
@ -41,7 +41,7 @@ namespace IW4MAdmin
private ApplicationManager()
{
Logger = new Logger("Logs/IW4MAdmin.log");
Logger = new Logger($@"{SharedLibrary.Utilities.OperatingDirectory}Logs{Path.DirectorySeparatorChar}IW4MAdmin.log");
_servers = new List<Server>();
Commands = new List<Command>();
TaskStatuses = new List<AsyncStatus>();
@ -69,9 +69,9 @@ namespace IW4MAdmin
public void Init()
{
#region WEBSERVICE
SharedLibrary.WebService.Init();
WebSvc = new WebService();
WebSvc.StartScheduler();
// SharedLibrary.WebService.Init();
//WebSvc = new WebService();
//WebSvc.StartScheduler();
#endregion
#region PLUGINS
@ -94,7 +94,7 @@ namespace IW4MAdmin
#endregion
#region CONFIG
var Configs = Directory.EnumerateFiles("config/servers").Where(x => x.Contains(".cfg"));
var Configs = Directory.EnumerateFiles($"{Program.OperatingDirectory}config/servers").Where(x => x.Contains(".cfg"));
if (Configs.Count() == 0)
ServerConfigurationGenerator.Generate();
@ -224,8 +224,8 @@ namespace IW4MAdmin
S.Broadcast("^1IW4MAdmin going offline!");
#endif
_servers.Clear();
WebSvc.WebScheduler.Stop();
WebSvc.SchedulerThread.Join();
//WebSvc.WebScheduler.Stop();
//WebSvc.SchedulerThread.Join();
}

View File

@ -11,7 +11,7 @@ using System.Resources;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ForeverNone LLC")]
[assembly: AssemblyProduct("IW4MAdmin")]
[assembly: AssemblyCopyright("2017")]
[assembly: AssemblyCopyright("2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@ -33,5 +33,5 @@ using System.Resources;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.*")]
[assembly: AssemblyVersion("1.6.*")]
[assembly: NeutralResourcesLanguageAttribute("en")]

View File

@ -12,7 +12,7 @@ namespace IW4MAdmin.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

View File

@ -591,7 +591,7 @@ namespace IW4MAdmin
{
if (E.Type == Event.GType.Connect)
{
ChatHistory.Add(new Chat(E.Origin.Name, "<i>CONNECTED</i>", DateTime.Now));
ChatHistory.Add(new Chat(E.Origin.Name, "CONNECTED", DateTime.Now));
if (E.Origin.Level > Player.Permission.Moderator)
await E.Origin.Tell($"There are ^5{Reports.Count} ^7recent reports");
@ -611,7 +611,7 @@ namespace IW4MAdmin
else if (E.Type == Event.GType.Disconnect)
{
ChatHistory.Add(new Chat(E.Origin.Name, "<i>DISCONNECTED</i>", DateTime.Now));
ChatHistory.Add(new Chat(E.Origin.Name, "DISCONNECTED", DateTime.Now));
}
else if (E.Type == Event.GType.Script)
@ -749,8 +749,10 @@ namespace IW4MAdmin
return;
}
}
#if !DEBUG
else
await Target.CurrentServer.ExecuteCommandAsync($"clientkick {Target.ClientNumber} \"Player Kicked: ^5{Reason}^7\"");
#endif
#if DEBUG
await Target.CurrentServer.RemovePlayer(Target.ClientNumber);
@ -776,8 +778,8 @@ namespace IW4MAdmin
// ensure player gets banned if command not performed on them in game
if (Target.ClientNumber < 0)
{
var ingameClient = Manager.GetActiveClients()
.FirstOrDefault(c => c.ClientId == Target.ClientId);
var ingameClient = Manager.GetActiveClients()
.FirstOrDefault(c => c.ClientId == Target.ClientId);
if (ingameClient != null)
{

View File

@ -1,930 +0,0 @@
using Kayak;
using Kayak.Http;
using SharedLibrary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using SharedLibrary.Objects;
using System.Threading.Tasks;
using SharedLibrary.Services;
using System.Linq.Expressions;
using SharedLibrary.Database.Models;
using System.Collections.Specialized;
using SharedLibrary.Dtos;
namespace IW4MAdmin
{
public class WebService
{
public IServer WebServer { get; private set; }
public IScheduler WebScheduler { get; private set; }
public Thread SchedulerThread { get; private set; }
public void StartScheduler()
{
WebScheduler = KayakScheduler.Factory.Create(new Scheduler());
WebServer = KayakServer.Factory.CreateHttp(new Request(), WebScheduler);
SharedLibrary.WebService.PageList.Add(new Pages());
SharedLibrary.WebService.PageList.Add(new Homepage());
SharedLibrary.WebService.PageList.Add(new ServersJSON());
SharedLibrary.WebService.PageList.Add(new PlayerHistoryJSON());
SharedLibrary.WebService.PageList.Add(new Penalties());
SharedLibrary.WebService.PageList.Add(new PenaltiesJSON());
SharedLibrary.WebService.PageList.Add(new Players());
SharedLibrary.WebService.PageList.Add(new GetPlayer());
SharedLibrary.WebService.PageList.Add(new WebConsole());
SharedLibrary.WebService.PageList.Add(new ConsoleJSON());
SharedLibrary.WebService.PageList.Add(new PubbansJSON());
SharedLibrary.WebService.PageList.Add(new AdminsJSON());
SharedLibrary.WebService.PageList.Add(new Admins());
SharedLibrary.WebService.PageList.Add(new Profile());
SchedulerThread = new Thread(() =>
{
ScheduleThreadStart(WebScheduler, WebServer);
})
{
Name = "Web Service Thread"
};
SchedulerThread.Start();
}
private static void ScheduleThreadStart(IScheduler S, IServer ss)
{
try
{
string[] webConfig = System.IO.File.ReadAllLines("config\\web.cfg");
var address = Dns.GetHostAddresses(webConfig[0])[0];
int port = Convert.ToInt32(webConfig[1]);
try
{
using (ss.Listen(new IPEndPoint(address, port)))
S.Start();
}
catch (Exception e)
{
ApplicationManager.GetInstance().Logger.WriteError($"Unable to start webservice ( port is probably in use ): {e.Message}");
}
}
catch (Exception)
{
using (ss.Listen(new IPEndPoint(IPAddress.Any, 1624)))
S.Start();
}
}
public static HttpResponse GetPage(string path, System.Collections.Specialized.NameValueCollection queryset, IDictionary<string, string> headers)
{
if (SharedLibrary.WebService.PageList == null || SharedLibrary.WebService.PageList.Count == 0)
return new HttpResponse() { content = "Error: page list not initialized!", contentType = "text/plaintext" };
if (path == null)
return new HttpResponse() { content = "Error: no path specified", contentType = "text/plaintext" };
IPage requestedPage = SharedLibrary.WebService.PageList.Find(x => x.GetPath().ToLower() == path.ToLower());
if (requestedPage != null)
return Task.Run(async () => await requestedPage.GetPage(queryset, headers)).Result;
else
{
if (File.Exists(path.Replace("/", "\\").Substring(1)))
{
var f = File.ReadAllBytes(path.Replace("/", "\\").Substring(1));
if (path.Contains(".css"))
{
HttpResponse css = new HttpResponse()
{
additionalHeaders = new Dictionary<string, string>(),
content = Encoding.ASCII.GetString(f),
contentType = "text/css"
};
return css;
}
else if (path.Contains(".js"))
{
HttpResponse css = new HttpResponse()
{
additionalHeaders = new Dictionary<string, string>(),
content = Encoding.ASCII.GetString(f),
contentType = "application/javascript"
};
return css;
}
else if (path.Contains(".png"))
{
HttpResponse png = new HttpResponse()
{
additionalHeaders = new Dictionary<string, string>(),
BinaryContent = f,
contentType = "image/png"
};
return png;
}
}
requestedPage = new Error404();
return Task.Run(async () => await requestedPage.GetPage(queryset, headers)).Result;
}
}
}
class Error404 : IPage
{
public string GetName()
{
return "404";
}
public string GetPath()
{
return "";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
HttpResponse resp = new HttpResponse()
{
additionalHeaders = new Dictionary<string, string>(),
content = "404 not found!",
contentType = GetContentType()
};
return resp;
}
public string GetContentType()
{
return "text/html";
}
public bool Visible()
{
return false;
}
}
class Homepage : HTMLPage
{
public override string GetName()
{
return "Home";
}
public override string GetPath()
{
return "/";
}
public override string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
StringBuilder S = new StringBuilder();
S.Append(LoadHeader());
IFile p = new IFile("webfront\\main.html");
S.Append(p.GetText());
p.Close();
S.Append(LoadFooter());
return S.ToString();
}
}
class ServersJSON : IPage
{
public string GetName()
{
return "Servers";
}
public string GetPath()
{
return "/_servers";
}
public async Task<HttpResponse> GetPage(NameValueCollection querySet, IDictionary<string, string> headers)
{
var info = new List<ServerInfo>();
foreach (Server S in ApplicationManager.GetInstance().Servers)
{
ServerInfo eachServer = new ServerInfo()
{
serverName = S.Hostname,
serverPort = S.GetPort(),
maxPlayers = S.MaxClients,
mapName = S.CurrentMap.Alias,
gameType = Utilities.GetLocalizedGametype(S.Gametype),
currentPlayers = S.GetPlayersAsList().Count,
chatHistory = S.ChatHistory,
players = new List<PlayerInfo>(),
PlayerHistory = S.PlayerHistory.ToArray()
};
int ip = querySet["ip"].ConvertToIP();
// var admins = (await (ApplicationManager.GetInstance().GetClientService() as ClientService).GetPrivilegedClients());
bool authed = true; //(await (ApplicationManager.GetInstance().GetClientService() as ClientService).IsAuthenticated(ip));//admins.FirstOrDefault(a => a.IPAddress == ip) != null;
// if (ip == 16777343)
// authed = true;
foreach (Player P in S.GetPlayersAsList())
{
PlayerInfo pInfo = new PlayerInfo()
{
playerID = P.ClientId,
playerName = P.Name,
playerLevel = authed ? P.Level.ToString() : Player.Permission.User.ToString()
};
eachServer.players.Add(pInfo);
}
info.Add(eachServer);
}
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(info),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class PlayerHistoryJSON : IPage
{
public string GetName()
{
return "Player History";
}
public string GetPath()
{
return "/_playerhistory";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
var history = new SharedLibrary.Helpers.PlayerHistory[0];
try
{
int id = Int32.Parse(querySet["server"]);
history = ApplicationManager.GetInstance().GetServers()[id].PlayerHistory.ToArray();
}
catch (Exception)
{
}
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(history),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class Info : IPage
{
public string GetName()
{
return "Info";
}
public string GetPath()
{
return "/_info";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
ApplicationInfo info = new ApplicationInfo()
{
name = "IW4MAdmin",
version = Program.Version
};
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(info),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class ConsoleJSON : IPage
{
public string GetName()
{
return "_Console";
}
public string GetPath()
{
return "/_console";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
var cmd = new List<SharedLibrary.Helpers.CommandResult>();
if (querySet["command"] != null)
{
if (querySet["server"] != null)
{
Server S = ApplicationManager.GetInstance().Servers.ToList().Find(x => (x.GetPort().ToString() == querySet["server"]));
if (S != null)
{
int ip = querySet["ip"].ConvertToIP();
var admins = (await (ApplicationManager.GetInstance().GetClientService() as ClientService).GetPrivilegedClients());
Player admin = admins.FirstOrDefault(a => a.IPAddress == ip)?.AsPlayer();
if (ip == 16777343)
admin = admins.First(a => a.IPAddress == 0).AsPlayer();
if (admin == null)
admin = new Player() { Name = "RestUser" };
Event remoteEvent = new Event(Event.GType.Say, querySet["command"], admin, null, S)
{
Remote = true
};
admin.CurrentServer = S;
await S.ExecuteEvent(remoteEvent);
var results = S.commandResult.Where(c => c.Clientd == admin.ClientId).ToList();
cmd.AddRange(results);
for (int i = 0; i < results.Count(); i++)
S.commandResult.Remove(results[i]);
}
else
cmd.Add(new SharedLibrary.Helpers.CommandResult() { Clientd = 0, Message = "Invalid server selected" });
}
else
cmd.Add(new SharedLibrary.Helpers.CommandResult() { Clientd = 0, Message = "No server selected" });
}
else
{
cmd.Add(new SharedLibrary.Helpers.CommandResult() { Clientd = 0, Message = "No command entered" });
}
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(cmd),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class PenaltiesJSON : IPage
{
public string GetName()
{
return "Penalties";
}
public string GetPath()
{
return "/_penalties";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
int from = 0;
if (querySet["from"] != null)
from = Int32.Parse(querySet["from"]);
List<PenaltyInfo> info = new List<PenaltyInfo>();
foreach (var penalty in await ApplicationManager.GetInstance().GetPenaltyService().GetRecentPenalties(15, from))
{
PenaltyInfo pInfo = new PenaltyInfo()
{
adminName = penalty.Punisher.Name,
adminLevel = penalty.Punisher.Level.ToString(),
penaltyReason = penalty.Offense,
penaltyTime = Utilities.GetTimePassed(penalty.When),
penaltyType = penalty.Type.ToString(),
playerName = penalty.Offender.Name,
playerID = penalty.Offender.ClientId,
Expires = penalty.Expires > DateTime.UtcNow ? (penalty.Expires - DateTime.UtcNow).TimeSpanText() : ""
};
info.Add(pInfo);
}
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(info),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class Penalties : HTMLPage
{
public override string GetName()
{
return "Penalties";
}
public override string GetPath()
{
return "/penalties";
}
public override string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
StringBuilder S = new StringBuilder();
S.Append(LoadHeader());
IFile penalities = new IFile("webfront\\penalties.html");
S.Append(penalities.GetText());
penalities.Close();
S.Append(LoadFooter());
return S.ToString();
}
}
class WebConsole : HTMLPage
{
public override string GetName()
{
return "Console";
}
public override string GetPath()
{
return "/console";
}
public override string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
StringBuilder S = new StringBuilder();
S.Append(LoadHeader());
IFile console = new IFile("webfront\\console.html");
S.Append(console.GetText());
console.Close();
S.Append(LoadFooter());
return S.ToString();
}
}
class Players : HTMLPage
{
public override string GetName()
{
return "Players";
}
public override string GetPath()
{
return "/players";
}
public override string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
StringBuilder S = new StringBuilder();
S.Append(LoadHeader());
IFile penalities = new IFile("webfront\\players.html");
S.Append(penalities.GetText());
penalities.Close();
S.Append(LoadFooter());
return S.ToString();
}
}
class Admins : HTMLPage
{
public override string GetName()
{
return "Admins";
}
public override string GetPath()
{
return "/Admins";
}
public override string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
StringBuilder S = new StringBuilder();
S.Append(LoadHeader());
IFile admins = new IFile("webfront\\admins.html");
S.Append(admins.GetText());
admins.Close();
S.Append(LoadFooter());
return S.ToString();
}
}
class AdminsJSON : IPage
{
public string GetName()
{
return "Admins Json";
}
public string GetPath()
{
return "/GetAdmins";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
var Admins = (await ApplicationManager.GetInstance().GetClientService()
.GetPrivilegedClients())
.OrderByDescending(a => a.Level);
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Admins.Select(a => new
{
a.ClientId,
a.Level,
a.Name,
playerID = a.ClientId
}),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class PubbansJSON : IPage
{
public string GetName()
{
return "Public Ban List";
}
public string GetPath()
{
return "/pubbans";
}
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
HttpResponse resp = new HttpResponse()
{
/* contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert
.SerializeObject(((ApplicationManager.GetInstance().GetClientPenalties()) as PenaltyList)
.AsChronoList(Convert.ToInt32(querySet["from"]), 50, Penalty.Type.Ban), Newtonsoft.Json.Formatting.Indented, new Newtonsoft.Json.JsonConverter[] {
new Newtonsoft.Json.Converters.StringEnumConverter()
}),
additionalHeaders = new Dictionary<string, string>()*/
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class Pages : IPage
{
public string GetName()
{
return "Pages";
}
public string GetPath()
{
return "/pages";
}
public async Task<HttpResponse> GetPage(NameValueCollection querySet, IDictionary<string, string> headers)
{
var pages = SharedLibrary.WebService.PageList.Select(p => new
{
pagePath = p.GetPath(),
pageName = p.GetName(),
visible = p.Visible(),
});
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
content = Newtonsoft.Json.JsonConvert.SerializeObject(pages.ToArray()),
additionalHeaders = new Dictionary<string, string>()
};
return resp;
}
public string GetContentType()
{
return "application/json";
}
public bool Visible()
{
return false;
}
}
class GetPlayer : IPage
{
public string GetContentType()
{
return "application/json";
}
public string GetPath()
{
return "/getplayer";
}
public string GetName()
{
return "GetPlayer";
}
public async Task<HttpResponse> GetPage(NameValueCollection querySet, IDictionary<string, string> headers)
{
List<PlayerInfo> pInfo = new List<PlayerInfo>();
IList<EFClient> matchedPlayers = new List<EFClient>();
HttpResponse resp = new HttpResponse()
{
contentType = GetContentType(),
additionalHeaders = new Dictionary<string, string>()
};
// int ip = querySet["IP"].ConvertToIP();
var admins = (await (ApplicationManager.GetInstance().GetClientService() as ClientService).GetPrivilegedClients());
// bool authed = admins.FirstOrDefault(c => c.IPAddress == ip) != null || ip == 16777343;
bool authed = true;
bool recent = false;
bool individual = querySet["id"] != null;
if (individual)
{
matchedPlayers.Add(await ApplicationManager.GetInstance().GetClientService().Get(Convert.ToInt32(querySet["id"])));
}
else if (querySet["npID"] != null)
{
matchedPlayers.Add(await ApplicationManager.GetInstance().GetClientService().GetUnique(querySet["npID"].ConvertLong()));
}
else if (querySet["name"] != null)
{
matchedPlayers = (await ApplicationManager.GetInstance().GetClientService().GetClientByName(querySet["name"]));
}
else if (querySet["recent"] != null)
{
int offset = 0;
if (querySet["offset"] != null)
offset = Int32.Parse(querySet["offset"]);
if (offset < 0)
throw new FormatException("Invalid offset");
matchedPlayers = await ApplicationManager.GetInstance().GetClientService().GetRecentClients(offset, 15);
recent = true;
}
bool isProfile = querySet["profile"] != null;
if (matchedPlayers != null && matchedPlayers.Count > 0)
{
foreach (var pp in matchedPlayers)
{
if (pp == null) continue;
List<ProfileMeta> meta = new List<ProfileMeta>();
if (isProfile)
{
meta.AddRange(await ApplicationManager.GetInstance().GetPenaltyService().ReadGetClientPenaltiesAsync(pp.ClientId));
meta.AddRange(await ApplicationManager.GetInstance().GetPenaltyService().ReadGetClientPenaltiesAsync(pp.ClientId, false));
meta.AddRange(await MetaService.GetMeta(pp.ClientId));
}
PlayerInfo eachPlayer = new PlayerInfo()
{
playerIP = pp.IPAddressString,
playerID = pp.ClientId,
playerLevel = pp.Level.ToString(),
playerName = pp.Name,
playernpID = pp.NetworkId.ToString(),
authed = authed,
playerAliases = new List<string>(),
playerIPs = new List<string>(),
Meta = meta.OrderByDescending(m => m.When).ToList(),
FirstSeen = Utilities.GetTimePassed(pp.FirstConnection, false),
TimePlayed = Math.Round(pp.TotalConnectionTime / 3600.0, 1).ToString("#,##0"),
LastSeen = Utilities.GetTimePassed(pp.LastConnection, false)
};
if (!recent)
{
eachPlayer.playerAliases = pp.AliasLink.Children
.Where(a => a.Name != eachPlayer.playerName)
.OrderBy(a => a.Name)
.Select(a => a.Name)
.Distinct()
.ToList();
if (authed)
eachPlayer.playerIPs = pp.AliasLink.Children
.Select(a => a.IPAddress.ConvertIPtoString())
.Distinct()
.ToList();
}
eachPlayer.playerConnections = pp.Connections;
pInfo.Add(eachPlayer);
}
resp.content = pInfo;
return resp;
}
resp.content = Newtonsoft.Json.JsonConvert.SerializeObject(null);
return resp;
}
public bool Visible()
{
return false;
}
}
class Profile : HTMLPage
{
public Profile() : base(false) {}
public override string GetPath() => "/profile";
public override string GetContent(NameValueCollection querySet, IDictionary<string, string> headers)
{
IFile admins = new IFile("webfront\\profile.html");
string content = admins.GetText();
admins.Close();
return content;
}
public override string GetName() => "Client Profile";
}
[Serializable]
struct ServerInfo
{
public string serverName;
public int serverPort;
public string mapName;
public string gameType;
public int currentPlayers;
public int maxPlayers;
public List<Chat> chatHistory;
public List<PlayerInfo> players;
public SharedLibrary.Helpers.PlayerHistory[] PlayerHistory;
public int ID;
}
[Serializable]
struct ApplicationInfo
{
public double version;
public string name;
}
[Serializable]
struct PlayerInfo
{
public string playerName;
public int playerID;
public string playerLevel;
public string playerIP;
public string playernpID;
public List<string> playerAliases;
public List<string> playerIPs;
public int playerConnections;
public string LastSeen;
public string FirstSeen;
public string TimePlayed;
public bool authed;
public List<ProfileMeta> Meta;
}
[Serializable]
struct PenaltyInfo
{
public string playerName;
public int playerID;
public string adminName;
public string adminLevel;
public string penaltyType;
public string penaltyReason;
public string penaltyTime;
public string Expires;
}
}

View File

@ -20,76 +20,6 @@ $.getJSON("_userinfo", function(response) {
$(document).trigger("actionEventLoad");
});
function showErrorMessage(msg)
{
message = "An unknown error occurred!";
switch(msg)
{
case 0:
message = "No error";
break;
case 1:
message = "Permission denied";
break;
case 2:
message = "User exists";
break;
case 3:
message = "Invalid user";
break;
case 4:
message = "Incorrect username or password";
break;
case 5:
message = "No credentials entered";
break;
case 6:
message = "User not authorized";
break;
case 7:
message = "Password too long";
break;
case 8:
message = "Username too long";
break;
case 9:
message = "Bad profile data entered";
break;
case 10:
message = "Invalid session";
break;
case 11:
message = "Bad thread content entered";
break;
case 12:
message = "No thread content entered";
break;
case 13:
message = "Thread content too long";
break;
case 14:
message = "Thread title too long";
break;
case 15:
message = "Invalid thread specified";
break;
case 16:
message = "Could not save reply";
break;
case 17:
message = "Invalid category specified";
break;
case 18:
message = "Empty category";
break;
case 19:
message = "Password do not match";
break;
}
$('.alertBox').html(message).addClass('error').slideDown("fast");
}
function parseGet(val) {
var result = "undefined",
tmp = [];
@ -156,29 +86,7 @@ function getPages()
});
}
function shouldHideAction(author)
{
// fixme dynamic
if (author.ranking == null)
return " display: none";
else if (user.user.ranking.name == "Moderator" || user.user.ranking.name == "Administrator" || user.user.id == author.id)
return "";
else {
return " display: none";
}
}
function formatPlayers(players)
{
var p = "";
for (i = 0; i < players.length; i++)
{
p += "<div class='playerName tableCell'><a href=\"/profile?id=" + players[1*i]['playerID'] + "\">" + getColorForLevel(players[1*i]['playerLevel'], $("<div/>").html(players[1*i]['playerName']).text()) + "</a></div>";
if (i % 2 == 1 && i != 0 )
p += "<div style='display: table-row'></div>";
}
return p;
}
function checkJustNow(timestr)
@ -186,17 +94,6 @@ function checkJustNow(timestr)
return timestr
}
function getDate(datestr)
{
var creationDate = new Date(datestr);
return (creationDate.getMonth() + 1) + '-' + creationDate.getDate() + '-' + creationDate.getFullYear();
}
function checkPrivilege()
{
$.getJSON("_userinfo", function (response) { if (response.user.ranking.id != 1) window.location.replace("home"); else $('.infoBox').show(); });
}
</script>
<body>
<div id="header">

View File

@ -1,11 +0,0 @@
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="lib"/>
</assemblyBinding>
</runtime>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,179 +0,0 @@
Version 1.7:
CHANGELOG:
-EntityFramework is now the main database system
Version 1.6:
CHANGELOG:
-got rid of pesky "error on character" message
-optimizations to commands
-report reason doesn't truncate if there's a space in the target name
-If multiple matches are found when finding a player, a list of matches is shown
-"special" characters are allowed in names and messages
-prune command demotes inactive admins (defaults to 30 days if no days are specified)
-confirmation message sent after kick
-paginated players page
-fixed aliases
Version 1.5
CHANGELOG:
-added back player history graphs (past 12 hours every 15 minutes)
-fixed issue with configurationmanager files and threading
-servers on webfront listed in descending player count
-fixed resolution of tempban times from console feedback
-reconfigured solution and projects to be correct debug/release and files copy properly
-started working on more advanced statistics
-all chat is stored
-word cloud displays most commonly used words on the server
-fixed misc issues
VERSION 1.4
CHANGELOG:
-works: with COD, WaW, MW3, BO1 (preliminary without extensive testing)
-fixed the issue with webfront chat history
-fixed console issue of spamming 'polling rate decreased' when server goes offline
-'unknown' admin in webfront defaults to 'IW4MAdmin' (refactoring mistake)
-streamlined the async server initialization
-added !ip command (prints a client's external IP)
-fixed up the findall command
-moved aliases to the manager
-added admins page to view privileged users
-fixed refactoring mistake with messages
-removes flag penality when unflagging a player
-fixed 'just now ago' on webfront
-webfront playerlist level colors are hidden to non admin users
-tempban length can now be specified (<int>m, <int>h, <int>d, <int>y)
VERSION 1.3
CHANGELOG:
-complete rewrite of lots of parts
-async EVERYTHING!!!
-designed to work with IW4X (funny how the GitHub description is now 100% accurate after almost 3 years)
-gsc features deprecated
VERSION 1.2
CHANGELOG:
-didn't think you'd see me again did you?
-lots of cleanup
-event api @ /events (documentation soon)
-gsc features work again ( excluding goto )
-reworked plugin interface
-added automatic restart plugin
-fixed server stop event truncation
-penalty reasons don't show appeal website or "Player kicked" anymore
-fixed ban spacing issue
-masked flag now saved to database
-masked users level now hidden from !list
-fixed (crash?) with `!` in penalty reason
-remove repz features as now defunct
-banning from console now kicks the player if they are currently in game
-updating permissions from console now saves for in game players
-heartbeats re-enabled
-public banlist is now json format.. why didn't I do this originally?
-admins can execute commands directly from the web front
-better build management
-stats actually seems to be consistent
VERSION 1.1
CHANGELOG:
-fixed ban sorting ( and an overlooked bug )
-added kicks, warnings and temp-bans to penalty list
-bans are now named penalties
-readded pubbans page http://127.0.0.1:1624/pubbans
-updated RepZ profile link
-added trusted group ( will need a new database or manual update )
-reports capture screenshot (maybe)
-no more server duplicates on webfront when the server crashes ( was intentional )
-warn reasons no longer show player's name
VERSION 1.0
CHANGELOG:
-first official stable release
-fixed last known error (due to web front passing invalid sql syntax)
-re-added stats. though still not working 100%
-added welcome plugin
VERSION 0.9.5
CHANGELOG:
-Major refactoring to support plugins
-*web front redux*
-lots of little fixes and stability improvements
-temporary removal of stats plugin as I perfect it
VERSION 0.9.2
CHANGELOG:
-fixed issues with crashing IW4 Servers
VERSION: 0.9.1
CHANGELOG:
-fixed issue with `history` timelime
-fixed issue with mapname not being updated
-fixed rare crash related to !list
-fixed topstats issues ( prevents cheaters from jumping to the top )
-fixed webfront banlist not updating until tool restart
-now reads memory for player info!
VERSION: 0.9
CHANGELOG:
-webfront now displays player info and link to repz account
-webfront shows ips for authed admin ( determined by ip )
-webfront now show chat and allows authed players to send ingame messages
-webfront now has public ban list http://127.0.0.1:1624/pubbans
-webfront now shows player history
-fixed time span issue in webfront
-fixed most recent ban always missing
-fixed crash when RCON stops responding and removing a player
-version on footer
VERSION: 0.8.1
CHANGELOG:
-no longer have `world` client handle broken events
-hopefully fixed an issue with clients missing connection event
-fixed ban order in webfront
-fixed alias output duplicating
-fixed missing evade reason
-cleaned up project files
VERSION: 0.8
CHANGELOG:
-added mask command
-added baninfo command
-added alias command and removed redundant output from `find`
-added rcon command
-added webfront (http://127.0.0.1:1624)
-true skill is officially implemented
-find now shows last connect time
-noise on pm (if gsc_enabled)
-force 8 line chat height (if gsc_enabled)
-tell admins the number of reports on join
-enhanced ban tracking
-ip wait timeout added
-remove report on ban
-can't report yourself
-remove reported players when banned
-fixed rare crash with toadmins backend
-fixed crash when finding player stats that don't exist
-fixed a bug that caused owner command to reactivate only `creator` rank player existed
-fixed a bug that caused certain notifications to be sent to all players
-various small fixes
VERSION: 0.7
CHANGELOG:
-rcon tweaks
-so much stuff cant remember
VERSION: 0.6
CHANGELOG:
-stability fixes
-welcome has post-fixed connection indicator
VERSION: 0.5
CHANGELOG:
-close config files after reading oops
-added reload command
-added macros! (Denoted by {{MACRO}} in server config right now only {{WISDOM}} and {{TOTALPLAYERS}})
-added IP's (tracks and rebans new accounts on same banned ip)!
-aliases
-reworked database classes
-heartbeat gives running version
-player banned in find gives last ban reason
-reworked rcon yet again

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
VisualStudioVersion = 15.0.27130.2027
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Admin\Application.csproj", "{DD5DCDA2-51DB-4B1A-922F-5705546E6115}"
ProjectSection(ProjectDependencies) = postProject
@ -39,10 +39,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
_customcallbacks.gsc = _customcallbacks.gsc
README.md = README.md
Admin\version.txt = Admin\version.txt
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Plugins\Tests\Tests.csproj", "{B8C2A759-8663-4F6F-9BA4-19595F5E12C1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebfrontCore", "WebfrontCore\WebfrontCore.csproj", "{65340D7D-5831-406C-ACAD-B13BA634BDE2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -67,130 +70,130 @@ Global
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|Mixed Platforms.Build.0 = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x64.ActiveCfg = Debug|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x64.Build.0 = Debug|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x64.ActiveCfg = Debug|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x64.Build.0 = Debug|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x86.ActiveCfg = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Debug|x86.Build.0 = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Any CPU.ActiveCfg = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Any CPU.Build.0 = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Any CPU.Build.0 = Debug|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Mixed Platforms.ActiveCfg = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|Mixed Platforms.Build.0 = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x64.ActiveCfg = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x64.Build.0 = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x86.ActiveCfg = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x86.Build.0 = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x64.ActiveCfg = Release-Nightly|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x64.Build.0 = Release-Nightly|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x86.ActiveCfg = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release|x86.Build.0 = Debug|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|Any CPU.ActiveCfg = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|Any CPU.Build.0 = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|Mixed Platforms.ActiveCfg = Release-Nightly|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|Mixed Platforms.Build.0 = Release-Nightly|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x64.ActiveCfg = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x64.Build.0 = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x86.ActiveCfg = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x86.Build.0 = Release-Nightly|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x64.ActiveCfg = Release-Nightly|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x64.Build.0 = Release-Nightly|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x86.ActiveCfg = Release-Nightly|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Nightly|x86.Build.0 = Release-Nightly|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|Any CPU.ActiveCfg = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|Any CPU.Build.0 = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|Mixed Platforms.ActiveCfg = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|Mixed Platforms.Build.0 = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x64.ActiveCfg = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x64.Build.0 = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x86.ActiveCfg = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x86.Build.0 = Release-Stable|Any CPU
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x64.ActiveCfg = Release-Stable|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x64.Build.0 = Release-Stable|x64
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x86.ActiveCfg = Release-Stable|x86
{DD5DCDA2-51DB-4B1A-922F-5705546E6115}.Release-Stable|x86.Build.0 = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|Mixed Platforms.Build.0 = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x64.ActiveCfg = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x64.Build.0 = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x64.ActiveCfg = Debug|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x64.Build.0 = Debug|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x86.ActiveCfg = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Debug|x86.Build.0 = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Any CPU.ActiveCfg = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Any CPU.Build.0 = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Any CPU.Build.0 = Debug|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Mixed Platforms.ActiveCfg = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|Mixed Platforms.Build.0 = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x64.ActiveCfg = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x64.Build.0 = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x86.ActiveCfg = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x86.Build.0 = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x64.ActiveCfg = Release-Nightly|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x64.Build.0 = Release-Nightly|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x86.ActiveCfg = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release|x86.Build.0 = Debug|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|Any CPU.ActiveCfg = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|Any CPU.Build.0 = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|Mixed Platforms.ActiveCfg = Release-Nightly|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|Mixed Platforms.Build.0 = Release-Nightly|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x64.ActiveCfg = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x64.Build.0 = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x86.ActiveCfg = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x86.Build.0 = Release-Nightly|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x64.ActiveCfg = Release-Nightly|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x64.Build.0 = Release-Nightly|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x86.ActiveCfg = Release-Nightly|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Nightly|x86.Build.0 = Release-Nightly|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|Any CPU.ActiveCfg = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|Any CPU.Build.0 = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|Mixed Platforms.ActiveCfg = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|Mixed Platforms.Build.0 = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x64.ActiveCfg = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x64.Build.0 = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x86.ActiveCfg = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x86.Build.0 = Release-Stable|Any CPU
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x64.ActiveCfg = Release-Stable|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x64.Build.0 = Release-Stable|x64
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x86.ActiveCfg = Release-Stable|x86
{4785AB75-66F3-4391-985D-63A5A049A0FA}.Release-Stable|x86.Build.0 = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|Mixed Platforms.Build.0 = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x64.ActiveCfg = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x64.Build.0 = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x64.ActiveCfg = Debug|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x64.Build.0 = Debug|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x86.ActiveCfg = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Debug|x86.Build.0 = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Any CPU.ActiveCfg = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Any CPU.Build.0 = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Any CPU.Build.0 = Debug|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Mixed Platforms.ActiveCfg = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|Mixed Platforms.Build.0 = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x64.ActiveCfg = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x64.Build.0 = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x86.ActiveCfg = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x86.Build.0 = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x64.ActiveCfg = Release-Nightly|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x64.Build.0 = Release-Nightly|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x86.ActiveCfg = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release|x86.Build.0 = Debug|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|Any CPU.ActiveCfg = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|Any CPU.Build.0 = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|Mixed Platforms.ActiveCfg = Release-Nightly|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|Mixed Platforms.Build.0 = Release-Nightly|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x64.ActiveCfg = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x64.Build.0 = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x86.ActiveCfg = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x86.Build.0 = Release-Nightly|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x64.ActiveCfg = Release-Nightly|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x64.Build.0 = Release-Nightly|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x86.ActiveCfg = Release-Nightly|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Nightly|x86.Build.0 = Release-Nightly|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|Any CPU.ActiveCfg = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|Any CPU.Build.0 = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|Mixed Platforms.ActiveCfg = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|Mixed Platforms.Build.0 = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x64.ActiveCfg = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x64.Build.0 = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x86.ActiveCfg = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x86.Build.0 = Release-Stable|Any CPU
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x64.ActiveCfg = Release-Stable|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x64.Build.0 = Release-Stable|x64
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x86.ActiveCfg = Release-Stable|x86
{D51EECEB-438A-47DA-870F-7D7B41BC24D6}.Release-Stable|x86.Build.0 = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|Mixed Platforms.Build.0 = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x64.ActiveCfg = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x64.Build.0 = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x64.ActiveCfg = Debug|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x64.Build.0 = Debug|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x86.ActiveCfg = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Debug|x86.Build.0 = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Any CPU.ActiveCfg = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Any CPU.Build.0 = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Any CPU.Build.0 = Debug|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Mixed Platforms.ActiveCfg = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|Mixed Platforms.Build.0 = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x64.ActiveCfg = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x64.Build.0 = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x86.ActiveCfg = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x86.Build.0 = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x64.ActiveCfg = Release-Nightly|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x64.Build.0 = Release-Nightly|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x86.ActiveCfg = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release|x86.Build.0 = Debug|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|Any CPU.ActiveCfg = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|Any CPU.Build.0 = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|Mixed Platforms.ActiveCfg = Release-Nightly|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|Mixed Platforms.Build.0 = Release-Nightly|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x64.ActiveCfg = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x64.Build.0 = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x86.ActiveCfg = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x86.Build.0 = Release-Nightly|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x64.ActiveCfg = Release-Nightly|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x64.Build.0 = Release-Nightly|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x86.ActiveCfg = Release-Nightly|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Nightly|x86.Build.0 = Release-Nightly|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|Any CPU.ActiveCfg = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|Any CPU.Build.0 = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|Mixed Platforms.ActiveCfg = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|Mixed Platforms.Build.0 = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x64.ActiveCfg = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x64.Build.0 = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x86.ActiveCfg = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x86.Build.0 = Release-Stable|Any CPU
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x64.ActiveCfg = Release-Stable|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x64.Build.0 = Release-Stable|x64
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x86.ActiveCfg = Release-Stable|x86
{AF097E6B-48D5-4452-9CCF-0A81A21F341D}.Release-Stable|x86.Build.0 = Release-Stable|x86
{428D8EB9-ECA3-4A66-AA59-3A944378C33F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{428D8EB9-ECA3-4A66-AA59-3A944378C33F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{428D8EB9-ECA3-4A66-AA59-3A944378C33F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
@ -337,6 +340,38 @@ Global
{B8C2A759-8663-4F6F-9BA4-19595F5E12C1}.Release-Stable|x64.Build.0 = Release-Stable|Any CPU
{B8C2A759-8663-4F6F-9BA4-19595F5E12C1}.Release-Stable|x86.ActiveCfg = Release-Stable|Any CPU
{B8C2A759-8663-4F6F-9BA4-19595F5E12C1}.Release-Stable|x86.Build.0 = Release-Stable|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|x64.ActiveCfg = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|x64.Build.0 = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|x86.ActiveCfg = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Debug|x86.Build.0 = Debug|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|Any CPU.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|x64.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|x64.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|x86.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release|x86.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|Any CPU.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|Any CPU.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|Mixed Platforms.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|Mixed Platforms.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|x64.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|x64.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|x86.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Nightly|x86.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|Any CPU.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|Any CPU.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|Mixed Platforms.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|Mixed Platforms.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|x64.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|x64.Build.0 = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|x86.ActiveCfg = Release|Any CPU
{65340D7D-5831-406C-ACAD-B13BA634BDE2}.Release-Stable|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,891 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>EntityFramework.SqlServerCompact</name>
</assembly>
<members>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator">
<summary>
Provider to convert provider agnostic migration operations into SQL commands
that can be run against a Microsoft SQL Server Compact Edition database.
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Collections.Generic.IEnumerable{System.Data.Entity.Migrations.Model.MigrationOperation},System.String)">
<summary>
Converts a set of migration operations into Microsoft SQL Server specific SQL.
</summary>
<param name="migrationOperations"> The operations to be converted. </param>
<param name="providerManifestToken"> Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). </param>
<returns> A list of SQL statements to be executed to perform the migration operations. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.UpdateDatabaseOperation)">
<summary>
Generates the specified update database operation which represents applying a series of migrations.
The generated script is idempotent, meaning it contains conditional logic to check if individual migrations
have already been applied and only apply the pending ones.
</summary>
<param name="updateDatabaseOperation">The update database operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MigrationOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.MigrationOperation"/>.
Allows derived providers to handle additional operation types.
Generated SQL should be added using the Statement method.
</summary>
<param name="migrationOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.CreateConnection">
<summary>
Creates an empty connection for the current provider.
Allows derived providers to use connection other than <see cref="T:System.Data.SqlClient.SqlConnection"/>.
</summary>
<returns> An empty connection for the current provider. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateProcedureOperation)">
<summary>
Generates the specified create procedure operation.
</summary>
<param name="createProcedureOperation">The create procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterProcedureOperation)">
<summary>
Generates the specified alter procedure operation.
</summary>
<param name="alterProcedureOperation">The alter procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropProcedureOperation)">
<summary>
Generates the specified drop procedure operation.
</summary>
<param name="dropProcedureOperation">The drop procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.CreateTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="createTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterTableOperation)">
<summary>
Override this method to generate SQL when the definition of a table or its attributes are changed.
The default implementation of this method does nothing.
</summary>
<param name="alterTableOperation"> The operation describing changes to the table. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.GenerateMakeSystemTable(System.Data.Entity.Migrations.Model.CreateTableOperation,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Generates SQL to mark a table as a system table.
Generated SQL should be added using the Statement method.
</summary>
<param name="createTableOperation"> The table to mark as a system table. </param>
<param name="writer"> The <see cref="T:System.Data.Entity.Migrations.Utilities.IndentedTextWriter"/> to write the generated SQL to. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddForeignKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddForeignKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addForeignKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropForeignKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropForeignKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropForeignKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.CreateIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="createIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addPrimaryKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropPrimaryKeyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AddColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="addColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.AlterColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="alterColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.DropTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="dropTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.SqlOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.SqlOperation"/>.
Generated SQL should be added using the Statement or StatementBatch methods.
</summary>
<param name="sqlOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameColumnOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameColumnOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameColumnOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameIndexOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameIndexOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameIndexOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.RenameTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="renameTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameProcedureOperation)">
<summary>
Generates the specified rename procedure operation.
</summary>
<param name="renameProcedureOperation">The rename procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MoveProcedureOperation)">
<summary>
Generates the specified move procedure operation.
</summary>
<param name="moveProcedureOperation">The move procedure operation.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MoveTableOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.MoveTableOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="moveTableOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.ColumnModel,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Generates SQL for the given column model. This method is called by other methods that
process columns and can be overridden to change the SQL generated.
</summary>
<param name="column">The column for which SQL is being generated.</param>
<param name="writer">The writer to which generated SQL should be written.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.HistoryOperation)">
<summary>
Generates SQL for a <see cref="T:System.Data.Entity.Migrations.Model.HistoryOperation"/>.
Generated SQL should be added using the Statement method.
</summary>
<param name="historyOperation"> The operation to produce SQL for. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Byte[])">
<summary>
Generates SQL to specify a constant byte[] default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Boolean)">
<summary>
Generates SQL to specify a constant bool default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.DateTime)">
<summary>
Generates SQL to specify a constant DateTime default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.DateTimeOffset)">
<summary>
Generates SQL to specify a constant DateTimeOffset default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Guid)">
<summary>
Generates SQL to specify a constant Guid default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.String)">
<summary>
Generates SQL to specify a constant string default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.TimeSpan)">
<summary>
Generates SQL to specify a constant TimeSpan default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Spatial.DbGeography)">
<summary>
Generates SQL to specify a constant geogrpahy default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Data.Entity.Spatial.DbGeometry)">
<summary>
Generates SQL to specify a constant geometry default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Generate(System.Object)">
<summary>
Generates SQL to specify a constant default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
</summary>
<param name="defaultValue"> The value to be set. </param>
<returns> SQL representing the default value. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.BuildColumnType(System.Data.Entity.Migrations.Model.ColumnModel)">
<summary>
Generates SQL to specify the data type of a column.
This method just generates the actual type, not the SQL to create the column.
</summary>
<param name="columnModel"> The definition of the column. </param>
<returns> SQL representing the data type. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Name(System.String)">
<summary>
Generates a quoted name. The supplied name may or may not contain the schema.
</summary>
<param name="name"> The name to be quoted. </param>
<returns> The quoted name. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Quote(System.String)">
<summary>
Quotes an identifier for SQL Server.
</summary>
<param name="identifier"> The identifier to be quoted. </param>
<returns> The quoted identifier. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Statement(System.String,System.Boolean)">
<summary>
Adds a new Statement to be executed against the database.
</summary>
<param name="sql"> The statement to be executed. </param>
<param name="suppressTransaction"> Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Writer">
<summary>
Gets a new <see cref="T:System.Data.Entity.Migrations.Utilities.IndentedTextWriter"/> that can be used to build SQL.
This is just a helper method to create a writer. Writing to the writer will
not cause SQL to be registered for execution. You must pass the generated
SQL to the Statement method.
</summary>
<returns> An empty text writer to use for SQL generation. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.Statement(System.Data.Entity.Migrations.Utilities.IndentedTextWriter)">
<summary>
Adds a new Statement to be executed against the database.
</summary>
<param name="writer"> The writer containing the SQL to be executed. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.StatementBatch(System.String,System.Boolean)">
<summary>
Breaks string into one or more statements, handling T-SQL utility statements as necessary.
</summary>
<param name="sqlBatch">The SQL to split into one ore more statements to be executed.</param>
<param name="suppressTransaction"> Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. </param>
</member>
<member name="P:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator.GuidColumnDefault">
<summary>
Returns the column default value to use for store-generated GUID columns when
no default value is explicitly specified in the migration.
Always returns newid() for SQL Compact.
</summary>
<value>The string newid().</value>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderManifest.SupportsParameterOptimizationInSchemaQueries">
<summary>
Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195.
</summary>
<returns><c>True</c> since this provider supports the parameter optimization.</returns>
</member>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeProviderServices">
<summary>
The ProviderServices object for the Sql CE provider
</summary>
<remarks>
Note that instance of this type also resolves additional provider services for Microsoft SQL Server Compact Edition
when this type is registered as an EF provider either using an entry in the application's config file or through
code-based registration in <see cref="T:System.Data.Entity.DbConfiguration"/>.
The services resolved are:
Requests for <see cref="T:System.Data.Entity.Infrastructure.IDbConnectionFactory"/> are resolved to a Singleton instance of
<see cref="T:System.Data.Entity.Infrastructure.SqlCeConnectionFactory"/> to create connections to SQL Compact by default.
Requests for <see cref="T:System.Data.Entity.Migrations.Sql.MigrationSqlGenerator"/> for the invariant name "System.Data.SqlServerCe.4.0" are
resolved to <see cref="T:System.Data.Entity.SqlServerCompact.SqlCeMigrationSqlGenerator"/> instances to provide default Migrations SQL
generation for SQL Compact.
</remarks>
</member>
<member name="F:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.ProviderInvariantName">
<summary>
This is the well-known string using in configuration files and code-based configuration as
the "provider invariant name" used to specify Microsoft SQL Server Compact Edition 4.0 for
ADO.NET and Entity Framework provider services.
</summary>
</member>
<member name="F:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.Instance">
<summary>
Singleton object;
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbCreateDatabaseScript(System.String,System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for generating script for creating schema objects from the Store Item Collection.
</summary>
<param name="providerManifestToken"> Provider manifest </param>
<param name="storeItemCollection"> Store items </param>
<returns> T-SQL script for generating schema objects. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for checkin whether database exists or not.
This will internally only check whether the file that the connection points to exists or not.
Note: In case of SQLCE, timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
<returns> Bool indicating whether database exists or not. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})">
<summary>
API for checkin whether database exists or not.
This will internally only check whether the file that the connection points to exists or not.
Note: In case of SQLCE, timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
<returns> Bool indicating whether database exists or not. </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbDeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for deleting the database.
In SQLCE case, this will translate to File.Delete() call.
Note: Timeout and storeItemCollection parameters are ignored.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands. </param>
<param name="storeItemCollection"> Item Collection. </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.DbCreateDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)">
<summary>
API for creating the databse and schema objects given a StoreItemCollection.
This will do following things:
1. Create a new database using SqlCeEngine.CreateDatabase().
2. Generate scripts for creating schema objects.
3. Execute the scrip generated in step2.
</summary>
<param name="connection"> Connection </param>
<param name="timeOut"> Timeout for internal commands </param>
<param name="storeItemCollection"> Store Item Collection </param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.RegisterInfoMessageHandler(System.Data.Common.DbConnection,System.Action{System.String})">
<summary>
Registers a handler to process non-error messages coming from the database provider.
</summary>
<param name="connection">The connection to receive information for.</param>
<param name="handler">The handler to process messages.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.CreateDbCommandDefinition(System.Data.Entity.Core.Common.DbProviderManifest,System.Data.Entity.Core.Common.CommandTrees.DbCommandTree)">
<summary>
Create a Command Definition object, given the connection and command tree
</summary>
<param name="providerManifest"> provider manifest that was determined from metadata </param>
<param name="commandTree"> command tree for the statement </param>
<returns> an executable command definition object </returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.GetDbProviderManifestToken(System.Data.Common.DbConnection)">
<summary>
Returns provider manifest token for a given connection.
</summary>
<param name="connection">Connection to find manifest token from.</param>
<returns>The provider manifest token for the specified connection.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeProviderServices.GetDbProviderManifest(System.String)">
<summary>
Returns the provider manifest by using the specified version information.
</summary>
<returns> The provider manifest by using the specified version information. </returns>
<param name="versionHint"> The token information associated with the provider manifest. </param>
</member>
<member name="T:System.Data.Entity.SqlServerCompact.SqlCeFunctions">
<summary>
Contains function stubs that expose SqlServerCe methods in Linq to Entities.
</summary>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String)">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[])">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String,System.Nullable{System.Int32})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[],System.Nullable{System.Int32})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.String,System.String,System.Nullable{System.Int64})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>
A <see cref="T:System.Nullable`1" /> of <see cref="T:System.Int64" /> value that is the starting position of toFind if it is found in toSearch .
</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.CharIndex(System.Byte[],System.Byte[],System.Nullable{System.Int64})">
<summary>Returns the starting position of one expression found within another expression.</summary>
<returns>The starting position of toFind if it is found in toSearch .</returns>
<param name="toFind">The string expression to be found.</param>
<param name="toSearch">The string expression to be searched.</param>
<param name="startLocation">The character position in toSearch where searching begins.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.NChar(System.Nullable{System.Int32})">
<summary>Returns the Unicode character with the specified integer code, as defined by the Unicode standard.</summary>
<returns>The character that corresponds to the input character code.</returns>
<param name="arg">A character code.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.PatIndex(System.String,System.String)">
<summary>Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types.</summary>
<returns>The starting character position where the string pattern was found.</returns>
<param name="stringPattern">A string pattern to search for.</param>
<param name="target">The string to search.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Replicate(System.String,System.Nullable{System.Int32})">
<summary>Repeats a string value a specified number of times.</summary>
<returns>The target string, repeated the number of times specified by count .</returns>
<param name="target">A valid string.</param>
<param name="count">The value that specifies how many time to repeat target .</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Space(System.Nullable{System.Int32})">
<summary>Returns a string of repeated spaces.</summary>
<returns>A string that consists of the specified number of spaces.</returns>
<param name="arg1">The number of spaces. If negative, a null string is returned.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Double},System.Nullable{System.Int32},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The numeric input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
<param name="decimalArg">The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.StringConvert(System.Nullable{System.Decimal},System.Nullable{System.Int32},System.Nullable{System.Int32})">
<summary>Returns character data converted from numeric data.</summary>
<returns>The input expression converted to a string.</returns>
<param name="number">A numeric expression.</param>
<param name="length">The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.</param>
<param name="decimalArg">The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Stuff(System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.String)">
<summary>Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position.</summary>
<returns>A string consisting of the two strings.</returns>
<param name="stringInput">The target string.</param>
<param name="start">The character position in stringinput where the replacement string is to be inserted.</param>
<param name="length">The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement .</param>
<param name="stringReplacement">The substring to be inserted into stringInput .</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Unicode(System.String)">
<summary>Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.</summary>
<returns>The character code for the first character in the input string.</returns>
<param name="arg">A valid string.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Acos(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.</summary>
<returns>The angle, in radians, defined by the input cosine value.</returns>
<param name="arg1">The cosine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Acos(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The cosine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Asin(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The sine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Asin(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The sine of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan(System.Nullable{System.Double})">
<summary>A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The tangent of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg">The tangent of an angle.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan2(System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The y-coordinate of a point.</param>
<param name="arg2">The x-coordinate of a point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Atan2(System.Nullable{System.Decimal},System.Nullable{System.Decimal})">
<summary>Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.</summary>
<returns>An angle, measured in radians.</returns>
<param name="arg1">The y-coordinate of a point.</param>
<param name="arg2">The x-coordinate of a point.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cos(System.Nullable{System.Double})">
<summary>Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.</summary>
<returns>The trigonometric cosine of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cos(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.</summary>
<returns>The trigonometric cosine of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cot(System.Nullable{System.Double})">
<summary>A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.</summary>
<returns>The trigonometric cotangent of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Cot(System.Nullable{System.Decimal})">
<summary>A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.</summary>
<returns>The trigonometric cotangent of the specified angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Int32})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Int64})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Decimal})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Degrees(System.Nullable{System.Double})">
<summary>Returns the corresponding angle in degrees for an angle specified in radians.</summary>
<returns>The specified angle converted to degrees.</returns>
<param name="arg1">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Exp(System.Nullable{System.Double})">
<summary>Returns the exponential value of the specified float expression.</summary>
<returns>The constant e raised to the power of the input value.</returns>
<param name="arg">The input value.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Exp(System.Nullable{System.Decimal})">
<summary>Returns the exponential value of the specified float expression.</summary>
<returns>The constant e raised to the power of the input value.</returns>
<param name="arg">The input value.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log(System.Nullable{System.Double})">
<summary>Returns the natural logarithm of the specified input value.</summary>
<returns>The natural logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log(System.Nullable{System.Decimal})">
<summary>Returns the natural logarithm of the specified input value.</summary>
<returns>The natural logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log10(System.Nullable{System.Double})">
<summary>Returns the base-10 logarithm of the specified input value.</summary>
<returns>The base-10 logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Log10(System.Nullable{System.Decimal})">
<summary>Returns the base-10 logarithm of the specified input value.</summary>
<returns>The base-10 logarithm of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Pi">
<summary>Returns the constant value of pi.</summary>
<returns>The numeric value of pi.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Int32})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Int64})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Decimal})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Radians(System.Nullable{System.Double})">
<summary>Returns the radian measure corresponding to the specified angle in degrees.</summary>
<returns>The radian measure of the specified angle.</returns>
<param name="arg">The angle, measured in degrees.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Rand">
<summary>Returns a pseudo-random float value from 0 through 1, exclusive.</summary>
<returns>The pseudo-random value.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Rand(System.Nullable{System.Int32})">
<summary>Returns a pseudo-random float value from 0 through 1, exclusive.</summary>
<returns>The pseudo-random value.</returns>
<param name="seed">The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Int32})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Int64})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Decimal})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sign(System.Nullable{System.Double})">
<summary>Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.</summary>
<returns>The sign of the input expression.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sin(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric sine of the specified angle.</summary>
<returns>The trigonometric sine of the input expression.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Sin(System.Nullable{System.Double})">
<summary>Returns the trigonometric sine of the specified angle.</summary>
<returns>The trigonometric sine of the input expression.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.SquareRoot(System.Nullable{System.Double})">
<summary>Returns the square root of the specified number.</summary>
<returns>The square root of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.SquareRoot(System.Nullable{System.Decimal})">
<summary>Returns the square root of the specified number.</summary>
<returns>The square root of the input value.</returns>
<param name="arg">A numeric expression.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Tan(System.Nullable{System.Double})">
<summary>Returns the trigonometric tangent of the input expression.</summary>
<returns>The tangent of the input angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.Tan(System.Nullable{System.Decimal})">
<summary>Returns the trigonometric tangent of the input expression.</summary>
<returns>The tangent of the input angle.</returns>
<param name="arg">An angle, measured in radians.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateAdd(System.String,System.Nullable{System.Double},System.Nullable{System.DateTime})">
<summary>Returns a new datetime value based on adding an interval to the specified date.</summary>
<returns>The new date.</returns>
<param name="datePartArg">The part of the date to increment. </param>
<param name="number">The value used to increment a date by a specified amount.</param>
<param name="date">The date to increment.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateAdd(System.String,System.Nullable{System.Double},System.String)">
<summary>Returns a new datetime value based on adding an interval to the specified date.</summary>
<returns>
A <see cref="T:System.Nullable`1" /> of <see cref="T:System.DateTime" /> value that is the new date.
</returns>
<param name="datePartArg">The part of the date to increment.</param>
<param name="number">The value used to increment a date by a specified amount.</param>
<param name="date">The date to increment.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.String,System.Nullable{System.DateTime})">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.Nullable{System.DateTime},System.String)">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateDiff(System.String,System.String,System.String)">
<summary>Returns the count of the specified datepart boundaries crossed between the specified start date and end date.</summary>
<returns>The number of time intervals between the two dates.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="startDate">The first date.</param>
<param name="endDate">The second date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateName(System.String,System.Nullable{System.DateTime})">
<summary>Returns a character string that represents the specified datepart of the specified date.</summary>
<returns>The specified part of the specified date.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DateName(System.String,System.String)">
<summary>Returns a character string that represents the specified datepart of the specified date.</summary>
<returns>The specified part of the specified date.</returns>
<param name="datePartArg">The part of the date to calculate the differing number of time intervals.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DatePart(System.String,System.Nullable{System.DateTime})">
<summary>Returns an integer that represents the specified datepart of the specified date.</summary>
<returns>The the specified datepart of the specified date.</returns>
<param name="datePartArg">The part of the date to return the value.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DatePart(System.String,System.String)">
<summary>Returns an integer that represents the specified datepart of the specified date.</summary>
<returns>The specified datepart of the specified date.</returns>
<param name="datePartArg">The part of the date to return the value.</param>
<param name="date">The date.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.GetDate">
<summary>Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running.</summary>
<returns>The current database timestamp.</returns>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Boolean})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Double})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Decimal})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.DateTime})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.String)">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Byte[])">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for length.</param>
</member>
<member name="M:System.Data.Entity.SqlServerCompact.SqlCeFunctions.DataLength(System.Nullable{System.Guid})">
<summary>Returns the number of bytes used to represent any expression.</summary>
<returns>The number of bytes in the input value.</returns>
<param name="arg">The value to be examined for data length.</param>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.30729.4148" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="1b065fdf0cb8516b0553128eae4af39c5f8eeb46"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>Vy8CgQgbu3qH5JHTK0op4kR8114=</dsig:DigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="45d3027d87eade77317e92994790598c755b3920"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>QTJu3Gttpt8hhCktGelNeXj4Yp8=</dsig:DigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="e77fd69f7c88f34329d8a95c3179f67ead330217"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>1ruqF7/L+m1tqnJVscaOtNRNHIE=</dsig:DigestValue></asmv2:hash></file>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.30729.4148" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="98e8006e0a4542e69f1a3555b927758bd76ca07d"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>+CXED+6HzJlSphyMNOn27ujadC0=</dsig:DigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="3aec3be680024a46813dee891a753bd58b3f3b12"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>MyKED+9DyS+1XcMeaC0Zlw2vFZ0=</dsig:DigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="0195dd0896d74b62531e4f3c771904a3d996450e"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>EeyDE7og6WoPd2oBhYbMEnpFHhY=</dsig:DigestValue></asmv2:hash></file>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -11,7 +11,6 @@ using SharedLibrary.Interfaces;
using SharedLibrary.Services;
using StatsPlugin.Helpers;
using StatsPlugin.Models;
using StatsPlugin.Pages;
namespace StatsPlugin
{
@ -42,7 +41,7 @@ namespace StatsPlugin
await Manager.RemovePlayer(E.Origin);
break;
case Event.GType.Say:
if (E.Data != string.Empty)
if (E.Data != string.Empty && E.Data.Trim().Length > 0)
await Manager.AddMessageAsync(E.Origin.ClientId, E.Owner.GetHashCode(), E.Data);
break;
case Event.GType.MapChange:
@ -158,9 +157,9 @@ namespace StatsPlugin
manager.GetMessageTokens().Add(new MessageToken("TOTALKILLS", totalKills));
manager.GetMessageTokens().Add(new MessageToken("TOTALPLAYTIME", totalPlayTime));
WebService.PageList.Add(new ClientMessageJson());
WebService.PageList.Add(new ClientMessages());
WebService.PageList.Add(new LiveStats());
// WebService.PageList.Add(new ClientMessageJson());
//WebService.PageList.Add(new ClientMessages());
//WebService.PageList.Add(new LiveStats());
ServerManager = manager;

View File

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>StatsPlugin</RootNamespace>
<AssemblyName>StatsPlugin</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@ -56,6 +56,33 @@
<OutputPath>bin\x86\Release-Stable\</OutputPath>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Nightly|x64'">
<OutputPath>bin\x64\Release-Nightly\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Stable|x64'">
<OutputPath>bin\x64\Release-Stable\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
@ -81,11 +108,11 @@
<Compile Include="Models\EFServer.cs" />
<Compile Include="Models\EFClientStatistics.cs" />
<Compile Include="Models\EFServerStatistics.cs" />
<Compile Include="Pages\ClientMessages.cs" />
<Compile Include="Pages\ClientMessageJson.cs" />
<Compile Include="Pages\LiveStats.cs" />
<Compile Include="Pages\LiveStatsJson.cs" />
<Compile Include="Pages\WordCloudJson.cs" />
<None Include="Pages\ClientMessages.cs" />
<None Include="Pages\ClientMessageJson.cs" />
<None Include="Pages\LiveStats.cs" />
<None Include="Pages\LiveStatsJson.cs" />
<None Include="Pages\WordCloudJson.cs" />
<Compile Include="Plugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

View File

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Welcome_Plugin</RootNamespace>
<AssemblyName>WelcomePlugin</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@ -56,10 +56,34 @@
<OutputPath>bin\x86\Release-Stable\</OutputPath>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Nightly|x64'">
<OutputPath>bin\x64\Release-Nightly\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Stable|x64'">
<OutputPath>bin\x64\Release-Stable\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />

2
SharedLibrary/App.config Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration />

View File

@ -8,9 +8,12 @@ using SharedLibrary.Database.Models;
using System.Data.SqlServerCe;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Reflection;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.SqlServerCompact;
namespace SharedLibrary.Database
{
public class DatabaseContext : DbContext
{
public DbSet<EFClient> Clients { get; set; }
@ -47,7 +50,7 @@ namespace SharedLibrary.Database
modelBuilder.Conventions.Remove<OneToManyCascadeDeleteConvention>();
// https://aleemkhan.wordpress.com/2013/02/28/dynamically-adding-dbset-properties-in-dbcontext-for-entity-framework-code-first/
foreach (string dllPath in System.IO.Directory.GetFiles($"{Environment.CurrentDirectory}{System.IO.Path.DirectorySeparatorChar}Plugins"))
foreach (string dllPath in System.IO.Directory.GetFiles($"{Utilities.OperatingDirectory}Plugins"))
{
Assembly library;
try

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibrary.Dtos
{
public class ClientInfo
{
public string Name { get; set; }
public int ClientId { get; set; }
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace SharedLibrary.Dtos
{
public class ProfilePenalty
public class PenaltyInfo
{
public string OffenderName { get; set; }
public int OffenderId { get; set; }
@ -14,5 +14,7 @@ namespace SharedLibrary.Dtos
public int PunisherId { get; set; }
public string Offense { get; set; }
public string Type { get; set; }
public string TimePunished { get; set; }
public string TimeRemaining { get; set; }
}
}

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibrary.Dtos
{
public class PlayerInfo
{
public string Name { get; set; }
public int ClientId { get; set; }
public string Level { get; set; }
public string IPAddress { get; set; }
public long NetworkId { get; set; }
public List<string> Aliases { get; set; }
public List<string> IPs { get; set; }
public int ConnectionCount { get; set; }
public string LastSeen { get; set; }
public string FirstSeen { get; set; }
public string TimePlayed { get; set; }
public bool Authenticated { get; set; }
public List<ProfileMeta> Meta { get; set; }
}
}

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibrary.Dtos
{
public class ServerInfo
{
public string Name { get; set; }
public int Port { get; set; }
public string Map { get; set; }
public string GameType { get; set; }
public int ClientCount { get; set; }
public int MaxClients { get; set; }
public List<Chat> ChatHistory { get; set; }
public List<PlayerInfo> Players { get; set; }
public Helpers.PlayerHistory[] PlayerHistory { get; set; }
public int ID { get; set; }
}
}

View File

@ -14,7 +14,7 @@ namespace SharedLibrary.Helpers
{
try
{
ConfigSet = Interfaces.Serialize<ConcurrentDictionary<string, dynamic>>.Read($"config/plugins_{S.ToString()}.cfg");
ConfigSet = Interfaces.Serialize<ConcurrentDictionary<string, dynamic>>.Read($"{Utilities.OperatingDirectory}config/plugins_{S.ToString()}.cfg");
}
catch (Exception)
@ -29,7 +29,7 @@ namespace SharedLibrary.Helpers
private void SaveChanges()
{
Interfaces.Serialize<ConcurrentDictionary<string, dynamic>>.Write($"config/plugins_{ServerInstance.ToString()}.cfg", ConfigSet);
Interfaces.Serialize<ConcurrentDictionary<string, dynamic>>.Write($"{Utilities.OperatingDirectory}config/plugins_{ServerInstance.ToString()}.cfg", ConfigSet);
}
public void AddProperty(KeyValuePair<string, dynamic> prop)

View File

@ -254,7 +254,7 @@ namespace SharedLibrary
{
Maps = new List<Map>();
IFile mapfile = new IFile("config/maps.cfg");
IFile mapfile = new IFile($"{Utilities.OperatingDirectory}config/maps.cfg");
String[] _maps = mapfile.ReadAllLines();
mapfile.Close();
if (_maps.Length > 2) // readAll returns minimum one empty string
@ -281,7 +281,7 @@ namespace SharedLibrary
{
BroadcastMessages = new List<String>();
IFile messageCFG = new IFile("config/messages.cfg");
IFile messageCFG = new IFile($"{Utilities.OperatingDirectory}config/messages.cfg");
String[] lines = messageCFG.ReadAllLines();
messageCFG.Close();
@ -319,7 +319,7 @@ namespace SharedLibrary
{
Rules = new List<String>();
IFile ruleFile = new IFile("config/rules.cfg");
IFile ruleFile = new IFile($"{Utilities.OperatingDirectory}config/rules.cfg");
String[] _rules = ruleFile.ReadAllLines();
ruleFile.Close();
if (_rules.Length > 2) // readAll returns minimum one empty string

View File

@ -13,7 +13,7 @@ namespace SharedLibrary
public override string Filename()
{
return $"config/servers/{IP}_{Port}.cfg";
return $"{Utilities.OperatingDirectory}config/servers/{IP}_{Port}.cfg";
}
}
}

View File

@ -55,8 +55,9 @@ namespace SharedLibrary.Services
{
Active = true,
// set the level to the level of the existing client if they have the same IP + Name but new NetworkId
// fixme: issues?
Level = hasExistingAlias ?
context.Clients.First(c => c.CurrentAliasId == existingAlias.AliasId).Level :
context.Clients.First(c => c.AliasLinkId== existingAlias.LinkId).Level :
Player.Permission.User,
FirstConnection = DateTime.UtcNow,
Connections = 1,

View File

@ -144,7 +144,7 @@ namespace SharedLibrary.Services
select new ProfileMeta()
{
Key = "Event.Penalty",
Value = new ProfilePenalty
Value = new PenaltyInfo
{
OffenderName = victimAlias.Name,
OffenderId = victimClient.ClientId,
@ -175,7 +175,7 @@ namespace SharedLibrary.Services
select new ProfileMeta()
{
Key = "Event.Penalty",
Value = new ProfilePenalty
Value = new PenaltyInfo
{
OffenderName = victimAlias.Name,
OffenderId = victimClient.ClientId,

View File

@ -2,6 +2,7 @@
<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>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D51EECEB-438A-47DA-870F-7D7B41BC24D6}</ProjectGuid>
@ -9,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SharedLibrary</RootNamespace>
<AssemblyName>SharedLibrary</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
@ -65,6 +66,33 @@
<OutputPath>bin\x86\Release-Stable\</OutputPath>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>..\..\..\RuleSet1.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Nightly|x64'">
<OutputPath>bin\x64\Release-Nightly\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Stable|x64'">
<OutputPath>bin\x64\Release-Stable\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
@ -75,10 +103,6 @@
<Reference Include="EntityFramework.SqlServerCompact, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.SqlServerCompact.6.2.0\lib\net45\EntityFramework.SqlServerCompact.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
@ -103,8 +127,11 @@
<Compile Include="Database\Models\EFClient.cs" />
<Compile Include="Database\Models\EFPenalty.cs" />
<Compile Include="Database\Models\SharedEntity.cs" />
<Compile Include="Dtos\PlayerInfo.cs" />
<Compile Include="Dtos\ClientInfo.cs" />
<Compile Include="Dtos\ProfileMeta.cs" />
<Compile Include="Dtos\ProfilePenalty.cs" />
<Compile Include="Dtos\PenaltyInfo.cs" />
<Compile Include="Dtos\ServerInfo.cs" />
<Compile Include="Exceptions\DatabaseException.cs" />
<Compile Include="Helpers\AsyncStatus.cs" />
<Compile Include="Commands\NativeCommands.cs" />
@ -144,11 +171,15 @@
<Compile Include="Services\MetaService.cs" />
<Compile Include="Services\PenaltyService.cs" />
<Compile Include="Utilities.cs" />
<Compile Include="WebService.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>11.0.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>move "$(TargetDir)Newtonsoft.Json.dll" "$(TargetDir)lib\Newtonsoft.Json.dll"

View File

@ -7,11 +7,15 @@ using System.Collections.Generic;
using SharedLibrary.Objects;
using static SharedLibrary.Server;
using System.Reflection;
using System.IO;
namespace SharedLibrary
{
public static class Utilities
{
public static string OperatingDirectory = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + Path.DirectorySeparatorChar;
//Get string with specified number of spaces -- really only for visual output
public static String GetSpaces(int Num)
{

View File

@ -1,104 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibrary
{
public class WebService
{
public static List<IPage> PageList { get; set; }
public static void Init()
{
PageList = new List<IPage>();
}
}
public struct HttpResponse
{
public string contentType;
public object content;
public byte[] BinaryContent;
public Dictionary<string, string> additionalHeaders;
}
public interface IPage
{
string GetPath();
string GetName();
Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers);
bool Visible();
}
public abstract class HTMLPage : IPage
{
private bool visible;
public HTMLPage()
{
visible = true;
}
public HTMLPage(bool visible)
{
this.visible = visible;
}
protected string GetContentType()
{
return "text/html";
}
protected string LoadFile(string filename)
{
string s;
IFile HTML = new IFile(filename);
s = HTML.GetText();
HTML.Close();
return s;
}
protected string LoadHeader()
{
return LoadFile("webfront\\header.html");
}
protected string LoadFooter()
{
return LoadFile("webfront\\footer.html");
}
public bool Visible()
{
return visible;
}
virtual public string GetPath()
{
return "";
}
abstract public string GetName();
virtual public Dictionary<string, string> GetHeaders(IDictionary<string, string> requestHeaders)
{
return new Dictionary<string, string>();
}
abstract public string GetContent(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers);
public async Task<HttpResponse> GetPage(System.Collections.Specialized.NameValueCollection querySet, IDictionary<string, string> headers)
{
HttpResponse resp = new HttpResponse()
{
content = GetContent(querySet, headers),
contentType = GetContentType(),
additionalHeaders = GetHeaders(headers)
};
return resp;
}
}
}

3
Webfront/.bin/git.cmd Normal file
View File

@ -0,0 +1,3 @@
@echo off
SET PATH=%~dp0;%PATH%
"%~dp0node" "%~dp0..\..\packages\NoGit.0.0.8\node_modules\nogit\bin\git.js" %*

3
Webfront/.bin/node.cmd Normal file
View File

@ -0,0 +1,3 @@
@echo off
SET PATH=%PATH%;%~dp0
"%~dp0..\..\packages\Node.js.0.10.28\node.exe" %*

View File

@ -0,0 +1,28 @@
using System.Web;
using System.Web.Optimization;
namespace Webfront
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js"));
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css"));
}
}
}

View File

@ -0,0 +1,13 @@
using System.Web;
using System.Web.Mvc;
namespace Webfront
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Webfront
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
}
}

View File

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Webfront
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
var manager = IW4MAdmin.Program.ServerManager;
manager.Init();
manager.Start();
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
}
}
}

View File

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
<TelemetryInitializers>
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/>
<Add Type="Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web">
<!-- Extended list of bots:
search|spider|crawl|Bot|Monitor|BrowserMob|BingPreview|PagePeeker|WebThumb|URL2PNG|ZooShot|GomezA|Google SketchUp|Read Later|KTXN|KHTE|Keynote|Pingdom|AlwaysOn|zao|borg|oegp|silk|Xenu|zeal|NING|htdig|lycos|slurp|teoma|voila|yahoo|Sogou|CiBra|Nutch|Java|JNLP|Daumoa|Genieo|ichiro|larbin|pompos|Scrapy|snappy|speedy|vortex|favicon|indexer|Riddler|scooter|scraper|scrubby|WhatWeb|WinHTTP|voyager|archiver|Icarus6j|mogimogi|Netvibes|altavista|charlotte|findlinks|Retreiver|TLSProber|WordPress|wsr-agent|http client|Python-urllib|AppEngine-Google|semanticdiscovery|facebookexternalhit|web/snippet|Google-HTTP-Java-Client-->
<Filters>search|spider|crawl|Bot|Monitor|AlwaysOn</Filters>
</Add>
<Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/>
</TelemetryInitializers>
<TelemetryModules>
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector">
<ExcludeComponentCorrelationHttpHeadersOnDomains>
<!--
Requests to the following hostnames will not be modified by adding correlation headers.
Add entries here to exclude additional hostnames.
NOTE: this configuration will be lost upon NuGet upgrade.
-->
<Add>core.windows.net</Add>
<Add>core.chinacloudapi.cn</Add>
<Add>core.cloudapi.de</Add>
<Add>core.usgovcloudapi.net</Add>
<Add>localhost</Add>
<Add>127.0.0.1</Add>
</ExcludeComponentCorrelationHttpHeadersOnDomains>
<IncludeDiagnosticSourceActivities>
<Add>Microsoft.Azure.EventHubs</Add>
<Add>Microsoft.Azure.ServiceBus</Add>
</IncludeDiagnosticSourceActivities>
</Add>
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector">
<!--
Use the following syntax here to collect additional performance counters:
<Counters>
<Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
...
</Counters>
PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
NOTE: performance counters configuration will be lost upon NuGet upgrade.
The following placeholders are supported as InstanceName:
??APP_WIN32_PROC?? - instance name of the application process for Win32 counters.
??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
-->
</Add>
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer">
<!--</Add>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.FirstChanceExceptionStatisticsTelemetryModule, Microsoft.AI.WindowsServer">-->
</Add>
<Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web">
<Handlers>
<!--
Add entries here to filter out additional handlers:
NOTE: handler configuration will be lost upon NuGet upgrade.
-->
<Add>Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add>
<Add>System.Web.StaticFileHandler</Add>
<Add>System.Web.Handlers.AssemblyResourceLoader</Add>
<Add>System.Web.Optimization.BundleHandler</Add>
<Add>System.Web.Script.Services.ScriptHandlerFactory</Add>
<Add>System.Web.Handlers.TraceHandler</Add>
<Add>System.Web.Services.Discovery.DiscoveryRequestHandler</Add>
<Add>System.Web.HttpDebugHandler</Add>
</Handlers>
</Add>
<Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/>
<Add Type="Microsoft.ApplicationInsights.Web.AspNetDiagnosticTelemetryModule, Microsoft.AI.Web"/>
</TelemetryModules>
<TelemetryProcessors>
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector"/>
<Add Type="Microsoft.ApplicationInsights.Extensibility.AutocollectedMetricsExtractor, Microsoft.ApplicationInsights"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
<ExcludedTypes>Event</ExcludedTypes>
</Add>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
<IncludedTypes>Event</IncludedTypes>
</Add>
</TelemetryProcessors>
<TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/>
<!--
Learn more about Application Insights configuration with ApplicationInsights.config here:
http://go.microsoft.com/fwlink/?LinkID=513840
Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
--></ApplicationInsights>

View File

@ -0,0 +1,19 @@
@import 'bootstrap/bootstrap.scss';
/* bootstrap overrides */
.navbar-nav .nav-link:hover {
background-color: $body-bg;
}
nav.navbar-dark {
border-bottom: 1px solid $secondary;
}
a.nav-link {
padding: $spacer * 1.5;
}
.container {
margin-top: 90px;
}

2050
Webfront/Content/bootstrap-grid.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More