Skip to content

Commit 7f7a988

Browse files
committed
Update Spec
1 parent 611d5ae commit 7f7a988

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3197
-147
lines changed

Dropbox.Api/ApiException.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="ApiException.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api
28
{
39
using System;
410

@@ -64,7 +70,7 @@ public ApiException(TError errorResponse, string message, Exception inner)
6470
/// Encodes the object using the supplied encoder.
6571
/// </summary>
6672
/// <param name="encoder">The encoder being used to serialize the object.</param>
67-
/// <exception cref="System.NotSupportedException">Exceptions cannot be encoded.</exception>
73+
/// <exception cref="System.NotImplementedException"></exception>
6874
void IEncodable<ApiException<TError>>.Encode(IEncoder encoder)
6975
{
7076
throw new NotSupportedException("Exceptions cannot be encoded");
@@ -77,6 +83,7 @@ void IEncodable<ApiException<TError>>.Encode(IEncoder encoder)
7783
/// <returns>
7884
/// The deserialized object. Note: this is not necessarily the current instance.
7985
/// </returns>
86+
/// <exception cref="System.NotImplementedException"></exception>
8087
ApiException<TError> IEncodable<ApiException<TError>>.Decode(IDecoder decoder)
8188
{
8289
using (var obj = decoder.GetObject())

Dropbox.Api/Babel/Empty.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="Empty.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
/// <summary>
410
/// An empty object used when a route doesn't have one or more of the

Dropbox.Api/Babel/IDecoder.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="IDecoder.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
using System;
410
using System.Collections.Generic;

Dropbox.Api/Babel/IEncodable.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="IEncodable.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
/// <summary>
410
/// Interface implemented by all objects generated by the babel API generator.

Dropbox.Api/Babel/IEncoder.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="IEncoder.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
using System;
410
using System.Collections.Generic;

Dropbox.Api/Babel/ITransport.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="ITransport.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
using System;
410
using System.Collections.Generic;

Dropbox.Api/Babel/Json/JsonArray.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel.Json
1+
//----------------------------------------------------------------------------
2+
// <copyright file="JsonArray.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel.Json
28
{
39
using System.Collections;
410
using System.Collections.Generic;

Dropbox.Api/Babel/Json/JsonObject.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel.Json
1+
//----------------------------------------------------------------------------
2+
// <copyright file="JsonObject.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel.Json
28
{
39
using System;
410
using System.Collections;

Dropbox.Api/Babel/Json/JsonParser.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel.Json
1+
//----------------------------------------------------------------------------
2+
// <copyright file="JsonParser.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel.Json
28
{
39
using System;
410
using System.Collections.Generic;

Dropbox.Api/Babel/JsonDecoder.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
namespace Dropbox.Api.Babel
1+
//-----------------------------------------------------------------------------
2+
// <copyright file="JsonDecoder.cs" company="Dropbox Inc">
3+
// Copyright (c) Dropbox Inc. All rights reserved.
4+
// </copyright>
5+
//-----------------------------------------------------------------------------
6+
7+
namespace Dropbox.Api.Babel
28
{
39
using System;
410
using System.Collections.Generic;
@@ -12,7 +18,7 @@
1218
/// JSON string.
1319
/// </summary>
1420
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable",
15-
Justification = "The context object doesn't represent a resource that can leak, and when it is disposed it cleans up the internal reference")]
21+
Justification="The context object doesn't represent a resource that can leak, and when it is disposed it cleans up the internal reference")]
1622
public class JsonDecoder : IDecoder
1723
{
1824
/// <summary>

0 commit comments

Comments
 (0)