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 |
|---|---|---|---|---|---|---|---|---|
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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... | 35.821229 | 152 | 0.549595 | [
"Apache-2.0"
] | HaoK/grpc-dotnet | src/Grpc.Net.Client/Internal/GrpcProtocolHelpers.cs | 12,826 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SMS.Api.Domain;
namespace SMS.Api.Controllers
{
/// <summary>
/// Controller for SMS model.
/// </summary>
[Produces("application/json... | 28.928571 | 106 | 0.564198 | [
"MIT"
] | dyjakstefan/SMS-API | SMS-API/Controllers/SMSController.cs | 2,432 | C# |
namespace P09.PrintPartOfASCIITable
{
using System;
class Program
{
static void Main()
{
int firstLine = int.Parse(Console.ReadLine());
int secondLine = int.Parse(Console.ReadLine());
for (int i = firstLine; i <= secondLine; i++)
{
... | 21.555556 | 59 | 0.479381 | [
"MIT"
] | DIMITRINALU/SoftUni-Projects | C#Fundamentals/02. DataTypes/P09.PrintPartOfASCIITable/Program.cs | 390 | C# |
using ExaLearn.Dal.Database;
using ExaLearn.Dal.Entities;
using ExaLearn.Dal.Interfaces;
using Microsoft.EntityFrameworkCore;
using Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace ExaLearn.Dal.Repositories
{
pu... | 35.848101 | 162 | 0.606638 | [
"MIT"
] | ExadelSandbox/project | exalearn-api/ExaLearn.Dal/Repositories/QuestionRepository.cs | 2,834 | 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.Collections.Generic;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Metadata.Conventions;
using Microsoft.Data.Entity.Me... | 43.419014 | 174 | 0.617306 | [
"Apache-2.0"
] | suryasnath/csharp | test/EntityFramework.Core.Tests/Metadata/ModelConventions/ConventionDispatcherTest.cs | 12,331 | C# |
using FlightControlApi.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace FlightControlModel.Repos
{
public class SeatRepo : CRUD
{
public SeatRepo(IDbConnection conn, IDbCommand comm) : base(conn, comm)
{
}
... | 25.832536 | 98 | 0.377292 | [
"MIT"
] | mZabcic/flightApi | FlightControlModel/Repos/SeatRepo.cs | 5,401 | C# |
/*******************************************************************************
* Copyright 2009-2016 Amazon Services. 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 Licens... | 32.945652 | 121 | 0.588585 | [
"Apache-2.0"
] | claytondus/Claytondus.AmazonMWS | Claytondus.AmazonMWS.FbaInbound/Model/PrepDetailsList.cs | 3,031 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Aurochses.Xunit.AspNetCore.Mvc.Localization
{
/// <summary>
/// Class ModelLocalizationAssert.
/// </summary>
publ... | 43.032258 | 188 | 0.641679 | [
"MIT"
] | Aurochses/Aurochses.Testing.Mvc.Localization | src/Aurochses.Xunit.AspNetCore.Mvc.Localization/ModelLocalizationAssert.cs | 2,670 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JustDecompile.External.JustAssembly
{
public enum PropertyMethodType : byte
{
GetMethod = 0,
SetMethod
}
}
| 16.071429 | 46 | 0.724444 | [
"ECL-2.0",
"Apache-2.0"
] | Bebere/JustDecompileEngine | JustDecompile.External.JustAssembly/PropertyMethodType.cs | 227 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Serilog;
namespace SerilogConsoleApp.GettingStarted
{
/// <summary>
/// https://github.com/serilog/serilog/wiki/Getting-Started#example-application
/// file:///C:/temp/logs/myapp20180630.txt
/// </summary>
class ExampleApplic... | 31.02439 | 98 | 0.544811 | [
"Apache-2.0"
] | reyou/Ggg.Csharp | apps/apps-web/app-serilog/app/SerilogConsoleApp/GettingStarted/ExampleApplication.cs | 1,274 | C# |
// ***********************************************************************
// Assembly : MPT.CSI.OOAPI
// Author : Mark Thomas
// Created : 12-13-2018
//
// Last Modified By : Mark Thomas
// Last Modified On : 12-13-2018
// ********************************************************************... | 31.347458 | 83 | 0.480941 | [
"MIT"
] | MarkPThomas/MPT.Net | MPT/CSI/API/MPT.CSI.OOAPI/Core/Helpers/Definitions/Sections/FrameSections/SectionResultantProperties.cs | 3,702 | C# |
// ******************************************************************
// Copyright � 2015-2018 nventive inc. 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
//
// ... | 26.9729 | 151 | 0.671858 | [
"Apache-2.0"
] | nventive/Uno.Core | src/Uno.Core.Extensions.Threading/FastTaskCompletionSource.cs | 9,955 | 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... | 32.707317 | 127 | 0.662938 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20200801/Inputs/ConnectionMonitorEndpointFilterArgs.cs | 1,341 | 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>
//--... | 34.548387 | 151 | 0.583567 | [
"MIT"
] | BIEMAX/FlowerShopManager | FlowerShopWinApp/Properties/Settings.Designer.cs | 1,073 | C# |
/*
*
* Copyright 2015 Netflix, 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 ap... | 25.568182 | 109 | 0.620222 | [
"Apache-2.0"
] | robfry/crucyble-csharp-micro-detectors | FIDO-Detector/FIDO-Detector/Fido_Support/Objects/ThreatGRID/Object_ThreatGRID_IP_ConfigClass.cs | 4,500 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Server23.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
p... | 25.541667 | 88 | 0.699837 | [
"MIT"
] | NicoHeupt/PANDA | Panda/Server23/Pages/Error.cshtml.cs | 613 | C# |
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Newtonsoft.Json;
namespace QuotationCryptocurrency
{
public static class TempDataExtensions
{
public static void Set<T>(this ITempDataDictionary tempData, string key, T value) where T : class
{
tempData[key] = JsonConvert.Serialize... | 28.333333 | 105 | 0.580749 | [
"MIT"
] | CosmosBeautiful/QuotationCryptocurrency | QuotationCryptocurrency/QuotationCryptocurrency.Web/Extensions/TempDataExtensions.cs | 937 | 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;
#if CODE_STYLE
using WorkspacesResources = Microsoft.CodeAnalysis.CodeStyleResources;
#endif
namesp... | 28.419753 | 119 | 0.56907 | [
"Apache-2.0"
] | Sliptory/roslyn | src/Workspaces/Core/Portable/Options/OptionKey.cs | 2,304 | C# |
using System;
namespace Estudos.MinhaApi.Api.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | 21.909091 | 63 | 0.701245 | [
"MIT"
] | ariele-fatima/API_REST_com_ASP_dotNET | Estudos.MinhaApi/Estudos.MinhaApi.Api/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs | 241 | C# |
using System;
using Microsoft.Extensions.Logging;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace $ext_safeprojectname$
{
/// <summary>
/// Provides application-specific behavior to su... | 39.111111 | 119 | 0.598684 | [
"Apache-2.0"
] | ArchieCoder/uno | src/SolutionTemplate/UnoSolutionTemplate.net6/Shared/App.xaml.cs | 6,690 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Class03.Models.Models;
namespace Class03.Models.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
... | 23.204545 | 112 | 0.592556 | [
"MIT"
] | sedc-codecademy/skwd8-08-aspnetmvc | g2/Class03/Class03.DemoApp/Class03.Models/Controllers/HomeController.cs | 1,023 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Batch
{
public partial class AzureBatchFileTask : ExternalProcessTaskBase<AzureBatchFileTask>
{
/// <summary>
... | 21.423077 | 90 | 0.635548 | [
"MIT"
] | flubu-core/FlubuCore.Azure | FlubuCore.Azure/Tasks/Batch/AzureBatchFileTask.cs | 557 | C# |
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using FluentAssertions;
using NUnit.Framework;
using SAGESharp.Animations;
using System;
using System.Collecti... | 32.069767 | 111 | 0.616389 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | TheLegendOfMataNui/SAGESharp | SAGESharp.Tests/Animations/BKDTests.cs | 2,760 | C# |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | 31.346154 | 137 | 0.665644 | [
"Apache-2.0"
] | Ahrvo-Trading-Systems/StockSharp | Messages/TimeInForce.cs | 1,630 | C# |
using System;
using Microsoft.Practices.TransientFaultHandling;
namespace MadsKristensen.EditorExtensions
{
public class FileTransientErrorDetectionStrategy : ITransientErrorDetectionStrategy
{
public bool IsTransient(Exception ex)
{
return true;
}
}
}
| 21.642857 | 87 | 0.709571 | [
"Apache-2.0"
] | DotNetSparky/WebEssentials2013 | EditorExtensions/Shared/Helpers/Policies/Strategies/FileTransientErrorDetectionStrategy.cs | 305 | C# |
using System;
using System.Net;
using EventStore.ClientAPI;
using EventStore.Core.Services;
using EventStore.Core.Tests.Http.Users;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
namespace EventStore.Core.Tests.Http.StreamSecurity {
namespace stream_access {
[TestFixture, Category("LongRunning")]
class when_... | 30.278481 | 85 | 0.701923 | [
"Apache-2.0",
"CC0-1.0"
] | MadKat13/EventStore | src/EventStore.Core.Tests/Http/StreamSecurity/stream_access.cs | 2,394 | C# |
using Sdl.Web.Common.Models;
using System;
using System.ComponentModel.DataAnnotations;
using Sdl.Web.Common;
namespace Sdl.Web.Modules.AudienceManager.Models
{
/// <summary>
/// LoginForm entity
/// </summary>
[Serializable]
[DxaNoOutputCache]
public class LoginForm : EntityModel
{
... | 29.28 | 62 | 0.569217 | [
"Apache-2.0"
] | RWS/dxa-modules | webapp-net/AudienceManager/Models/LoginForm.cs | 2,198 | C# |
using CompletelyOptional;
using UnityEngine;
namespace OptionalUI
{
/// <summary>
/// Configuable Settings. Every configuable value is tied to <see cref="UIconfig"/> and <see cref="key"/>.
/// <para>Saving and loading will be handled automatically when this is added to the <see cref="OpTab"/>.</para>
/... | 34 | 148 | 0.511526 | [
"MIT"
] | PJB3005/CompletelyOptional | CompletelyOptional/OptionalUI/UIconfig.cs | 7,548 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Codility01.Helpers.DataStructures
{
public class BTreeNode<TValue>
where TValue : IComparable<TValue>
{
private readonly List<TValue> _duplicates;
private readonly bool _allowsDuplicat... | 19.108108 | 80 | 0.614569 | [
"MIT"
] | d-dantte/Algorithms | Codility01/Helpers/DataStructures/BTreeNode.cs | 4,244 | C# |
using SampleProject.TemplateClasses.CustomElements.PageElements.InnerElements;
using Xamarin.Forms;
namespace SampleProject.TemplateClasses.CustomElements.PageElements
{
public class ImageHeader : ContentView
{
public Grid grid { get; set; }
public InnerElementsImageHeader innerElements {get;s... | 30.181818 | 79 | 0.76506 | [
"MIT"
] | Melgaco/XamComp | SampleProject/SampleProject/TemplateClasses/CustomElements/PageElements/ImageHeader.cs | 334 | 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 ... | 38.871795 | 88 | 0.761873 | [
"Apache-2.0"
] | brightness007/unofficial-aliyun-openapi-net-sdk | aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteTemplateResponseUnmarshaller.cs | 1,516 | C# |
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Gpu.State;
namespace Ryujinx.Graphics.Gpu.Engine
{
using Texture = Image.Texture;
partial class Methods
{
/// <summary>
/// Performs a texture to texture copy.
/// </summary>
/// <param name="state">Current GPU state</param... | 39.77 | 106 | 0.589389 | [
"MIT"
] | AidanXu/Ryujinx | Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs | 3,977 | 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/tpcshrd.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;... | 47.5 | 145 | 0.721902 | [
"MIT"
] | reflectronic/terrafx.interop.windows | sources/Interop/Windows/Windows/um/tpcshrd/PROPERTY_UNITS.cs | 2,947 | C# |
using System;
using Microsoft.Extensions.Logging;
using MigrationTools.Endpoints;
using MigrationTools.Enrichers;
namespace MigrationTools.Processors
{
/// <summary>
/// The `TfsAreaAndIterationProcessor` migrates all of the Area nd Iteraion paths.
/// </summary>
public class TfsAreaAndIterationProces... | 40.956522 | 106 | 0.583156 | [
"MIT"
] | Kota9006/TestMigration | src/MigrationTools.Clients.AzureDevops.ObjectModel/Processors/TfsAreaAndIterationProcessor.cs | 2,828 | C# |
// Copyright (c) Amer Koleci and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using System.Numerics;
using SharpGen.Runtime;
namespace Vortice.DirectX.Direct2D
{
[Shadow(typeof(ID2D1GeometrySinkShadow))]
public partial interface ID2D1Geome... | 42.755556 | 140 | 0.655925 | [
"MIT"
] | Aminator/Vortice.Windows | src/Vortice.DirectX.Direct2D/ID2D1GeometrySink.cs | 1,926 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Azure.Messaging.ServiceBus.Tests
{
public class ReceiverLiveTests : ServiceBusLiveTestB... | 43.784483 | 131 | 0.604843 | [
"MIT"
] | LijuanZ/azure-sdk-for-net | sdk/servicebus/Azure.Messaging.ServiceBus/tests/ReceiverLiveTests.cs | 5,081 | C# |
using Ftec.ProjetosWeb.WebApi.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Uniftec.ProjetosWeb.Application;
using Uniftec.ProjetosWeb.Repository;
namespace Ftec.ProjetosWeb.WebApi.Controller... | 39.96875 | 135 | 0.554861 | [
"MIT"
] | amanda-maschio/gerenciamento-datacenter | Ftec.ProjetosWeb.WebApi/Controllers/SensorController.cs | 7,685 | C# |
using Newtonsoft.Json;
namespace CossSharp.Models
{
public class CossWebCoin
{
[JsonProperty("currency_code")]
public string CurrencyCode { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("buy_limit")]
public decimal BuyLimit ... | 28.876404 | 63 | 0.619066 | [
"MIT"
] | merklegroot/CossSharp | CossSharp/Models/CossWebCoin.cs | 2,572 | 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... | 37.2375 | 143 | 0.584089 | [
"Apache-2.0"
] | Bynder/aws-sdk-net | sdk/src/Services/DatabaseMigrationService/Generated/Model/Internal/MarshallTransformations/ModifyEndpointRequestMarshaller.cs | 5,958 | C# |
namespace DotA2.Gambling.Model
{
public class GambleResult
{
public float Odds { get; set; }
public Prediction Prediction { get; set; }
public Prediction Result { get; set; }
public float Win { get; set; }
public float NewBalance { get; set; }
public int... | 30.083333 | 51 | 0.578947 | [
"MIT",
"Unlicense"
] | Cruik/DiscordGambleBot | src/DotA2.Gambling.Model/GambleResult.cs | 363 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 1.0.9-262
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using Syst... | 32.591549 | 140 | 0.565687 | [
"Apache-2.0"
] | ategaw-cisco/intersight-powershell | csharp/swaggerClient/src/intersight/Model/ConnectorStreamMessageRef.cs | 4,628 | C# |
using System.Collections.Generic;
namespace TableauAPI.RESTHelpers
{
/// <summary>
/// Different versions of server have different URL formats
/// </summary>
public enum ServerVersion
{
/// <summary>
/// Tableau Server 9.x
/// </summary>
Server8_3,
Server9,
... | 27.441176 | 66 | 0.555734 | [
"MIT"
] | Micheal-Nguyen/TableauAPI | TableauAPI/RESTHelpers/ServerVersion.cs | 1,868 | C# |
namespace ResXManager.Model
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using JetBrains.Annotations;
public abstract class ResourceTableEntryRulePunctuation : IResourceTableEntryRule
{
/// <inheritdoc />
p... | 38.32 | 152 | 0.572025 | [
"MIT"
] | bartekmotyl/ResXResourceManager | ResXManager.Model/ResourceTableEntryRulePunctuation.cs | 3,838 | C# |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ZhubUidTelPair Data Structure.
/// </summary>
[Serializable]
public class ZhubUidTelPair : AlipayObject
{
/// <summary>
/// 手机号
/... | 22.142857 | 52 | 0.558065 | [
"MIT"
] | ciker/PayMent-Core | src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhubUidTelPair.cs | 632 | 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.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics.Arm
{
/// <summary>
/// This class provides access to the ARM base hardware instructions via intri... | 31.782609 | 99 | 0.53249 | [
"MIT"
] | 3DCloud/runtime | src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/ArmBase.cs | 2,924 | C# |
using JPProject.Domain.Core.Events;
namespace JPProject.Sso.Domain.Events.GlobalConfiguration
{
public class GlobalConfigurationCreatedEvent : Event
{
public string Key { get; }
public string Value { get; }
public bool IsPublic { get; }
public bool Sensitive { get; }
p... | 27 | 109 | 0.610229 | [
"MIT"
] | dimitertodorov/JPProject.Core | src/SSO/JPProject.Sso.Domain/Events/GlobalConfiguration/GlobalConfigurationCreatedEvent.cs | 569 | C# |
using System;
using System.Windows.Forms;
using SteamAuth;
namespace Steam_Desktop_Authenticator
{
public partial class LoginForm : Form
{
public UserLogin userLogin;
public SteamGuardAccount androidAccount;
public bool refreshLogin = false;
public bool loginFromAnd... | 43.961538 | 302 | 0.497864 | [
"MIT"
] | Block0511/SteamDesktopAuthenticator | Steam Desktop Authenticator/LoginForm.cs | 19,431 | C# |
using System;
using System.Reactive.Linq;
namespace TDD_Katas_project.FizzBuzzKata.Rx
{
/// <summary>
/// Added a different implementation for FizzBuzz using Reactive extensions.
/// The changes are described at: http://blog.drorhelper.com/2015/02/fizzbuzz-tdd-kata-using-reactive.html
/// Pull Request... | 30.510638 | 110 | 0.529289 | [
"Apache-2.0"
] | illusionsnew/TDD-samples | Src/cs/FizzBuzzKata/Rx/FizzBuzzRx.cs | 1,436 | 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 ... | 34.975309 | 89 | 0.594423 | [
"MIT"
] | zhupangithub/WEBERP | Code/Zephyr.Net/Zephyr.Utils/Document/Excel/NPOI/DDF/EscherPropertyMetaData.cs | 2,833 | C# |
using System.Net.Http;
using System.Threading.Tasks;
using Covid19Api.Constants;
using Covid19Api.Services.Abstractions.Loader;
using HtmlAgilityPack;
namespace Covid19Api.Services.Loader
{
public class HtmlDocumentLoader : IHtmlDocumentLoader
{
private readonly IHttpClientFactory httpClientFactory;
... | 27.225806 | 77 | 0.689573 | [
"MIT"
] | alsami/Covid-19-API | src/Covid19Api.Services/Loader/HtmlDocumentLoader.cs | 844 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.ContentManagement.Handlers;
using Orchard.Localization;
using Orchard.Widgets.Models;
using Orchard.Widgets.Services;
namespace Orchar... | 37.846154 | 137 | 0.601626 | [
"BSD-3-Clause"
] | ArsenShnurkov/OrchardCMS-1.7.3-for-mono | src/Orchard.Web/Modules/Orchard.Widgets/Drivers/LayerPartDriver.cs | 3,446 | C# |
using System.Collections.Generic;
using CipherMachine;
using Words;
using UnityEngine;
public class McDondaldsChickenNuggetBigMacCipher : CipherBase
{
public override string Name { get { return "McDondalds™ Chicken Nugget Big Mac Cipher"; } }
public override int Score { get { return 5; } }
public override ... | 31.927419 | 129 | 0.490023 | [
"MIT"
] | obachs971/CipherCollection | Assets/Scripts/Ciphers/McDondaldsChickenNuggetBigMacCipher.cs | 3,963 | C# |
/* INFINITY CODE 2013-2019 */
/* http://www.infinity-code.com */
using System;
using System.IO;
using System.Text.RegularExpressions;
using InfinityCode.RealWorldTerrain.Generators;
using InfinityCode.RealWorldTerrain.Windows;
using UnityEditor;
using UnityEngine;
namespace InfinityCode.RealWorldTerrain.... | 44.22549 | 202 | 0.57829 | [
"MIT"
] | zFz0000/UnitySimulasiGerakParabola | Assets/Infinity Code/Real World Terrain/Scripts/Editor/Phases/RealWorldTerrainGenerateTerrainsPhase.cs | 13,533 | C# |
using System;
using System.Data;
using System.Dynamic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#if !NETCOREAPP
using System.Transactions;
#endif
using Mighty.Dynamic.Tests.PostgreSql.TableClasses;
using NUnit.Framework;
namespace Mighty.Dynamic.Tests.PostgreSql
{
/// <summary>
... | 44.157635 | 169 | 0.55113 | [
"BSD-3-Clause"
] | MightyORM/MightyORM | tests/Dynamic/PostgreSql/SPTests.cs | 26,894 | 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 ... | 40.595745 | 127 | 0.70283 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.GeneratedSnippets/ServiceMonitoringServiceClient.UpdateServiceRequestObjectAsyncSnippet.g.cs | 1,908 | C# |
using System.Reflection;
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("SnakeGenetic")]
[assembly: AssemblyDescri... | 38.771429 | 84 | 0.742078 | [
"MIT"
] | Neralion/SnakeBattle | SnakeGenetic/Properties/AssemblyInfo.cs | 1,360 | C# |
using dueltank.core.Models.Db;
using dueltank.Domain.Repository;
using dueltank.Domain.Service;
using NSubstitute;
using NUnit.Framework;
using System.Threading.Tasks;
using dueltank.core.Models.Cards;
using dueltank.core.Models.Search.Cards;
using dueltank.tests.core;
namespace dueltank.domain.unit.tests.ServiceTest... | 27.611111 | 98 | 0.615694 | [
"MIT"
] | fablecode/dueltank | src/Api/src/Tests/Unit/dueltank.domain.unit.tests/ServiceTests/CardServiceTests.cs | 1,990 | C# |
using System;
namespace AwesomeCharts {
public class XAxisBarChartFormatter : IValueFormatter {
public string FormatAxisValue(float value, float min, float max) {
return value.ToString();
}
}
}
| 19.5 | 74 | 0.653846 | [
"Apache-2.0"
] | serranda/SecuritySeriousGame | SIMSCADA/Assets/ImportedAssets/Awesome Charts/Core/Scripts/UI/XAxisBarChartValueFormatter.cs | 236 | C# |
using FluentAssertions;
using NUnit.Framework;
using TestApi.Common.Builders;
using TestApi.Common.Data;
using TestApi.Domain;
using TestApi.Contract.Enums;
using TestApi.Mappings;
namespace TestApi.UnitTests.Mappings
{
public class AllocationToDetailsResponseMapperTests
{
[Test]
public void S... | 30.333333 | 100 | 0.675214 | [
"MIT"
] | hmcts/vh-test-api | TestApi/TestApi.UnitTests/Mappings/AllocationToDetailsResponseMapperTests.cs | 821 | C# |
namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.GalleryPages.CollectionViewGalleries
{
internal class TemplateCodeCollectionViewGridGallery : ContentPage
{
public TemplateCodeCollectionViewGridGallery(ItemsLayoutOrientation orientation = ItemsLayoutOrientation.Vertical)
{
var layout = new Grid
... | 31.289474 | 135 | 0.751892 | [
"MIT"
] | 10088/maui | src/Compatibility/ControlGallery/src/Core/GalleryPages/CollectionViewGalleries/TemplateCodeCollectionViewGridGallery.cs | 1,191 | C# |
/// <license>
/// This file is part of Ordisoftware Core Library.
/// Copyright 2004-2021 Olivier Rogier.
/// See www.ordisoftware.com for more information.
/// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
/// If a copy of the MPL was not distributed with this file, You can obta... | 25.986667 | 121 | 0.636737 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Ordisoftware/Hebrew-Calendar | Project/Source/Common/Core/Collections/NullSafeStringList.cs | 1,951 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Shared;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
us... | 39.326348 | 237 | 0.466964 | [
"MIT"
] | AaronRobinsonMSFT/msbuild | src/Shared/UnitTests/FileMatcher_Tests.cs | 101,354 | C# |
namespace OneIdentity.DevOps.Data
{
/// <summary>
/// Plugin enabled/disabled state
/// </summary>
public class PluginState
{
/// <summary>
/// Is plugin disabled
/// </summary>
public bool Disabled { get; set; }
}
}
| 18.333333 | 42 | 0.530909 | [
"Apache-2.0"
] | LeeHoward1/SafeguardDevOpsService | SafeguardDevOpsService/Data/PluginState.cs | 277 | C# |
// Copyright (c) Alessandro Ghidini. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
namespace MudBlazor
{
public class Snackbar : IDisposable
{
private Timer Timer { get; }
internal Sta... | 30.777778 | 95 | 0.547834 | [
"MIT"
] | Bimble/MudBlazor | src/MudBlazor/Components/Snackbar/Snackbar.cs | 3,326 | C# |
/*
* Copyright 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" fi... | 39.791667 | 192 | 0.653613 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/RoboMaker/Generated/Model/Internal/MarshallTransformations/ListSimulationJobBatchesResponseUnmarshaller.cs | 4,775 | C# |
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [POST] /marketing/membercard-open/callback 接口的响应。</para>
/// </summary>
public class UpdateMarketingMemberCardOpenCallbackResponse : GetMarketingMemberCardOpenCallbackResponse
{
}
}
| 29 | 107 | 0.724138 | [
"MIT"
] | OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingMemberCardOpen/Callback/UpdateMarketingMemberCardOpenCallbackResponse.cs | 308 | C# |
using System.Net.Mime;
using Microsoft.Practices.ServiceLocation;
using FubuMVC.Core.Routing;
using FubuMVC.Core.View;
namespace FubuMVC.Core.Controller.Results
{
public class RenderViewResult<OUTPUT>: IInvocationResult
where OUTPUT : class
{
public const string HtmlContentType = ... | 28.344828 | 72 | 0.632603 | [
"Apache-2.0"
] | dineshkummarc/FubuMVC-old | src/FubuMVC.Core/Controller/Results/RenderViewResult.cs | 822 | C# |
using Autofac;
using EventBus;
using EventBus.Abstractions;
using RabbitMQServiceBus;
using AzureEventBusServiceBus;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
us... | 35.91358 | 159 | 0.678068 | [
"Apache-2.0"
] | vanluom123/EventBusMessage | EventBus/EventBusExtensions/ServiceCollectionExtensions.cs | 5,820 | 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/WebServices.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... | 39.194444 | 145 | 0.676116 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/WebServices/WS_GUID_DESCRIPTIONTests.cs | 1,413 | C# |
using AudioManager.Core;
using UnityEngine;
using UnityEngine.Audio;
namespace AudioManager.Helper {
public class AudioHelper {
public static void GetStepValueAndTime(float startValue, float endValue, float waitTime, float granularity, out float stepValue, out float stepTime) {
float differenc... | 41.716667 | 308 | 0.684778 | [
"MIT"
] | MathewHDYT/Unity-Audio-Manager | Example_Project/Assets/Scripts/AudioManager/Helper/AudioHelper.cs | 2,505 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using System.Collections;
using System.Globalization;
using System.Web.UI;
namespace Havit.Web.UI.WebControls
{
/// <summary>
/// Vylepšený <see cref="DropDownList"/>.
/// Podporuje lepší zpracování hodnoty DataText... | 29.333333 | 192 | 0.694352 | [
"MIT"
] | havit/HavitFramework | Havit.Web/UI/WebControls/ListBoxExt.cs | 6,025 | 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("06... | 38.243243 | 84 | 0.745583 | [
"MIT"
] | juvemar/Console-I-O | 06. QuadraticEquation/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.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis... | 40.32093 | 185 | 0.643096 | [
"MIT"
] | CyrusNajmabadi/roslyn | src/Workspaces/Remote/Core/SolutionChecksumUpdater.cs | 8,671 | C# |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Ytg.ServerWeb.Views.UserGroup {
pub... | 27.73913 | 81 | 0.46489 | [
"Apache-2.0"
] | heqinghua/lottery-code-qq-814788821- | YtgProject/Ytg.Server/Views/UserGroup/UserBonus.aspx.designer.cs | 4,162 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Antlr4.Runtime;
namespace RecShark.ExpressionEvaluator.Extensions
{
public static class ObjectExtensions
{
public static string Default { get; } = "";
public static double AsDouble(this object value, P... | 34.471264 | 145 | 0.543515 | [
"Apache-2.0"
] | KevinRecuerda/RecShark | src/ExpressionEvaluator/Extensions/ObjectExtensions.cs | 2,999 | C# |
using System;
using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Nintendo.GBHawk;
namespace BizHawk.Emulation.Cores.Nintendo.GBHawkLink
{
[Core(
"GBHawkLink",
"",
isPorted: false,
isReleased: true)]
[ServiceNotApplicable(typeof(IDriveLight))]
public partial class GBHawkLink : IEmulator, ISaveR... | 30.336634 | 155 | 0.754896 | [
"MIT"
] | Moliman/BizHawk | BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLink.cs | 3,066 | C# |
// Developed by Softeq Development Corporation
// http://www.softeq.com
using System;
using System.Diagnostics.CodeAnalysis;
using NSubstitute;
using Softeq.XToolkit.Common.Tests.WeakTests.Utils;
using Xunit;
namespace Softeq.XToolkit.Common.Tests.WeakTests.WeakGenericFuncTests
{
[SuppressMessage("ReSharper", "xU... | 40.173228 | 143 | 0.654057 | [
"MIT"
] | Softeq/XToolkit.WhiteLabel | Softeq.XToolkit.Common.Tests/WeakTests/WeakGenericFuncTests/WeakGenericInstanceFuncTests.cs | 5,102 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WS_CoreServices.Domain
{
public class SmallRolePerson
{
public int RoleID;
public int PersonID;
public SmallRolePerson(int roleID, int personID) {
this.RoleID = roleID;
... | 20.333333 | 58 | 0.639344 | [
"MIT"
] | EdutechSRL/Adevico | 3-Business/4-Services/WebService/WS_CoreServices/Domain/SmallRolePerson.cs | 368 | C# |
using System.Collections.Generic;
using Goals.Shared.Exceptions;
namespace Goals.Models.RequestResponse
{
public abstract class ProcessingResult
{
protected ProcessingResult()
{
Success = true;
Messages = new List<string>();
ProcessingException = new ModelPr... | 27.769231 | 73 | 0.581717 | [
"MIT"
] | twistedtwig/TrackMyProgress | Goal.Models/RequestResponse/ProcessingResult.cs | 1,085 | C# |
using Harpoon.Background;
using Harpoon.Registrations.EFStorage;
using Harpoon.Tests.Fixtures;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Harpoon.Tests
{
public class BackgroundSenderTests : IClassFixture<BackgroundSen... | 35.653846 | 139 | 0.6726 | [
"Unlicense"
] | youngcm2/Harpoon | Harpoon.Tests/BackgroundSenderTests.cs | 1,856 | 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/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropService... | 31 | 145 | 0.754839 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/MsHTML/SVGAnimatedNumberList.cs | 467 | C# |
namespace DotNetty.Suite.Tests.Transport.Socket
{
using System.Collections.Generic;
using System.Net;
using DotNetty.Buffers;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using Xunit.Abstractions;
public abstract class AbstractClientSocketTest : AbstractClient... | 27.25 | 87 | 0.62895 | [
"MIT"
] | cuteant/SpanNetty | test/DotNetty.Suite.Tests/Transport/Socket/AbstractClientSocketTest.cs | 983 | C# |
using System.ComponentModel.DataAnnotations;
namespace EmployeeService.Domain.Location
{
public class State
{
[Key]
public string Id { get; set; }
public string StateCode { get; set; }
public string StateName { get; set; }
public Country Country { get; set; }
//... | 27.933333 | 56 | 0.606205 | [
"MIT"
] | Matozap/Employee-Microservice | EmployeeService.Domain/Location/State.cs | 421 | C# |
namespace Uintra.Features.Search
{
public static class SearchConstants
{
public static readonly string AttachmentsPipelineName = "attachments";
public static class Global
{
public const int FragmentSize = 100; // depends on elastic fragment_size setting for highlighting (by... | 29.148148 | 126 | 0.613723 | [
"MIT"
] | Uintra/Uintra | src/Uintra/Features/Search/SearchConstants.cs | 789 | 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... | 29.189591 | 107 | 0.538462 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ServerMigrationService/Generated/Model/ReplicationRun.cs | 7,852 | C# |
using System;
using System.Runtime.InteropServices;
namespace FFmpeg.AutoGen
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate string AVClass_item_name (void* @ctx);
public unsafe struct AVClass_item_name_func
{
public IntPtr Pointer;
public static implicit op... | 60.858931 | 276 | 0.766221 | [
"MIT"
] | CommitteeOfZero/nitrosharp | third_party/FFmpeg.AutoGen/FFmpeg.delegates.g.cs | 53,495 | C# |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | 28.517241 | 92 | 0.665054 | [
"Apache-2.0"
] | Alexander2k/Stock- | Algo/Positions/PositionMessageAdapter.cs | 2,481 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 35.5 | 192 | 0.63493 | [
"ECL-2.0",
"Apache-2.0"
] | AaronFriel/pulumi-azuread | sdk/dotnet/Inputs/ApplicationOptionalClaimsAccessTokenArgs.cs | 1,775 | C# |
using UnityEngine;
using System.Collections;
public class Firefly : MonoBehaviour
{
private float[] _hsl;
private float _currentValue = 0.0f;
private float _initialIntensity;
private Vector3 _basePosition;
public Light FireflyLight;
public float HueChange = 1.0f;
public float IntensityC... | 29.1125 | 149 | 0.385144 | [
"MIT"
] | DioMuller/quest-for-the-crown-3D | Game/Assets/Scripts/Entities/NPC/Firefly.cs | 4,658 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
namespace System.Json
{
public class JsonArray : JsonValue, IList<JsonValue>
{
List<JsonValue> list;
public JsonArray (params JsonValue [] items)
{
list = new List<Json... | 18.114504 | 64 | 0.635061 | [
"Apache-2.0"
] | CRivlaldo/mono | mcs/class/System.Json/System.Json/JsonArray.cs | 2,373 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgrammingAssignment2
{
/// <summary>
/// A mutual fund
/// </summary>
public class MutualFund : InvestmentAccount
{
const float ServiceChargePercent = 0.01f;
... | 21.722222 | 56 | 0.564365 | [
"MIT"
] | VsIG-official/Study-Projects | Unity/Intermediate Object-Oriented Programming for Unity Games/2_week/ProgAss2/ProgrammingAssignment2/ProgrammingAssignment2/MutualFund.cs | 1,175 | C# |
using System;
using System.Linq.Expressions;
namespace BLToolkit.Data.Linq.Builder
{
using BLToolkit.Linq;
using Data.Sql;
class ContainsBuilder : MethodCallBuilder
{
protected override bool CanBuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo)
{
r... | 30.594406 | 132 | 0.682971 | [
"MIT"
] | igor-tkachev/bltoolkit | Source/Data/Linq/Builder/ContainsBuilder.cs | 4,377 | 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
*
... | 32.835443 | 116 | 0.611411 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet-intl-en | TencentCloud/Live/V20180801/Models/DescribeLiveTranscodeDetailInfoResponse.cs | 2,594 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 42.715556 | 156 | 0.61877 | [
"ECL-2.0",
"Apache-2.0"
] | AdminTurnedDevOps/pulumi-azure | sdk/dotnet/NotificationHub/AuthorizationRule.cs | 9,611 | C# |
using System;
namespace Scorpio.Modularity
{
/// <summary>
///
/// </summary>
public interface IDependedTypesProvider
{
/// <summary>
///
/// </summary>
/// <returns></returns>
Type[] GetDependedTypes();
}
}
| 14.631579 | 43 | 0.489209 | [
"MIT"
] | project-scorpio/Scorpio | src/Core/src/Scorpio/Scorpio/Modularity/IDependedTypesProvider.cs | 280 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | 38.822368 | 126 | 0.612269 | [
"Apache-2.0"
] | BuildJet/Lean | Common/Securities/Equity/Equity.cs | 5,903 | C# |
using NBitcoin;
using NBitcoin.RPC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Crypto;
using WalletWasabi.Crypto.Randomness;
using WalletWasabi.Crypto.ZeroKnowledge;
using WalletWasabi.Tests.UnitTests;
using WalletWasabi.Wa... | 42.872671 | 319 | 0.769794 | [
"MIT"
] | kristapsk/WalletWasabi | WalletWasabi.Tests/Helpers/WabiSabiFactory.cs | 13,805 | C# |
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using Commvault.Powershell.Runtime.PowerShell;
/// <summary>
/// A PowerShell... | 49.441379 | 200 | 0.591017 | [
"MIT"
] | Commvault/CVPowershellSDKV2 | generated/api/Models/UserNamePassword.TypeConverter.cs | 7,169 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace GF.Common
{
public class PropDef : IDisposable
{
//-----------------------------------------------------------------------------
public bool CollectDirty { get; private set; }
private string mPropKey;
... | 28.25 | 87 | 0.309102 | [
"MIT"
] | corefan/Fishing | Client/Assets/Plugins/GF.Common/Entity/PropDef.cs | 1,584 | C# |
using NKnife.Storages.SQL.Common;
using NKnife.Storages.SQL.Linq;
using NKnife.Storages.SQL.Realisations.Queries;
using NKnife.Storages.UnitTests.SQL.DataBase;
using Xunit;
namespace NKnife.Storages.UnitTests.SQL.Tests.Linq
{
public class LinqDelete
{
[Fact]
public void LinqDeleteSimple()
... | 30.981481 | 91 | 0.567842 | [
"MIT"
] | xknife-erian/nknife | UnitTests/NKnife.Storages.UnitTests/SQL/Tests/Linq/LinqDelete.cs | 1,675 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.