From 965d36ce7b32338bb7420c65b639662a796e05a8 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 8 Oct 2016 12:40:40 -0400 Subject: [PATCH] init --- SharpFog.sln | 7 +++++++ src/SharpFog.Aws/ComputeProviderExtension.cs | 11 ++++++++++ src/SharpFog.Aws/Properties/AssemblyInfo.cs | 19 +++++++++++++++++ src/SharpFog.Aws/SharpFog.Aws.xproj | 21 +++++++++++++++++++ src/SharpFog.Aws/project.json | 14 +++++++++++++ src/SharpFog/ComputeProvider.cs | 19 +++++++++++++++++ .../{Class1.cs => IComputeProvider.cs} | 7 ++----- src/SharpFog/Models/ICompute.cs | 14 +++++++++++++ src/SharpFog/project.json | 2 +- 9 files changed, 108 insertions(+), 6 deletions(-) create mode 100644 src/SharpFog.Aws/ComputeProviderExtension.cs create mode 100644 src/SharpFog.Aws/Properties/AssemblyInfo.cs create mode 100644 src/SharpFog.Aws/SharpFog.Aws.xproj create mode 100644 src/SharpFog.Aws/project.json create mode 100644 src/SharpFog/ComputeProvider.cs rename src/SharpFog/{Class1.cs => IComputeProvider.cs} (65%) create mode 100644 src/SharpFog/Models/ICompute.cs diff --git a/SharpFog.sln b/SharpFog.sln index 546e764..8b9e095 100644 --- a/SharpFog.sln +++ b/SharpFog.sln @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SharpFog", "src\SharpFog\SharpFog.xproj", "{DA1A4084-1C95-4F60-98BE-A9A3B4E94654}" EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SharpFog.Aws", "src\SharpFog.Aws\SharpFog.Aws.xproj", "{0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -22,11 +24,16 @@ Global {DA1A4084-1C95-4F60-98BE-A9A3B4E94654}.Debug|Any CPU.Build.0 = Debug|Any CPU {DA1A4084-1C95-4F60-98BE-A9A3B4E94654}.Release|Any CPU.ActiveCfg = Release|Any CPU {DA1A4084-1C95-4F60-98BE-A9A3B4E94654}.Release|Any CPU.Build.0 = Release|Any CPU + {0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {DA1A4084-1C95-4F60-98BE-A9A3B4E94654} = {7EA33035-4E78-4F69-9F20-A8E1B5A23C14} + {0E906FB9-D2A3-4D17-B620-80CFFC4A6D1D} = {7EA33035-4E78-4F69-9F20-A8E1B5A23C14} EndGlobalSection EndGlobal diff --git a/src/SharpFog.Aws/ComputeProviderExtension.cs b/src/SharpFog.Aws/ComputeProviderExtension.cs new file mode 100644 index 0000000..0e9f790 --- /dev/null +++ b/src/SharpFog.Aws/ComputeProviderExtension.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace SharpFog.Aws +{ + public class ComputeProviderExtension + { + } +} diff --git a/src/SharpFog.Aws/Properties/AssemblyInfo.cs b/src/SharpFog.Aws/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..962a467 --- /dev/null +++ b/src/SharpFog.Aws/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SharpFog.Aws")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0e906fb9-d2a3-4d17-b620-80cffc4a6d1d")] diff --git a/src/SharpFog.Aws/SharpFog.Aws.xproj b/src/SharpFog.Aws/SharpFog.Aws.xproj new file mode 100644 index 0000000..619be4d --- /dev/null +++ b/src/SharpFog.Aws/SharpFog.Aws.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + 0e906fb9-d2a3-4d17-b620-80cffc4a6d1d + SharpFog.Aws + .\obj + .\bin\ + v4.5 + + + + 2.0 + + + diff --git a/src/SharpFog.Aws/project.json b/src/SharpFog.Aws/project.json new file mode 100644 index 0000000..13e3113 --- /dev/null +++ b/src/SharpFog.Aws/project.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.0", + "SharpFog": "*" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +} \ No newline at end of file diff --git a/src/SharpFog/ComputeProvider.cs b/src/SharpFog/ComputeProvider.cs new file mode 100644 index 0000000..85af2e3 --- /dev/null +++ b/src/SharpFog/ComputeProvider.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace SharpFog +{ + public static class ComputeProvider + { + public static ComputeProvider New(T Provider) where T : IComputeProvider => new ComputeProvider(Provider); + } + + public class ComputeProvider where T : IComputeProvider + { + public ComputeProvider(T provider) + { + } + } +} \ No newline at end of file diff --git a/src/SharpFog/Class1.cs b/src/SharpFog/IComputeProvider.cs similarity index 65% rename from src/SharpFog/Class1.cs rename to src/SharpFog/IComputeProvider.cs index 9767d2f..44050ae 100644 --- a/src/SharpFog/Class1.cs +++ b/src/SharpFog/IComputeProvider.cs @@ -5,10 +5,7 @@ using System.Threading.Tasks; namespace SharpFog { - public class Class1 + public interface IComputeProvider { - public Class1() - { - } } -} +} \ No newline at end of file diff --git a/src/SharpFog/Models/ICompute.cs b/src/SharpFog/Models/ICompute.cs new file mode 100644 index 0000000..c5a7d57 --- /dev/null +++ b/src/SharpFog/Models/ICompute.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace SharpFog.Models +{ + internal interface ICompute + { + string Id { get; set; } + string Name { get; set; } + string Type { get; set; } + } +} \ No newline at end of file diff --git a/src/SharpFog/project.json b/src/SharpFog/project.json index 864b9a5..ec0fbd5 100644 --- a/src/SharpFog/project.json +++ b/src/SharpFog/project.json @@ -10,4 +10,4 @@ "imports": "dnxcore50" } } -} +} \ No newline at end of file