File tree Expand file tree Collapse file tree 8 files changed +10645
-0
lines changed
DynamoDbEncryption/runtimes/net/Generated
DynamoDbEncryptionTransforms Expand file tree Collapse file tree 8 files changed +10645
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ // SPDX-License-Identifier: Apache-2.0
3+ // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+ using System . Collections . Generic ;
5+ using System ;
6+ using AWS . Cryptography . DbEncryptionSDK . DynamoDb ;
7+ namespace AWS . Cryptography . DbEncryptionSDK . DynamoDb
8+ {
9+ public class CollectionOfErrors : Exception
10+ {
11+ public readonly System . Collections . Generic . List < Exception > list ;
12+ public CollectionOfErrors ( System . Collections . Generic . List < Exception > list , string message ) : base ( message + $ "\n List: \n { ListAsString ( list ) } ") { this . list = list ; }
13+ public CollectionOfErrors ( string message ) : base ( message ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
14+ public CollectionOfErrors ( ) : base ( "CollectionOfErrors" ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
15+ private static string ListAsString ( List < Exception > list )
16+ {
17+ if ( list . Count < 1 ) return "" ;
18+ string [ ] msgArr = new string [ list . Count ] ;
19+ for ( int i = 0 ; i < list . Count ; i ++ )
20+ msgArr [ i ] = $ "{ list [ i ] . GetType ( ) . Name } :: { list [ i ] . Message } ";
21+ return String . Join ( "\n \t " , msgArr ) ;
22+ }
23+ }
24+
25+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ // SPDX-License-Identifier: Apache-2.0
3+ // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+ using System ;
5+ using AWS . Cryptography . DbEncryptionSDK . DynamoDb . Transforms ;
6+ namespace AWS . Cryptography . DbEncryptionSDK . DynamoDb . Transforms
7+ {
8+ public class CollectionOfErrors : Exception
9+ {
10+ public readonly System . Collections . Generic . List < Exception > list ;
11+ public CollectionOfErrors ( System . Collections . Generic . List < Exception > list , string message ) : base ( message ) { this . list = list ; }
12+ public CollectionOfErrors ( string message ) : base ( message ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
13+ public CollectionOfErrors ( ) : base ( "CollectionOfErrors" ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
14+ }
15+
16+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ // SPDX-License-Identifier: Apache-2.0
3+ // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+ using System . Collections . Generic ;
5+ using System ;
6+ using AWS . Cryptography . DbEncryptionSDK . DynamoDb . ItemEncryptor ;
7+ namespace AWS . Cryptography . DbEncryptionSDK . DynamoDb . ItemEncryptor
8+ {
9+ public class CollectionOfErrors : Exception
10+ {
11+ public readonly System . Collections . Generic . List < Exception > list ;
12+ public CollectionOfErrors ( System . Collections . Generic . List < Exception > list , string message ) : base ( message + $ "\n List: \n { ListAsString ( list ) } ") { this . list = list ; }
13+ public CollectionOfErrors ( string message ) : base ( message ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
14+ public CollectionOfErrors ( ) : base ( "CollectionOfErrors" ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
15+ private static string ListAsString ( List < Exception > list )
16+ {
17+ if ( list . Count < 1 ) return "" ;
18+ string [ ] msgArr = new string [ list . Count ] ;
19+ for ( int i = 0 ; i < list . Count ; i ++ )
20+ msgArr [ i ] = $ "{ list [ i ] . GetType ( ) . Name } :: { list [ i ] . Message } ";
21+ return String . Join ( "\n \t " , msgArr ) ;
22+ }
23+ }
24+
25+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ // SPDX-License-Identifier: Apache-2.0
3+ // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+ using System . Collections . Generic ;
5+ using System ;
6+ using AWS . Cryptography . DbEncryptionSDK . StructuredEncryption ;
7+ namespace AWS . Cryptography . DbEncryptionSDK . StructuredEncryption
8+ {
9+ public class CollectionOfErrors : Exception
10+ {
11+ public readonly System . Collections . Generic . List < Exception > list ;
12+ public CollectionOfErrors ( System . Collections . Generic . List < Exception > list , string message ) : base ( message + $ "\n List: \n { ListAsString ( list ) } ") { this . list = list ; }
13+ public CollectionOfErrors ( string message ) : base ( message ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
14+ public CollectionOfErrors ( ) : base ( "CollectionOfErrors" ) { this . list = new System . Collections . Generic . List < Exception > ( ) ; }
15+ private static string ListAsString ( List < Exception > list )
16+ {
17+ if ( list . Count < 1 ) return "" ;
18+ string [ ] msgArr = new string [ list . Count ] ;
19+ for ( int i = 0 ; i < list . Count ; i ++ )
20+ msgArr [ i ] = $ "{ list [ i ] . GetType ( ) . Name } :: { list [ i ] . Message } ";
21+ return String . Join ( "\n \t " , msgArr ) ;
22+ }
23+ }
24+
25+ }
You can’t perform that action at this time.
0 commit comments