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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using PawnRules.API;
using PawnRules.Interface;
using PawnRules.Patch;
using RimWorld;
using RimWorld.Planet;
using Verse;
namespace PawnRules.Data
{
internal class Registry : WorldObject
{
pri... | 45.157895 | 237 | 0.62543 | [
"MIT"
] | Jaxe-Dev/PawnRules | Source/Data/Registry.cs | 18,020 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using System.Web;
using System.Threading;
using PromotItLibrary.Classes;
namespace PromotItLibrary.Models
{
/*TODO*/
/*Disable internal Modes.Loca... | 44.966942 | 137 | 0.632421 | [
"MIT"
] | w3arthur/PromoIt-PrivateDevelopment | PromoIt/PromotItLibrary/Models/HTTPClient.cs | 5,443 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using DeltaEngine.Extensions;
using NUnit.Framework;
namespace DeltaEngine.Tests.Extensions
{
public class StringExtensionsTests
{
[Test]
public void ConvertFloatToInvariantString()
{
Assert.AreEqual("2.5", 2.5f.ToInva... | 34.473913 | 85 | 0.685585 | [
"Apache-2.0"
] | DeltaEngine/DeltaEngine | Tests/Extensions/StringExtensionsTests.cs | 7,931 | C# |
using PPDFramework.Texture;
using SharpDX;
using System;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
namespace PPDFramework.Chars
{
class CharCacheInfo : DisposableComponent
{
static int d2dFailedCount;
int count;
int width;
int height;
... | 34.801242 | 200 | 0.424951 | [
"Apache-2.0"
] | KHCmaster/PPD | Win/PPDFramework/Chars/CharCacheInfo.cs | 11,208 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 33.048485 | 103 | 0.584632 | [
"MIT"
] | Dakraid/squidex | backend/tests/Squidex.Domain.Apps.Entities.Tests/AppProviderTests.cs | 5,455 | C# |
#region Apache License
//
// 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
// (... | 29.423423 | 141 | 0.68616 | [
"MIT"
] | 51Degrees/Dnn.Platform | DNN Platform/DotNetNuke.Log4net/log4net/Core/LogException.cs | 3,266 | C# |
using System;
namespace Default_WebApplication_MVC_IndividualUserAccount.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | 22.363636 | 70 | 0.719512 | [
"Apache-2.0"
] | vincoss/NetCoreSamples | AspNetCore-2.0/src/Default_WebApplication_MVC_IndividualUserAccount/Models/ErrorViewModel.cs | 246 | 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.Runtime.InteropServices;
using StarkPlatform.CodeAnalysis;
using StarkPlatform.VisualStudio.LanguageServices.Implementation.CodeModel.InternalEl... | 36.769231 | 161 | 0.629358 | [
"Apache-2.0"
] | stark-lang/stark-roslyn | src/VisualStudio/Core/Impl/CodeModel/Collections/ParameterCollection.cs | 2,870 | 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 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | 32.897436 | 87 | 0.618862 | [
"MIT"
] | samtoubia/azure-sdk-for-net | src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Generated/IComputeManagementClient.cs | 3,849 | C# |
using System;
using Iviz.Core;
using Iviz.Msgs.IvizCommonMsgs;
using Iviz.Resources;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine;
namespace Iviz.Displays
{
public sealed class OccupancyGridResource : DisplayWrapperResource, ISupportsTint
{
const int MaxSize = 10000;
[S... | 25.465969 | 85 | 0.460321 | [
"MIT"
] | KIT-ISAS/iviz | iviz/Assets/Application/Displays/OccupancyGridResource.cs | 4,866 | C# |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE
*
*/
#endregion
using ComponentFactory.Krypton.Toolkit;
using System;
using System.Windows... | 56.151282 | 284 | 0.698114 | [
"BSD-3-Clause"
] | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452 | Source/Krypton Toolkit Suite Extended/Shared/Persistence/UX/Options/SettingsManagementOptions.cs | 21,901 | C# |
using System;
namespace Rigger.Attributes
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public class OnEventAttribute : Attribute, ILifecycle
{
public Type Event { get; set; }
public OnEventAttribute (Type evt)
{
this.Event = evt;
}
}
} | 21.066667 | 64 | 0.613924 | [
"Apache-2.0"
] | cyclopunk/Rigger | Rigger.Abstractions/Traits/OnEventAttribute.cs | 318 | C# |
/* Copyright 2016 Mark Waterman
*
* 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 agreed to ... | 28.690476 | 82 | 0.552974 | [
"Apache-2.0"
] | markwaterman/CondensedDotNet | src/UnitTests-NetFramework/Basics.cs | 3,617 | C# |
using System.Threading.Tasks;
using CollectIt.Database.Entities.Account;
namespace CollectIt.Database.Abstractions.Account.Interfaces;
public interface IResourceAcquisitionService
{
public Task<bool> IsResourceAcquiredByUserAsync(int userId, int resourceId);
/// <summary>
/// Add resource to be available ... | 69.842105 | 191 | 0.798794 | [
"Apache-2.0"
] | SamboTrener/collect-it | src/CollectIt.Database/CollectIt.Database.Abstractions/Account/Interfaces/IResourceAcquisitionService.cs | 1,327 | C# |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @Olivier Lefebvre
using Aguacongas.IdentityServer.Store;
using Aguacongas.IdentityServer.Store.Entity;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.S... | 46.14011 | 175 | 0.618875 | [
"Apache-2.0"
] | gowerlin/TheIdServer | src/Aguacongas.TheIdServer.Identity/RoleStore.cs | 16,797 | C# |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.EntityFrameworkCore.ExpressionExecution
{
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Sec... | 37.757576 | 162 | 0.707865 | [
"MIT"
] | 6bee/Remote.Linq | src/Remote.Linq.EntityFrameworkCore/ExpressionExecution/CastingEntityFrameworkCoreAsyncStreamExpressionExecutor`1.cs | 1,248 | C# |
namespace JWTDemo.Domain.Dtos
{
public class AuthResultInfo
{
public AuthResultInfo(string email, string name)
{
Email = email;
Name = name;
}
public string Email { get; set; }
public string Name { get; set; }
public string Token { get; s... | 22.529412 | 56 | 0.543081 | [
"Apache-2.0"
] | spaki/jwt-demo | JWTDemo/JWTDemo.Domain/Dtos/AuthResultInfo.cs | 385 | C# |
namespace Develappers.BillomatNet.Types
{
public enum PropertyType
{
Textfield,
Textarea,
Checkbox
}
} | 15.444444 | 40 | 0.597122 | [
"MIT"
] | KuroSeongbae/BillomatNet | Develappers.BillomatNet/Types/PropertyType.cs | 141 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Keyvault
{
public partial class AzureKeyvaultKeyImportTask : ExternalProcessTaskBase<AzureKeyvaultKeyImportTask>
{
... | 27.079755 | 106 | 0.510648 | [
"MIT"
] | flubu-core/FlubuCore.Azure | FlubuCore.Azure/Tasks/Keyvault/AzureKeyvaultKeyImportTask.cs | 4,414 | C# |
using System;
using System.Linq;
using System.Xml.Serialization;
using System.Data;
using System.Windows.Forms;
using System.Collections.Generic;
using taskt.UI.Forms;
using taskt.UI.CustomControls;
using Microsoft.Office.Interop.Outlook;
namespace taskt.Core.Automation.Commands
{
[Serializable]
[Attributes.C... | 45.423611 | 213 | 0.649595 | [
"Apache-2.0"
] | admariner/taskt | taskt/Core/Automation/Commands/Data/GetListCountCommand.cs | 6,543 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace primjer_5._2._2
{
class Program
{
static double SafeDivision(double x, double y)
{
if (y == 0)
{
throw new System.DivideByZeroEx... | 30.126582 | 104 | 0.365126 | [
"MIT"
] | dklaic3006/AlgebraCSharp2019-1 | ConsoleApp1/primjer_5.2.2.switch/Program.cs | 2,386 | C# |
using NFlags.Commands;
namespace NetMicro.Auth.Jwt.NFlags
{
public class AuthConfiguration : IAuthConfiguration
{
private readonly CommandArgs _commandArgs;
public AuthConfiguration(CommandArgs commandArgs)
{
_commandArgs = commandArgs;
}
public bool Disabl... | 45.826087 | 115 | 0.759962 | [
"MIT"
] | NetMicro/NetMicro | NetMicro.Auth.Jwt.NFlags/AuthConfiguration.cs | 1,054 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.ExcelApi;
namespace NetOffice.ExcelApi.Behind
{
/// <summary>
/// Interface IOLEDBConnection
/// SupportByVersion Excel, 12,14,15,16
/// </summary>
[SupportByVersion("Excel", 12,14,15,16)]
[E... | 24.727405 | 185 | 0.67152 | [
"MIT"
] | igoreksiz/NetOffice | Source/Excel/Behind/Interfaces/IOLEDBConnection.cs | 16,965 | C# |
namespace SuperSize.UI.Controls
{
partial class SettingsPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 50.52551 | 135 | 0.624154 | [
"Apache-2.0"
] | thegreatrazz/SuperSize | SuperSize/UI/Controls/SettingsPage.Designer.cs | 9,905 | C# |
using BizHawk.Emulation.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.InteropServices;
using BizHawk.Common.BizInvoke;
namespace BizHawk.Emulation.Cores.Waterbox
{
/// <summary>
/// a heap that suppor... | 29.438692 | 132 | 0.657627 | [
"MIT"
] | Gikkman/BizHawk | BizHawk.Emulation.Cores/Waterbox/MapHeap.cs | 10,806 | C# |
#region License Header
/*
* QUANTLER.COM - Quant Fund Development Platform
* Quantler Core Trading Engine. Copyright 2018 Quantler B.V.
*
* 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:... | 33.375 | 127 | 0.609551 | [
"Apache-2.0"
] | Quantler/Core | Quantler.Brokers/BrokerTools/MicroCache.cs | 3,206 | C# |
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using JustFood.Modules.TimeZone;
using System;
namespace JustFood {
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
pu... | 27.068966 | 70 | 0.704459 | [
"MIT"
] | aukgit/StoreManament | JustFood/Global.asax.cs | 787 | 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... | 34.097561 | 254 | 0.598999 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ApiManagement/GetApi.cs | 6,990 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Maticsoft.Web.m_weixin.message_model.req
{
public class ReqLocationMessage : ReqBaseMessage
{
public String Location_X { get; set; }
public String Location_Y { get; set; }
public String Scale... | 25.6 | 52 | 0.674479 | [
"Unlicense"
] | nature-track/wenCollege-CSharp | Web/m_weixin/message_model/req/ReqLocationMessage.cs | 386 | C# |
namespace Machete.X12Schema.V5010
{
using System;
using X12;
public interface FST :
X12Segment
{
Value<decimal> Quantity { get; }
Value<string> ForecastQualifier { get; }
Value<string> TimingQualifier { get; }
Value<DateTime> Date1 { g... | 23.694444 | 63 | 0.546307 | [
"Apache-2.0"
] | ahives/Machete | src/Machete.X12Schema/V5010/Segments/FST.cs | 853 | 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.
namespac... | 28.215686 | 90 | 0.606671 | [
"MIT"
] | bloudraak/autorest | src/generator/AutoRest.CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/WrappedProduct.cs | 1,439 | C# |
using BaseballHistory.Domain.Entities;
using BaseballHistory.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
namespace BaseballHistory.Data.Repositories;
public class PlayerPitchingTotalRepository : IPlayerPitchingTotalRepository
{
private readonly BaseballStatsContext _context;
public PlayerPitchi... | 32.774194 | 124 | 0.746063 | [
"MIT"
] | cwoodruff/baseball-history | BaseballHistoryAPI/BaseballHistory.Data/Repositories/PlayerPitchingTotalRepository.cs | 1,016 | C# |
using System;
using Autofac;
using NUnit.Framework;
namespace DryIoc.IssuesTests
{
[TestFixture]
public class Issue281_MakeAutofacMigrationEasier
{
[Test]
public void Test_CustomDelegate_Autofac()
{
var builder = new ContainerBuilder();
builde... | 30.621469 | 123 | 0.535793 | [
"MIT"
] | thezbyg/DryIoc | Net45/DryIoc.IssuesTests/Issue281_MakeAutofacMigrationEasier.cs | 5,422 | C# |
/***************************************************************************
copyright : (C) 2006 Novell, Inc.
email : Aaron Bockover <abockover@novell.com>
***************************************************************************/
/*************************************************... | 71.25 | 77 | 0.399298 | [
"MIT"
] | rubenv/tripod | src/Libraries/TagLib/TagLib/IntList.cs | 1,425 | C# |
using System;
using System.Collections.Generic;
using System.Net;
namespace EventStore.ClientAPI.Transport.Tcp
{
internal interface ITcpConnection
{
Guid ConnectionId { get; }
IPEndPoint RemoteEndPoint { get; }
IPEndPoint LocalEndPoint { get; }
int SendQueueSize { get; }
... | 27.7 | 92 | 0.666065 | [
"Apache-2.0",
"CC0-1.0"
] | BertschiAG/EventStore | src/EventStore.ClientAPI/Transport.Tcp/ITcpConnection.cs | 556 | C# |
using System;
namespace Troublemaker.Xml
{
[XPath("self::Action[@Type='GiveAbility']")]
public sealed class StageActionGiveAbility : StageAction
{
[XPath("@Ability")] public String Ability;
[XPath("Unit")] public StagePointObject Unit;
}
} | 24.818182 | 60 | 0.663004 | [
"MIT"
] | Albeoris/Troublemaker | Troublemaker.Xml/Stage/Actions/StageActionGiveAbility.cs | 275 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Snowflake.Configuration
{
/// <summary>
/// Represents a enumerable collection of configuration values.
/// </summary>
public interface IConfigurationValueCollection
: IEnumerable<(string section, string option, IConf... | 42.970588 | 118 | 0.671458 | [
"MPL-2.0"
] | fossabot/snowflake-1 | src/Snowflake.Framework.Primitives/Configuration/IConfigurationValueCollection.cs | 1,463 | 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.419355 | 151 | 0.582006 | [
"MIT"
] | Macrotitech/WPF-3d-source | Ch30/TextTextures/Properties/Settings.Designer.cs | 1,069 | C# |
using Monkey.Core.Lexing;
using Monkey.Core.Parsing.Statements;
namespace Monkey.Core.Parsing.Expressions
{
public class IdentifierExpression : IExpression
{
private readonly Token _currentToken;
private IdentifierExpression(Token currentToken)
{
_currentToken = currentToke... | 28.461538 | 99 | 0.671622 | [
"MIT"
] | joro550/MoneyNet | src/Monkey.Core/Parsing/Expressions/IdentifierExpression.cs | 740 | C# |
// Copyright (c) 2021 Salim Mayaleh. All Rights Reserved
// Licensed under the BSD-3-Clause License
// Generated at 28.11.2021 16:31:27 by RaynetApiDocToDotnet.ApiDocParser, created by Salim Mayaleh.
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Threading.Tasks;
using Maya.Raynet... | 30.107143 | 100 | 0.685647 | [
"BSD-3-Clause"
] | mayaleh/Maya.Raynet.Crm | src/Maya.Raynet.Crm/Request/Post/PriceUnlock.cs | 843 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace Platform2DUtils.MemorySystem
{
public class MemorySystem
{
static string path = $"{Application.persistentDataPath}/myGame.data";
p... | 24.54717 | 77 | 0.566487 | [
"MIT"
] | joeldelabra/Proyecto-ulsa-plataform2D | Assets/Scripts/MemorySystem.cs | 1,303 | C# |
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UParticleModuleAccelerationOverLifetime
{
static readonly int AccelOverLife__Offset;
public FRawDistributionVector AccelOverLife
{
get{ Ch... | 27.266667 | 145 | 0.805623 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UParticleModuleAccelerationOverLifetime_FixSize.cs | 818 | C# |
using Assets.Game.Scripts.Components.Events;
using Assets.Scripts.Components.Tags;
using Unity.Collections;
using Unity.Entities;
namespace Assets.Game.Scripts.Systems
{
public class LevelDestroySystem : SystemBase
{
private EndSimulationEntityCommandBufferSystem _commandSystem;
private Entity... | 35.630769 | 101 | 0.559154 | [
"MIT"
] | jeffvella/UnityEcsEvents.Example | EventsExample/Assets/Game.Scripts/Systems/LevelDestroySystem.cs | 2,318 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CifradoCesarCSharp
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]
... | 22.695652 | 65 | 0.62069 | [
"MIT"
] | acevedo318/CifradoCesarCSharp | CifradoCesarCSharp/Program.cs | 525 | C# |
using UnityEngine;
public class CharacterCapability {
public string name;
public Character character;
public Transform transform;
public CharacterCapability(Character character) {
this.character = character;
this.transform = character.transform;
Init();
}
public virtua... | 38.333333 | 79 | 0.729348 | [
"MIT"
] | heyjoeway/ICBINS1 | Assets/Resources/Character/CharacterCapability.cs | 920 | C# |
namespace Samples.Patterns.Vehicles
{
public class Bus
{
public int Capacity { get; set; }
public int Riders { get; set; }
}
} | 17.333333 | 41 | 0.576923 | [
"MIT"
] | mbernard/csharp8sample | Samples/Samples/Patterns/Vehicles/Bus.cs | 158 | 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... | 71.591919 | 451 | 0.660619 | [
"MIT"
] | 3quanfeng/azure-powershell | src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServerFirewallRule_Update.cs | 34,944 | C# |
namespace navdi2.ADDONS.author {
using navdi2.grid;
using System.Collections.Generic;
public class AuthorState_Edit:State {
AuthorXXI xxi{get{return AuthorXXI.ins;}}
NavdiGrid editGrid;
Ents<AuthorCursor> cursors;
twin[] cursorPositions;
public AuthorState_Edit() : base() {
Add(editGrid = new NavdiGrid(... | 35.152174 | 117 | 0.672026 | [
"MIT"
] | droqen/navdi2 | ADDONS/author/AuthorState_Edit.cs | 4,851 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Bitwise
{
public abstract class Bitwise<T> where T: struct
{
protected int Bit { get; set; }
protected Bitwise()
{
if (typeof(T).GetTypeInfo().BaseType != typeof(Enum) || typeof(T).GetTypeIn... | 23.140625 | 116 | 0.478731 | [
"Apache-2.0"
] | st2forget/CommonLibraries | src/Bitwise/Bitwise.cs | 1,483 | C# |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | 32.188679 | 100 | 0.528136 | [
"MIT"
] | pdeligia/nekara-artifact | CoyoteActors/Framework/Coyote/Source/TestingServices/Engines/ITestingEngine.cs | 1,708 | C# |
public class Solution {
public int NumTrees(int n) {
var dp = new int[n + 1];
dp[0] = 1;
dp[1] = 1;
for(var i = 2; i <= n; i++){
for(var j = 0; j <= i - 1; j++){
dp[i] += dp[j] * dp[i - 1 - j];
}
}
return dp[n]... | 21.933333 | 47 | 0.316109 | [
"MIT"
] | webigboss/Leetcode | 96. Unique Binary Search Trees/96_Original.cs | 329 | C# |
namespace MicroserviceNET.Monitoring
{
using System.Data.SqlClient;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Logging;
public class MsSqlStartupHealthCheck : IHealthCheck
{... | 33.258065 | 138 | 0.741998 | [
"MIT"
] | horsdal/microservices-in-dotnet-book-second-edition | Chapter11/MicroserviceNET.Monitoring/MsSqlStartupHealthCheck.cs | 1,031 | C# |
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
using System;
namespace AmplifyShaderEditor
{
[Serializable]
public class ShaderVariablesNode : ParentNode
{
protected override void CommonInit( int uniqueId )
{
base.CommonInit( uniqueId );
Ad... | 28.392857 | 128 | 0.762264 | [
"MIT"
] | 142333lzg/jynew | jyx2/Assets/3rd/AmplifyShaderEditor/Plugins/Editor/Nodes/Constants/ShaderVariables/ShaderVariablesNode.cs | 795 | C# |
using System;
using System.Collections.Generic;
using SF.Core.Errors.Internal;
namespace SF.Core.Errors.Exceptions
{
public class UnauthorizedException : BaseException
{
public UnauthorizedException(string message = Defaults.UnauthorizedException.Title, Exception exception = null, Dictionary<string, I... | 31.315789 | 176 | 0.70084 | [
"Apache-2.0"
] | ZHENGZHENGRONG/SF-Boilerplate | SF.Core/Errors/Exceptions/UnauthorizedException.cs | 597 | 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... | 30.857143 | 123 | 0.642593 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/ApiManagement/V20200601Preview/Inputs/ApiManagementServiceSkuPropertiesArgs.cs | 1,080 | C# |
// <copyright file="Order.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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/L... | 34.651163 | 85 | 0.62953 | [
"Apache-2.0"
] | alihassan5/TestAutomation | WebDriver-Series/DesignGridControlAutomatedTestsPartTwo/Order.cs | 1,492 | 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;
using System.Runtime.CompilerServices;
using System.Globalization;
/// <summary>
/// ToString
/// </sum... | 31.16129 | 141 | 0.563354 | [
"MIT"
] | AaronRobinsonMSFT/coreclr | tests/src/CoreMangLib/cti/system/decimal/decimaltostring1.cs | 4,830 | C# |
using System;
namespace Signals.Aspects.BackgroundProcessing.TaskConfiguration
{
/// <summary>
/// Advanced configuration for time
/// Ex: Run every 5 seconds;
/// Run every 5 minutes and 30 seconds
/// Run every 1 hour and 30 minutes
/// </summary>
public sealed class TimePartRecurrencePatternConfigurati... | 27.608696 | 96 | 0.724409 | [
"MIT"
] | EmitKnowledge/Signals | src/05 Aspects/10 Background processing/Signals.Aspects.BackgroundProcessing/TaskConfiguration/TimePartRecurrencePatternConfiguration.cs | 637 | C# |
using UnityEngine;
using Unity.Collections;
using System.Collections.Generic;
using System.IO;
namespace uLipSync
{
[System.Serializable]
public struct MfccCalibrationData
{
public float[] array;
public float this[int i] { get { return array[i]; } }
public int length { get { return array.Leng... | 24.442308 | 96 | 0.559205 | [
"MIT"
] | uezo/uLipSync | Assets/uLipSync/Runtime/Core/Profile.cs | 5,084 | C# |
using System.Dynamic;
using PureDI;
using PureDI.Attributes;
using IOCCTest.TestCode;
namespace IOCCTest.DifficultTypeTestData
{
[Bean]
public class Dynamic : IResultGetter
{
[BeanReference] dynamic anotherDynamic;
public dynamic GetResults()
{
dynamic eo = new Expando... | 17.4 | 47 | 0.604598 | [
"MIT"
] | mikedamay/PureDI | PureDITest/DifficultTypeTestData/Dynamic.cs | 437 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using Hugula.Utils;
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace PSDUINewImporter
{
public sealed class ToggleComponentImport : SelectableComponentImport<Toggle>
{
public Toggle... | 35.904762 | 120 | 0.608753 | [
"MIT"
] | tenvick/hugula | Client/Assets/Third/PSD2UGUI/Editor/ComponentImport/ToggleComponentImport.cs | 2,276 | C# |
// Copyright (c) 2018 Alachisoft
//
// 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 agreed ... | 30.493333 | 75 | 0.547442 | [
"Apache-2.0"
] | abayaz61/NCache | Src/NCWebCache/Web/RemoteClient/Communication/RequestModerator.cs | 2,289 | C# |
using System;
using System.Diagnostics.Contracts;
using System.ServiceModel.Dispatcher;
using Ncqrs.Commanding.ServiceModel;
namespace Ncqrs.CommandService.Infrastructure
{
internal class CommandServiceInstanceProvider : IInstanceProvider
{
public CommandServiceInstanceProvider(Type serviceTy... | 36 | 148 | 0.67381 | [
"Apache-2.0"
] | adamcogx/ncqrs | Extensions/src/Ncqrs.CommandService/Infrastructure/CommandServiceInstanceProvider.cs | 1,262 | C# |
namespace Dev.DevKit.Shared.Entities
{
public partial class ProductSalesLiterature
{
#region --- PROPERTIES ---
//public DateTime? DateTime { get { return GetAliasedValue<DateTime?>("c.birthdate"); } }
#endregion
#region --- STATIC METHODS ---
#endregion
}
}
| 18.647059 | 97 | 0.596215 | [
"MIT"
] | Kayserheimer/Dynamics-Crm-DevKit | test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/ProductSalesLiterature.cs | 319 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.Runtime.Serialization.Json;
using System.Runtime.Serialization.Formatters;
using System.Co... | 33.238095 | 62 | 0.682665 | [
"MIT"
] | BernatskyPavel/NETAPI | NETAPI/Models/City.cs | 1,398 | C# |
public enum FileType
{
vsix,
pkg,
msi
}
| 6.142857 | 20 | 0.651163 | [
"MIT"
] | jonathanpeppers/boots | Boots.Core/FileType.cs | 43 | C# |
using TGC.Core.BoundingVolumes;
using TGC.Core.Collision;
using TGC.Core.Mathematica;
namespace TGC.Examples.Collision.ElipsoidCollision
{
/// <summary>
/// Collider a base de un BoundingBox
/// </summary>
public class BoundingBoxCollider : Collider
{
private readonly TgcBoundingAxisAl... | 40.052711 | 183 | 0.481218 | [
"MIT"
] | Javier-Rotelli/tgc-viewer | TGC.Examples/Collision/ElipsoidCollision/BoundingBoxCollider.cs | 26,615 | C# |
using System;
using System.Threading.Tasks;
using Localization.Resources.AbpUi;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using EasyAbp.FileManagement.Localization;
using Volo.Abp.UI.Navigation;
using Volo.Abp.Users;
namespace Ea... | 31.491803 | 98 | 0.580947 | [
"MIT"
] | Frunck8206/FileManagement | host/EasyAbp.FileManagement.Web.Host/FileManagementWebHostMenuContributor.cs | 1,923 | 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
*
... | 30.25 | 81 | 0.599174 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Tag/V20180813/Models/DescribeTagsResponse.cs | 2,272 | 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... | 32.266667 | 101 | 0.602789 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/SimpleSystemsManagement/Generated/Model/DescribeMaintenanceWindowTasksRequest.cs | 3,872 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using VOU.EntityFrameworkCore;
namespace VOU.Migrations
{
[DbContext(typeof(VOUDbContext))]
[Migration("201708040... | 31.571429 | 117 | 0.437339 | [
"MIT"
] | BugBear96/VOU | aspnet-core/src/VOU.EntityFrameworkCore/Migrations/20170804083601_Upgraded_To_Abp_v2.2.2.Designer.cs | 34,920 | C# |
using Connect.DNN.Powershell.Core.Commands;
using Connect.DNN.Powershell.Framework.Models;
using System.Management.Automation;
namespace Connect.DNN.Powershell.Commands.TaskScheduler
{
[Cmdlet("List", "Tasks")]
public class ListTasks : DnnPromptPortalCmdLet
{
[Parameter(Mandatory = false, ValueFro... | 36.423077 | 107 | 0.665259 | [
"MIT"
] | DNN-Connect/Dnn-Powershell | Connect.DNN.Powershell/Commands/TaskScheduler/ListTasks.cs | 949 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HPMSdk;
using Hansoft.ObjectWrapper.CustomColumnValues;
namespace Hansoft.ObjectWrapper
{
/// <summary>
/// Represents an item in the Product Backlog in Hansoft.
/// </summary>
pu... | 43.871324 | 198 | 0.545378 | [
"MIT"
] | Hansoft/Hansoft-ObjectWrapper | ProductBacklogItem.cs | 11,935 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NR.RTS.Units
{
public class UnitStats : ScriptableObject
{
[System.Serializable]
public class Base
{
public enum UnitPopulationType
{
TierOne,
... | 26.711538 | 53 | 0.545716 | [
"MIT"
] | Nikolar1/Seminarski_rad_C_RTS_Igra | RTS/Assets/_Scripts/Units/UnitStats.cs | 1,389 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using Amazon.S3;
using DocumentsApi.V1.Boundary.Request;
using DocumentsApi.V1.Boundary.Response.Exceptions;
using DocumentsApi.V1.UseCase.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace DocumentsApi.V1.Controllers
{
[ApiController]
[Route("api/v... | 33.456522 | 126 | 0.581871 | [
"MIT"
] | LBHackney-IT/documents-api | DocumentsApi/V1/Controllers/DocumentsController.cs | 3,078 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Spreadsheet.Core;
using Spreadsheet.Core.Cells;
using Spreadsheet.Core.Cells.Expressions;
using Spreadsheet.Core.Parsers;
using Spreadsheet.Core.Parsers.Oper... | 34.28022 | 97 | 0.593204 | [
"MIT"
] | AndreyTretyak/SpreadsheetSimulator | Spreadsheet.Tests/SpreadsheetStreamParserTests.cs | 6,241 | C# |
// <copyright file="PrompDialogRichTextBoxUserControl.xaml.cs" company="CodePlex">
// https://testcasemanager.codeplex.com/ All rights reserved.
// </copyright>
// <author>Anton Angelov</author>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sy... | 38.838095 | 212 | 0.642962 | [
"Apache-2.0"
] | FrancielleWN/AutomateThePlanet-Learning-Series | TestCaseManager/TestCaseManager/Views/PrompDialogRichTextBoxUserControl.xaml.cs | 4,080 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.ComponentModel;
using System.Threading;
using System.Web.Script.Serialization;
using System.Collections;
using Microsoft.Silverlight.Testing;
namespace PubNub_Messagin... | 32.728571 | 99 | 0.593191 | [
"MIT"
] | drubin/c-sharp | silverlight/3.3.0.1/PubnubSilverlight.Example/UnitTest/WhenGetRequestServerTime.cs | 2,293 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace CompeTournament.Backend.Migrations
{
public partial class InitIdentity : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilde... | 43.152466 | 122 | 0.497974 | [
"MIT"
] | 132329/TorneoPredicciones | CompeTournament.Backend/Migrations/20190623194523_InitIdentity.cs | 9,625 | C# |
using Microsoft.IdentityModel.Tokens;
using System.Security.Cryptography;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ON.Crypto
{
public static class JwkExtension
{
public static JsonWebKey DecodeJsonWebKey(this string e... | 31.518519 | 91 | 0.594595 | [
"MIT"
] | NodeFederation/NodeInstall | src/ON.Crypto/ON.Crypto/JwkExtension.cs | 1,704 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Microsoft.Extensions.DependencyModel
{
... | 34.188119 | 119 | 0.611932 | [
"MIT"
] | joshfree/cli | src/Microsoft.Extensions.DependencyModel/DependencyContext.cs | 3,455 | C# |
using Castle.DynamicProxy;
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Jose;
using Newtonsoft.Json;
namespace Domain0.Api.Client
{
internal class TokenChangeManager : IDisposable
{
public TokenChangeManager(AuthenticationContext... | 30.512676 | 121 | 0.497784 | [
"MIT"
] | LavrentyAfanasiev/domain0 | src/Domain0.Client.AuthContext/TokenChangeManager.cs | 10,832 | C# |
using MingweiSamuel.TokenBucket;
using System;
namespace Camille.RiotGames.Util
{
public delegate ITokenBucket TokenBucketFactory(TimeSpan timeSpan, int totalLimit, float concurrentInstanceFactor, float overheadFactor);
}
| 28.5 | 141 | 0.833333 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | MingweiSamuel/Camille | Camille.RiotGames/src/Util/TokenBucketFactory.cs | 230 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EnhanceNav : MonoBehaviour
{
[SerializeField]
Scrollbar scroll;
[SerializeField]
Button[] auraInvent; // Includes all auras
Button[] unlockedAuraInvent; // Filtered aura ... | 33.733766 | 158 | 0.613282 | [
"MIT"
] | calsf/aura | Assets/Scripts/Shop/EnhanceNav.cs | 5,197 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
namespace CSharpMongoDB
{
class Program
{
static void Main(string[] args)
{
try
{
int count = 1... | 26.692308 | 87 | 0.491835 | [
"MIT"
] | DevelopHack/CSharp-with-MongoDB | CSharpMongoDB/Program.cs | 1,043 | C# |
using PdfSharp.Pdf.Advanced;
using System;
namespace PdfSharp.Pdf.Annotations
{
/// <summary>
/// Represent a file that is attached to the PDF
/// </summary>
public class PdfFileAttachmentAnnotation : PdfAnnotation
{
/// <summary>
/// Name of icons used in displaying the annotation... | 30.069231 | 99 | 0.486314 | [
"MIT"
] | brunoserrano/PDFsharp | src/PdfSharp/Pdf.Annotations/PdfFileAttachmentAnnotation.cs | 3,917 | C# |
//Problem 12. Remove words
//Write a program that removes from a text file all words listed in given another text file.
//Handle all possible exceptions in your methods.
using System;
using System.IO;
using System.Text;
using System.Linq;
class RemoveWords
{
static void Main()
{
try
{
... | 22.893617 | 92 | 0.523234 | [
"MIT"
] | enchev-93/Telerik-Academy | 02.C Sharp part 2/08.TextFiles/RemoveWords/RemoveWords.cs | 2,154 | C# |
using Newtonsoft.Json;
namespace Mopidy.Models.JsonRpcs
{
[JsonObject(MemberSerialization.OptIn)]
internal abstract class JsonRpcQuery : JsonRpcBase
{
}
}
| 17.2 | 54 | 0.732558 | [
"MIT"
] | ume05rw/MopidySharp | MopidySharp/Models/JsonRpcs/JsonRpcQuery.cs | 172 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recognition_of_Handwritten_Digits.Model
{
class DigitModel
{
public byte Digit;
public byte[] DigitRepresentation;
public DigitModel(byte digit, byte[] digitRe... | 22.37037 | 65 | 0.634106 | [
"MIT"
] | dkoprowski/Recognition-of-Handwritten-Digits | Recognition-of-Handwritten-Digits/Model/DigitModel.cs | 606 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Razor.Tokenizer.Symbols
{
public enum HtmlSymbolType
{
Unknown,
Text, // Text which isn't one of the below
WhiteSpace, // Non-newlin... | 26.172414 | 133 | 0.552042 | [
"Apache-2.0"
] | Darth-Fx/AspNetMvcStack | src/System.Web.Razor/Tokenizer/Symbols/HtmlSymbolType.cs | 761 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CosmosApi.Models
{
public class UnbondingDelegation
{
/// <summary>
/// Initializes a new instance of the UnbondingDelegation class.
/// </summary>
public UnbondingDelegation()
{
}
/// <s... | 29.244444 | 125 | 0.594225 | [
"Apache-2.0"
] | usetech-llc/cosmos_api_dotnet | src/CosmosApi/Models/UnbondingDelegation.cs | 1,316 | C# |
using Rabbit.Rpc.Address;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Rabbit.Rpc.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation
{
/// <summary>
/// 轮询的地址选择器。
/// </summar... | 29.046296 | 131 | 0.536181 | [
"Apache-2.0"
] | cnark/Rpc | src/Rabbit.Rpc/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs | 3,257 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panosen.CodeDom.Tag.Vue.Element
{
/// <summary>
/// el-header
/// </summary>
public class ElHeaderComponent : ElementComponent
{
/// <summary>
/// el-header... | 20.85 | 64 | 0.616307 | [
"MIT"
] | panosen/panosen-codedom-tag-vue | Panosen.CodeDom.Tag.Vue.Element/ElHeaderComponent.cs | 419 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Analytics.Synapse.AccessControl.Models;
using Azure.Cor... | 45.260479 | 234 | 0.604088 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/AccessControlClient.cs | 15,117 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2020 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 31.521127 | 90 | 0.571492 | [
"Apache-2.0"
] | 103556710/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Scan/ScanJson/ScanTicketCheckJsonResult.cs | 2,508 | C# |
using MidnightLizard.Commons.Domain.Model;
using MidnightLizard.Impressions.Domain.FavoritesAggregate.Events;
using MidnightLizard.Impressions.Domain.ImpressionsAggregate;
using MidnightLizard.Impressions.Domain.ImpressionsAggregate.Events;
using System.Collections.Generic;
namespace MidnightLizard.Impressions.Domain... | 38.277778 | 125 | 0.730769 | [
"MIT"
] | Midnight-Lizard/Impression-Processor | domain/FavoritesAggregate/Favorites.cs | 1,380 | C# |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution.... | 26.933333 | 103 | 0.67256 | [
"Apache-2.0"
] | DavidMoore/Foundation | Code/Foundation.Build.VisualBasic6.VisualStudioIntegration/ProjectBase/BuildDependency.cs | 2,828 | 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... | 35.527473 | 167 | 0.61862 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.Redshift/Model/Internal/MarshallTransformations/EventCategoriesMapUnmarshaller.cs | 3,233 | C# |
using System.Threading.Tasks;
namespace CP.Final.Mincifra.SharedKernel.Interfaces
{
public interface IHandle<in T> where T : BaseDomainEvent
{
Task Handle(T domainEvent);
}
} | 21.777778 | 60 | 0.709184 | [
"MIT",
"Unlicense"
] | nkiruhin/CP.Final.Mincifra | CP.Final.Mincifra/src/CP.Final.Mincifra.SharedKernel/Interfaces/IHandle.cs | 198 | C# |
using System.IO;
using ApprovalTests.Core;
namespace ApprovalTests.Tests
{
public class CleanupReporter : IApprovalFailureReporter
{
public void Report(string approved, string received)
{
File.Delete(received);
}
public bool ApprovedWhenReported()
... | 20.722222 | 61 | 0.576408 | [
"Apache-2.0"
] | GerHobbelt/ApprovalTests.Net | src/ApprovalTests.Tests/CleanupReporter.cs | 358 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.