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 |
|---|---|---|---|---|---|---|---|---|
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Promitor.Agents.Core;
usin... | 42.318841 | 152 | 0.667123 | [
"MIT"
] | smholvoet/promitor-docs-poc | src/Promitor.Agents.ResourceDiscovery/Startup.cs | 2,922 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace Azure.AI.TextAnalytics
{
/// <summary> Determines the set of actions that will get executed on the input documents.</summary>
public class TextAnalyticsActions
{
... | 35.97619 | 111 | 0.663799 | [
"MIT"
] | hivyas/azure-sdk-for-ne | sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsActions.cs | 1,513 | C# |
namespace SoundFingerprinting.Query
{
using System.Collections.Generic;
using SoundFingerprinting.Command;
public class RealtimeQueryResult
{
public RealtimeQueryResult(IEnumerable<ResultEntry> successEntries, IEnumerable<ResultEntry> didNotPassThresholdEntries)
{
SuccessEnt... | 34.777778 | 128 | 0.641108 | [
"MIT"
] | Source-Digital/soundfingerprinting | src/SoundFingerprinting/Query/RealtimeQueryResult.cs | 939 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 68.490909 | 269 | 0.68755 | [
"MIT"
] | AlanFlorance/azure-powershell | src/Functions/generated/api/Models/Api20190401/CustomDomain.json.cs | 7,425 | C# |
namespace BlazorBoilerplate.Shared.SqlLocalizer
{
public static class Settings
{
public const string NeutralCulture = "en-US";
public static readonly string[] SupportedCultures = { NeutralCulture, "de-DE", "it-IT", "fa-IR", "pt-PT" };
public static readonly (string, string)[] Supporte... | 39.666667 | 205 | 0.636555 | [
"MIT"
] | Kayira150/blazor_sample | src/Shared/BlazorBoilerplate.Shared/SqlLocalizer/Settings.cs | 484 | C# |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using OpenTK;
namespace osu.Framework.Graphics
{
public static class Vector2Extensions
{
/// <summary>Transform a Pos... | 40.82716 | 118 | 0.567886 | [
"MIT"
] | KokaKiwi/osu-framework | osu.Framework/Graphics/Vector2Extensions.cs | 3,309 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Cican_Micro.Models;
using Cican_Micro.Data;
using Microsoft.AspNetCore.Http;
using System.IO;
using Micro... | 34.15534 | 128 | 0.512791 | [
"MIT"
] | maximefalardeau/Cican_Micro | Cican_Micro/Controllers/ProduitsController.cs | 7,038 | C# |
using RuriLib.Legacy.Functions.Conditions;
using RuriLib.Legacy.Models;
using RuriLib.Models.Variables;
using System.Collections.Generic;
using System.Linq;
namespace RuriLib.Legacy.LS
{
public class VariablesList
{
public List<Variable> Variables { get; private set; }
public IEnumerable<Stri... | 38.966667 | 121 | 0.600798 | [
"MIT"
] | Diwi1992/OpenBullet2 | RuriLib/Legacy/LS/VariablesList.cs | 3,509 | C# |
using System;
namespace ExileConfigurator.Data
{
/// <summary>
/// Class representing a single in-game object for the purposes of generating the necessary
/// configuration code.
/// </summary>
public class Item : IComparable<Item>
{
private const string FormatClassString = "class {0} {{ quality = {1}; price ... | 23.978102 | 93 | 0.629833 | [
"MIT"
] | nemesisx00/exile-configurator | ExileConfigurator/Data/Item.cs | 3,287 | C# |
using System;
using System.Reflection;
using Avatars;
using Xunit;
namespace Moq.Sdk.Tests
{
public class PropertyBehaviorTests
{
[Fact]
public void AppliesToGet()
{
var behavior = new PropertyBehavior();
Assert.True(behavior.AppliesTo(new MethodInvocation(
... | 31.276923 | 107 | 0.56911 | [
"MIT"
] | Ettery/moq | src/Moq.Sdk.Tests/PropertyBehaviorTests.cs | 2,035 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Ordering.Models;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Users.Models;
namespace NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models
{
public class MarketingContact : IAudited
{
pu... | 30.689655 | 73 | 0.635955 | [
"MIT"
] | nhs-digital-gp-it-futures/GPITBuyingCatalogue | src/NHSD.GPIT.BuyingCatalogue.EntityFramework/Catalogue/Models/MarketingContact.cs | 1,782 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Hosting;
using Polly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
using ZCI.Common.Exception... | 32.453333 | 106 | 0.656122 | [
"MIT"
] | MrDywar/zip-code-info | src/ZCI/Infrastructure/ExceptionHandlingMiddleware.cs | 2,436 | 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("Sm... | 38.243243 | 84 | 0.747703 | [
"MIT"
] | adamcaudill/SmartEncryption | SmartEncryption/Properties/AssemblyInfo.cs | 1,418 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Buffers;
using System.Diagnostics;
namespace En3Tho.HelperClasses.Json
{
/// <summary>
/// Represents a heap-based, array-backed output sink into... | 39.925 | 171 | 0.577959 | [
"MIT"
] | En3Tho/Something-obviously-useless | SomethingObviouslyUseless/En3Tho.HelperClasses/Json/ArrayPoolBufferWriter.cs | 7,987 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | 36.325 | 283 | 0.628355 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/TroubleshootingDetails.cs | 2,906 | C# |
namespace Monads
{
public static class RetrievingValueEitherExtension
{
public static TData RightOrLeft<TData>(this Either<TData, TData> source)
{
return source.IsRight() ? source.ForceRight : source.ForceLeft ;
}
public static int RightOrZero<TLeft>(this Either<TL... | 27.612903 | 85 | 0.589953 | [
"MIT"
] | Ja-rek/CleanMonads | Monads/Either/Extensions/RetrievingValueEitherExtension.cs | 856 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
namespace TMS.Kunina.Homework8
{
public class Store
{
private static Article[] GetAllArticle()
{
Article[] article = {
new Article() { ID = 1, ProductName = "iPhone8", StoreName = "i-Store", Price = ... | 51.926829 | 110 | 0.537811 | [
"MIT"
] | KaterinaKunina/TMS-DotNet-Kunina | src/TMS.Kunina.Homework8/Store.cs | 2,131 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ReSharper disable InconsistentNaming
namespace Microsoft.EntityFrameworkCore;
public class DatabaseInMemoryTest
{
[ConditionalTheory]
[InlineData(false)]
[InlineDat... | 29.468966 | 102 | 0.600749 | [
"MIT"
] | Applesauce314/efcore | test/EFCore.InMemory.FunctionalTests/DatabaseInMemoryTest.cs | 4,273 | C# |
// <auto-generated/>
/*
The MIT License (MIT)
Copyright (c) 2016-2019 Maksim Volkau
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... | 49.247995 | 187 | 0.505848 | [
"MIT"
] | MarchingCube/FastExpressionCompiler | src/FastExpressionCompiler/FastExpressionCompiler.cs | 233,337 | C# |
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace SimpleSiteCrawler.Lib.Reader
{
internal abstract class AbstractSitePageReader : ISitePageReader
{
protected Stream Response { get; }
protected AbstractSitePageReader(Stream response)
{
Response = r... | 25.366667 | 76 | 0.557162 | [
"MIT"
] | alexkuznetsov/SimpleSiteCrawler | SimpleSiteCrawler.Lib/Reader/AbstractSitePageReader.cs | 763 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if DNXCORE50
using Microsoft.AspNet.WebUtilities;
using System;
using System.Linq;
using System.Collections;
using System.Collection... | 26.893617 | 111 | 0.619462 | [
"Apache-2.0"
] | walkeeperY/ManagementSystem | src/Microsoft.AspNet.Mvc.WebApiCompatShim/ContentNegotiator/FormDataCollection.cs | 1,266 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectRevolution : MonoBehaviour
{
[SerializeField]
private float Orbit;
[SerializeField]
private float RevolutionPeriod;
// Start is called before the first frame update
void Start()
{
... | 15.615385 | 52 | 0.647783 | [
"MIT"
] | FabriceChiron/Galaxy-Map-VR | Assets/Scripts/World/ObjectRevolution.cs | 406 | C# |
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169
namespace RadzenBlazorDemos.Pages
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Micros... | 25.059322 | 118 | 0.764288 | [
"MIT"
] | longvutam/vtl-nvp | RadzenBlazorDemos/obj/Debug/net5.0/RazorDeclaration/Pages/EditAppointmentPage.razor.g.cs | 2,957 | C# |
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace Models
{
[Serializable]
public class AdminOrders
{
/// <summary>
/// ID
/// </summary>
private int _id;
public int ID
{
get { return _id; }
... | 23.453704 | 61 | 0.422029 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | tst20170901/test2 | Model/AdminOrders.cs | 2,541 | C# |
using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace GetRich.Droid
{
[Activity(Label = "GetRich.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationC... | 28.172414 | 188 | 0.69033 | [
"MIT"
] | jonathanpeppers/GetRich | Droid/MainActivity.cs | 819 | C# |
namespace Data.Types.TimeCalculator
{
public class TimeValueGroup : ITimeMathComponent
{
#region Constants
const double DAYS_IN_MONTH = 365.0 / 12.0;
const double WEEKS_IN_YEAR = 365.0 / 7.0;
const double DAYS_IN_WEEK = 365.0 / WEEKS_IN_YEAR;
#endregion
#regi... | 35.614583 | 125 | 0.525885 | [
"MIT"
] | Polarts/BlazingTimeCalculator | Data/Types/TimeCalculator/TimeValueGroup.cs | 3,419 | C# |
using System;
using System.Collections.Generic;
using System.Web;
using IF.Payment.Abstracts;
using IF.Payment.Common;
using IF.Payment.Concrete.AliPay.Model;
using IF.Payment.Model;
using IF.Payment.Util.AliPay;
namespace IF.Payment.Concrete.AliPay
{
public class AliPay : PayBase
{
PayRst rst = new ... | 47.024096 | 148 | 0.581091 | [
"MIT"
] | mzqs5/citest | aspnet-core/src/IF.Payment/Concrete/AliPay/AliPay.cs | 4,263 | C# |
using System;
using Uno;
namespace Windows.UI.Xaml.Automation;
[NotImplemented]
public class SelectionPatternIdentifiers
{
[NotImplemented(new string[] { "__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__" })]
public static AutomationProperty CanSelectMultipleProperty
{
... | 33.583333 | 153 | 0.772539 | [
"MIT"
] | ljcollins25/Codeground | src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Automation/SelectionPatternIdentifiers.cs | 1,209 | C# |
/*
* BSD 3-Clause License
*
* Copyright (c) 2018-2021
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* ... | 32.525184 | 141 | 0.497427 | [
"BSD-3-Clause"
] | AvenSun/numpy.net | src/NumpyDotNet/NumpyDotNet/ndarray.cs | 62,091 | C# |
namespace CustomComparator
{
using System.Collections.Generic;
internal class Comparator : IComparer<int>
{
public int Compare(int x, int y)
{
if (x % 2 == 0 && y % 2 != 0)
{
return -1;
}
else if (y % 2 == 0 && x % 2 != 0)
... | 20.466667 | 46 | 0.281759 | [
"MIT"
] | BoykoNeov/C-Sharp-Advanced---SoftUni | FunctionalProgramming/CustomComparator/Comparator.cs | 616 | C# |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MultiIndexCollection.Tests.Data;
namespace MultiIndexCollection.Tests
{
[TestClass]
public class FilteringTests
{
[TestMethod]
public void WhereEquals()
{
var users = new[]
... | 29.790974 | 87 | 0.431749 | [
"MIT"
] | gnaeus/MultiIndexCollection | MultiIndexCollection.Tests/FilteringTests.cs | 12,544 | C# |
using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | 22.047619 | 76 | 0.512959 | [
"MIT"
] | Ajarmar/LiveSplit | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | 928 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 19.778846 | 103 | 0.640253 | [
"Apache-2.0"
] | bitType/aliyun-openapi-net-sdk | aliyun-net-sdk-r-kvstore/R_kvstore/Model/V20150101/RenewMultiInstanceRequest.cs | 4,114 | C# |
namespace inventory
{
partial class formnewitem
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 50.834835 | 222 | 0.577505 | [
"Unlicense"
] | Frissons/CSharpInventoryRdlc2021- | inventory/formnewitem.Designer.cs | 33,858 | C# |
using System;
using System.Collections.Generic;
namespace fastJSON
{
public sealed class DatasetSchema
{
public List<string> Info ;//{ get; set; }
public string Name ;//{ get; set; }
}
}
| 19 | 50 | 0.592105 | [
"Apache-2.0"
] | FantasyTianyu/FantasyFramework | FantasyFramework/ThirdParty/fastJSON/Getters.cs | 230 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DomainDrivenDesign.CoreEcommerce.Ef;
namespace DomainDrivenDesign.CoreEcommerce.Services
{
public class OrderPromotionServices
{
public static OrderPromotion CalculateForDiscount(G... | 35.6 | 115 | 0.574438 | [
"MIT"
] | badpaybad/opendotnet-ecommerce-platform | DomainDrivenDesign.CoreEcommerce/Services/OrderPromotionServices.cs | 1,426 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GuardBehaviour : MonoBehaviour
{
public float chaseSpeed;
public float patrolSpeed;
private GameObject player;
public List<GameObject> patrolPoints;
public bool chasing = false;
public b... | 25 | 129 | 0.527832 | [
"MIT"
] | ggj-2020-plovdiv/MrHacker | Assets/Scripts/GuardBehaviour.cs | 3,577 | C# |
using VRTK.Core.Data.Type.Transformation;
namespace Test.VRTK.Core.Data.Type.Transformation
{
using UnityEngine;
using NUnit.Framework;
using Test.VRTK.Core.Utility.Mock;
public class FloatMultiplierTest
{
private GameObject containingObject;
private FloatMultiplier sub... | 32.901235 | 91 | 0.612008 | [
"MIT"
] | rgarat/VRTK.Unity.Core | Tests/Editor/Data/Type/Transformation/FloatMultiplierTest.cs | 2,667 | C# |
#region references
using System.Collections.Generic;
using Newtonsoft.Json;
using Dynamo.Graph.Nodes;
using Camber.Civil.Styles.Labels;
using Camber.Civil.Styles.Labels.MatchLine;
#endregion
namespace Camber.UI
{
[NodeName("Match Line Left Label Styles")]
[NodeCategory("Camber.Civil 3D.Styles.Label Styles.Mat... | 47.822222 | 164 | 0.759294 | [
"BSD-3-Clause"
] | mzjensen/Camber | CamberUI/Civil/Styles/Label Styles/MatchLineLabelStyleDropDowns.cs | 2,154 | C# |
/* Copyright (c) 2016 Acrolinx GmbH */
using System;
namespace Acrolinx.Sdk.Sidebar.Documents
{
public interface IRange
{
int End { get; }
int Length { get; }
int Start { get; }
}
}
| 16.923077 | 40 | 0.572727 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | acrolinx/sidebar-sdk-dotnet | Acrolinx.Sidebar/Documents/IRange.cs | 222 | C# |
using Dapper.Contrib.Extensions;
using FluentAssertions;
using SFA.DAS.EmployerIncentives.Data.ApprenticeshipIncentives.Models;
using SFA.DAS.EmployerIncentives.Functions.PaymentsProcess.Orchestrators;
using SFA.DAS.EmployerIncentives.Functions.TestHelpers;
using System.Collections.Generic;
using System.Data.SqlClient... | 44.46114 | 164 | 0.61205 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.das-employer-incentives | src/tests/SFA.DAS.EmployerIncentives.Functions.PaymentsProcess.AcceptanceTests/Steps/SendPaymentsSteps.cs | 8,583 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Task = System.Threading.Tasks.Task;
using Ti... | 39.293233 | 125 | 0.573287 | [
"BSD-3-Clause"
] | AcaiBerii/Cosmos | source/Cosmos.VS.Windows/CosmosWindowsPackage.cs | 10,454 | C# |
using System.Collections.Generic;
namespace AutoFixture.AutoFakeItEasy
{
internal class MethodCallResult
{
private IList<PositionedValue> outAndRefValues;
private readonly object returnValue;
public MethodCallResult(object returnValue)
{
this.returnValue = returnVa... | 27.285714 | 97 | 0.575916 | [
"MIT"
] | AutoFixture/AutoFixture | Src/AutoFakeItEasy/MethodCallResult.cs | 1,339 | C# |
using CCXT.NET.Shared.Coin;
using CCXT.NET.Shared.Converter;
using System;
using System.Collections.Generic;
using Xunit;
namespace XUnit
{
public partial class PrivateApi
{
[Fact]
public async void Korbit()
{
var _api_key = TestConfig.GetConnectionKey("Korbit");
... | 56.511628 | 206 | 0.592181 | [
"MIT"
] | ccxt-net/ccxt.net | tests/ccxt.test/private/korbit.cs | 12,150 | C# |
//
// Serializer for byps.test.api.remote.BRequest_RemoteArrayTypes1dim_getDate
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public class BSerializer_2033462920 : BSerializer {
public readonly static BSeria... | 23.459459 | 175 | 0.737327 | [
"MIT"
] | markusessigde/byps | csharp/bypstest-ser/src-ser/byps/test/api/remote/BSerializer_2033462920.cs | 870 | C# |
/*
* Description: 单例模板类
* Author: tanghuan
* Create Date: 2018/09/02
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XbufferExcelToData
{
/// <summary>
/// 模板单例
/// </summary>
/// <typeparam name="T"></typ... | 19.025 | 60 | 0.467806 | [
"Apache-2.0"
] | fqkw6/ILRuntimeMyFrame | ILRunTimeTool/XbufferExcelToData/XbufferExcelToData/Core/Singleton/SingletonTemplate.cs | 781 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using AElf.Kernel;
using AElf.Kernel.SmartContract;
using AElf.Kernel.SmartContract.Application;
using AElf.Kernel.SmartContract.Sdk;
using Xunit;
using Shouldly;
using AElf.Sdk.CSharp.Tests.TestContract;
using AElf.Types;
using Google.Protobuf.WellKnow... | 32.459574 | 120 | 0.56699 | [
"MIT"
] | 380086154/AElf | test/AElf.Sdk.CSharp.Tests/ContractTest.cs | 7,628 | 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... | 44.938144 | 180 | 0.664143 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/TooManyCookieNamesInWhiteListException.cs | 4,359 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.Net.Http.WinHttpHandlerUnitTests
{
public class WinHttpResponseHeaderReaderTest
{
private static read... | 36.75 | 100 | 0.509209 | [
"MIT"
] | belav/runtime | src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/WinHttpResponseHeaderReaderTest.cs | 6,027 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincodec.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... | 50.647059 | 204 | 0.674603 | [
"MIT"
] | john-h-k/terrafx.interop.windows | sources/Interop/Windows/um/wincodec/IWICBitmapFrameEncode.cs | 5,168 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace NetworkController
{
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Azure.Devices.Client;
using Microsoft.Azure.Devices.Edge.ModuleUtil;
using Microsoft.Azure.Devices.Edge.ModuleUtil.NetworkController;
... | 43.411765 | 146 | 0.678281 | [
"MIT"
] | Azure/iotedge | test/connectivity/modules/NetworkController/Settings.cs | 5,166 | C# |
namespace Solicitacao_de_Ambulancias
{
partial class Reagendar
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 47.536364 | 168 | 0.590553 | [
"MIT"
] | vinidg/sistema-solicitacao-ambulancias | Solicitacao de Ambulancias/Reagendar.Designer.cs | 5,231 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.19448
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 33.649351 | 112 | 0.549788 | [
"Apache-2.0"
] | atiq-shumon/DotNetProjects | Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/IPD/Reports/ReportUI/rptAdmissionCard.cs | 5,184 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.448276 | 153 | 0.588398 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IManagedDeviceRemoteLockRequestBuilder.cs | 1,086 | C# |
namespace AcceptanceTestsRestSharp.Helpers
{
public static class Constants
{
public const string BaseRoute = "/api/v1";
public const string Movies = "/api/v1/movies";
}
}
| 13.375 | 54 | 0.61215 | [
"MIT"
] | ECatalin/blackslope.net | src/BlackSlope.Api.IntegrationTests/AcceptanceTestsRestSharp/Helpers/Constants.cs | 216 | C# |
using System;
using Arctium.Connection.Tls.Protocol.HandshakeProtocol.Extensions;
using Arctium.Connection.Tls.Protocol.BinarOps.HandshakeBuilders.ExtensionsBuilders;
namespace Arctium.Connection.Tls.Protocol.BinaryOps.Builder.HandshakeBuilders.ExtensionsBuilders
{
class SignatureAlgorithmsExtensionBuilder : IExt... | 45.0625 | 168 | 0.697642 | [
"MIT"
] | NeuroXiq/Arctium | src/Arctium/Arctium.Connection/Tls/Protocol/BinaryOps/Builder/HandshakeBuilders/ExtensionsBuilders/SignatureAlgorithmsExtensionBuilder.cs | 1,444 | C# |
namespace FeelingSpa.Web.Tests
{
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using Xunit;
public class WebTests : IClassFixture<WebApplicationFactory<Startup>>
{
private readonly WebApplicationFactory<Startup> server;
public WebTes... | 33.631579 | 120 | 0.650235 | [
"MIT"
] | Desislav74/Feeling-Spa | Tests/FeelingSpa.Web.Tests/WebTests.cs | 1,280 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using CGALDotNetGeometry.Numerics;
using CGALDotNetGeometry.Shapes;
namespace CGALDotNet.Triangulations
{
internal class DelaunayTriangulationKernel2_EEK : DelaunayTriangulationKernel2
{
internal ... | 41.299342 | 160 | 0.702748 | [
"MIT"
] | unitycoder/CGALDotNet | CGALDotNet/Triangulations/DelaunayTriangulationKernel2_EEK.cs | 12,557 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Meision.Database
{
[XmlRoot(ElementName = PrimaryKeyConstraintModel.XmlElement_Tag)]
public class PrimaryKeyConstraintModel : ConstraintModel
{
... | 27.602151 | 140 | 0.523179 | [
"MIT"
] | meision/Lever | Code/9-Extensions/Lever.VisualStudioExtensions/Function/Database/PrimaryKeyConstraintModel.cs | 2,569 | C# |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd 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 require... | 31.16 | 86 | 0.686136 | [
"Apache-2.0"
] | Inhong/Tizen-CSharp-Samples | Mobile/Xamarin.Forms/Sensor/src/Sensor/Sensor/Models/UltravioletSensorViewModel.cs | 1,560 | C# |
using System;
using System.CodeDom.Compiler;
using TobascoTest.IGenerateRepository;
using static Dapper.SqlMapper;
using Dapper;
using System.Linq;
using TobascoTest.GeneratedEntity;
using Tobasco;
namespace TobascoTest.IGenerateRepository
{
[GeneratedCode("Tobasco", "1.0.0.0")]
public partial interface ICPK18Repos... | 20.473684 | 42 | 0.784062 | [
"Apache-2.0"
] | VictordeBaare/Tobasco | TobascoTest/IGenerateRepository/ICPK18Repository_Generated.cs | 391 | C# |
// Copyright 2018 Cohesity Inc.
using System.Management.Automation;
using Cohesity.Powershell.Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Cohesity.Powershell.Cmdlets.ProtectionSource
{
/// <summary>
/// <para type="synopsis">
/// Registers a new SMB file share as protection source... | 32.727941 | 117 | 0.512694 | [
"Apache-2.0"
] | DavidSeaton/cohesity-powershell-module | src/Cohesity.Powershell/Cmdlets/ProtectionSource/RegisterCohesityProtectionSourceSMB.cs | 4,453 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Agent.Sdk;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.Agent.Util;
using Mic... | 46.634899 | 226 | 0.587888 | [
"MIT"
] | 82amp/azure-pipelines-agent | src/Agent.Worker/DiagnosticLogManager.cs | 34,743 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using System.Collections.Generic;
using System.Linq;
namespace EF.Console.App.Data
{
public partial class ApplicationContext : DbContext
{
public ApplicationContext() { }
public ApplicationContext... | 26.178571 | 95 | 0.703956 | [
"MIT"
] | BoBoBaSs84/TestSolution | EF.Console.App/Data/ApplicationContext.cs | 735 | C# |
// ----------------------------------------------------------------
// Open Source Code on the MIT License (MIT)
// Copyright (c) 2015 NUEGY SARL
// https://github.com/NueGy/NgLib
// ----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
usi... | 33.463768 | 106 | 0.406236 | [
"MIT"
] | NueGy/NGLib | dev/Nglib/FORMAT/MORE/GeoTools.cs | 2,311 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Bu kod araç tarafından oluşturuldu.
// Çalışma Zamanı Sürümü:4.0.30319.42000
//
// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
// kod yeniden oluşturulursa kaybolur.
// </au... | 38.815287 | 174 | 0.555054 | [
"MIT"
] | Haltroy/Playtroy | Playtroy Desktop/Properties/Resources.Designer.cs | 12,375 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Azure.AI.TextAnalytics.Tests;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Samples
{
[LiveOnly]
public partial class... | 53.755102 | 194 | 0.657175 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample7_AnalyzeHealthcareEntities_Cancellation.cs | 2,636 | C# |
// <auto-generated />
using System;
using CodeSnippets.AspNet.SecurityAndIdentity.Develop.Razor.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCor... | 38.643885 | 125 | 0.481244 | [
"MIT"
] | zhaobingwang/sample | src-snippets/CodeSnippets.AspNet.SecurityAndIdentity.Develop.Razor/Migrations/20200413085204_CreateIdentitySchema.Designer.cs | 10,745 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 25.923077 | 96 | 0.691889 | [
"Apache-2.0"
] | fossabot/aliyun-openapi-net-sdk | aliyun-net-sdk-ccc/CCC/Model/V20170705/ListSurveysRequest.cs | 2,022 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Lsm9Ds1
{
// Register for Magnetometer
internal enum RegisterM : byte
{
OffsetX = 0x05, // 16-bit, OFFSET_X_REG_H_M (0x05) OFFSET_X_REG_H_M (... | 42.444444 | 82 | 0.63438 | [
"MIT"
] | CarlosSardo/nanoFramework.IoT.Device | devices/Lsm9Ds1/RegisterM.cs | 1,146 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using DLCS.Core;
using DLCS.Core.Collections;
using DLCS.Model.Assets;
using DLCS.Web.Requests.AssetDelivery;
using DLCS.Web.Response;
using IIIF;
using IIIF.Presentation;
using IIIF.Presentation.V2.Strings;
using IIIF.Presentation.V3.Strin... | 41.205674 | 120 | 0.622547 | [
"MIT"
] | dlcs/protagonist | Orchestrator/Features/Manifests/Requests/GetManifestForAsset.cs | 5,812 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Core.Extensibility
{
/// <summary>
/// An abstract <see cref="IAlternateType{T}"/> implementation that handles the most common <c>TryCreate</c> scenarios.
/// </summary>
/// <typeparam name="T">The type to retrieve an... | 35.619469 | 142 | 0.548323 | [
"Apache-2.0"
] | Alexandre-Busarello/Glimpse | source/Glimpse.Core/Extensibility/AlternateType.cs | 4,027 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.IoT.Hub.Service.Models
{
/// <summary> The Json query request. </summary>
public partial class QuerySpecification
{
/// <summary> Initializes a ne... | 23.772727 | 82 | 0.640535 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/iot/Azure.IoT.Hub.Service/src/Generated/Models/QuerySpecification.cs | 523 | C# |
using System;
using System.Globalization;
namespace Abp.Localization
{
/// <summary>
/// Represents a string that can be localized.
/// </summary>
[Serializable]
public class LocalizableString : ILocalizableString
{
/// <summary>
/// Unique name of the localization source.
... | 27.671875 | 84 | 0.559571 | [
"MIT"
] | 12321/aspnetboilerplate | src/Abp/Localization/LocalizableString.cs | 1,771 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace LGen
{
using System.Threading;
using System;
using System.IO;
public class LeakGenThrd
{
internal int myObj;
internal int Cv_iCounter ... | 26.162602 | 101 | 0.426352 | [
"MIT"
] | belav/runtime | src/tests/GC/Scenarios/LeakGen/leakgenthrd.cs | 3,218 | C# |
using StoreDB.Models;
using StoreDB;
using System.Collections.Generic;
using System;
namespace StoreLib
{
public class OrderService
{
private IOrderRepo repo;
public OrderService(IOrderRepo repo) {
this.repo = repo;
}
public void AddOrder(Order order) {
... | 31.632353 | 72 | 0.588099 | [
"MIT"
] | lw3b3r/ConsoleBookStore | StoreLib/OrderService.cs | 2,151 | C# |
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Ordering.Application.Features.Commands.CheckoutOrder;
using Ordering.Application.Features.Commands.DeleteOrder;
using Ordering.Application.Features.Commands.UpdateOrder;
using Ordering.Application.... | 35.102941 | 99 | 0.677419 | [
"MIT"
] | Loominex/AspCoreMicroService_Udemy | MicroService_Udemy/Services/Ordering/Ordering.Api/Controllers/OrderController.cs | 2,389 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Endless2DTerrain
{
public static class Extensions
{
public static IEnumerable<TSource> DistinctBy<TSource, TKey>
(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
{
... | 24 | 75 | 0.563333 | [
"MIT"
] | Wartz/Gunbound-Clone | Assets/Endless2DTerrain/Core/Scripts/Extensions.cs | 602 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using static Interop;
namespace System.Windows.... | 29.606061 | 90 | 0.560901 | [
"MIT"
] | Amy-Li03/winforms | src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ScreenDcCacheTests.cs | 979 | C# |
using System.Collections.Generic;
using UnityEngine.Events;
namespace UnityEngine.Rendering
{
/// <summary>
/// Command Buffer Pool
/// </summary>
public static class CommandBufferPool
{
static ObjectPool<CommandBuffer> s_BufferPool = new ObjectPool<CommandBuffer>(null, x => x.Clear());
... | 28.354167 | 108 | 0.544453 | [
"MIT"
] | ACBGZM/JasonMaToonRenderPipeline | Packages/com.unity.render-pipelines.core@10.5.0/Runtime/Common/CommandBufferPool.cs | 1,361 | C# |
using KaLib.Brigadier.Context;
namespace KaLib.Brigadier
{
public delegate TS SingleRedirectModifier<TS>(CommandContext<TS> context);
} | 23.5 | 78 | 0.794326 | [
"MIT"
] | ItsArcal139/KaLib | KaLib.Brigadier/SingleRedirectModifier.cs | 143 | C# |
namespace GwebberAPI.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} | 24 | 74 | 0.791667 | [
"Unlicense"
] | ricksanchezisagoodman/how-to-create-a-.net-api | GwebberAPI/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs | 144 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Netension.NHibernate.Prometheus.Example
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHost... | 26 | 70 | 0.593407 | [
"MIT"
] | Netension/nhibernate | examples/Netension.NHibernate.Prometheus.Example/Program.cs | 546 | C# |
using System;
using Legacy.Core.Configuration;
using Legacy.Core.Entities.Items;
using Legacy.Core.PartyManagement;
using Legacy.Core.StaticData;
using UnityEngine;
using Object = System.Object;
namespace Legacy.Game.MMGUI.PartyCreate
{
[AddComponentMenu("MM Legacy/MMGUI/PartyCreate/PartyCreationAttributes")]
publi... | 36.28821 | 302 | 0.781588 | [
"MIT"
] | Albeoris/MMXLegacy | Legacy.Game/Game/MMGUI/PartyCreate/PartyCreationAttributes.cs | 8,312 | C# |
// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using System;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.Json;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.ChangeTracking;
us... | 42.238095 | 170 | 0.684329 | [
"MIT"
] | Artrilogic/Pomelo.EntityFrameworkCore.MySql | src/EFCore.MySql.Json.Microsoft/Storage/Internal/MySqlJsonMicrosoftTypeMapping.cs | 2,663 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Trampoline : MonoBehaviour
{
[Header("Trampoline Variables")]
public float bounceForce;
public float stayUpTime;
private float stayUpCounter;
private SpriteRenderer theSR;
public Sprite downSprite, upSpr... | 24.361702 | 74 | 0.59738 | [
"MIT"
] | BioSparkDreamer/CASUAL-GAME-BLACK-CAT | The Black Cat/Assets/Scripts/Trampoline.cs | 1,145 | C# |
using System.ComponentModel;
using TwitterBootstrapMVC.Infrastructure;
namespace TwitterBootstrapMVC
{
public class Tabs : HtmlElement
{
[EditorBrowsable(EditorBrowsableState.Never)]
public string _id { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public NavType T... | 25.018182 | 53 | 0.503634 | [
"Apache-2.0"
] | DmitryEfimenko/TwitterBootstrapMvc | TwitterBootstrapMVC/Controls/Tabs.cs | 1,378 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("XYWPF.Skin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembl... | 27.910714 | 91 | 0.678183 | [
"Apache-2.0"
] | go2sleep/XYWPF | XYWPF.Skin/Properties/AssemblyInfo.cs | 2,224 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Manatee.Json.Internal;
namespace Manatee.Json.Parsing
{
internal class NullParser : IJsonParser
{
private const string _unexpectedEndOfInput = "Unexpected end of input.";
... | 28.204301 | 164 | 0.607701 | [
"MIT"
] | Magicianred/Manatee.Json | Manatee.Json/Parsing/NullParser.cs | 2,625 | C# |
using System.Xml.Linq;
using Skybrud.Essentials.Xml.Extensions;
namespace Skybrud.Social.Flickr.Models.Places {
/// <summary>
/// Class representing the response body as returned by the <c>flickr.places.findByLatLon</c> API method.
/// </summary>
/// <see>
/// <cref>https://www.flickr.com... | 36.192308 | 114 | 0.641339 | [
"MIT"
] | abjerner/Skybrud.Social.Flickr | src/Skybrud.Social.Flickr/Models/Places/FlickrPlacesFindByLatLonResponseBody.cs | 1,884 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... | 44.274725 | 543 | 0.619757 | [
"MIT"
] | AdmiringWorm/Faker.NET.Portable | src/Faker/Resources/App.Designer.cs | 4,031 | C# |
#nullable enable
using System;
using System.Collections.Generic;
using UniRx;
using UnityEngine;
namespace Playdux.src.Store
{
/// <summary>
/// A Playdux state container. The core of Playdux.
/// Includes capability to dispatch actions to the store, get the current state, get the current state narrowed by... | 47.685484 | 169 | 0.657534 | [
"MIT"
] | schultzcole/AReSSO | src/Store/Store.cs | 5,913 | C# |
using System;
namespace Reactor.API.Attributes
{
[Obsolete("Use IManager.GetMod(string modId).Instance to communicate between the mods instead." +
"\nThis will be removed in Centrifuge 4.0.")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class Me... | 31.6 | 101 | 0.664557 | [
"MIT"
] | Centrifuge-Modding-Framework/Centrifuge | Reactor.API/Attributes/MessageHandlerAttribute.cs | 634 | C# |
using System.Collections.Generic;
using UnityEngine;
using Toolkits.NodeEditor;
namespace TimeStranded.Quests
{
/// <summary>
/// Stores data for the quest node editor.
/// </summary>
[CreateAssetMenu(fileName = "NewQuestEditorData", menuName = "Time Stranded/Quests/Quest Editor Data")]
public clas... | 30.355556 | 107 | 0.554173 | [
"CC0-1.0"
] | wdmatthews/time-stranded | Assets/TimeStranded/Scripts/Quests/QuestEditorDataSO.cs | 1,366 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attr... | 50.47619 | 262 | 0.75283 | [
"MIT"
] | DmitryGolubenkov/Silk.NET | src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtExternalBuffer.gen.cs | 2,120 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Essensoft.AspNetCore.Payment.Alipay
{
/// <summary>
/// Alipay 通知解析客户端。
/// </summary>
public interface IAlipayNotifyClient
{
/// <summary>
/// 执行Alipay通知请求解析。
/// </summary>
/// <typeparam nam... | 30.034483 | 96 | 0.586682 | [
"MIT"
] | AkonCoder/Payment | src/Essensoft.AspNetCore.Payment.Alipay/IAlipayNotifyClient.cs | 993 | C# |
/*
* Copyright 2012-2021 The Pkcs11Interop Project
*
* 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 ap... | 44.090909 | 173 | 0.623368 | [
"Apache-2.0"
] | Pkcs11Interop/Pkcs11Interop | src/Pkcs11Interop.Tests/HighLevelAPI/_27_Pkcs11UriUtilsTest.cs | 5,822 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace com.csutil.http.apis {
public static class GoogleSheetsV4 {
public static async Task<List<List<string>>> GetSheet(string apiKey, string spreadsheetId, string sheetName) {
Response resp =... | 43.871795 | 130 | 0.668615 | [
"Apache-2.0"
] | cs-util-com/cscore | CsCore/PlainNetClassLib/src/Plugins/CsCore/com/csutil/http/apis/GoogleSheetsV4.cs | 1,711 | 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;
using Microsoft.Azure.Devices.Client;
using Newtonsoft.Json;
using System.Text;
using System.Threading.Tasks;
namespace VibrationDevice
{
class Prog... | 41.151613 | 163 | 0.529278 | [
"MIT"
] | ChrisHowd/MSLearnLabs-AZ-220-Microsoft-Azure-IoT-Developer | Allfiles/Labs/07-Device Message Routing/Starter/VibrationDevice/Program.cs | 12,759 | C# |
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | 37.546296 | 118 | 0.771147 | [
"MIT"
] | blackunixteam/dnSpy | Analyzer/TreeNodes/EventNode.cs | 4,057 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.