1
0
mirror of https://github.com/BDDSM/YY.EventLogReaderAssistant.git synced 2024-11-26 18:11:45 +02:00

Проект перименован с "YY.EventLogAssistant" на "YY.EventLogReaderAssistant"

This commit is contained in:
YPermitin 2020-04-14 19:53:10 +05:00
parent bc609bed74
commit 0fc1ba8db3
43 changed files with 76 additions and 72 deletions

View File

@ -1,7 +1,7 @@
using System.IO;
using Xunit;
namespace YY.EventLogAssistant.Tests
namespace YY.EventLogReaderAssistant.Tests
{
public class EventLogReaderTests
{

View File

@ -1,7 +1,7 @@
using System.IO;
using Xunit;
namespace YY.EventLogAssistant.Tests
namespace YY.EventLogReaderAssistant.Tests
{
public class LogParserLGFTests
{

View File

@ -1,7 +1,7 @@
using System;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class DateTimeExtensionsTests
{

View File

@ -1,7 +1,7 @@
using System;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class IntExtensionsTests
{

View File

@ -4,7 +4,7 @@ using System.IO;
using System.Linq;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class SQLiteExtensionsTests
{

View File

@ -4,7 +4,7 @@ using System.IO;
using System.Text;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class StreamLineReaderTests
{

View File

@ -2,7 +2,7 @@
using System.IO;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class StreamReaderExtensionsTests
{

View File

@ -2,7 +2,7 @@
using System.Text;
using Xunit;
namespace YY.EventLogAssistant.Services.Tests
namespace YY.EventLogReaderAssistant.Services.Tests
{
public class StringExtensionsTests
{

View File

@ -12,6 +12,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="System.Data.SQLite" Version="1.0.112" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
@ -23,7 +24,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogAssistant.csproj" />
<ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogReaderAssistant.csproj" />
</ItemGroup>
<ItemGroup>

View File

@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Data.SQLite;
using YY.EventLogAssistant.Models;
using YY.EventLogAssistant.Services;
using YY.EventLogReaderAssistant.Models;
using YY.EventLogReaderAssistant.Services;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
internal sealed class EventLogLGDReader : EventLogReader
{

View File

@ -4,11 +4,11 @@ using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using YY.EventLogAssistant.Models;
using YY.EventLogAssistant.Services;
using YY.EventLogReaderAssistant.Models;
using YY.EventLogReaderAssistant.Services;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
internal sealed class EventLogLGFReader : EventLogReader
{

View File

@ -1,7 +1,7 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
public sealed class EventLogPosition
{

View File

@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using YY.EventLogAssistant.Services;
using YY.EventLogAssistant.Models;
using YY.EventLogReaderAssistant.Services;
using YY.EventLogReaderAssistant.Models;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
public abstract partial class EventLogReader : IEventLogReader, IDisposable
{

View File

@ -1,7 +1,7 @@
using YY.EventLogAssistant.Models;
using YY.EventLogReaderAssistant.Models;
using System;
namespace YY.EventLogAssistant
namespace YY.EventLogReaderAssistant
{
public sealed class AfterReadEventArgs : EventArgs
{

View File

@ -1,6 +1,6 @@
using System;
namespace YY.EventLogAssistant
namespace YY.EventLogReaderAssistant
{
public sealed class AfterReadFileEventArgs : EventArgs
{

View File

@ -1,6 +1,6 @@
using System;
namespace YY.EventLogAssistant
namespace YY.EventLogReaderAssistant
{
public sealed class BeforeReadEventArgs : EventArgs

View File

@ -1,6 +1,6 @@
using System;
namespace YY.EventLogAssistant
namespace YY.EventLogReaderAssistant
{
public sealed class BeforeReadFileEventArgs : EventArgs
{

View File

@ -1,6 +1,6 @@
using System;
namespace YY.EventLogAssistant
namespace YY.EventLogReaderAssistant
{
public sealed class OnErrorEventArgs : EventArgs
{

View File

@ -1,7 +1,7 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
internal interface IEventLogReader
{

View File

@ -1,16 +1,16 @@
using YY.EventLogAssistant.Models;
using YY.EventLogReaderAssistant.Models;
using System;
using System.Globalization;
using System.Linq;
using System.Text;
using YY.EventLogAssistant.Services;
using YY.EventLogReaderAssistant.Services;
using System.Text.RegularExpressions;
using System.IO;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant
{
internal sealed class LogParserLGF
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class Applications
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class Computers
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class Events
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class InformationSystems
{

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class Metadata
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class PrimaryPorts
{

View File

@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class RowData
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class SecondaryPorts
{

View File

@ -1,4 +1,4 @@
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public enum Severity
{

View File

@ -1,4 +1,4 @@
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public enum TransactionStatus
{

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class Users
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace YY.EventLogAssistant.Models
namespace YY.EventLogReaderAssistant.Models
{
public class WorkServers
{

View File

@ -2,8 +2,8 @@
using System.Data.SqlTypes;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal static class DateTimeExtensions
{

View File

@ -1,8 +1,8 @@
using System;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal static class IntExtensions
{

View File

@ -3,8 +3,8 @@ using System.Data.SQLite;
using System.Runtime.CompilerServices;
using System.Text;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal static class SQLiteExtensions
{

View File

@ -4,8 +4,8 @@ using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal class StreamLineReader : IDisposable
{

View File

@ -2,8 +2,8 @@
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal static class StreamReaderExtensions
{

View File

@ -4,8 +4,8 @@ using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant.Services
[assembly: InternalsVisibleTo("YY.EventLogReaderAssistant.Tests")]
namespace YY.EventLogReaderAssistant.Services
{
internal static class StringExtensions
{

View File

@ -5,9 +5,9 @@
<Version>1.0.0.0</Version>
<Description>Библиотека для чтения файлов журнала регистрации платформы 1С:Предприятие 8.x</Description>
<Copyright>Copyright (c) 2020 Permitin Yury</Copyright>
<PackageProjectUrl>https://github.com/YPermitin/YY.EventLogAssistant</PackageProjectUrl>
<RepositoryUrl>https://github.com/YPermitin/YY.EventLogAssistant</RepositoryUrl>
<PackageLicenseExpression>https://github.com/YPermitin/YY.EventLogAssistant/blob/master/LICENSE</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/YPermitin/YY.EventLogReaderAssistant</PackageProjectUrl>
<RepositoryUrl>https://github.com/YPermitin/YY.EventLogReaderAssistant</RepositoryUrl>
<PackageLicenseExpression>https://github.com/YPermitin/YY.EventLogReaderAssistant/blob/master/LICENSE</PackageLicenseExpression>
<RepositoryType>GIT</RepositoryType>
</PropertyGroup>

View File

@ -1,9 +1,9 @@
using System;
using System.IO;
using YY.EventLogAssistant;
using YY.EventLogAssistant.Models;
using YY.EventLogReaderAssistant;
using YY.EventLogReaderAssistant.Models;
namespace YY.EventLogAssistantConsoleApp
namespace YY.EventLogReaderAssistantConsoleApp
{
class Program
{

View File

@ -1,8 +1,8 @@
{
"profiles": {
"YY.EventLogAssistantConsoleApp": {
"YY.EventLogReaderAssistantConsoleApp": {
"commandName": "Project",
"commandLineArgs": "\"\\\\Srv-1c-01-vm\\жр lgf (генератор событий)\" \"E:\\Dev\\YY\\YY.EventLogAssistant\\YY.EventLogAssistant\\YY.EventLogAssistantConsoleApp\\bin\\Debug\\netcoreapp3.1\\TestData\\1Cv8.lgd\""
"commandLineArgs": "\"\\\\Srv-1c-01-vm\\жр lgf (генератор событий)\" \"E:\\Dev\\YY\\YY.EventLogReaderAssistant\\YY.EventLogReaderAssistant\\YY.EventLogReaderAssistantConsoleApp\\bin\\Debug\\netcoreapp3.1\\TestData\\1Cv8.lgd\""
}
}
}

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogAssistant.csproj" />
<ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogReaderAssistant.csproj" />
</ItemGroup>
</Project>

View File

@ -3,16 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30002.166
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YY.EventLogAssistant", "YY.EventLogAssistant\YY.EventLogAssistant.csproj", "{5B2E13F6-9F93-46AA-AB61-7B3A4331840D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.EventLogReaderAssistant", "YY.EventLogAssistant\YY.EventLogReaderAssistant.csproj", "{5B2E13F6-9F93-46AA-AB61-7B3A4331840D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YY.EventLogAssistantConsoleApp", "YY.EventLogAssistantConsoleApp\YY.EventLogAssistantConsoleApp.csproj", "{9CF3CC92-F793-4398-896A-353DAACC0DE0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.EventLogAssistantConsoleApp", "YY.EventLogAssistantConsoleApp\YY.EventLogAssistantConsoleApp.csproj", "{9CF3CC92-F793-4398-896A-353DAACC0DE0}"
ProjectSection(ProjectDependencies) = postProject
{5B2E13F6-9F93-46AA-AB61-7B3A4331840D} = {5B2E13F6-9F93-46AA-AB61-7B3A4331840D}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{B3EA600F-E229-42E8-8FC4-F8097627AF81}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YY.EventLogAssistant.Tests", "YY.EventLogAssistant.Tests\YY.EventLogAssistant.Tests.csproj", "{A4CAB49D-B34A-4299-B0C4-864A874B10D4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.EventLogReaderAssistant.Tests", "YY.EventLogAssistant.Tests\YY.EventLogReaderAssistant.Tests.csproj", "{A4CAB49D-B34A-4299-B0C4-864A874B10D4}"
ProjectSection(ProjectDependencies) = postProject
{5B2E13F6-9F93-46AA-AB61-7B3A4331840D} = {5B2E13F6-9F93-46AA-AB61-7B3A4331840D}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution