Skip to content

Commit d0fcc96

Browse files
author
dragonfly91
committed
1. Added cmdlet base
2. Restructured directory 3. Added license header
1 parent 56410d2 commit d0fcc96

File tree

24 files changed

+542
-69
lines changed

24 files changed

+542
-69
lines changed
Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,17 @@
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33+
<Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
34+
<SpecificVersion>False</SpecificVersion>
35+
<HintPath>..\..\packages\Hyak.Common.1.0.3\lib\portable-net403+win+wpa81\Hyak.Common.dll</HintPath>
36+
</Reference>
3337
<Reference Include="System" />
3438
<Reference Include="System.Core" />
39+
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
40+
<SpecificVersion>False</SpecificVersion>
41+
<HintPath>C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
42+
</Reference>
43+
<Reference Include="System.Net" />
3544
<Reference Include="System.Xml.Linq" />
3645
<Reference Include="System.Data.DataSetExtensions" />
3746
<Reference Include="Microsoft.CSharp" />
@@ -40,6 +49,12 @@
4049
</ItemGroup>
4150
<ItemGroup>
4251
<Compile Include="Properties\AssemblyInfo.cs" />
52+
<Compile Include="Properties\Resources.Designer.cs">
53+
<AutoGen>True</AutoGen>
54+
<DesignTime>True</DesignTime>
55+
<DependentUpon>Resources.resx</DependentUpon>
56+
</Compile>
57+
<Compile Include="RecoveryServicesBackupCmdletBase.cs" />
4358
</ItemGroup>
4459
<ItemGroup>
4560
<Folder Include="Cmdlets\Backup\" />
@@ -51,19 +66,33 @@
5166
<Folder Include="Cmdlets\Restore\" />
5267
</ItemGroup>
5368
<ItemGroup>
54-
<ProjectReference Include="..\Helpers\Helpers.csproj">
69+
<ProjectReference Include="..\..\Common\Commands.Common\Commands.Common.csproj">
70+
<Project>{5ee72c53-1720-4309-b54b-5fb79703195f}</Project>
71+
<Name>Commands.Common</Name>
72+
</ProjectReference>
73+
<ProjectReference Include="..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj">
74+
<Project>{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}</Project>
75+
<Name>Commands.ResourceManager.Common</Name>
76+
</ProjectReference>
77+
<ProjectReference Include="Helpers\Helpers.csproj">
5578
<Project>{0e1d3f36-e6c8-4764-8c7d-6f9ee537490c}</Project>
5679
<Name>Helpers</Name>
5780
</ProjectReference>
58-
<ProjectReference Include="..\Models\Models.csproj">
81+
<ProjectReference Include="Models\Models.csproj">
5982
<Project>{30b92759-50b3-494e-b9f0-ec9a2ce9d57b}</Project>
6083
<Name>Models</Name>
6184
</ProjectReference>
62-
<ProjectReference Include="..\ProviderModel\ProviderModel.csproj">
85+
<ProjectReference Include="ProviderModel\ProviderModel.csproj">
6386
<Project>{02234e90-bcde-4b20-b1f5-01b1005821db}</Project>
6487
<Name>ProviderModel</Name>
6588
</ProjectReference>
6689
</ItemGroup>
90+
<ItemGroup>
91+
<EmbeddedResource Include="Properties\Resources.resx">
92+
<Generator>ResXFileCodeGenerator</Generator>
93+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
94+
</EmbeddedResource>
95+
</ItemGroup>
6796
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6897
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6998
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
using System.Linq;
18+
using System.Text;
19+
using System.Threading.Tasks;
20+
21+
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
22+
{
23+
public class BaseObjects
24+
{
25+
}
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
using System.Linq;
18+
using System.Text;
19+
using System.Threading.Tasks;
20+
21+
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
22+
{
23+
public class Enums
24+
{
25+
}
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
using System.Linq;
18+
using System.Text;
19+
using System.Threading.Tasks;
20+
21+
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
22+
{
23+
public class Container
24+
{
25+
}
26+
}

src/ResourceManager/RecoveryServices.Backup/Properties/Resources.Designer.cs

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)