repo_name stringlengths 1 52 | repo_creator stringclasses 6
values | programming_language stringclasses 4
values | code stringlengths 0 9.68M | num_lines int64 1 234k |
|---|---|---|---|---|
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
using log4net.Repository.Hierarchy;
using log4net.Core;
using log4net.Appender;
using log4net.Layout;
using AWS.Logger.Log4net;
namespace ProgrammaticConfigurationExample
{
class ... | 52 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 37 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NLog;
namespace NLog.ConfigExample
{
class Program
{
static void Main(string[] args)
{
// NLog is configured in the NLog.config
... | 25 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 37 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
using NLog.Targets;
using NLog.Config;
using NLog.AWS.Logger;
namespace ProgrammaticConfigurationExample
{
class Program
{
static void Main(string[] args)
{
... | 48 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 37 |
aws-logging-dotnet | aws | C# | using System;
using Serilog;
using AWS.Logger.SeriLog;
using AWS.Logger;
namespace SerilogTestCode
{
class Program
{
static void Main(string[] args)
{
AWSLoggerConfig configuration = new AWSLoggerConfig("Serilog.ConfigExample")
{
Region = "us-east-1"
... | 25 |
aws-logging-dotnet | aws | C# | using Serilog;
using Microsoft.Extensions.Configuration;
namespace SerilogTestCodeFromConfig
{
class Program
{
static void Main(string[] args)
{
// logger configuration reads from appsettings.json
var configuration = new ConfigurationBuilder()
.AddJson... | 23 |
aws-logging-dotnet | aws | C# | using Serilog;
using Microsoft.Extensions.Configuration;
namespace SerilogTestCodeFromConfigRestrictedToMinimumLevel
{
class Program
{
static void Main(string[] args)
{
// logger configuration reads from appsettings.json
var configuration = new ConfigurationBuilder()
... | 24 |
aws-logging-dotnet | aws | C# | using System;
using Microsoft.Extensions.Logging;
using AWS.Logger.Core;
using System.Text;
using System.Collections.Generic;
namespace AWS.Logger.AspNetCore
{
/// <summary>
/// Implementation of the Microsoft.Extensions.Logging.ILogger.
/// </summary>
public class AWSLogger : ILogger
{
... | 216 |
aws-logging-dotnet | aws | C# | using AWS.Logger;
using AWS.Logger.AspNetCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Linq;
// Same namespace as ILoggingBuilder, to make these extensions appear
// without the us... | 137 |
aws-logging-dotnet | aws | C# | using AWS.Logger;
using System;
using System.Linq;
// Placed in the Microsoft namespaces so that the extension methods are visible whenever the owning namespace
// is declared.
namespace Microsoft.Extensions.Configuration
{
/// <summary>
/// Extensions methods for IConfiguration to lookup AWS logger configurat... | 230 |
aws-logging-dotnet | aws | C# | using AWS.Logger;
using AWS.Logger.AspNetCore;
using Microsoft.Extensions.Configuration;
using System;
namespace Microsoft.Extensions.Logging
{
/// <summary>
/// Extensions methods for ILoggerFactory to add the AWS logging provider
/// </summary>
public static class AWSLoggerFactoryExtensions
{
... | 88 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using AWS.Logger.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace AWS.Logger.AspNetCore
{
/// <summary>
/// Implementation of the ILoggerProvider which is used to create instance... | 213 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Logger.AspNetCore
{
internal class Constants
{
internal const bool IncludeScopesDefault = false;
internal const bool IncludeLogLevelDefault = true;
internal const bool IncludeCategoryDefault = true;
... | 17 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions.Internal;
using System;
namespace AWS.Logger.AspNetCore
{
/// <summary>
/// Scope provider that does nothing.
/// </summary>
internal class NullExternalScopeProvider : IExternalScopeProvider
{
private Nul... | 33 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[asse... | 11 |
aws-logging-dotnet | aws | C# | using System;
using Amazon.Runtime;
namespace AWS.Logger
{
/// <summary>
/// This class contains all the configuration options for logging messages to AWS. As messages from the application are
/// sent to the logger they are queued up in a batch. The batch will be sent when either BatchPushInterval or ... | 189 |
aws-logging-dotnet | aws | C# | using System;
using Amazon.Runtime;
namespace AWS.Logger
{
/// <summary>
/// Configuration options for logging messages to AWS CloudWatch Logs
/// </summary>
public interface IAWSLoggerConfig
{
/// <summary>
/// Gets the LogGroup property. This is the name of the CloudWatch Logs ... | 137 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Reflection;
#if CORECLR
using System.Runtime.Loader;
#endif
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Amazon... | 689 |
aws-logging-dotnet | aws | C# | namespace AWS.Logger.Core
{
/// <summary>
/// Interface for sending messages to CloudWatch Logs
/// </summary>
public interface IAWSLoggerCore
{
/// <summary>
/// Flushes all pending messages
/// </summary>
void Flush();
/// <summary>
/// Flushes a... | 30 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The follow... | 10 |
aws-logging-dotnet | aws | C# | using System;
using log4net.Appender;
using log4net.Core;
using Amazon.Runtime;
using AWS.Logger.Core;
namespace AWS.Logger.Log4net
{
/// <summary>
/// A Log4net appender that sends logging messages to AWS.
/// </summary>
public class AWSAppender : AppenderSkeleton, IAWSLoggerConfig
{
... | 267 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[as... | 12 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Configuration;
using Serilog.Events;
using Serilog.Formatting;
using System;
namespace AWS.Logger.SeriLog
{
/// <summary>
/// Extensions methods for <see cref="LoggerSinkConfiguration"/> to register <see cref="AWSSink"/>
/// </summar... | 116 |
aws-logging-dotnet | aws | C# | using System;
using System.IO;
using AWS.Logger.Core;
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Serilog.Formatting;
namespace AWS.Logger.SeriLog
{
/// <summary>
/// A Serilog sink that can be used with the Serilogger logging library to send messages to AWS.
/// </summary>
public... | 105 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[asse... | 11 |
aws-logging-dotnet | aws | C# | using System;
using NLog;
using NLog.Targets;
using NLog.Common;
using NLog.Config;
using AWS.Logger;
using AWS.Logger.Core;
using Amazon.Runtime;
namespace NLog.AWS.Logger
{
/// <summary>
/// An NLog target that can be used with the NLog logging library to send messages to AWS.
/// </summary>
[Ta... | 286 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The follow... | 10 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Logger.Core;
using System.Collections.Concurrent;
namespace AWS.Logger.AspNetCore.Tests
{
/// <summary>
/// FakeCoreLogger class used to make mock test calls instead of the actual AWS CloudWatchLo... | 38 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Xunit;
using AWS.Logger.AspNetCore;
using System.Threading.Tasks;
using System.Collec... | 167 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace AWS.Logger.AspNetCore.Tests
{
/// <summary>
/// provides access to methods helpful when dealing with configuration in .net core JSON form
/// </summary>
public clas... | 47 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Xunit;
using AWS.Logger.AspNetCore;
using System.Threading.Tasks;
using System.Collec... | 37 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Hosting;
using Xunit;
using System;
using Microsoft.Extensions.DependencyInjection;
using System.IO;
using System.Reflection;
using System.Linq;
namespace AWS.Logger.AspNetCore.Tests
{
// This project can ou... | 198 |
aws-logging-dotnet | aws | C# | using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using Xunit;
namespace AWS.Logger.AspNetCore.Tests
{
public class TestFormatter
{
[Theory]
[InlineData("my log message", LogLevel.Trace)]
[InlineData("my log message", LogLevel.Debug)]
[InlineData("my log me... | 33 |
aws-logging-dotnet | aws | C# | using System;
using System.Linq;
using Microsoft.Extensions.Logging;
using Xunit;
namespace AWS.Logger.AspNetCore.Tests
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produc... | 98 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-logging-dotnet | aws | C# | using System;
using log4net.Appender;
using log4net.Core;
namespace AWS.Logger.Log4Net.FilterTests
{
/// <summary>
/// A mock Log4net appender that sends logging messages to a mock AWS Logger Core.
/// </summary>
public class FakeAWSAppender : AppenderSkeleton
{
public FakeCoreLogger _... | 25 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Logger.Core;
using System.Collections.Concurrent;
namespace AWS.Logger.Log4Net.FilterTests
{
public class FakeCoreLogger : IAWSLoggerCore
{
public ConcurrentQueue<string> ReceivedMessages { ge... | 33 |
aws-logging-dotnet | aws | C# | using Xunit;
using System;
using System.IO;
using System.Reflection;
using System.Linq;
using log4net.Repository.Hierarchy;
using log4net;
using log4net.Layout;
using log4net.Core;
namespace AWS.Logger.Log4Net.FilterTests
{
public class TestFilter
{
static Assembly repositoryAssembly = typeof(TestFi... | 105 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompan... | 32 |
aws-logging-dotnet | aws | C# | using System;
using System.Reflection;
using System.Threading;
using AWS.Logger.TestUtils;
using log4net;
using log4net.Config;
using Xunit;
namespace AWS.Logger.Log4Net.Tests
{
public class Log4NetTestClass : BaseTestClass
{
public ILog Logger;
private void GetLog4NetLogger(string fileName... | 61 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompan... | 32 |
aws-logging-dotnet | aws | C# | using System;
using NLog;
using NLog.Common;
using NLog.Targets;
namespace AWS.Logger.NLogger.FilterTests
{
[Target("FakeAWSTarget")]
public class FakeAWSTarget : TargetWithLayout
{
public FakeCoreLogger _core;
public FakeAWSTarget(TimeSpan asyncDelay = default(TimeSpan))
{
... | 38 |
aws-logging-dotnet | aws | C# | using System;
using System.Threading;
using System.Threading.Tasks;
using AWS.Logger.Core;
using System.Collections.Concurrent;
namespace AWS.Logger.NLogger.FilterTests
{
public class FakeCoreLogger : IAWSLoggerCore
{
ConcurrentQueue<string> _pendingMessages = new ConcurrentQueue<string>();
... | 95 |
aws-logging-dotnet | aws | C# | using Xunit;
using System;
using System.IO;
using System.Reflection;
using System.Linq;
using NLog.Config;
using NLog;
using NLog.Filters;
namespace AWS.Logger.NLogger.FilterTests
{
public class TestFilter
{
[Fact]
public void FilterLogLevel()
{
var config = new LoggingCo... | 107 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-logging-dotnet | aws | C# | using System;
using System.Threading;
using Amazon.CloudWatchLogs.Model;
using AWS.Logger.TestUtils;
using NLog;
using NLog.Config;
using Xunit;
namespace AWS.Logger.NLogger.Tests
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and sele... | 97 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-logging-dotnet | aws | C# | using System;
using System.Threading;
using Amazon.CloudWatchLogs.Model;
using AWS.Logger.SeriLog;
using AWS.Logger.TestUtils;
using Microsoft.Extensions.Configuration;
using Serilog;
using Xunit;
namespace AWS.Logger.SeriLog.Tests
{
// This project can output the Class library as a NuGet Package.
// To ena... | 117 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-logging-dotnet | aws | C# | using Amazon.CloudWatchLogs;
using Amazon.CloudWatchLogs.Model;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace AWS.Logger.TestUtils
{
public abstract class BaseTestClass ... | 190 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon;
using Amazon.CloudWatchLogs;
using Amazon.CloudWatchLogs.Model;
using System.Threading;
using System.Diagnostics;
namespace AWS.Logger.TestUtils
{
// This project can output the Class library as a NuGe... | 61 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using AWS.Logger;
namespace AWS.Logger.UnitTests
{
public class AWSLoggerConfigTests
{
AWSLoggerConfig config;
public AWSLoggerConfigTests()
{
config = new AWSLoggerConfig();
}
... | 39 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Amazon;
using Amazon.CloudWatchLogs;
using Amazon.CloudWatchLogs.Model;
using AWS.Logger.Core;
using AWS.Logger.TestUtils;
using Xunit;
using Xunit.Abstractions;
namespace AWS.Logger.UnitTests
{... | 104 |
aws-logging-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Xunit;
using AWS.Logger;
using AWS.Logger.Core;
namespace AWS.Logger.UnitTests
{
public class GenerateStreamNameTests
{
[Fact]
public void DefaultConfig()
{
... | 151 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using AWS.Logger.Core;
namespace AWS.Logger.UnitTests
{
public class MessageSizeBreakupTests
{
[Fact]
public void AsciiTest()
{
var message = new string('a', 240000);
Assert.Sing... | 31 |
aws-logging-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Amazon;
using Amazon.CloudWatchLogs;
using Amazon.CloudWatchLogs.Model;
using AWS.Logger.TestUtils;
using Xunit;
namespace AWS.Logger.UnitTest
{
public class UnitTest:IClassFixture<TestFixtu... | 83 |
aws-logging-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany(... | 19 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 105 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 55 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" f... | 28 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 50 |
aws-mobile-analytics-manager-net | aws | C# | //
// Copyright 2014-2015 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using Amazon.Runtime;
using Amazon.Util;
using Amazon.Runtime.Internal;
using Amazon.Mo... | 109 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 444 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 84 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 451 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 43 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 34 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 69 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 274 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 87 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 39 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 53 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 52 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 35 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 33 |
aws-mobile-analytics-manager-net | aws | C# | #if BCL35
/*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or... | 30 |
aws-mobile-analytics-manager-net | aws | C# | #if BCL45
/*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or... | 30 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 768 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 185 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 161 |
aws-mobile-analytics-manager-net | aws | C# | using System;
using Amazon.Runtime;
using Amazon.Util;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.MobileAnalytics.Model.Internal.MarshallTransformations;
using Amazon.Runtime.Internal.Transform;
using System.Net;
using System.Globalization;
namespace Amazon.MobileAnalytics.Model
{
public stati... | 74 |
aws-mobile-analytics-manager-net | aws | C# | using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: System.CLSCompliant(true)]
[assembly: System.Security.AllowPartiallyTrustedCallers] | 5 |
aws-mobile-analytics-manager-net | aws | C# | /*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 344 |
aws-mobile-analytics-manager-net | aws | C# | #if BCL35
/*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or... | 92 |
aws-mobile-analytics-manager-net | aws | C# | #if BCL45
/*
* Copyright 2015-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or... | 85 |
aws-sam-build-images | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amaz... | 45 |
aws-sam-build-images | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Amazon.Lambda.Core;
using Amazon.Lambda.TestUtilities;
using Amazon.Lambda.APIGatewayEvents;
using sam_test_app;
namespace test
{
public class FunctionTest
{
public FunctionTest()
... | 39 |
aws-sam-build-images | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amaz... | 45 |
aws-sam-build-images | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Amazon.Lambda.Core;
using Amazon.Lambda.TestUtilities;
using Amazon.Lambda.APIGatewayEvents;
using sam_test_app;
namespace test
{
public class FunctionTest
{
public FunctionTest()
... | 39 |
aws-sam-cli | aws | C# | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializ... | 50 |
aws-sam-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Xunit;
using Amazon.Lambda.TestUtilities;
using Amazon.Lambda.APIGatewayEvents;
namespace HelloWorld.Tests
{
public class FunctionTest
{
private static readonly H... | 58 |
aws-sam-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to enable the Lambda function's JSON input to be converted... | 45 |
aws-sam-cli | aws | C# | using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.Core;
using Amazon.Lambda.RuntimeSupport;
using Amazon.Lambda.Serialization.SystemTextJson;
using System.Text.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using System... | 39 |
aws-sam-cli | aws | C# | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
using System;
using Amazon.SecurityToken;
using Amazon.SecurityToken.Model;
// Assembly attribute to enable the Lambda function's JSON input to be c... | 42 |
aws-sam-cli | aws | C# | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
namespace HelloWorld
{
public class AnotherFunction
{
private static readonly HttpClient client = new HttpC... | 47 |
aws-sam-cli | aws | C# | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializ... | 50 |
aws-sam-cli | aws | C# | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
namespace HelloWorld
{
public class AnotherFunction
{
private static readonly HttpClient client = new HttpC... | 48 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.