Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/69 add s3 service interface #72

Merged
merged 3 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
223 changes: 122 additions & 101 deletions BSN.Commons.sln
Original file line number Diff line number Diff line change
@@ -1,101 +1,122 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{DC377ADC-CC9D-4785-81BE-726DBF5F3096}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{6F9A45A1-05A3-4DAD-B4F2-DCD4836E110A}"
ProjectSection(SolutionItems) = preProject
Build\BSN.Commons.Orm.EntityFramework.nuspec = Build\BSN.Commons.Orm.EntityFramework.nuspec
Build\BSN.Commons.Users.nuspec = Build\BSN.Commons.Users.nuspec
Build\build.cake = Build\build.cake
Build\build.ps1 = Build\build.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Document", "Document", "{5AB50B7C-5BB7-4B35-B208-A0920294CFEE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons", "Source\BSN.Commons\BSN.Commons.csproj", "{FFEF752B-4E11-44FF-82FA-9AEC0B607990}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Tests", "Test\BSN.Commons.Tests\BSN.Commons.Tests.csproj", "{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.PresentationInfrastructure", "Source\BSN.Commons.PresentationInfrastructure\BSN.Commons.PresentationInfrastructure.csproj", "{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{320ED66B-71A0-473E-AC25-A464A9485EEE}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
BSN.jpg = BSN.jpg
GitVersion.yml = GitVersion.yml
LICENSE = LICENSE
README.md = README.md
sbuild.bat = sbuild.bat
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFramework.Tests", "Test\BSN.Commons.Orm.EntityFramework.Tests\BSN.Commons.Orm.EntityFramework.Tests.csproj", "{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BSN.Commons.Orm.EntityFramework", "Source\BSN.Commons.Orm.EntityFramework\BSN.Commons.Orm.EntityFramework.csproj", "{746AF465-DE8E-41C9-B558-CFFC6E3638D4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFrameworkCore.Tests", "Test\BSN.Commons.Orm.EntityFrameworkCore.Tests\BSN.Commons.Orm.EntityFrameworkCore.Tests.csproj", "{906FEED8-23E0-4EEF-B902-C39325C50480}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFrameworkCore", "Source\BSN.Commons.Orm.EntityFrameworkCore\BSN.Commons.Orm.EntityFrameworkCore.csproj", "{335F645B-C85F-42C2-9185-A216101F60C7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BSN.Commons.Users", "Source\BSN.Commons.Users\BSN.Commons.Users.csproj", "{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Release|Any CPU.Build.0 = Release|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Release|Any CPU.Build.0 = Release|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Release|Any CPU.Build.0 = Release|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Release|Any CPU.Build.0 = Release|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Release|Any CPU.Build.0 = Release|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Debug|Any CPU.Build.0 = Debug|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Release|Any CPU.ActiveCfg = Release|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Release|Any CPU.Build.0 = Release|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Release|Any CPU.Build.0 = Release|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{FFEF752B-4E11-44FF-82FA-9AEC0B607990} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{746AF465-DE8E-41C9-B558-CFFC6E3638D4} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{906FEED8-23E0-4EEF-B902-C39325C50480} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{335F645B-C85F-42C2-9185-A216101F60C7} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BCAF76D3-AA3C-4D0F-8D10-34065F8FED09}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{DC377ADC-CC9D-4785-81BE-726DBF5F3096}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{6F9A45A1-05A3-4DAD-B4F2-DCD4836E110A}"
ProjectSection(SolutionItems) = preProject
Build\BSN.Commons.Orm.EntityFramework.nuspec = Build\BSN.Commons.Orm.EntityFramework.nuspec
Build\BSN.Commons.Users.nuspec = Build\BSN.Commons.Users.nuspec
Build\build.cake = Build\build.cake
Build\build.ps1 = Build\build.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Document", "Document", "{5AB50B7C-5BB7-4B35-B208-A0920294CFEE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons", "Source\BSN.Commons\BSN.Commons.csproj", "{FFEF752B-4E11-44FF-82FA-9AEC0B607990}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Tests", "Test\BSN.Commons.Tests\BSN.Commons.Tests.csproj", "{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.PresentationInfrastructure", "Source\BSN.Commons.PresentationInfrastructure\BSN.Commons.PresentationInfrastructure.csproj", "{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{320ED66B-71A0-473E-AC25-A464A9485EEE}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
BSN.jpg = BSN.jpg
GitVersion.yml = GitVersion.yml
LICENSE = LICENSE
README.md = README.md
sbuild.bat = sbuild.bat
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFramework.Tests", "Test\BSN.Commons.Orm.EntityFramework.Tests\BSN.Commons.Orm.EntityFramework.Tests.csproj", "{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BSN.Commons.Orm.EntityFramework", "Source\BSN.Commons.Orm.EntityFramework\BSN.Commons.Orm.EntityFramework.csproj", "{746AF465-DE8E-41C9-B558-CFFC6E3638D4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFrameworkCore.Tests", "Test\BSN.Commons.Orm.EntityFrameworkCore.Tests\BSN.Commons.Orm.EntityFrameworkCore.Tests.csproj", "{906FEED8-23E0-4EEF-B902-C39325C50480}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.Orm.EntityFrameworkCore", "Source\BSN.Commons.Orm.EntityFrameworkCore\BSN.Commons.Orm.EntityFrameworkCore.csproj", "{335F645B-C85F-42C2-9185-A216101F60C7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BSN.Commons.Users", "Source\BSN.Commons.Users\BSN.Commons.Users.csproj", "{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.S3.Abstraction", "Source\BSN.Commons.S3.Abstraction\BSN.Commons.S3.Abstraction.csproj", "{F9D348C7-F468-4F06-A0FB-3B9C6116555E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BSN.Commons.S3.Core", "Source\BSN.Commons.S3.Core\BSN.Commons.S3.Core.csproj", "{48F4694B-2732-472B-A05E-4B2926B3B866}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BSN.Commons.S3.Net", "Source\BSN.Commons.S3.Net\BSN.Commons.S3.Net.csproj", "{5F798AA1-1A65-4C9F-8415-3100C141DD87}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FFEF752B-4E11-44FF-82FA-9AEC0B607990}.Release|Any CPU.Build.0 = Release|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA}.Release|Any CPU.Build.0 = Release|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4}.Release|Any CPU.Build.0 = Release|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494}.Release|Any CPU.Build.0 = Release|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{746AF465-DE8E-41C9-B558-CFFC6E3638D4}.Release|Any CPU.Build.0 = Release|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Debug|Any CPU.Build.0 = Debug|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Release|Any CPU.ActiveCfg = Release|Any CPU
{906FEED8-23E0-4EEF-B902-C39325C50480}.Release|Any CPU.Build.0 = Release|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{335F645B-C85F-42C2-9185-A216101F60C7}.Release|Any CPU.Build.0 = Release|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D}.Release|Any CPU.Build.0 = Release|Any CPU
{F9D348C7-F468-4F06-A0FB-3B9C6116555E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F9D348C7-F468-4F06-A0FB-3B9C6116555E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F9D348C7-F468-4F06-A0FB-3B9C6116555E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F9D348C7-F468-4F06-A0FB-3B9C6116555E}.Release|Any CPU.Build.0 = Release|Any CPU
{48F4694B-2732-472B-A05E-4B2926B3B866}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{48F4694B-2732-472B-A05E-4B2926B3B866}.Debug|Any CPU.Build.0 = Debug|Any CPU
{48F4694B-2732-472B-A05E-4B2926B3B866}.Release|Any CPU.ActiveCfg = Release|Any CPU
{48F4694B-2732-472B-A05E-4B2926B3B866}.Release|Any CPU.Build.0 = Release|Any CPU
{5F798AA1-1A65-4C9F-8415-3100C141DD87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5F798AA1-1A65-4C9F-8415-3100C141DD87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5F798AA1-1A65-4C9F-8415-3100C141DD87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5F798AA1-1A65-4C9F-8415-3100C141DD87}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{FFEF752B-4E11-44FF-82FA-9AEC0B607990} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{128FAA47-21B1-4FBE-AC24-E33C6AE218CA} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{BFA36BA8-621F-490D-AB4E-ECEFB639CAC4} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{2DF9D69C-E6F0-4CDA-8D8D-12F5D9C91494} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{746AF465-DE8E-41C9-B558-CFFC6E3638D4} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{906FEED8-23E0-4EEF-B902-C39325C50480} = {5C6BA7B5-832A-495A-AF5E-C2A74F6A1EF9}
{335F645B-C85F-42C2-9185-A216101F60C7} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{213ABCEF-7E9A-4CE5-A3EF-289C9781344D} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{F9D348C7-F468-4F06-A0FB-3B9C6116555E} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{48F4694B-2732-472B-A05E-4B2926B3B866} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
{5F798AA1-1A65-4C9F-8415-3100C141DD87} = {DC377ADC-CC9D-4785-81BE-726DBF5F3096}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BCAF76D3-AA3C-4D0F-8D10-34065F8FED09}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
soroshsabz marked this conversation as resolved.
Show resolved Hide resolved

<PropertyGroup>
<LangVersion>10.0</LangVersion>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\BSN.Commons\BSN.Commons.csproj" />
</ItemGroup>

</Project>
28 changes: 28 additions & 0 deletions Source/BSN.Commons.S3.Abstraction/BucketPathBuilder.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System.Text;

namespace BSN.Commons.S3.Abstraction
{
public class BucketPathBuilder
{
public static string Build(params string[] buckets)
soroshsabz marked this conversation as resolved.
Show resolved Hide resolved
{
StringBuilder Builder = new StringBuilder();

for (int i = 0; i < buckets.Length; i++)
{
if (buckets[i] != string.Empty)
{
if (i == buckets.Length - 1)
Builder.Append(buckets[i]);
else
{
Builder.Append(buckets[i]);
Builder.Append("/");
}
}
}

return Builder.ToString();
}
}
}
61 changes: 61 additions & 0 deletions Source/BSN.Commons.S3.Abstraction/BulkCredentialModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
using System;
using System.Collections.Generic;

namespace BSN.Commons.S3.Abstraction
{
[Obsolete("[R.Noei] I'm not sure if we need this anymore.")]
public class BulkCredentialModel
{
public BulkCredentialModel(string endPoint,
soroshsabz marked this conversation as resolved.
Show resolved Hide resolved
string accessKey,
string secretKey,
string sessionToken,
DateTime expiration,
string bucket,
List<string> kies = null)
{
AccessKey = accessKey;
SecretKey = secretKey;
SessionToken = sessionToken;
Expiration = expiration;
Bucket = bucket;
Kies = kies;
EndPoint = endPoint;
}

/// <summary>
/// کد کاربری
/// </summary>
public string AccessKey { get; set; }

/// <summary>
/// آدرس باکتی که مجوز برای آن صادر شده است
/// </summary>
public string Bucket { get; set; }

/// <summary>
/// آدرس سرویس دهنده آمازون اس 3
/// </summary>
public string EndPoint { get; set; }

/// <summary>
/// انقضای توکن
/// </summary>
public DateTime Expiration { get; set; }

/// <summary>
/// نام شی ای که مجوز برای آن صادر شده است
/// </summary>
public List<string> Kies { get; set; }

/// <summary>
/// رمز کاربری
/// </summary>
public string SecretKey { get; set; }

/// <summary>
/// توکن
/// </summary>
public string SessionToken { get; set; }
}
}
Loading
Loading