Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
116 changes: 116 additions & 0 deletions src/Documentation/Documentation.v3.5.shfbproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<!-- The configuration and platform will be used to determine which
assemblies to include from solution and project documentation
sources -->
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{60b1668c-4331-4e3d-86f6-954ffce0cd36}</ProjectGuid>
<SHFBSchemaVersion>1.9.5.0</SHFBSchemaVersion>
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
Studio adds them anyway -->
<AssemblyName>Documentation</AssemblyName>
<RootNamespace>Documentation</RootNamespace>
<Name>Documentation.v3.5</Name>
<!-- SHFB properties -->
<FrameworkVersion>.NET Framework 3.5</FrameworkVersion>
<OutputPath>..\..\docs\html\v3.5</OutputPath>
<HtmlHelpName>API Reference Documentation</HtmlHelpName>
<Language>en-US</Language>
<DocumentationSources>
<DocumentationSource sourceFile="..\corelib\corelib.v3.5.csproj" xmlns="" subFolders="true" />
</DocumentationSources>
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
<HelpFileFormat>HtmlHelp1, MSHelpViewer, Website</HelpFileFormat>
<IndentHtml>True</IndentHtml>
<KeepLogFile>True</KeepLogFile>
<DisableCodeBlockComponent>False</DisableCodeBlockComponent>
<CppCommentsFixup>False</CppCommentsFixup>
<CleanIntermediates>True</CleanIntermediates>
<SyntaxFilters>CSharp, VisualBasic, CPlusPlus, FSharp</SyntaxFilters>
<SdkLinkTarget>Blank</SdkLinkTarget>
<RootNamespaceContainer>True</RootNamespaceContainer>
<PresentationStyle>VS2010</PresentationStyle>
<Preliminary>True</Preliminary>
<NamingMethod>MemberName</NamingMethod>
<HelpTitle>openstack.net API Reference Documentation</HelpTitle>
<ContentPlacement>AboveNamespaces</ContentPlacement>
<RootNamespaceTitle>API Reference</RootNamespaceTitle>
<WebsiteSdkLinkType>Msdn</WebsiteSdkLinkType>
<HtmlSdkLinkType>Msdn</HtmlSdkLinkType>
<IncludeFavorites>True</IncludeFavorites>
<BinaryTOC>True</BinaryTOC>
<VisibleItems>Attributes, ExplicitInterfaceImplementations, InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, SealedProtected</VisibleItems>
<FeedbackEMailAddress>openstack.net%40lists.rackspace.com</FeedbackEMailAddress>
<CopyrightText>
</CopyrightText>
<CopyrightHref>
</CopyrightHref>
<TransformComponentArguments>
<Argument Key="logoFile" Value="" />
<Argument Key="logoHeight" Value="" />
<Argument Key="logoWidth" Value="" />
<Argument Key="logoAltText" Value="" />
<Argument Key="logoPlacement" Value="left" />
<Argument Key="logoAlignment" Value="left" />
</TransformComponentArguments>
<ComponentConfigurations>
<ComponentConfig id="IntelliSense Component" enabled="True" xmlns="">
<component id="IntelliSense Component" type="Microsoft.Ddue.Tools.IntelliSenseComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
<output includeNamespaces="false" namespacesFile="Namespaces" folder="{@OutputFolder}\..\..\Api\v3.5" />
</component>
</ComponentConfig>
</ComponentConfigurations>
<CatalogName>VisualStudio11</CatalogName>
<TocParentId>-1</TocParentId>
<TocParentVersion>100</TocParentVersion>
<TopicVersion>100</TopicVersion>
<TocOrder>-1</TocOrder>
<ProductTitle>openstack.net SDK</ProductTitle>
<VendorName>openstacknet</VendorName>
<MSHelpViewerSdkLinkType>Id</MSHelpViewerSdkLinkType>
<CatalogVersion>100</CatalogVersion>
<CatalogProductId>VS</CatalogProductId>
</PropertyGroup>
<!-- There are no properties for these groups. AnyCPU needs to appear in
order for Visual Studio to perform the build. The others are optional
common platform types that may appear. -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corelib\corelib.v3.5.csproj">
<Name>corelib.v3.5</Name>
<Project>{e49d9dc3-79d5-4c5e-8c38-fd5060b4e318}</Project>
<Private>True</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Content\License.aml" />
<None Include="Content\MSHelpViewerRoot.aml" />
<None Include="Content\Welcome.aml" />
</ItemGroup>
<ItemGroup>
<ContentLayout Include="OpenStackSDK.content" />
</ItemGroup>
<ItemGroup>
<Folder Include="Content" />
</ItemGroup>
<!-- Import the SHFB build targets -->
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
Studio adds them anyway -->
<AssemblyName>Documentation</AssemblyName>
<RootNamespace>Documentation</RootNamespace>
<Name>Documentation</Name>
<Name>Documentation.v4.0</Name>
<!-- SHFB properties -->
<FrameworkVersion>.NET Framework 4.0</FrameworkVersion>
<OutputPath>..\..\docs\html\</OutputPath>
<OutputPath>..\..\docs\html\v4.0</OutputPath>
<HtmlHelpName>API Reference Documentation</HtmlHelpName>
<Language>en-US</Language>
<DocumentationSources>
<DocumentationSource sourceFile="..\corelib\corelib.csproj" xmlns="" subFolders="true" />
<DocumentationSource sourceFile="..\corelib\corelib.v4.0.csproj" xmlns="" subFolders="true" />
</DocumentationSources>
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
<HelpFileFormat>HtmlHelp1, MSHelpViewer, Website</HelpFileFormat>
Expand Down Expand Up @@ -59,7 +59,7 @@
<ComponentConfigurations>
<ComponentConfig id="IntelliSense Component" enabled="True" xmlns="">
<component id="IntelliSense Component" type="Microsoft.Ddue.Tools.IntelliSenseComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
<output includeNamespaces="false" namespacesFile="Namespaces" folder="{@OutputFolder}\..\Api" />
<output includeNamespaces="false" namespacesFile="Namespaces" folder="{@OutputFolder}\..\..\Api\v4.0" />
</component>
</ComponentConfig>
</ComponentConfigurations>
Expand Down Expand Up @@ -94,8 +94,8 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corelib\corelib.csproj">
<Name>corelib</Name>
<ProjectReference Include="..\corelib\corelib.v4.0.csproj">
<Name>corelib.v4.0</Name>
<Project>{7dba11eb-dba7-4d3a-8d42-b5312e74b9c0}</Project>
<Private>True</Private>
</ProjectReference>
Expand Down
8 changes: 4 additions & 4 deletions src/console/console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SimpleRESTServices, Version=1.1.3.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="SimpleRESTServices, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\SimpleRESTServices.1.1.3.0\lib\net40\SimpleRESTServices.dll</HintPath>
<HintPath>..\packages\SimpleRESTServices.1.2.0.0\lib\net40\SimpleRESTServices.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -65,9 +65,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\corelib\corelib.csproj">
<ProjectReference Include="..\corelib\corelib.v4.0.csproj">
<Project>{7DBA11EB-DBA7-4D3A-8D42-B5312E74B9C0}</Project>
<Name>corelib</Name>
<Name>corelib.v4.0</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
2 changes: 1 addition & 1 deletion src/console/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net40" />
<package id="SimpleRESTServices" version="1.1.3.0" targetFramework="net40" />
<package id="SimpleRESTServices" version="1.2.0.0" targetFramework="net40" />
</packages>
53 changes: 53 additions & 0 deletions src/corelib/Core/Compat/Funcs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// System.Func.cs
//
// Authors:
// Alejandro Serrano "Serras" (trupill@yahoo.es)
// Marek Safar (marek.safar@gmail.com)
//

// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR TArg PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
//

using System.Runtime.CompilerServices;

namespace net.openstack.Core {

#if NET35
/// <summary>
/// Encapsulates a method that has six parameters and returns a value of the type specified by the <typeparamref name="TResult"/> parameter.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
/// <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
/// <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
/// <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
/// <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
/// <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
/// <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
/// <returns>The return value of the method that this delegate encapsulates.</returns>
public delegate TResult Func<in T1, in T2, in T3, in T4, in T5, in T6, out TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6);
#endif

}
17 changes: 17 additions & 0 deletions src/corelib/Core/Compat/ISafeSerializationData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#if NET35

namespace System.Runtime.Serialization
{
/// <summary>
/// For internal compatibility use only.
/// </summary>
internal interface ISafeSerializationData
{
/// <summary>
/// For internal compatibility use only.
/// </summary>
void CompleteDeserialization(object deserialized);
}
}

#endif
72 changes: 72 additions & 0 deletions src/corelib/Core/Compat/IStructuralComparable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
//
// IStructuralComparable.cs
//
// Authors:
// Zoltan Varga (vargaz@gmail.com)
//
// Copyright (C) 2009 Novell
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

#if NET35

using System;
using System.Collections;

namespace net.openstack.Core
{
/// <summary>
/// Supports the structural comparison of collection objects.
/// </summary>
public interface IStructuralComparable {
/// <summary>
/// Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order.
/// </summary>
/// <param name="other">The object to compare with the current instance.</param>
/// <param name="comparer">An object that compares members of the current collection object with the corresponding members of <paramref name="other"/>.</param>
/// <returns>
/// An integer that indicates the relationship of the current collection object to other, as shown in the following table.
///
/// <list type="table">
/// <listheader>
/// <term>Return value</term>
/// <term>Description</term>
/// </listheader>
/// <item>
/// <term>-1</term>
/// <term>The current instance precedes <paramref name="other"/>.</term>
/// </item>
/// <item>
/// <term>0</term>
/// <term>The current instance and <paramref name="other"/> are equal.</term>
/// </item>
/// <item>
/// <term>1</term>
/// <term>The current instance follows <paramref name="other"/>.</term>
/// </item>
/// </list>
/// </returns>
/// <exception cref="ArgumentException">This instance and <paramref name="other"/> are not the same type.</exception>
int CompareTo (object other, IComparer comparer);
}
}

#endif
57 changes: 57 additions & 0 deletions src/corelib/Core/Compat/IStructuralEquatable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
//
// IStructuralEquatable.cs
//
// Authors:
// Zoltan Varga (vargaz@gmail.com)
//
// Copyright (C) 2009 Novell
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

#if NET35

using System;
using System.Collections;

namespace net.openstack.Core
{
/// <summary>
/// Defines methods to support the comparison of objects for structural equality.
/// </summary>
public interface IStructuralEquatable {
/// <summary>
/// Determines whether an object is structurally equal to the current instance.
/// </summary>
/// <param name="other">The object to compare with the current instance.</param>
/// <param name="comparer">An object that determines whether the current instance and <paramref name="other"/> are equal.</param>
/// <returns><c>true</c> if the two objects are equal; otherwise, <c>false</c>.</returns>
bool Equals (object other, IEqualityComparer comparer);

/// <summary>
/// Returns a hash code for the current instance.
/// </summary>
/// <param name="comparer">An object that computes the hash code of the current object.</param>
/// <returns>The hash code for the current instance.</returns>
int GetHashCode (IEqualityComparer comparer);
}
}

#endif
Loading