DocSpace-client/common/ASC.Api.Core/GlobalUsings.cs

157 lines
6.2 KiB
C#
Raw Normal View History

2022-03-15 18:00:53 +00:00
// (c) Copyright Ascensio System SIA 2010-2022
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
// of the GNU Affero General Public License (AGPL) version 3 as published by the Free Software
// Foundation. In accordance with Section 7(a) of the GNU AGPL its Section 15 shall be amended
// to the effect that Ascensio System SIA expressly excludes the warranty of non-infringement of
// any third-party rights.
//
// This program is distributed WITHOUT ANY WARRANTY, without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, see
// the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
//
// You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021.
//
// The interactive user interfaces in modified source and object code versions of the Program must
// display Appropriate Legal Notices, as required under Section 5 of the GNU AGPL version 3.
//
// Pursuant to Section 7(b) of the License you must retain the original Product logo when
// distributing the program. Pursuant to Section 7(e) we decline to grant you any rights under
// trademark law for use of our trademarks.
//
// All the Product's GUI elements, including illustrations and icon sets, as well as technical writing
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
global using System.ComponentModel;
2022-03-05 08:20:05 +00:00
global using System.Globalization;
2022-09-06 09:14:08 +00:00
global using System.IdentityModel.Tokens.Jwt;
2022-01-26 08:06:31 +00:00
global using System.Linq.Expressions;
global using System.Net;
global using System.Reflection;
2022-03-10 17:30:29 +00:00
global using System.Runtime.InteropServices;
2022-01-26 08:06:31 +00:00
global using System.Runtime.Serialization;
global using System.Security;
global using System.Security.Authentication;
global using System.Security.Claims;
2022-12-16 12:41:09 +00:00
global using System.Security.Cryptography;
2022-08-16 14:47:40 +00:00
global using System.Text;
2022-12-16 12:41:09 +00:00
global using System.Text.Encodings.Web;
2022-10-28 07:58:13 +00:00
global using System.Text.Json;
2022-12-16 12:41:09 +00:00
global using System.Text.Json.Serialization;
2022-11-07 09:34:50 +00:00
global using System.Text.RegularExpressions;
2022-01-26 08:06:31 +00:00
global using System.Web;
global using System.Xml.Linq;
2022-01-26 08:06:31 +00:00
global using ASC.Api.Core;
global using ASC.Api.Core.Auth;
global using ASC.Api.Core.Convention;
global using ASC.Api.Core.Core;
2022-04-01 19:49:12 +00:00
global using ASC.Api.Core.Extensions;
2022-05-06 08:23:18 +00:00
global using ASC.Api.Core.Log;
2022-01-26 08:06:31 +00:00
global using ASC.Api.Core.Middleware;
global using ASC.Api.Core.Routing;
global using ASC.Api.Core.Security;
2022-08-01 10:50:31 +00:00
global using ASC.AuditTrail.Repositories;
global using ASC.AuditTrail.Types;
2022-01-26 08:06:31 +00:00
global using ASC.Common;
global using ASC.Common.Caching;
2022-10-28 07:58:13 +00:00
global using ASC.Common.Caching.Settings;
2022-01-26 08:06:31 +00:00
global using ASC.Common.DependencyInjection;
2022-08-16 14:47:40 +00:00
global using ASC.Common.Log;
2022-04-26 18:34:27 +00:00
global using ASC.Common.Logging;
2022-12-16 12:41:09 +00:00
global using ASC.Common.Security.Authorizing;
2022-04-01 19:49:12 +00:00
global using ASC.Common.Threading;
2022-01-26 08:06:31 +00:00
global using ASC.Common.Utils;
global using ASC.Common.Web;
global using ASC.Core;
2022-11-07 09:34:50 +00:00
global using ASC.Core.Billing;
2022-01-26 08:06:31 +00:00
global using ASC.Core.Common.EF;
2022-07-28 18:00:49 +00:00
global using ASC.Core.Common.EF.Context;
2022-04-01 19:49:12 +00:00
global using ASC.Core.Common.Hosting;
global using ASC.Core.Common.Hosting.Interfaces;
2022-09-06 09:14:08 +00:00
global using ASC.Core.Common.Quota;
global using ASC.Core.Common.Quota.Features;
2022-12-16 12:41:09 +00:00
global using ASC.Core.Common.Security;
global using ASC.Core.Common.Settings;
2022-01-26 08:06:31 +00:00
global using ASC.Core.Tenants;
global using ASC.Core.Users;
2022-04-01 19:49:12 +00:00
global using ASC.EventBus;
global using ASC.EventBus.Abstractions;
2022-10-28 07:58:13 +00:00
global using ASC.EventBus.ActiveMQ;
2022-07-28 18:00:49 +00:00
global using ASC.EventBus.Extensions.Logger;
2022-04-01 19:49:12 +00:00
global using ASC.EventBus.RabbitMQ;
2022-07-28 18:00:49 +00:00
global using ASC.Feed.Context;
global using ASC.IPSecurity;
global using ASC.MessagingSystem.Core;
Merge branch 'develop' into feature/migrations-fix # Conflicts: # common/ASC.Core.Common/EF/Model/Core/Acl.cs # common/ASC.Core.Common/GlobalUsings.cs # common/ASC.Core.Common/Messaging/EventMessage.cs # common/ASC.Core.Common/Messaging/LoginEvent.cs # common/ASC.Core.Common/Messaging/MessageTarget.cs # common/ASC.Core.Common/Migrations/MySql/CoreDbContextMySql/20211012145320_CoreDbContextMySql.cs # common/ASC.Core.Common/Migrations/MySql/FilesDbContextMySql/20220708104408_FilesDbContextMySql.Designer.cs # common/ASC.Core.Common/Migrations/MySql/FilesDbContextMySql/20220708104408_FilesDbContextMySql.cs # common/ASC.Core.Common/Migrations/MySql/FilesDbContextMySql/MySqlFilesDbContextModelSnapshot.cs # common/ASC.Core.Common/Migrations/MySql/MessagesContextMySql/20211012145334_MessagesContextMySql.Designer.cs # common/ASC.Core.Common/Migrations/MySql/MessagesContextMySql/20211012145334_MessagesContextMySql.cs # common/ASC.Core.Common/Migrations/MySql/MessagesContextMySql/20220708104428_MessagesContextMySql.Designer.cs # common/ASC.Core.Common/Migrations/MySql/MessagesContextMySql/20220708104428_MessagesContextMySql.cs # common/ASC.Core.Common/Migrations/MySql/UserDbContextMySql/20211012145322_UserDbContextMySql.cs # common/ASC.Core.Common/Migrations/MySql/UserDbContextMySql/20220708104402_UserDbContextMySql.Designer.cs # common/ASC.Core.Common/Migrations/MySql/UserDbContextMySql/MySqlUserDbContextModelSnapshot.cs # common/ASC.Core.Common/Migrations/PostgreSql/CoreDbContextPostgreSql/20211012145321_CoreDbContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/FilesDbContextPostgreSql/20220708104409_FilesDbContextPostgreSql.Designer.cs # common/ASC.Core.Common/Migrations/PostgreSql/FilesDbContextPostgreSql/20220708104409_FilesDbContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/FilesDbContextPostgreSql/PostgreSqlFilesDbContextModelSnapshot.cs # common/ASC.Core.Common/Migrations/PostgreSql/MessagesContextPostgreSql/20211012145335_MessagesContextPostgreSql.Designer.cs # common/ASC.Core.Common/Migrations/PostgreSql/MessagesContextPostgreSql/20211012145335_MessagesContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/MessagesContextPostgreSql/20220708104429_MessagesContextPostgreSql.Designer.cs # common/ASC.Core.Common/Migrations/PostgreSql/MessagesContextPostgreSql/20220708104429_MessagesContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/TenantDbContextPostgreSql/20211012145343_TenantDbContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/UserDbContextPostgreSql/20211012145323_UserDbContextPostgreSql.cs # common/ASC.Core.Common/Migrations/PostgreSql/UserDbContextPostgreSql/20220708104403_UserDbContextPostgreSql.Designer.cs # common/ASC.Core.Common/Migrations/PostgreSql/UserDbContextPostgreSql/PostgreSqlUserDbContextModelSnapshot.cs # common/ASC.Data.Backup.Core/Migrations/MySql/BackupsContextMySql/20220708104422_BackupsContextMySql.Designer.cs # common/ASC.Data.Backup.Core/Migrations/PostgreSql/BackupsContextPostgreSql/20220708104423_BackupsContextPostgreSql.Designer.cs # common/ASC.MessagingSystem/Migrations/MySql/MessagesContextMySql/20211012145334_MessagesContextMySql.Designer.cs # common/ASC.MessagingSystem/Migrations/PostgreSql/MessagesContextPostgreSql/20211012145335_MessagesContextPostgreSql.Designer.cs # common/ASC.Resource.Manager/ResourceData.cs # common/services/ASC.AuditTrail/GlobalUsings.cs # products/ASC.Files/Core/Core/EF/DbFilesThirdpartyAccount.cs # products/ASC.Files/Core/Migrations/MySql/FilesDbContextMySql/20211022170840_FilesDbContextMySql.cs # products/ASC.Files/Core/Migrations/MySql/FilesDbContextMySql/MySqlFilesDbContextModelSnapshot.cs # products/ASC.Files/Core/Migrations/PostgreSql/FilesDbContextPostgreSql/20211022170841_FilesDbContextPostgreSql.cs # products/ASC.Files/Core/Migrations/PostgreSql/FilesDbContextPostgreSql/PostgreSqlFilesDbContextModelSnapshot.cs # web/ASC.Web.Api/GlobalUsings.cs
2022-07-11 10:28:49 +00:00
global using ASC.MessagingSystem.EF.Context;
global using ASC.MessagingSystem.EF.Model;
2022-01-26 08:06:31 +00:00
global using ASC.Security.Cryptography;
global using ASC.Web.Api.Routing;
global using ASC.Web.Core;
2022-12-16 12:41:09 +00:00
global using ASC.Web.Core.Helpers;
2022-10-28 07:58:13 +00:00
global using ASC.Web.Core.PublicResources;
2022-09-19 14:56:45 +00:00
global using ASC.Web.Core.Quota;
2022-01-26 08:06:31 +00:00
global using ASC.Web.Core.Users;
global using ASC.Web.Studio.Utility;
global using ASC.Webhooks.Core;
2022-07-28 18:00:49 +00:00
global using ASC.Webhooks.Core.EF.Context;
2022-01-26 08:06:31 +00:00
global using Autofac;
2022-03-23 13:08:27 +00:00
global using Autofac.Extensions.DependencyInjection;
2022-07-05 09:55:19 +00:00
global using AutoMapper;
2022-01-26 08:06:31 +00:00
global using Confluent.Kafka;
2022-01-26 08:06:31 +00:00
global using HealthChecks.UI.Client;
2022-01-26 08:06:31 +00:00
global using Microsoft.AspNetCore.Authentication;
2022-09-06 09:14:08 +00:00
global using Microsoft.AspNetCore.Authentication.Cookies;
global using Microsoft.AspNetCore.Authentication.JwtBearer;
2022-01-26 08:06:31 +00:00
global using Microsoft.AspNetCore.Authorization;
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.Diagnostics.HealthChecks;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Http;
global using Microsoft.AspNetCore.HttpOverrides;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Mvc.ApplicationModels;
global using Microsoft.AspNetCore.Mvc.Authorization;
global using Microsoft.AspNetCore.Mvc.Controllers;
global using Microsoft.AspNetCore.Mvc.Filters;
global using Microsoft.AspNetCore.Mvc.Formatters;
global using Microsoft.AspNetCore.Mvc.Routing;
global using Microsoft.AspNetCore.Routing;
2022-03-14 10:57:59 +00:00
global using Microsoft.AspNetCore.Routing.Constraints;
2022-01-26 08:06:31 +00:00
global using Microsoft.AspNetCore.Routing.Patterns;
global using Microsoft.AspNetCore.Server.Kestrel.Core;
global using Microsoft.AspNetCore.WebUtilities;
2022-07-28 18:00:49 +00:00
global using Microsoft.EntityFrameworkCore;
2022-01-26 08:06:31 +00:00
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
2022-08-16 14:47:40 +00:00
global using Microsoft.Extensions.DependencyInjection.Extensions;
2022-01-26 08:06:31 +00:00
global using Microsoft.Extensions.Diagnostics.HealthChecks;
global using Microsoft.Extensions.Hosting;
global using Microsoft.Extensions.Logging;
global using Microsoft.Extensions.Options;
global using Microsoft.Extensions.Primitives;
2022-09-06 09:14:08 +00:00
global using Microsoft.IdentityModel.Tokens;
global using Microsoft.Net.Http.Headers;
2022-01-26 08:06:31 +00:00
global using Newtonsoft.Json;
global using Newtonsoft.Json.Serialization;
2022-04-26 18:34:27 +00:00
global using NLog;
2022-11-07 09:34:50 +00:00
global using NLog.AWS.Logger;
2022-04-26 18:34:27 +00:00
global using NLog.Config;
2022-11-07 09:34:50 +00:00
global using NLog.Web;
2022-04-26 18:34:27 +00:00
global using RabbitMQ.Client;
2022-04-01 19:49:12 +00:00
2022-01-26 08:06:31 +00:00
global using StackExchange.Redis.Extensions.Core.Configuration;
2022-04-26 18:34:27 +00:00
global using StackExchange.Redis.Extensions.Newtonsoft;
2022-04-28 09:15:33 +00:00
2022-05-06 08:23:18 +00:00
global using LogLevel = Microsoft.Extensions.Logging.LogLevel;