├── src
├── Samples
│ ├── CPPCodeSamples
│ │ ├── app.rc
│ │ ├── app.ico
│ │ ├── resource.h
│ │ ├── Stdafx.h
│ │ ├── Stdafx.cpp
│ │ └── AssemblyInfo.cpp
│ ├── FSharpCodeSamples
│ │ ├── packages.config
│ │ ├── app.config
│ │ └── ObjectStorageProviderExamples.fs
│ ├── VBCodeSamples
│ │ ├── packages.VBCodeSamples.config
│ │ ├── My Project
│ │ │ ├── Settings.settings
│ │ │ ├── Application.Designer.vb
│ │ │ ├── Application.myapp
│ │ │ └── AssemblyInfo.vb
│ │ └── app.config
│ └── CSharpCodeSamples
│ │ ├── packages.CSharpCodeSamples.config
│ │ ├── app.config
│ │ └── Properties
│ │ └── AssemblyInfo.cs
├── corelib
│ ├── Icons
│ │ └── openstack_net_logo.png
│ ├── Testing
│ │ └── NamespaceDoc.cs
│ ├── Core
│ │ ├── NamespaceDoc.cs
│ │ ├── Domain
│ │ │ ├── NamespaceDoc.cs
│ │ │ ├── Queues
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── Message.cs
│ │ │ ├── Mapping
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── IJsonObjectMapper`1.cs
│ │ │ ├── Metadata.cs
│ │ │ ├── ObjectStore.cs
│ │ │ ├── Converters
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── IPAddressNoneIsNullSimpleConverter.cs
│ │ │ ├── Tenant.cs
│ │ │ ├── VolumeType.cs
│ │ │ ├── ProviderStateBase`1.cs
│ │ │ ├── SimpleServer.cs
│ │ │ ├── CloudIdentityWithProject.cs
│ │ │ └── HomeDocument.cs
│ │ ├── Collections
│ │ │ └── NamespaceDoc.cs
│ │ ├── Exceptions
│ │ │ ├── Response
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── ItemNotFoundException.cs
│ │ │ └── NamespaceDoc.cs
│ │ ├── Compat
│ │ │ └── ISafeSerializationData.cs
│ │ ├── Caching
│ │ │ └── NamespaceDoc.cs
│ │ ├── Validators
│ │ │ ├── NamespaceDoc.cs
│ │ │ ├── INetworksValidator.cs
│ │ │ ├── IBlockStorageValidator.cs
│ │ │ ├── IHttpResponseCodeValidator.cs
│ │ │ └── IObjectStorageValidator.cs
│ │ ├── ParallelExtensionsExtras
│ │ │ ├── TaskFactoryExtensions_Common.cs
│ │ │ ├── TaskFactoryExtensions_From.cs
│ │ │ └── TaskFactoryExtensions_ContinueWhenAllAny.cs
│ │ ├── Providers
│ │ │ └── NamespaceDoc.cs
│ │ ├── Synchronous
│ │ │ └── NamespaceDoc.cs
│ │ ├── AsyncCompletionOption.cs
│ │ ├── IBackoffPolicy.cs
│ │ ├── IEncodeDecodeProvider.cs
│ │ └── IStatusParser.cs
│ ├── Networking
│ │ ├── IPVersion.cs
│ │ ├── NamespaceDoc.cs
│ │ └── v2
│ │ │ ├── NamespaceDoc.cs
│ │ │ ├── NetworkDefinition.cs
│ │ │ ├── Serialization
│ │ │ ├── PortDefinitionCollection.cs
│ │ │ ├── SubnetDefinitionCollection.cs
│ │ │ ├── NetworkDefinitionCollection.cs
│ │ │ ├── PortCollection.cs
│ │ │ ├── SubnetCollection.cs
│ │ │ └── NetworkCollection.cs
│ │ │ ├── NetworkStatus.cs
│ │ │ ├── PortStatus.cs
│ │ │ ├── Subnet.cs
│ │ │ ├── Port.cs
│ │ │ └── PortUpdateDefinition.cs
│ ├── Authentication
│ │ ├── NamespaceDoc.cs
│ │ └── AuthenticatedHttpClientFactory.cs
│ ├── Providers
│ │ ├── Rackspace
│ │ │ ├── Objects
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ ├── Dns
│ │ │ │ │ └── NamespaceDoc.cs
│ │ │ │ ├── Queues
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── Request
│ │ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ │ └── ClaimMessagesRequest.cs
│ │ │ │ │ └── Response
│ │ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ │ └── ListCloudQueuesResponse.cs
│ │ │ │ ├── Request
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── RescueServerRequest.cs
│ │ │ │ │ ├── UnrescueServerRequest.cs
│ │ │ │ │ ├── RevertServerResizeRequest.cs
│ │ │ │ │ ├── ConfirmServerResizeRequest.cs
│ │ │ │ │ ├── AddUserRequest.cs
│ │ │ │ │ ├── AddRoleRequest.cs
│ │ │ │ │ ├── ServerResizeRequest.cs
│ │ │ │ │ ├── ServerRebootRequest.cs
│ │ │ │ │ ├── ServerRebuildRequest.cs
│ │ │ │ │ ├── CreateCloudNetworkRequest.cs
│ │ │ │ │ └── CreateServerImageRequest.cs
│ │ │ │ ├── Response
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── MetaDataResponse.cs
│ │ │ │ │ ├── ListCloudNetworksResponse.cs
│ │ │ │ │ ├── CreateServerResponse.cs
│ │ │ │ │ ├── UsersResponse.cs
│ │ │ │ │ ├── ListAddressesResponse.cs
│ │ │ │ │ ├── ListImagesResponse.cs
│ │ │ │ │ ├── GetImageDetailsResponse.cs
│ │ │ │ │ ├── ListFlavorsResponse.cs
│ │ │ │ │ ├── FlavorDetailsResponse.cs
│ │ │ │ │ ├── ListVolumeResponse.cs
│ │ │ │ │ ├── TenantsResponse.cs
│ │ │ │ │ ├── ListSnapshotResponse.cs
│ │ │ │ │ ├── ListImagesDetailsResponse.cs
│ │ │ │ │ ├── ListVolumeTypeResponse.cs
│ │ │ │ │ ├── ListFlavorDetailsResponse.cs
│ │ │ │ │ ├── RescueServerResponse.cs
│ │ │ │ │ ├── GetCloudBlockStorageVolumeTypeResponse.cs
│ │ │ │ │ ├── AuthenticationResponse.cs
│ │ │ │ │ ├── NewUserResponse.cs
│ │ │ │ │ ├── ServerVolumeListResponse.cs
│ │ │ │ │ ├── MetadataItemResponse.cs
│ │ │ │ │ ├── BulkDeleteResponse.cs
│ │ │ │ │ ├── CloudNetworkResponse.cs
│ │ │ │ │ ├── UserCredentialResponse.cs
│ │ │ │ │ ├── GetCloudBlockStorageVolumeResponse.cs
│ │ │ │ │ ├── GetCloudBlockStorageSnapshotResponse.cs
│ │ │ │ │ ├── PasswordCredentialResponse.cs
│ │ │ │ │ ├── RoleResponse.cs
│ │ │ │ │ ├── ListServersResponse.cs
│ │ │ │ │ ├── ServerVolumeResponse.cs
│ │ │ │ │ ├── ListVirtualInterfacesResponse.cs
│ │ │ │ │ ├── ServerDetailsResponse.cs
│ │ │ │ │ ├── ListEndpointsResponse.cs
│ │ │ │ │ └── RolesResponse.cs
│ │ │ │ ├── Monitoring
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── CpuCheckDetails.cs
│ │ │ │ │ ├── MemoryCheckDetails.cs
│ │ │ │ │ └── LoadAverageCheckDetails.cs
│ │ │ │ ├── LoadBalancers
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── Request
│ │ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ │ ├── SetLoadBalancerErrorPageRequest.cs
│ │ │ │ │ │ ├── UpdateLoadBalancerRequest.cs
│ │ │ │ │ │ ├── SetLoadBalancerContentCachingRequest.cs
│ │ │ │ │ │ ├── SetLoadBalancerConnectionLoggingRequest.cs
│ │ │ │ │ │ ├── AddNodesRequest.cs
│ │ │ │ │ │ ├── CreateLoadBalancerRequest.cs
│ │ │ │ │ │ ├── CreateAccessListRequest.cs
│ │ │ │ │ │ └── AddLoadBalancerMetadataRequest.cs
│ │ │ │ │ ├── Response
│ │ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ │ ├── GetLoadBalancerNodeResponse.cs
│ │ │ │ │ │ ├── GetLoadBalancerResponse.cs
│ │ │ │ │ │ ├── GetLoadBalancerSslConfigurationResponse.cs
│ │ │ │ │ │ ├── GetAccessListResponse.cs
│ │ │ │ │ │ ├── GetLoadBalancerContentCachingResponse.cs
│ │ │ │ │ │ ├── GetLoadBalancerMetadataItemResponse.cs
│ │ │ │ │ │ ├── GetLoadBalancerConnectionLoggingResponse.cs
│ │ │ │ │ │ └── ListVirtualAddressesResponse.cs
│ │ │ │ │ └── CustomHealthMonitor.cs
│ │ │ │ ├── AutoScale
│ │ │ │ │ └── NamespaceDoc.cs
│ │ │ │ ├── Databases
│ │ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ │ ├── DatabaseUser.cs
│ │ │ │ │ └── Database.cs
│ │ │ │ ├── Mapping
│ │ │ │ │ └── NamespaceDoc.cs
│ │ │ │ └── AuthDetails.cs
│ │ │ ├── Exceptions
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── InvalidETagException.cs
│ │ │ ├── Validators
│ │ │ │ ├── NamespaceDoc.cs
│ │ │ │ └── CloudBlockStorageValidator.cs
│ │ │ ├── NamespaceDoc.cs
│ │ │ ├── IRackspaceProvider.cs
│ │ │ ├── IProviderFactory`2.cs
│ │ │ └── RackspaceImpersonationIdentity.cs
│ │ └── Hp
│ │ │ └── NamespaceDoc.cs
│ ├── app.config
│ ├── ContentDeliveryNetworks
│ │ └── v1
│ │ │ ├── NamespaceDoc.cs
│ │ │ ├── ServiceError.cs
│ │ │ ├── ServiceProtocol.cs
│ │ │ ├── Provider.cs
│ │ │ ├── ServiceCollection.cs
│ │ │ ├── FlavorCollection.cs
│ │ │ ├── Flavor.cs
│ │ │ ├── ServiceDomain.cs
│ │ │ ├── ServiceCacheRule.cs
│ │ │ ├── ServiceRestrictionRule.cs
│ │ │ ├── ServiceOriginRule.cs
│ │ │ ├── ServiceRestriction.cs
│ │ │ └── ServiceStatus.cs
│ ├── packages.config
│ ├── Extensions
│ │ ├── HttpHeadersExtensions.cs
│ │ ├── EnumerableExtensions.cs
│ │ ├── HttpRequestMessageExtensions.cs
│ │ └── TypeExtensions.cs
│ ├── PageExtensions.cs
│ ├── NamespaceDoc.cs
│ ├── Page.cs
│ ├── Serialization
│ │ ├── TimeSpanInSecondsConverter.cs
│ │ └── IdentifierConverter.cs
│ └── Exceptions
│ │ └── RegionRequiredException.cs
├── Documentation
│ ├── packages.config
│ ├── NuGet.config
│ ├── History
│ │ ├── 1.3.6
│ │ │ └── packages.config
│ │ ├── Current
│ │ │ └── packages.config
│ │ └── 1.4
│ │ │ └── packages.config
│ ├── Content
│ │ └── MSHelpViewerRoot.aml
│ ├── README.md
│ └── OpenStackSDK.content
├── lib
│ └── Security.Cryptography
│ │ ├── Security.Cryptography.dll
│ │ └── Security.Cryptography.pdb
├── testing
│ ├── integration
│ │ ├── Providers
│ │ │ └── Rackspace
│ │ │ │ ├── CloudFiles
│ │ │ │ └── DarkKnightRises.jpg
│ │ │ │ └── OrderedTest1.orderedtest
│ │ ├── TestData.cs
│ │ ├── App.config
│ │ ├── ContentDeliveryNetworks
│ │ │ └── v1
│ │ │ │ └── ContentDeliveryNetworkServiceTests.cs
│ │ ├── XunitTraceListener.cs
│ │ ├── Identity
│ │ │ └── v2
│ │ │ │ └── IdentityTests.cs
│ │ └── packages.config
│ └── unit
│ │ ├── TestCategories.cs
│ │ ├── Extensions
│ │ └── EnumerableExtensionsTests.cs
│ │ ├── app.config
│ │ ├── ContentDeliveryNetworks
│ │ └── v1
│ │ │ ├── ContentDeliveryNetworkServiceTests.cs
│ │ │ ├── ServiceOperationFailedExceptionTests.cs
│ │ │ └── ServiceCacheTests.cs
│ │ ├── packages.config
│ │ ├── Stubs.cs
│ │ ├── OpenStackNetTests.cs
│ │ ├── Serialization
│ │ └── EmptyEnumerableTests.cs
│ │ └── AuthenticationTests.cs
└── Local.testsettings
├── LICENSE.md
├── appveyor.yml
├── NuGet.config
├── .gitattributes
└── .gitignore
/src/Samples/CPPCodeSamples/app.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/Samples/CPPCodeSamples/app.rc
--------------------------------------------------------------------------------
/src/Samples/CPPCodeSamples/app.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/Samples/CPPCodeSamples/app.ico
--------------------------------------------------------------------------------
/src/Samples/CPPCodeSamples/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by app.rc
4 |
--------------------------------------------------------------------------------
/src/corelib/Icons/openstack_net_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/corelib/Icons/openstack_net_logo.png
--------------------------------------------------------------------------------
/src/Documentation/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/lib/Security.Cryptography/Security.Cryptography.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/lib/Security.Cryptography/Security.Cryptography.dll
--------------------------------------------------------------------------------
/src/lib/Security.Cryptography/Security.Cryptography.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/lib/Security.Cryptography/Security.Cryptography.pdb
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | The license information for this project is stored in the following location:
2 | [src/Documentation/Content/License.aml](src/Documentation/Content/License.aml)
3 |
--------------------------------------------------------------------------------
/src/testing/integration/Providers/Rackspace/CloudFiles/DarkKnightRises.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rackspace/openstack.net/master/src/testing/integration/Providers/Rackspace/CloudFiles/DarkKnightRises.jpg
--------------------------------------------------------------------------------
/src/Samples/CPPCodeSamples/Stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently,
3 | // but are changed infrequently
4 |
5 | #pragma once
6 |
7 |
8 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | version: 1.0.{build}
2 | os: Visual Studio 2015 RC
3 | build_script:
4 | - msbuild build\build.proj /nologo /t:CI
5 | after_build:
6 | - cd build
7 | - powershell -Command .\appveyor-deploy-docs.ps1
8 | - cd ..
9 | test: off
10 |
--------------------------------------------------------------------------------
/src/Samples/CPPCodeSamples/Stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // CPPCodeSamples.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
--------------------------------------------------------------------------------
/src/Samples/FSharpCodeSamples/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/testing/integration/Providers/Rackspace/OrderedTest1.orderedtest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/Samples/VBCodeSamples/packages.VBCodeSamples.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/Samples/CSharpCodeSamples/packages.CSharpCodeSamples.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/testing/integration/TestData.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace OpenStack
4 | {
5 | public static class TestData
6 | {
7 | public static string GenerateName()
8 | {
9 | return string.Format("ci-test-{0}", Guid.NewGuid());
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/NuGet.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/Samples/VBCodeSamples/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/corelib/Testing/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.Testing
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines utilities for unit and integration testing.
7 | ///
8 | [CompilerGenerated]
9 | internal class NamespaceDoc
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Documentation/NuGet.config:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/corelib/Core/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define provider-independent
7 | /// interfaces and implementations of OpenStack APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Networking/IPVersion.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.Networking
2 | {
3 | ///
4 | /// Internet Protocol Version
5 | ///
6 | public enum IPVersion
7 | {
8 | ///
9 | /// IPv4
10 | ///
11 | IPv4 = 4,
12 |
13 | ///
14 | /// IPv6
15 | ///
16 | IPv6 = 6
17 | }
18 | }
--------------------------------------------------------------------------------
/src/corelib/Core/Domain/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Domain
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define the provider-independent
7 | /// object model for calling the OpenStack REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Networking/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.Networking
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines provider-independent
7 | /// interfaces and implementations for the OpenStack Networking API.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/testing/unit/TestCategories.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStackNet.Testing.Unit
2 | {
3 | internal static class TestCategories
4 | {
5 | ///
6 | /// This test category should be applied to tests which should run in the automated build environment as part of
7 | /// validating a pull request or other change.
8 | ///
9 | public const string Unit = "Unit";
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/corelib/Authentication/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.Authentication
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines provider-independent
7 | /// interfaces and implementations related to authentication.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Networking/v2/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.Networking.v2
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines provider-independent
7 | /// interfaces and implementations for the OpenStack Networking API.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Core/Domain/Queues/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Domain.Queues
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines the provider-independent
7 | /// object model for calling the OpenStack Queues API.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Core/Collections/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Collections
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace contains interfaces and
7 | /// classes that extend the collections support provided by the base class library.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Core/Exceptions/Response/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Exceptions.Response
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace contains
7 | /// exception classes that represent errors returned by a call to a REST API.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/testing/unit/Extensions/EnumerableExtensionsTests.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 |
3 | namespace System.Collections.Generic
4 | {
5 | public class EnumerableExtensionsTests
6 | {
7 | [Fact]
8 | public void ToCollection_ReturnsANewCollection_WhenPassedInNull()
9 | {
10 | IEnumerable items = null;
11 | IList result = items.ToNonNullList();
12 | Assert.NotNull(result);
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/corelib/Core/Compat/ISafeSerializationData.cs:
--------------------------------------------------------------------------------
1 | #if NET35
2 |
3 | namespace System.Runtime.Serialization
4 | {
5 | ///
6 | /// For internal compatibility use only.
7 | ///
8 | internal interface ISafeSerializationData
9 | {
10 | ///
11 | /// For internal compatibility use only.
12 | ///
13 | void CompleteDeserialization(object deserialized);
14 | }
15 | }
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/src/corelib/Core/Caching/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Caching
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines types
7 | /// used for caching, for example, the results of calls to various REST APIs
8 | /// that are frequently reused.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define
7 | /// the object model for communicating with Rackspace services over REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/testing/unit/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 |
3 | # Source code files
4 | .cs text diff=csharp
5 | *.vsixmanifest text
6 | *.config text
7 | *.resx text
8 | *.vstemplate text
9 | *.nuspec text
10 | *.md text
11 | *.txt text
12 | *.ps1 text
13 | LICENSE text
14 |
15 | # Projects and solutions
16 | *.sln text merge=binary eol=crlf
17 | *.csproj text merge=binary eol=crlf
18 | *.shfbproj text merge=binary eol=crlf
19 |
20 | # Certainly binary files
21 | *.png binary
22 | *.ico binary
23 | *.snk binary
24 |
--------------------------------------------------------------------------------
/src/Samples/CSharpCodeSamples/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/Samples/FSharpCodeSamples/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/Samples/VBCodeSamples/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/corelib/ContentDeliveryNetworks/v1/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace OpenStack.ContentDeliveryNetworks.v1
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines provider-independent
7 | /// interfaces and implementations for the OpenStack Content Delivery Network API.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Documentation/History/1.3.6/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/corelib/Core/Exceptions/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Exceptions
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines general
7 | /// (not provider-specific) exception classes for errors which may occur while
8 | /// working with OpenStack providers.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Exceptions/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Exceptions
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines
7 | /// exception classes for errors which occur while using Rackspace-specific functionality.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Dns/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Dns
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define
7 | /// the object model for communicating with Rackspace's Cloud DNS service over REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Queues/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Queues
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define
7 | /// the object model for communicating with Rackspace's Cloud Queues service over REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Hp/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Hp
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces provide an
7 | /// implementation of the core OpenStack interfaces for accessing HP cloud
8 | /// products and services, as well as additional HP-specific functionality.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Request/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Request
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON request bodies sent in calls to Rackspace's
8 | /// REST APIs.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Response/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Response
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON responses returned by calls to Rackspace's
8 | /// REST APIs.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Validators/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Validators
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines
7 | /// classes for validating various arguments before they are used in API calls to Rackspace
8 | /// services.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Monitoring/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Monitoring
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines
7 | /// the object model for communicating with Rackspace's Cloud Monitoring service over REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Samples/VBCodeSamples/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:4.0.30319.34003
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
--------------------------------------------------------------------------------
/src/corelib/Core/Validators/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Validators
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines interfaces
7 | /// for validating request arguments prior to sending them in calls to REST APIs.
8 | /// These interfaces may be implemented in a provider-specific manner.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Core/Domain/Mapping/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Domain.Mapping
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines interfaces
7 | /// and classes for mapping between various object types. Mappings are bidirectional
8 | /// converters limited to operating on two specific types.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Extensions/HttpHeadersExtensions.cs:
--------------------------------------------------------------------------------
1 | using System.Net.Http.Headers;
2 |
3 | namespace System.Net.Http
4 | {
5 | internal static class HttpHeadersExtensions
6 | {
7 | public const string AuthTokenHeader = "X-Auth-Token";
8 |
9 | public static void SetAuthToken(this HttpHeaders headers, string value)
10 | {
11 | if (headers.Contains(AuthTokenHeader))
12 | headers.Remove(AuthTokenHeader);
13 |
14 | headers.Add(AuthTokenHeader, value);
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces define
7 | /// the object model for communicating with Rackspace's Cloud Load Balancers service over REST APIs.
8 | ///
9 | [CompilerGenerated]
10 | internal class NamespaceDoc
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespaces provide an
7 | /// implementation of the core OpenStack interfaces for accessing Rackspace
8 | /// products and services, as well as additional Rackspace-specific functionality.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Queues/Request/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Queues.Request
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON request bodies sent in calls to Rackspace's
8 | /// Cloud Queues API.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Samples/VBCodeSamples/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 | false
5 | 0
6 | true
7 | 0
8 | 1
9 | true
10 |
11 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/AutoScale/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.AutoScale
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines
7 | /// the object model for communicating with Rackspace's Cloud Auto Scale service over REST APIs.
8 | ///
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Databases/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Databases
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines
7 | /// the object model for communicating with Rackspace's Cloud Databases service over REST APIs.
8 | ///
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Queues/Response/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Queues.Response
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON responses returned by calls to Rackspace's
8 | /// Cloud Queues API.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/ContentDeliveryNetworks/v1/ServiceError.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 |
3 | namespace OpenStack.ContentDeliveryNetworks.v1
4 | {
5 | ///
6 | /// Represents a service error generated by the .
7 | ///
8 | ///
9 | public class ServiceError
10 | {
11 | ///
12 | /// The error message.
13 | ///
14 | [JsonProperty("message")]
15 | public string Message { get; set; }
16 | }
17 | }
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Request/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Request
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON request bodies sent in calls to Rackspace's
8 | /// Cloud Load Balancers API.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Response/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Response
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace
7 | /// contains the object models for JSON responses returned by calls to Rackspace's
8 | /// Cloud Load Balancers API.
9 | ///
10 | [CompilerGenerated]
11 | internal class NamespaceDoc
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/Mapping/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.Mapping
2 | {
3 | using System.Runtime.CompilerServices;
4 | using net.openstack.Core.Domain.Mapping;
5 |
6 | ///
7 | /// The namespace provides
8 | /// implementations of used in Rackspace-specific
9 | /// features.
10 | ///
11 | [CompilerGenerated]
12 | internal class NamespaceDoc
13 | {
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/corelib/Core/ParallelExtensionsExtras/TaskFactoryExtensions_Common.cs:
--------------------------------------------------------------------------------
1 | //--------------------------------------------------------------------------
2 | //
3 | // Copyright (c) Microsoft Corporation. All rights reserved.
4 | //
5 | // File: TaskFactoryExtensions_Common.cs
6 | //
7 | //--------------------------------------------------------------------------
8 |
9 | namespace System.Threading.Tasks
10 | {
11 | /// Extensions for TaskFactory.
12 | ///
13 | internal static partial class TaskFactoryExtensions
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Documentation/History/Current/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/corelib/Core/Domain/Metadata.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using Newtonsoft.Json;
4 |
5 | namespace net.openstack.Core.Domain
6 | {
7 | ///
8 | /// Represents metadata for servers and images in the Compute Service.
9 | ///
10 | ///
11 | /// The metadata keys for the compute provider are case-sensitive.
12 | ///
13 | ///
14 | [JsonDictionary]
15 | [Serializable]
16 | public class Metadata : Dictionary
17 | {
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/corelib/Core/Providers/NamespaceDoc.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Core.Providers
2 | {
3 | using System.Runtime.CompilerServices;
4 |
5 | ///
6 | /// The namespace defines providers
7 | /// interfaces for OpenStack services. These interfaces may expose optional
8 | /// functionality and service extensions documented at OpenStack. Other
9 | /// provider-specific extensions are included under the specific provider.
10 | ///
11 | [CompilerGenerated]
12 | internal class NamespaceDoc
13 | {
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/IRackspaceProvider.cs:
--------------------------------------------------------------------------------
1 | using net.openstack.Core.Domain;
2 | using net.openstack.Core.Providers;
3 |
4 | namespace net.openstack.Providers.Rackspace
5 | {
6 | internal interface IRackspaceProvider
7 | {
8 | ///
9 | /// The used by the provider.
10 | ///
11 | IIdentityProvider IdentityProvider { get; }
12 |
13 | ///
14 | /// The default identify used by the provider.
15 | ///
16 | CloudIdentity DefaultIdentity { get; }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/corelib/ContentDeliveryNetworks/v1/ServiceProtocol.cs:
--------------------------------------------------------------------------------
1 | using System.Runtime.Serialization;
2 | using Newtonsoft.Json;
3 | using Newtonsoft.Json.Converters;
4 |
5 | namespace OpenStack.ContentDeliveryNetworks.v1
6 | {
7 | ///
8 | /// Protocol used to access the assets on a domain.
9 | ///
10 | [JsonConverter(typeof(StringEnumConverter))]
11 | public enum ServiceProtocol
12 | {
13 | ///
14 | [EnumMember(Value = "http")]
15 | HTTP,
16 |
17 | ///
18 | [EnumMember(Value = "https")]
19 | HTTPS
20 | }
21 | }
--------------------------------------------------------------------------------
/src/corelib/Extensions/EnumerableExtensions.cs:
--------------------------------------------------------------------------------
1 | using System.Linq;
2 |
3 | namespace System.Collections.Generic
4 | {
5 | internal static class EnumerableExtensions
6 | {
7 | ///
8 | /// Creates a new list wrapping the specified items.
9 | /// If is , returns an empty list.
10 | ///
11 | public static IList ToNonNullList(this IEnumerable items)
12 | {
13 | if(items == null)
14 | return new List();
15 |
16 | return items.ToList();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/corelib/Networking/v2/NetworkDefinition.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using OpenStack.Serialization;
3 |
4 | namespace OpenStack.Networking.v2
5 | {
6 | ///
7 | /// Represents the definition of a network resource of the .
8 | ///
9 | ///
10 | [JsonConverterWithConstructor(typeof(RootWrapperConverter), "network")]
11 | public class NetworkDefinition
12 | {
13 | ///
14 | /// The network name.
15 | ///
16 | [JsonProperty("name")]
17 | public string Name { get; set; }
18 | }
19 | }
--------------------------------------------------------------------------------
/src/Documentation/History/1.4/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Request/SetLoadBalancerErrorPageRequest.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Request
2 | {
3 | using net.openstack.Providers.Rackspace.Objects.LoadBalancers.Response;
4 | using Newtonsoft.Json;
5 |
6 | ///
7 | ///
8 | [JsonObject(MemberSerialization.OptIn)]
9 | internal class SetLoadBalancerErrorPageRequest : GetLoadBalancerErrorPageResponse
10 | {
11 | public SetLoadBalancerErrorPageRequest(string content)
12 | : base(content)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Request/UpdateLoadBalancerRequest.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Request
2 | {
3 | using Newtonsoft.Json;
4 |
5 | ///
6 | ///
7 | [JsonObject(MemberSerialization.OptIn)]
8 | internal class UpdateLoadBalancerRequest
9 | {
10 | [JsonProperty("loadBalancer")]
11 | private LoadBalancerUpdate _loadBalancerUpdate;
12 |
13 | public UpdateLoadBalancerRequest(LoadBalancerUpdate update)
14 | {
15 | _loadBalancerUpdate = update;
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Request/SetLoadBalancerContentCachingRequest.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Request
2 | {
3 | using net.openstack.Providers.Rackspace.Objects.LoadBalancers.Response;
4 | using Newtonsoft.Json;
5 |
6 | ///
7 | ///
8 | [JsonObject(MemberSerialization.OptIn)]
9 | internal class SetLoadBalancerContentCachingRequest : GetLoadBalancerContentCachingResponse
10 | {
11 | public SetLoadBalancerContentCachingRequest(bool enabled)
12 | : base(enabled)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/corelib/PageExtensions.cs:
--------------------------------------------------------------------------------
1 | using OpenStack.Synchronous.Extensions;
2 |
3 | namespace OpenStack.Synchronous
4 | {
5 | ///
6 | /// Provides synchronous extention methods for an instance.
7 | ///
8 | public static class PageExtensions
9 | {
10 | ///
11 | /// Retrieves the next page of items, if one is available. If is false, an empty page is returned.
12 | ///
13 | public static IPage GetNextPage(this IPage page)
14 | {
15 | return page.GetNextPageAsync().ForceSynchronous();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/corelib/Providers/Rackspace/Objects/LoadBalancers/Request/SetLoadBalancerConnectionLoggingRequest.cs:
--------------------------------------------------------------------------------
1 | namespace net.openstack.Providers.Rackspace.Objects.LoadBalancers.Request
2 | {
3 | using net.openstack.Providers.Rackspace.Objects.LoadBalancers.Response;
4 | using Newtonsoft.Json;
5 |
6 | ///
7 | ///
8 | [JsonObject(MemberSerialization.OptIn)]
9 | internal class SetLoadBalancerConnectionLoggingRequest : GetLoadBalancerConnectionLoggingResponse
10 | {
11 | public SetLoadBalancerConnectionLoggingRequest(bool enabled)
12 | : base(enabled)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/corelib/Networking/v2/Serialization/PortDefinitionCollection.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using OpenStack.Serialization;
3 |
4 | namespace OpenStack.Networking.v2.Serialization
5 | {
6 | ///
7 | /// Represents a collection of port definition resources of the .
8 | ///
9 | ///
10 | ///
11 | [JsonConverterWithConstructor(typeof(RootWrapperConverter), "ports")]
12 | internal class PortDefinitionCollection : List