content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
namespace JdSharp.JarDecompiler.JavaAttributes
{
public class ConstantValueAttribute : BaseAttribute
{
public string ConstantValue { get; }
public ConstantValueAttribute(string constantValue)
{
ConstantValue = constantValue;
}
}
} | 24 | 59 | 0.659722 | [
"Apache-2.0"
] | guilhermerochas/JdSharp | JdSharp.JarDecompiler/JavaAttributes/ConstantValueAttribute.cs | 290 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using RestEase;
using Bitmovin.Api.Sdk.Common;
using Bitmovin.Api.Sdk.Encoding.Encodings.Muxings.ChunkedText.Customdata;
namespace Bitmovin.Api.Sdk.Encoding.Encodings.Muxings.ChunkedText
{
public class ChunkedTe... | 41.618644 | 232 | 0.634698 | [
"MIT"
] | bitmovin/bitmovin-api-sdk-dotnet | src/Bitmovin.Api.Sdk/Encoding/Encodings/Muxings/ChunkedText/ChunkedTextApi.cs | 4,911 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace ClusterAnalysis.Ana... | 33.384615 | 148 | 0.547235 | [
"MIT"
] | AndreyTretyak/service-fabric | src/prod/src/managed/ClusterAnalysis/AnalysisCore/Callback/NotifyFilter.cs | 2,606 | C# |
using System.Linq;
using Xunit;
using System.Threading.Tasks;
namespace IntegrationTests
{
public partial class ValuesApiIntegration
{
[Fact]
public void TestValuesGet()
{
//var task = authorizedClient.GetStringAsync(new Uri(baseUri, "api/Values"));
//var text = task.Result;
//var array = JArray.Par... | 27.268293 | 160 | 0.629696 | [
"MIT"
] | Niklas007CR7/webapiclientgen | Tests/IntegrationTestsShared/ValuesApiIntegration.cs | 2,246 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
List<int> numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToList();
string command = Console.R... | 21.333333 | 57 | 0.551563 | [
"MIT"
] | radoslavvv/Programming-Fundamentals-Extended-May-2017 | Exercises/08.ListsMoreExercises/02.IntegerInsertion/02.IntegerInsertion.cs | 642 | C# |
using Domain;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Persistence
{
public class DataContext : IdentityDbContext<AppUser>
{
public DataContext(DbContextOptions options) : base(options)
{
}
... | 32.761194 | 70 | 0.502506 | [
"MIT"
] | jinnatul/e-Activities | Persistence/DataContext.cs | 2,197 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 33.9375 | 99 | 0.53407 | [
"MIT"
] | Azure/Industrial-IoT | components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/Twin/Models/BatchServiceCallResultModel.cs | 543 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using Skoruba.IdentityServer4.Admin.BusinessLogic.Dtos.Configuration;
using Skoruba.IdentityServer4.Admin.BusinessLogic... | 35.615068 | 204 | 0.634832 | [
"MIT"
] | vbegroup/IdentityServer4.Admin | src/Skoruba.IdentityServer4.Admin.UI/Areas/AdminUI/Controllers/ConfigurationController.cs | 26,001 | C# |
using System.Threading.Tasks;
using System.Web.Mvc;
using AlexaTVInfoSkill.Service;
namespace AlexaTVInfoSkill.Controllers
{
public class ShowsController : Controller
{
public ActionResult Index()
{
var model = TvInfoService.GetShows();
return View(model);
}
... | 20.3125 | 49 | 0.643077 | [
"MIT"
] | kmcoulson/AlexaTvInfoSkill | AlexaTVInfoSkill/Controllers/ShowsController.cs | 327 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _01.RabbitHole
{
class RabbitHole
{
static void Main()
{
List<string> ways = Console.ReadLine().Split().ToList();
int lifePoints = int.Parse(Console.ReadLine());
int step = 0;
... | 32.469697 | 78 | 0.380308 | [
"MIT"
] | spzvtbg/02-Tech-modul | Fundamental task solutions/09.ArrayAndListAlgorithms-MoreExercises/01.RabbitHole/RabbitHole.cs | 2,145 | C# |
using AzureDeveloperCN.Demo.Server.HelloWorld.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.... | 32.967213 | 143 | 0.642466 | [
"Apache-2.0"
] | hylinux/AzureDeveloperCN | AzureDeveloperCN.Demo.Server.HelloWorld/Startup.cs | 2,011 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gator : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
// if(Input.GetKeyDown(KeyCode.LeftArrow)){
// rb.AddForce(-transform.right * 100f, Forc... | 19.222222 | 60 | 0.693642 | [
"Unlicense"
] | paosalcedo/PrototypeStudio_Week1 | Paolo_Salcedo_Week1/Assets/Scripts/Week02/Gator.cs | 348 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 28.551724 | 148 | 0.653382 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DocumentDB/V20150401/Inputs/CapabilityArgs.cs | 828 | C# |
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
namespace Microsoft.Research.MultiWorldTesting.JoinUploader
{
public delegate void EventUploaderSuccessEventHandler(object source, int eventCount, int sumSize, int inputQueueSize);
public delegate void EventUploaderE... | 37.123529 | 129 | 0.580415 | [
"BSD-3-Clause"
] | Bhaskers-Blu-Org2/mwt-ds-decision-deprecated- | JoinServerUploader/BatchingConfiguration.cs | 6,313 | C# |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace WinFormMarkup.Extensions
{
/// <summary>
/// Fluent extensions for FileDialogs
/// <para>Inherits: <see cref="WinFormMarkup.Extensions.CommonDialogExtensions"/></para>
/// </summary>
public static class FileDialogExte... | 29.123377 | 93 | 0.573467 | [
"MIT"
] | bigtlb/WinFormMarkup | src/Extensions/FileDialogExtensions.cs | 4,487 | C# |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | 30.237458 | 158 | 0.706117 | [
"Apache-2.0"
] | 111cctv19/Windsor | src/Castle.Windsor/Windsor/Configuration/Interpreters/XmlInterpreter.cs | 9,041 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class HUDController : Singleton<HUDController> {
#region Fields
[SerializeField] private Text scoreLabel;
[SerializeField] private GameObject[] livesLabels;
#endregion
#region Public ... | 20.757576 | 59 | 0.708029 | [
"MIT"
] | gonzaloiv/alteroids | Assets/Scripts/UI/HUDController.cs | 687 | C# |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 42.512195 | 104 | 0.723465 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.SecretManager.V1Beta1/Google.Cloud.SecretManager.V1Beta1.GeneratedSnippets/SecretManagerServiceClient.EnableSecretVersionSnippet.g.cs | 1,743 | C# |
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.VectorMath;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace MatterHackers.MatterControl
{
public class SlidePanel : GuiWidget
{
public List<GuiWidget> panels = new List<GuiWidget>();
private int current... | 21.540984 | 117 | 0.665145 | [
"BSD-2-Clause"
] | Bhalddin/MatterControl | MatterControlLib/CustomWidgets/SlidePanelWidget.cs | 2,630 | C# |
/***************************************************************************/
// Copyright 2013-2019 Riley White
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.ap... | 38.114286 | 94 | 0.609445 | [
"Apache-2.0"
] | rileywhite/Bix | src/Bix/Core/IAggregateRoot.cs | 1,336 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 52.645161 | 874 | 0.727328 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Compute/V20190701/Outputs/HardwareProfileResponse.cs | 1,632 | C# |
using System.Collections.Generic;
using System.Net;
namespace Jane.ENode
{
public interface IEQueueConfiguration
{
IPEndPoint BrokerAdminEndPoint { get; }
string BrokerAdminHost { get; set; }
int BrokerAdminPort { get; set; }
IPEndPoint BrokerConsumerEndPoint { get; }
... | 22.702703 | 53 | 0.627381 | [
"Apache-2.0"
] | Caskia/Jane | src/Jane.ENode/ENode/IEQueueConfiguration.cs | 842 | C# |
using System;
using FluentAssertions;
using Xer.DomainDriven.Tests.Entities;
using Xunit;
namespace Xer.DomainDriven.Tests
{
public class ValueObjectTests
{
public class Equality
{
[Fact]
public void EqualityOperatorShouldBeTrueIfValueObjectsMatchByValue()
{
... | 36.491124 | 87 | 0.583104 | [
"MIT"
] | XerProjects/Xer.DomainDriven | Tests/Xer.DomainDriven.Tests/ValueObjectTests.cs | 6,167 | C# |
// Copyright (c) 2015 - 2019 Doozy Entertainment / Marlink Trading SRL. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using DG.Tweening;
using Doozy.PlayMaker;... | 51.972376 | 638 | 0.672584 | [
"Unlicense"
] | rachel2386/BoilingCorn | Corn/Assets/DOTweenPlaymakerActions/Actions/DOTween/DOTweenRigidbodyLookAtGameObject.cs | 9,407 | C# |
// IPA Cores.NET
//
// Copyright (c) 2019- IPA CyberLab.
// Copyright (c) 2003-2018 Daiyuu Nobori.
// Copyright (c) 2013-2018 SoftEther VPN Project, University of Tsukuba, Japan.
// All Rights Reserved.
//
// License: The Apache License, Version 2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// THIS SOFTWARE... | 38.246283 | 265 | 0.57675 | [
"Apache-2.0"
] | tyama0x7f/IPA-DN-Cores | Cores.NET/Cores.Codes/Codes/ThinController/ThinDatabase.cs | 44,885 | C# |
using Stride.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LionFire.Stride3D.Input
{
public static class PlatformKeyConversion
{
// REVIEW: These were assigned by looking at docs. May want to verify.
// TO... | 34.925439 | 87 | 0.389175 | [
"MIT"
] | LionFire/Core | src/LionFire.Hosting.Stride/Input/StrideKeyConversion.cs | 7,965 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using YesSql.Sql;
namespace YesSql.Services
{
/// <summary>
/// This class manages a linear identifiers block allocator
/// c.f., http://literatejava.com/hibernate/linear-block-allocator-a-superior-alternative-to-hilo/
/// </... | 38.92029 | 286 | 0.503258 | [
"MIT"
] | siyamandayubi/yessql | src/YesSql.Core/Services/DbBlockIdGenerator.cs | 10,742 | C# |
//
// KeyboardKeyEventArgs.cs
//
// Copyright (C) 2019 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
using System;
using OpenToolkit.Windowing.Common.Input;
namespace OpenToolkit.Windowing.Common
{
/// <summary>
/// Defi... | 39.674419 | 126 | 0.608441 | [
"MIT"
] | AlseinX/opentk | src/Windowing/OpenToolkit.Windowing.Common/Events/KeyboardKeyEventArgs.cs | 3,414 | C# |
using CoolapkUWP.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.... | 42.951515 | 234 | 0.581487 | [
"MIT"
] | oboard/CoolApk-UWP | 酷安 UWP/Control/ShowImageControl.xaml.cs | 7,119 | C# |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// ReSharper disable ArrangeThisQualifier
// ReSharper disable InconsistentNaming
namespace NetZlib
{
using System;
using System.Runtime.CompilerServices;
// https://github.com/ymnk/jzlib/blob/master/src... | 29.207317 | 102 | 0.46096 | [
"MIT"
] | StormHub/NetZlib | src/NetZlib/CRC32.cs | 4,792 | C# |
//==============================================================================
// TorqueLab -> Fonts Setup
// Copyright (c) 2015 All Right Reserved, http://nordiklab.com/
//------------------------------------------------------------------------------
//================================================================... | 32.916667 | 120 | 0.548576 | [
"MIT"
] | Torque3D-Resources/TorqueLab-v0.5-Alpha | tlab/terrainEditor/terrainMaterials/terrainMaterialMap.cs | 6,320 | C# |
using Polly;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
namespace ErrorHandling
{
public static class PollyDemo
{
private static List<WebExceptionStatus> connectionFailure = new List<WebExceptionStatus>() {
WebExceptionStatus.ConnectFailure,
... | 37.434343 | 108 | 0.592283 | [
"MIT"
] | wagnerhsu/packt-Hands-On-Network-Programming-with-CSharp-and-.NET-Core | Chapter 7/ErrorHandling/PollyDemo.cs | 3,708 | C# |
using MachineLearning.Data;
using System;
using System.Threading;
namespace MachineLearning.Model
{
/// <summary>
/// Trainer con validazione incrociata
/// </summary>
[Serializable]
public class ModelTrainerCrossValidation : IModelTrainer
{
#region Fields
/// <summary>
/// Seme pe... | 35.244444 | 149 | 0.663934 | [
"MIT"
] | darth-vader-lg/MachineLearning | src/MachineLearning/Model/ModelTrainerCrossValidation.cs | 1,588 | C# |
using System;
namespace FrogJump
{
public class Solution
{
public int solution(int X, int Y, int D) {
var distance = Y - X;
var mod = distance % D;
var result = distance / D;
return mod > 0
? result + 1
: result;
}
}
}
| 18.647059 | 51 | 0.457413 | [
"MIT"
] | 1OMKAR7NAM/HacktoberFest2020-Contributions | Algorithms/FrogJump/Solution.cs | 319 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 35.402778 | 168 | 0.658297 | [
"MIT"
] | DangerousDarlow/WpfDesignData | SimpleWpfApp/Properties/Resources.Designer.cs | 2,551 | 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: AssemblyTi... | 39.486486 | 85 | 0.730322 | [
"MIT"
] | smolyakoff/starshipseven | StarshipSeven.GameEntities/Properties/AssemblyInfo.cs | 1,464 | C# |
namespace WarCroft.Entities.Characters.Contracts
{
public interface IAttacker
{
void Attack(Character character);
}
} | 17.571429 | 49 | 0.780488 | [
"MIT"
] | Anzzhhela98/CSharp-Advanced | C# OOP/Exam Preparation/C# OOP Retake Exam - 19 December 2020/WarCroft/Entities/Characters/Contracts/IAttacker.cs | 125 | C# |
/*
* Copyright 2010-2014 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... | 54.350866 | 179 | 0.672371 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/AccessAnalyzer/Generated/_bcl35/AmazonAccessAnalyzerClient.cs | 81,635 | C# |
using System;
using System.Threading;
using tusdotnet.Adapters;
using tusdotnet.Extensions;
using tusdotnet.Interfaces;
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
#if netfull
using Microsoft.Owin;
#endif
namespace tusdotnet.Models.Configuration
{
/// <summary>
/// Base context for all even... | 29.534884 | 101 | 0.590551 | [
"MIT"
] | Badabum/tusdotnet | Source/tusdotnet/Models/Configuration/EventContext.cs | 2,542 | C# |
using System;
using System.Threading.Tasks;
using System.Web.Http;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.UI;
using Abp.Web.Models;
using Abp.WebApi.Controllers;
using AbpMvc5.Api.Models;
using AbpMvc5.Authorization;
using AbpMvc5.Authorization.Users;
using AbpMvc5.MultiTenancy;
using AbpMvc... | 41.127451 | 154 | 0.658641 | [
"MIT"
] | meehealth/sample-AbpMvc5 | src/AbpMvc5.WebApi/Api/Controllers/AccountController.cs | 4,197 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using exploitation_csrf.Entities;
namespace exploitation_csrf.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public Applicatio... | 25.45 | 83 | 0.740668 | [
"MIT"
] | PacktPublishing/Writing-Secure-Code-in-ASP.NET | cross_site_request_forgery/exploitation_csrf/exploitation_csrf/Data/ApplicationDbContext.cs | 509 | C# |
using UnityEngine;
using System.Collections;
public class SphereScript : MonoBehaviour {
public GameObject cam;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.position = cam.transform.position + Vector3.up * 1.1f;
}
}
| 18.058824 | 72 | 0.687296 | [
"MIT"
] | Michigari/PLATEAU_DroneNavigation | Assets/Camera/SphereScript.cs | 309 | C# |
//---------------------------------------------------------------------------
//
// <copyright file="ObservableCollection.cs" company="Microsoft">
// Copyright (C) 2003 by Microsoft Corporation. All rights reserved.
// </copyright>
//
//
// Description: Implementation of an Collection<T> implementing INotify... | 36.7825 | 122 | 0.524842 | [
"MIT"
] | CodingJinxx/gameoff2020 | Gameoff2020/Assets/NoesisGUI/Plugins/API/Core/ObservableCollection.cs | 14,713 | C# |
using Dibware.Template.Core.Domain.Contracts.Services;
using Dibware.Template.Presentation.Web.Controllers.Base;
using Dibware.Template.Presentation.Web.Models.Error;
using Dibware.Template.Presentation.Web.Resources;
using System;
using System.Web;
using System.Web.Mvc;
namespace Dibware.Template.Presentatio... | 40.169118 | 114 | 0.565074 | [
"MIT"
] | dibley1973/Dibware.Template.Presentation.Web | Dibware.Template.Presentation.Web/Filters/CustomHandleErrorAttribute.cs | 5,465 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VO.Entities;
namespace DAO.Mappers
{
public class SettingsMapper : EntityTypeConfigu... | 27.175 | 75 | 0.576817 | [
"MIT"
] | haroldsalcedo01/Bitgray | EmpresaTelefonica/DAO/Mappers/SettingsMapper.cs | 1,089 | C# |
using UnityEngine;
using System;
public static class Util {
public static void BroadcastEveryone(string message, object parameter, SendMessageOptions options) {
foreach (var go in (GameObject[]) GameObject.FindObjectsOfType(typeof(GameObject))) {
go.SendMessage(message, parameter, SendM... | 32.804878 | 105 | 0.608922 | [
"MIT"
] | WeAthFoLD/PurEgo | Assets/Script/Util.cs | 1,305 | C# |
namespace MeetAndGo.WinUI.Rented
{
partial class frmRentedOffices
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 46.072664 | 146 | 0.58573 | [
"MIT"
] | emin-alajbegovic/Meet-Go | MeetAndGo/MeetAndGo.WinUI/Rented/frmRentedOffices.Designer.cs | 13,317 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MyJetWallet.Circle.Settings.Services;
using MyJetWallet.Domain.Assets;
using MyJetWallet.Sdk.Service;
using MyJetWallet.Sdk.ServiceBus;
using Newtonsoft.Json;
using Service.Asse... | 41.97479 | 114 | 0.611612 | [
"MIT"
] | MyJetWallet/Service.Bitgo.DepositDetector | src/Service.Bitgo.DepositDetector/Services/FireblocksDepositProcessingService.cs | 4,997 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.Client.RequestHelper;
using Microsoft.VisualStudio.T... | 33.610619 | 132 | 0.697736 | [
"MIT"
] | Microsoft/vstest | src/vstest.console/Processors/ListTestsArgumentProcessor.cs | 7,596 | C# |
using System;
using System.Drawing;
using Microsoft.VisualStudio.Modeling.Diagrams;
namespace NuPattern.Authoring.WorkflowDesign
{
/// <summary>
/// Customized shape for a Supplied Asset.
/// </summary>
partial class SuppliedAssetShapeBase
{
/// <summary>
/// Returns the value of ... | 27.170886 | 116 | 0.485208 | [
"Apache-2.0"
] | dbremner/nupattern | Src/Authoring/Source/Authoring.WorkflowDesign/Diagram/Shapes/SuppliedAssetShape.cs | 4,295 | C# |
using System;
using System.Threading;
using System.ComponentModel;
using Gdk;
using OpenTK.Graphics;
using Gtk;
namespace OpenTK
{
/// <summary>
/// The <see cref="GLWidget"/> is a GTK widget for which an OpenGL context can be used to draw arbitrary graphics.
/// </summary>
[CLSCompliant(false)]
[... | 32.207018 | 125 | 0.553982 | [
"BSD-3-Clause"
] | AdamsLair/opentk | src/OpenTK.GLWidget/GLWidget.cs | 9,185 | C# |
using System;
using Newtonsoft.Json.Linq;
namespace COLID.Graph.Metadata.Extensions
{
public static class DynamicExtension
{
public static bool IsType<TResult>(dynamic value, out TResult result)
{
if (value is TResult)
{
result = value;
r... | 22.857143 | 77 | 0.4275 | [
"BSD-3-Clause"
] | Bayer-Group/COLID-Registration-Service | libs/COLID.Graph/Metadata/Extensions/DynamicExtension.cs | 802 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using NuGet.Common;
using NuGet.DependencyResolver;
using... | 46.350584 | 246 | 0.557557 | [
"Apache-2.0"
] | MarkKharitonov/NuGet.Client | src/NuGet.Core/NuGet.Commands/RestoreCommand/LockFileBuilder.cs | 27,764 | C# |
using System.Collections.Generic;
using System.Linq;
namespace GradeBook.Models
{
public class Student
{
public Student()
{
this.CoursesGrades = new Dictionary<string, double>();
}
public string FullName { get; set; }
public Dictionary<string, double> Co... | 21.73913 | 66 | 0.509 | [
"MIT"
] | KostaDinkov/unibit-programming-practice | GradeBook/Models/Student.cs | 1,002 | C# |
namespace DFC.App.CareerPath.FunctionalTests.Model.ContentType.JobProfile
{
public class EntryRequirement
{
public string Id { get; set; }
public string Title { get; set; }
public string Info { get; set; }
}
}
| 20.75 | 74 | 0.634538 | [
"MIT"
] | SkillsFundingAgency/dfc-app-careerpath | DFC.App.CareerPath.FunctionalTests/Model/ContentType/JobProfile/EntryRequirement.cs | 251 | C# |
using System;
using System.Globalization;
using System.Reflection;
using Eto.Forms;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace Eto.Serialization.Json.Converters
{
public class DynamicLayoutConverter : JsonConverter
{
public override bool CanWrite
{
get { return false; }
}
public overrid... | 28.326733 | 134 | 0.686473 | [
"BSD-3-Clause"
] | 745564106/Eto | src/Eto.Serialization.Json/Converters/DynamicLayoutConverter.cs | 2,861 | C# |
using System;
using CocosSharp;
using CoinTimeGame.ContentRuntime.Animations;
using System.Collections.Generic;
using CoinTimeGame.Entities.Data;
using System.Linq;
namespace CoinTimeGame.Entities
{
public enum LeftOrRight
{
Left,
Right
}
public class Player : PhysicsEntity
{
Animation walkLeftAnimation;
... | 19.975309 | 97 | 0.724351 | [
"Apache-2.0"
] | KinveyClientServices/xamarin-mobile-samples | CoinTime/CoinTimeShared/Entities/Player.cs | 1,620 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 33.5 | 85 | 0.527363 | [
"Apache-2.0"
] | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | EmpowerBusiness/IW_UWAccessRight.cs | 804 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 38.812785 | 154 | 0.597059 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Cdb/V20170320/Models/CreateDBInstanceHourRequest.cs | 10,382 | C# |
using System;
namespace lbhDynamics365AccessTokenApi.Tests
{
public static class ConnectionString
{
public static string TestDatabase()
{
return $"Host={Environment.GetEnvironmentVariable("DB_HOST") ?? "127.0.0.1"};" +
$"Port={Environment.GetEnvironmentVariable("D... | 39.235294 | 102 | 0.608696 | [
"MIT"
] | LBHackney-IT/lbh-dynamics-365-access-token-api | lbhDynamics365AccessTokenApi.Tests/ConnectionString.cs | 667 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Net.Http.Headers;
using System.Text;
using System.Xml.Linq;
using Umbraco.Core.Configuration;
using Umbraco.Core.Dynamics;
using Umbraco.Core.IO;
usi... | 46.19337 | 232 | 0.572085 | [
"MIT"
] | AdrianJMartin/Umbraco-CMS | src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs | 41,807 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.Communication.Email.Models
{
public partial class EmailAttachment : IUtf8JsonSerializable
{
void IUtf8JsonS... | 28.25 | 64 | 0.673831 | [
"MIT"
] | damodaravadhani/azure-sdk-for-net | sdk/communication/Azure.Communication.Email/src/Generated/Models/EmailAttachment.Serialization.cs | 791 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V251.Segment;
using NHapi.Model.V251.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V251.Group
{
///<summary>
///Represents the ORL_O22_OBSERVATION_REQUEST Group. A Group is an o... | 29.097744 | 165 | 0.693798 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V251/Group/ORL_O22_OBSERVATION_REQUEST.cs | 3,870 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.Instance;
using Microsoft.Identity.Test.Common;
using Microsoft.Identity.Test.Common.Core.Mocks;
using Microsoft.VisualStudio.TestTools... | 37.20339 | 141 | 0.650114 | [
"MIT"
] | pavel-petrenko/microsoft-authentication-library-for-dotnet | tests/Microsoft.Identity.Test.Unit/CoreTests/InstanceTests/DstsAuthorityTest.cs | 2,197 | C# |
/* ==============================================================================
* 功能描述:PascalsTriangleII
* 创 建 者:gz
* 创建日期:2017/4/21 8:24:50
* ==============================================================================*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/... | 28.452381 | 83 | 0.45272 | [
"MIT"
] | Devin-X/leetcode-csharp | Array/Array.Lib/PascalsTriangleII.cs | 1,277 | C# |
namespace UglyToad.PdfPig.Images.Png
{
using System.Collections.Generic;
internal static class Adam7
{
/// <summary>
/// For a given pass number (1 indexed) the scanline indexes of the lines included in that pass in the 8x8 grid.
/// </summary>
private static readonly IRead... | 32.745614 | 137 | 0.478971 | [
"Apache-2.0"
] | BobLd/PdfP | src/UglyToad.PdfPig/Images/Png/Adam7.cs | 3,735 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 27.767045 | 188 | 0.541436 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Web/V20180201/GetWebAppFunction.cs | 4,887 | C# |
// SampSharp
// Copyright 2020 Tim Potze
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 41.573684 | 185 | 0.56178 | [
"Apache-2.0"
] | BlasterDv/SampSharp | src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs | 15,800 | C# |
/*************************************************************************
* Copyright © 2017-2018 Mogoson. All rights reserved.
*------------------------------------------------------------------------
* File : LimitCrankEditor.cs
* Description : Custom editor for LimitCrank.
*---------------------... | 37.320755 | 129 | 0.530334 | [
"Apache-2.0"
] | mogoson/CodeProject | MachineryEditor/Crank/LimitCrankEditor.cs | 1,981 | C# |
// <copyright file="CloneableStream.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace Microsoft.Azure.Networking.Infrastructure.RingMaster.Backend.HelperTypes
{
using System;
using System.IO;
/// <summary>
/// Class CloneableSt... | 36.982036 | 212 | 0.574806 | [
"MIT"
] | Azure/RingMaster | src/Backend/HelperTypes/src/CloneableStream.cs | 6,178 | C# |
#if REGEX
using System.Text.RegularExpressions;
namespace AtraBase.Toolkit.Extensions;
/// <summary>
/// Adds some LINQ-esque methods to the Regex class.
/// </summary>
public static class RegexExtensions
{
/// <summary>
/// Converts a Match with named matchgroups into a dictionary.
/// </summary>
/... | 37.043011 | 118 | 0.594775 | [
"MIT"
] | atravita-mods/AtraBase | Toolkit/Extensions/RegexExtensions.cs | 3,447 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 49.327869 | 203 | 0.680292 | [
"MIT"
] | niki-funky/Telerik_Academy | Web Development/Web_and_Cloud/03. WCF/05. WCF/05. StringConsumer.Console/Service References/ServiceReferenceString/Reference.cs | 3,011 | C# |
using app.Operations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace app.Parser
{
public class AlienMessageParser
{
public static Dictionary<string, IToken> Variables = new Dictionary<string, IToken>();
public static Dictionary<IToken, ITok... | 29.030055 | 154 | 0.368282 | [
"MIT"
] | tstivers/icfp2020 | app/Parser/AlienMessageParser.cs | 10,627 | C# |
using System;
using Nimbus.Configuration;
namespace Nimbus.Tests.Common.TestScenarioGeneration.ConfigurationSources.IoCContainers
{
public class ContainerConfiguration
{
public Func<BusBuilderConfiguration, BusBuilderConfiguration> ApplyContainerDefaults { get; set; }
}
} | 29.3 | 106 | 0.795222 | [
"MIT"
] | dicko2/Nimbus | src/Tests/Nimbus.Tests.Common/TestScenarioGeneration/ConfigurationSources/IoCContainers/ContainerConfiguration.cs | 293 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Utils
{
/// <summary>
/// 线程工具类
/// </summary>
public static class RunHelper
{
#region 变量属性事件
#endregion
#region 线程中执行
... | 31.093264 | 158 | 0.459757 | [
"MIT"
] | 0611163/DBHelper | DBHelper/Utils/RunHelper.cs | 6,217 | C# |
using System;
using System.Collections.Generic;
using SocialMediaAuthentication.Services;
using UIKit;
using Xamarin.Auth;
namespace SocialMediaAuthentication.iOS.Services
{
public class iOSOAuth2Authenticator : OAuth2Authenticator
{
public iOSOAuth2Authenticator(string clientId, string scope, Uri aut... | 32.319149 | 154 | 0.594799 | [
"MIT"
] | AbdulArif/SocialMediaAuthentication | SocialMediaAuthentication.iOS/Services/OAuth2Service.cs | 3,040 | C# |
namespace Paperspace
{
using Newtonsoft.Json;
public class MachineAvailability
{
[JsonProperty("available")]
public bool Available
{
get;
set;
}
}
}
| 14.866667 | 36 | 0.511211 | [
"MIT"
] | BaristaLabs/paperspace.net | src/Paperspace/Models/Response/MachineAvailability.cs | 225 | C# |
using System;
using System.Linq;
using Sandbox;
namespace MidAir.GameStates
{
public class BaseGameState
{
protected RealTimeSince stateStart;
public BaseGameState()
{
stateStart = 0;
}
public virtual string StateName() => GetType().ToString();
public virtual string StateTime()
{
var timeEndS... | 21.022727 | 78 | 0.703784 | [
"MIT"
] | rndtrash/sbox-midair | code/GameStates/BaseGameState.cs | 927 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace RealEstateAgency.Migrations
{
public partial class Propertyremovedfrombookofcomplaints : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_... | 32.866667 | 72 | 0.577417 | [
"MIT"
] | Tarik-Colakhodzic/Real-estate-agency | RealEstateAgency/RealEstateAgency/Migrations/20220111221452_Property removed from book of complaints.cs | 1,481 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Projeto.Presentation.Models
{
public class UsuarioCadastroViewModel
{
[MinLength(3, ErrorMessage = "Informe no mínimo {1} caracteres.")]
[MaxLength(50, Er... | 32.257143 | 77 | 0.645704 | [
"MIT"
] | ArthurJohnsoon/Teste | Projeto.Presentation/Models/UsuarioCadastroViewModel.cs | 1,138 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace IdentityTest.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected over... | 42.027273 | 122 | 0.501839 | [
"MIT"
] | Microhive/GDPR-Consent-Tools | TestProjects/IdentityTest/Migrations/00000000000000_CreateIdentitySchema.cs | 9,248 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using... | 44.025078 | 164 | 0.599402 | [
"Apache-2.0"
] | Trieste-040/https-github.com-dotnet-roslyn | src/Workspaces/CSharp/Portable/Extensions/TypeDeclarationSyntaxExtensions.cs | 14,046 | C# |
// <copyright file="ChatRoom.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.ChatServer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
... | 36.494624 | 263 | 0.559811 | [
"MIT"
] | Tocher/OpenMU | src/ChatServer/ChatRoom.cs | 10,184 | C# |
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System;
using DG.Tweening;
namespace IATK
{
[ExecuteInEditMode]
public class ScatterplotVisualisation : AbstractVisualisation
{
public override void CreateVisualisation()
{
string savedName = name;... | 50.136157 | 222 | 0.49834 | [
"MIT"
] | MaximeCordeil/FIESTA | Assets/IATK/Scripts/Controller/Visualisations/ScatterplotVisualisation.cs | 33,142 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
namespace Azure.Iot.Hub.Service.Authentication
{
/// <summary>
/// The IoT Hub credentials, to be used for authenticating against an IoT Hub instance via SAS tokens.
/// </summa... | 43.951389 | 156 | 0.636751 | [
"MIT"
] | foreverstupid/azure-sdk-for-net | sdk/iot/Azure.Iot.Hub.Service/src/Authentication/IotHubSasCredential.cs | 6,331 | C# |
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using Hangfire.SqlServer.RabbitMQ;
using Xunit.Sdk;
namespace Hangfire.SqlServer.RabbitMq.Tests
{
public class CleanRabbitMqQueueAttribute : BeforeAfterTestAttribute
{
private static readonly object GlobalLock = new obj... | 29.581395 | 80 | 0.636792 | [
"MIT"
] | psongit/Hangfire.SqlServer.RabbitMq | tests/Hangfire.SqlServer.RabbitMq.Tests/Utils/CleanRabbitMqQueueAttribute.cs | 1,274 | C# |
/* Copyright 2018 The TensorFlow Authors. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable l... | 35.44186 | 102 | 0.658793 | [
"Apache-2.0"
] | t-takasaka/tensorflow | tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HandTracking/Scripts/HandTracking.cs | 3,050 | C# |
////////////////////////////////
//
// Copyright 2021 Battelle Energy Alliance, LLC
//
//
////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace CSET_Main.Questions.POCO
{
public class ParameterTextBuilder
{
... | 33.360656 | 116 | 0.517199 | [
"MIT"
] | PinkDev1/cset | CSETWebApi/CSETWeb_Api/BusinessLogic/Questions/POCO/Requirement_ParametersBuilder.cs | 4,070 | C# |
// Reading DOOM WAD files
// https://www.cyotek.com/blog/reading-doom-wad-files
// Writing DOOM WAD files
// https://www.cyotek.com/blog/writing-doom-wad-files
// Copyright © 2020-2022 Cyotek Ltd. All Rights Reserved.
// This work is licensed under the MIT License.
// See LICENSE.TXT for the full text
// Found thi... | 25.082278 | 120 | 0.663386 | [
"MIT"
] | cyotek/WadDemo | lib/WadDirectoryReader.cs | 3,966 | C# |
#region License
// Copyright (c) 2012, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using ClearCanvas.Common;
using ... | 26.851852 | 82 | 0.710345 | [
"Apache-2.0"
] | SNBnani/Xian | ImageServer/Model/SqlServer/UpgradeScripts/UpgradeFrom_6_1_7081_10268.cs | 727 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Protocols.TestTools.StackSdk.Security.Nrpc
{
/// <summary>
/// NRPC compute session key algorithms.
/// </summary>
pu... | 31.628866 | 101 | 0.600717 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | ProtoSDK/MS-NRPC/NrpcCryptoAlgorithm.cs | 3,068 | C# |
using System;
namespace GoToWindow.Api
{
public class WindowEntry : IWindowEntry
{
public IntPtr HWnd { get; set; }
public uint ProcessId { get; set; }
public string Title { get; set; }
public IntPtr IconHandle { get; set; }
public bool IsVisible { get; set; }
public string ProcessN... | 21.052632 | 63 | 0.645 | [
"MIT"
] | vhanla/GoToWindow | GoToWindow.Api/WindowEntry.cs | 802 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.open.public.comptest.create
/// </summary>
public class AlipayOpenPublicComptestCreateRequest : IAopRequest<AlipayOpenPublicComptestCreateResponse>... | 23.572727 | 108 | 0.605476 | [
"Apache-2.0"
] | Varorbc/alipay-sdk-net-all | AlipaySDKNet/Request/AlipayOpenPublicComptestCreateRequest.cs | 2,605 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using Qwack.Core.Basic;
using Qwack.Core.Instruments;
using Qwack.Core.Models;
using Qwack.Dates;
using Qwack.Math;
using Qwack.Math.Extensions;
using Qwack.Paths.Features;
using Qwack.Paths.Regresso... | 40.181132 | 234 | 0.518971 | [
"MIT"
] | cetusfinance/qwack | src/Qwack.Paths/Payoffs/MultiPeriodBackPricingOption.cs | 10,648 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace InterfacesApp.Entities
{
public abstract class Employee : Human
{
public int Id { get; set; }
public string FullName { get; set; }
public void Print()
{
Console.WriteLine($"{Id} - {FullName... | 20.315789 | 52 | 0.590674 | [
"MIT"
] | sedc-codecademy/skwd8-06-csharpadv | g3/Class-04/Class3Recap/InterfacesApp/Entities/Employee.cs | 388 | C# |
/*
* Copyright (c) 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 37.455882 | 116 | 0.5532 | [
"ECL-2.0",
"Apache-2.0"
] | vecalciskay/dotnet-docs-samples | bigquery/api/GettingStarted/Program.cs | 2,549 | C# |
using Microsoft.AspNetCore.Authentication;
using System.Collections.Generic;
namespace Diagnostics.CompilerHost.Security.CertificateAuth
{
public class CertificateAuthOptions: AuthenticationSchemeOptions
{
public new CertificateAuthEvents Events
{
get
{
r... | 26.4 | 70 | 0.565657 | [
"MIT"
] | Azure/Azure-AppServices-Diagnostics | src/Diagnostics.CompilerHost/Security/CertificateAuth/CertificateAuthOptions.cs | 794 | C# |
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
namespace Literay
{
public partial class MainWindow : Window
... | 30.208481 | 161 | 0.686747 | [
"BSD-2-Clause"
] | bytecode77/literay | Literay/Windows/MainWindow.xaml.cs | 8,551 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace SimpleOverlayForm.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally respond... | 34.625 | 98 | 0.679603 | [
"MIT"
] | OnTheFenceDevelopment/xamarinforms | SimpleOverlayForm/SimpleOverlayForm/SimpleOverlayForm.iOS/AppDelegate.cs | 1,110 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 42.922078 | 202 | 0.614221 | [
"Apache-2.0"
] | aws/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Backup/Basic/Get-BAKRegionSetting-Cmdlet.cs | 6,610 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.