1
0
mirror of https://github.com/BDDSM/YY.EventLogReaderAssistant.git synced 2025-07-11 14:20:12 +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 System.IO;
using Xunit; using Xunit;
namespace YY.EventLogAssistant.Tests namespace YY.EventLogReaderAssistant.Tests
{ {
public class EventLogReaderTests public class EventLogReaderTests
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +1,8 @@
{ {
"profiles": { "profiles": {
"YY.EventLogAssistantConsoleApp": { "YY.EventLogReaderAssistantConsoleApp": {
"commandName": "Project", "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> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogAssistant.csproj" /> <ProjectReference Include="..\YY.EventLogAssistant\YY.EventLogReaderAssistant.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -3,16 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 16.0.30002.166 VisualStudioVersion = 16.0.30002.166
MinimumVisualStudioVersion = 10.0.40219.1 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 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 ProjectSection(ProjectDependencies) = postProject
{5B2E13F6-9F93-46AA-AB61-7B3A4331840D} = {5B2E13F6-9F93-46AA-AB61-7B3A4331840D} {5B2E13F6-9F93-46AA-AB61-7B3A4331840D} = {5B2E13F6-9F93-46AA-AB61-7B3A4331840D}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{B3EA600F-E229-42E8-8FC4-F8097627AF81}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{B3EA600F-E229-42E8-8FC4-F8097627AF81}"
EndProject 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 EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution