Skip to content

Commit ae0ac8c

Browse files
author
SevOlen
committed
first commit
0 parents  commit ae0ac8c

File tree

1,336 files changed

+1339380
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,336 files changed

+1339380
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.vs

DocFormer.Collections/Collections.cs

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using DocFormer.Core;
2+
using DocFormer.Core.Enums;
3+
using DocFormer.Core.Interfaces;
4+
using DocFormer.Core.Models;
5+
using Prism.Events;
6+
using System;
7+
using System.Collections.Generic;
8+
using System.Collections.ObjectModel;
9+
using System.ComponentModel;
10+
using System.Linq;
11+
using System.Runtime.CompilerServices;
12+
using System.Text;
13+
using System.Threading.Tasks;
14+
15+
namespace DocFormer
16+
{
17+
public class Collections : SQLMethods, ICollections
18+
{
19+
20+
public Collections()
21+
{
22+
Organizations = new List<Organizations>();
23+
CustomerType = new Dictionary<Guid, string>();
24+
TechnologyType = new Dictionary<Guid, string>();
25+
Technologies = new List<TechnologyModel>();
26+
CountType = new Dictionary<Guid, string>();
27+
Customers = new List<Customers>();
28+
Objects = new List<Objects>();
29+
DocNames = new List<DocumentsNames>();
30+
DocTemplates = new List<DocumentsTemplates>();
31+
SelectCollections();
32+
}
33+
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{2192C676-EE66-4A30-94D2-CAA047D14095}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>DocFormer</RootNamespace>
11+
<AssemblyName>DocFormer.Collections</AssemblyName>
12+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<NuGetPackageImportStamp>
15+
</NuGetPackageImportStamp>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<ItemGroup>
35+
<Reference Include="Autofac, Version=4.6.2.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
36+
<HintPath>..\packages\Autofac.4.6.2\lib\net45\Autofac.dll</HintPath>
37+
</Reference>
38+
<Reference Include="Dapper, Version=1.50.4.0, Culture=neutral, processorArchitecture=MSIL">
39+
<HintPath>..\packages\Dapper.1.50.4\lib\net451\Dapper.dll</HintPath>
40+
</Reference>
41+
<Reference Include="DocFormer.Core">
42+
<HintPath>..\DocFormer.Core\bin\Debug\DocFormer.Core.dll</HintPath>
43+
</Reference>
44+
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
45+
<HintPath>..\packages\NLog.4.4.12\lib\net45\NLog.dll</HintPath>
46+
</Reference>
47+
<Reference Include="PresentationCore" />
48+
<Reference Include="PresentationFramework" />
49+
<Reference Include="Prism, Version=7.0.0.396, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
50+
<HintPath>..\packages\Prism.Core.7.0.0.396\lib\net45\Prism.dll</HintPath>
51+
</Reference>
52+
<Reference Include="System" />
53+
<Reference Include="System.Core" />
54+
<Reference Include="System.Data.SQLite, Version=1.0.107.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
55+
<HintPath>..\packages\System.Data.SQLite.Core.1.0.107.0\lib\net46\System.Data.SQLite.dll</HintPath>
56+
</Reference>
57+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.107.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
58+
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.107.0\lib\net46\System.Data.SQLite.Linq.dll</HintPath>
59+
</Reference>
60+
<Reference Include="System.Drawing" />
61+
<Reference Include="System.IO.Compression.FileSystem" />
62+
<Reference Include="System.Numerics" />
63+
<Reference Include="System.Runtime.Serialization" />
64+
<Reference Include="System.Xaml" />
65+
<Reference Include="System.Xml.Linq" />
66+
<Reference Include="System.Data.DataSetExtensions" />
67+
<Reference Include="Microsoft.CSharp" />
68+
<Reference Include="System.Data" />
69+
<Reference Include="System.Net.Http" />
70+
<Reference Include="System.Xml" />
71+
<Reference Include="WindowsBase" />
72+
</ItemGroup>
73+
<ItemGroup>
74+
<Compile Include="Collections.cs" />
75+
<Compile Include="Properties\AssemblyInfo.cs" />
76+
<Compile Include="SQLMethods.cs" />
77+
</ItemGroup>
78+
<ItemGroup>
79+
<None Include="app.config" />
80+
<None Include="NLog.config">
81+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
82+
</None>
83+
<None Include="packages.config" />
84+
</ItemGroup>
85+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
86+
<Import Project="..\packages\System.Data.SQLite.Core.1.0.107.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.107.0\build\net46\System.Data.SQLite.Core.targets')" />
87+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
88+
<PropertyGroup>
89+
<ErrorText>Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}.</ErrorText>
90+
</PropertyGroup>
91+
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.107.0\build\net46\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.107.0\build\net46\System.Data.SQLite.Core.targets'))" />
92+
</Target>
93+
</Project>

DocFormer.Collections/NLog.config

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<nlog autoReload="true">
4+
5+
<variable name="logFile" value="${basedir}/logs/${date:format=dd-MM-yyyy}.txt"/>
6+
7+
<targets>
8+
<target name="fileDebug" type="AsyncWrapper" queueLimit="5000" overflowAction="Block">
9+
<target type="File" fileName="${logFile}" layout="${date:format=dd-MM-yyyy HH\:mm\:ss}|${level:uppercase=true}|${machinename}|${message}|${exception:format=ToString}"/>
10+
</target>
11+
</targets>
12+
13+
<rules>
14+
<logger name="*" minlevel="Debug" writeTo="fileDebug"/>
15+
</rules>
16+
17+
</nlog>
18+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// Общие сведения об этой сборке предоставляются следующим набором
6+
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
7+
// связанные со сборкой.
8+
[assembly: AssemblyTitle("DocFormer.Collections")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("Hewlett-Packard Company")]
12+
[assembly: AssemblyProduct("DocFormer.Collections")]
13+
[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2018")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
18+
// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
19+
// COM, задайте атрибуту ComVisible значение TRUE для этого типа.
20+
[assembly: ComVisible(false)]
21+
22+
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
23+
[assembly: Guid("2192c676-ee66-4a30-94d2-caa047d14095")]
24+
25+
// Сведения о версии сборки состоят из следующих четырех значений:
26+
//
27+
// Основной номер версии
28+
// Дополнительный номер версии
29+
// Номер сборки
30+
// Редакция
31+
//
32+
// Можно задать все значения или принять номер сборки и номер редакции по умолчанию.
33+
// используя "*", как показано ниже:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)