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 |
|---|---|---|---|---|---|---|---|---|
// <copyright file="SoundTime.cs" company="KinsonDigital">
// Copyright (c) KinsonDigital. All rights reserved.
// </copyright>
namespace CASL
{
/// <summary>
/// Represents a time value of a sound.
/// </summary>
/// <remarks>
/// This could represent the current position or the length of a s... | 28.595745 | 87 | 0.547619 | [
"MIT"
] | KinsonDigital/CASL | CASL/SoundTime.cs | 1,346 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Acme.BookStore.Migrations
{
public partial class Added_Books : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AppBooks",
... | 49.785714 | 122 | 0.568627 | [
"MIT"
] | antosubash/BookStore | src/Acme.BookStore.EntityFrameworkCore.DbMigrations/Migrations/20210214141311_Added_Books.cs | 2,093 | 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
// (th... | 31.149254 | 83 | 0.726881 | [
"Apache-2.0"
] | gecambridge/logging-log4net | tests/src/Util/PropertiesDictionaryTest.cs | 2,087 | C# |
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraGrid.Columns;
using Tabular.Types;
namespace Tabular.GridColumnExtensions
{
public class IntSpinEditGridColumn: GridColumn
{
public IntSpinEditGridColumn()
{
Init();
}
public IntSpinEditGridColumn(IntSpi... | 25.55 | 70 | 0.599804 | [
"Apache-2.0"
] | jtermine/tabular | Tabular/GridColumnExtensions/IntSpinEditGridColumn.cs | 1,024 | C# |
using System;
namespace Drenalol.TcpClientIo.Batches
{
/// <summary>
/// TcpBatch creation or update rules
/// </summary>
public class TcpBatchRules<TResponse>
{
/// <summary>
/// Creating rule of <see cref="ITcpBatch{TResponse}"/>
/// </summary>
public Func<TRespon... | 29.216216 | 95 | 0.523589 | [
"MIT"
] | Drenalol/TcpClientDuplex | TcpClientIo.Core/Batches/TcpBatchRules.cs | 1,083 | C# |
using System;
using System.Collections.Generic;
using CreepyTowers.Avatars;
using CreepyTowers.Content;
using DeltaEngine.Content;
using DeltaEngine.Entities;
using DeltaEngine.Scenes;
using DeltaEngine.Scenes.Controls;
namespace $safeprojectname$.GUI
{
public class AvatarSelectionMenu : Menu
{
public... | 29.991189 | 95 | 0.718566 | [
"Apache-2.0"
] | DeltaEngine/DeltaEngine | VisualStudioTemplates/Delta Engine/CreepyTowers/GUI/AvatarSelectionMenu.cs | 6,808 | C# |
using System.Diagnostics.CodeAnalysis;
using HarmonyLib;
namespace SolastaCommunityExpansion.Patches.GameUi.Battle;
[HarmonyPatch(typeof(BattleState_Victory), "Update")]
[SuppressMessage("Minor Code Smell", "S101:Types should be named in PascalCase", Justification = "Patch")]
internal static class BattleState_Victor... | 31.617647 | 106 | 0.651163 | [
"MIT"
] | ChrisPJohn/SolastaCommunityExpansion | SolastaCommunityExpansion/Patches/GameUi/Battle/BattleState_VictoryUpdatePatcher.cs | 1,077 | C# |
namespace NKnockoutUI.Tree
{
public class Handlers
{
public string SelectNode { get; set; }
public string AddNode { get; set; }
public string RenameNode { get; set; }
public string DeleteNode { get; set; }
public string MoveNode { get; set; }
public string Double... | 29.2 | 47 | 0.591324 | [
"MIT"
] | madcapnmckay/Knockout-UI | connectors/NKnockoutUI/Tree/Handlers.cs | 440 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WinFormsMVC.Controller;
using WinFormsMVC.Facade;
using WinFormsMVC.Services;
using WinFormsMVC.View;
using WinFormsMVCSample.View;
using WinFormsMVCSample.Co... | 27.66 | 99 | 0.602314 | [
"MIT"
] | belre/WinFormsMVC | WinFormsMVCSample/UserApplicationContext.cs | 1,457 | C# |
using Microsoft.AspNetCore.Mvc;
using Pierres.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Identity;
using System.Threading.Tasks;
using Pierres.ViewModels;
namespace Pierres.Controllers
{
public class AccountController : Controller
{
private readonly PierresContext _db;
pri... | 24.72973 | 173 | 0.673224 | [
"MIT"
] | zakkreyshort/PierresSweetTreats | Pierres/Controllers/AccountController.cs | 1,830 | C# |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace xTask;
public interface ITaskEntry
{
IEnumerable<string> Aliases { get; }
ITask Task { get; }
}
| 24.909091 | 101 | 0.722628 | [
"MIT"
] | JeremyKuhne/MacIO | xTask/Tasks/ITaskEntry.cs | 276 | 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... | 40.772059 | 195 | 0.630658 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/FinSpaceData/Generated/Model/Internal/MarshallTransformations/CreateDataViewResponseUnmarshaller.cs | 5,545 | 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 https://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespac... | 44.132075 | 120 | 0.64985 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ssyp-ru/ssyp-ws09 | TheGrapho.Parser/Syntax/DotAttributeListSyntax.cs | 2,341 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestGame2D
{
public class Map : GameObject
{
public override void Click()
{
}
}
}
| 14.529412 | 36 | 0.651822 | [
"MIT"
] | Devdood/Bridge.NET-MMORPG | TestGame2D/Models/Map.cs | 249 | C# |
#pragma checksum "C:\Users\X\RiderProjects\Learn2Play\Learn2Play\WebApp\Views\SongChords\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c318659bd8a18ea07e93236ad74da48f5364eada"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(ty... | 61.804598 | 300 | 0.694749 | [
"MIT"
] | JanekV/Learn2Play | Learn2Play/WebApp/obj/Debug/netcoreapp2.2/Razor/Views/SongChords/Index.g.cshtml.cs | 16,131 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GeoSphereBaseFaces
{
public static readonly int baseFacesCount = 80;
public static readonly Vector3[] vertices = new Vector3[] {
new Vector3(-0.4472136f, 0.8506508f, -0.2763932f),
new Vector3(-... | 29.489051 | 63 | 0.483663 | [
"MIT"
] | 45545xax/WorldMaker | Assets/Scripts/Geosphere/GeoSphereBaseFaces.cs | 4,042 | C# |
namespace CookWithMe.Services.Data.Lifestyles
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CookWithMe.Data.Common.Repositories;
using CookWithMe.Data.Models;
using CookWithMe.Services.Mapping;
using CookWithMe.Services.Models.... | 31.877193 | 107 | 0.583654 | [
"MIT"
] | VioletaKirova/CookWithMe | Services/CookWithMe.Services.Data/Lifestyles/LifestyleService.cs | 3,636 | C# |
using AllureSpecFlow;
using TechTalk.SpecFlow.Bindings;
using TechTalk.SpecFlow.Plugins;
using TechTalk.SpecFlow.Tracing;
using TechTalk.SpecFlow.UnitTestProvider;
[assembly: RuntimePlugin(typeof(AllurePlugin))]
namespace AllureSpecFlow
{
public class AllurePlugin : IRuntimePlugin
{
public void Initi... | 37.826087 | 120 | 0.750575 | [
"MIT"
] | DanielVuurboom/Allure.NUnit | AllureSpecFlow/AllurePlugin.cs | 872 | 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.
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.An... | 37.376623 | 146 | 0.596363 | [
"Apache-2.0"
] | avdinfotech/EntityFramework | src/Microsoft.Data.Entity.SqlServer/SqlServerDataStoreCreator.cs | 8,634 | C# |
using UnityEngine;
using System.Collections;
[AddComponentMenu("Alterations/Hue Alteration")]
public class HueAlteration : ObjectAlteration
{
bool isSet;
public Color ColorAlteration;
Color originalColor;
// Use this for initialization
public override void Set()
{
isSet = true;
... | 23.428571 | 60 | 0.660061 | [
"MIT"
] | justinmchase/GameCraftMN | src/Assets/Scripts/Alterations/HueAlteration.cs | 658 | 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;
namespace Reaqtor.ReificationFramework
{
/// <summary>
/// Operation to repeat an ... | 29.461538 | 81 | 0.656658 | [
"MIT"
] | Botcoin-com/reaqtor | Reaqtor/Core/Testing/Reaqtor.ReificationFramework/Operations/RepeatUntil.cs | 768 | C# |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
namespace Sce.Atf.Dom
{
/// <summary>
/// Adapts a DOM node to implement IDocument</summary>
public class DomDocument : DomResource, IDocument
{
#region IDocument Members
/// <summa... | 26.206349 | 96 | 0.502726 | [
"Apache-2.0"
] | StirfireStudios/ATF | Framework/Atf.Core/Dom/DomDocument.cs | 1,592 | C# |
using static TensorShader.VariableNode;
namespace TensorShader {
public partial class Field {
/// <summary>符号</summary>
public static Field Sign(Field x) {
Field y = new();
Link link = new Links.UnaryArithmetric.Sign(x, y);
link.Forward();
return y;... | 24.4 | 62 | 0.569672 | [
"MIT"
] | tk-yoshimura/TensorShader | TensorShader/Links/UnaryArithmetric/Sign.cs | 760 | C# |
// <copyright file="RiakIndexId.cs" company="Basho Technologies, Inc.">
// Copyright 2011 - OJ Reeves & Jeremiah Peschka
// Copyright 2014 - Basho Technologies, Inc.
//
// This file is provided to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file
// except in compliance with ... | 38.606557 | 138 | 0.565322 | [
"Apache-2.0"
] | askovsgaard/riak-dotnet-client | src/RiakClient/Models/RiakIndexId.cs | 6,883 | C# |
using Brakt.Bot.Formatters;
using Brakt.Bot.Identification;
using Brakt.Bot.Interpretor;
using Brakt.Client;
using DSharpPlus.EventArgs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Brakt.Bot.Commands
... | 37.361702 | 250 | 0.692483 | [
"MIT"
] | mark-roberts1/Brakt | Brakt.Bot/Commands/ResultsCommandHandler.cs | 1,758 | C# |
using System;
using NUnit.Framework;
namespace UnityEngine.Analytics.Tests
{
public partial class AnalyticsEventTests
{
[Test]
public void TutorialStep_StepIndexTest(
[Values(-1, 0, 1)] int stepIndex
)
{
Assert.DoesNotThrow(() => m_Result ... | 29.35 | 116 | 0.573254 | [
"Unlicense"
] | ArnaudTang/PinguinGame | EmptyProject/Library/PackageCache/com.unity.analytics@3.6.11/Tests/Editor/TutorialStepTests.cs | 1,174 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gs.Services
{
public interface IDataStore<T>
{
Task<bool> AddItemAsync(T item);
Task<bool> UpdateItemAsync(T item);
Task<bool> DeleteItemAsync(string id);
Task<T> GetItemAsync(string id);
... | 24.8125 | 70 | 0.677582 | [
"MIT"
] | lisleitora/XF.HeaderShell | gs/Services/IDataStore.cs | 399 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows;
using System.Windows.Controls;
namespace sistemaAlumnosITAM
{
class Conexion
{
public static SqlConnection conectar()
{
... | 24.517241 | 126 | 0.536803 | [
"MIT"
] | CaDe27/DAI | SistemaAlumnos/sistemaAlumnosITAM/sistemaAlumnosITAM/Conexion.cs | 2,138 | C# |
using UnityEngine;
namespace Mirror.Examples.Additive
{
[RequireComponent(typeof(CharacterController))]
public class PlayerController : NetworkBehaviour
{
CharacterController characterController;
public float moveSpeed = 300f;
public float maxTurnSpeed = 90f;
public float t... | 29.775701 | 110 | 0.576899 | [
"Unlicense"
] | AceofGrades/MultiInvaders | Assets/Plugins/Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs | 3,186 | C# |
namespace SideBySide;
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
lock (s_lock)
{
if (!s_isInitialized)
{
// increase the number of worker threads to reduce number of spurious failures from threadpool starvation
ThreadPool.SetMinThreads(64, 64);
var csb = AppConfig.... | 21.338983 | 109 | 0.671168 | [
"MIT"
] | memsql/MySqlConnector | tests/SideBySide/DatabaseFixture.cs | 1,259 | C# |
using System;
using System.Reflection;
namespace ModComponentAPI
{
public class TypeResolver
{
public static Type Resolve(string name)
{
Type result = Type.GetType(name, false);
if (result != null)
{
return result;
}
... | 26.482759 | 111 | 0.503906 | [
"MIT"
] | WulfMarius/ModComponent | ModComponentAPI/src/TypeResolver.cs | 770 | C# |
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using PuppeteerSharp.Xunit;
using PuppeteerSharp.Tests.Attributes;
namespace PuppeteerSharp.Tests.QuerySelectorTests
{
[Collection(TestConstants.TestFixtureCollectionName)]
public class PageQuerySelectorTests : PuppeteerPageBaseTest
{
... | 32.529412 | 91 | 0.673599 | [
"MIT"
] | Androbin/puppeteer-sharp | lib/PuppeteerSharp.Tests/QuerySelectorTests/PageQuerySelectorTests.cs | 1,106 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using BankWepApi.Models;
using BankWepApi.Repositories;
using BankWepApi.Services;
namespace BankWepApi.Controllers
{
... | 25.183099 | 69 | 0.587808 | [
"MIT"
] | MikkoTKaipainen/bank-web-api | BankWepApi/Controllers/BanksController.cs | 1,790 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Redis.Fluent.Models
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using System.Collections.Generic;... | 37.368421 | 95 | 0.723944 | [
"MIT"
] | AntoineGa/azure-libraries-for-net | src/ResourceManagement/RedisCache/TlsVersion.cs | 710 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
//
// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
// https://github.com/Microsoft/ProjectOxford-ClientSDK
... | 32.474747 | 103 | 0.644168 | [
"MIT"
] | ActiveNick/Xamarin-smarter-apps | talk/employee-directory/1. Starting/Microsoft.ProjectOxford.Face/FaceAPIException.cs | 3,217 | 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... | 29.914894 | 81 | 0.604552 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/HybridCompute/V20210520/Inputs/LocationDataArgs.cs | 1,406 | C# |
using Azure;
using Kaiyuanshe.OpenHackathon.Server.Biz;
using Kaiyuanshe.OpenHackathon.Server.Biz.Options;
using Kaiyuanshe.OpenHackathon.Server.Cache;
using Kaiyuanshe.OpenHackathon.Server.Models;
using Kaiyuanshe.OpenHackathon.Server.Storage;
using Kaiyuanshe.OpenHackathon.Server.Storage.Entities;
using Kaiyu... | 44.646341 | 218 | 0.598361 | [
"MIT"
] | kaiyuanshe/open-hackathon-api | src/open-hackathon-server/Kaiyuanshe.OpenHackathon.ServerTests/Biz/EnrollmentManagementTests.cs | 18,307 | C# |
/*
Copyright (c) Microsoft Corporation
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
THIS CODE IS PROVIDED *AS IS* BASIS, W... | 40.518967 | 201 | 0.508655 | [
"Apache-2.0"
] | MicrosoftResearch/Dryad | DryadLinqTests/GroupByReduceTests.cs | 50,203 | C# |
using System;
using System.Runtime.ExceptionServices;
using System.Linq;
namespace System.Collections.Generic
{
internal static class DotnetPepperEnumerableExtensions
{
internal class ForEachError<T>
{
internal ForEachError(T item, long itemIndex, Exception ex)
{
... | 33.782051 | 143 | 0.523719 | [
"MIT"
] | stueeey/DotnetPepper.LanguageExtensions | src/DotnetPepper.EnumerableExtensions/DotnetPepperEnumerableExtensions.dnp.cs | 2,637 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Mono.Options;
using Mono.Profiler.Aot;
using static System.Console;
namespace aotprofiletool {
class MainClass {
static readonly string Name = "aotprofile-tool";
static bool Methods;
static bool Modul... | 26.495652 | 139 | 0.616508 | [
"MIT"
] | radekdoulik/aotprofile-tool | Program.cs | 6,096 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GunGesture : GestureBase
{
public EHand m_Hand;
FingerExtendedDetails m_GestureDetail;
void Start()
{
m_GestureDetail.bThumbExtended = true;
m_GestureDetail.bIndexExtended = true;
m_G... | 20.421053 | 91 | 0.659794 | [
"MIT"
] | KaiArch2014/HUD-with-Leap-Motion | Assets/LeapMotionGestureDetection/GestureDetection/Scripts/Gestures/GunGesture.cs | 778 | 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("AWSSDK.CostAndUsageReport")]
[assembly: As... | 49.59375 | 303 | 0.753623 | [
"Apache-2.0"
] | rluetzner/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/CostAndUsageReport/Properties/AssemblyInfo.cs | 1,587 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 28.608696 | 81 | 0.630699 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/AnalysisServices/V20170714/Outputs/GatewayDetailsResponse.cs | 1,316 | 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("Log... | 37.243243 | 84 | 0.745283 | [
"MIT"
] | Xetier/HW0Refactor | LogIn/LogIn/Properties/AssemblyInfo.cs | 1,381 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressbookTests
{
[TestFixture]
public class LoginTests : TestBase
{
[Test]
public void LoginWithValidCredentials()
{
... | 25.21875 | 72 | 0.604709 | [
"Apache-2.0"
] | SuhanovPV/csharp-training | addressbook-web-tests/addressbook-web-tests/addressbook-web-tests/tests/LoginTests.cs | 811 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace J... | 27.643243 | 173 | 0.446422 | [
"MIT"
] | aiqinxuancai/JPAIUEO | JPAIUEO/Properties/Resources.Designer.cs | 6,738 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO.Ports;
using Microsoft.Azure.Devices; // Added from SendClou... | 36.534722 | 210 | 0.506732 | [
"MIT"
] | jerrychong25/TrafficLightSystem | MonitoringSoftware/1.0.5/InnovateTraffic/Form1.cs | 63,134 | C# |
using System;
using System.IO;
using System.Runtime.Serialization;
using NW.WIDJobs.Validation;
namespace NW.WIDJobs.Files
{
/// <inheritdoc cref="IFileInfoAdapter"/>
public class FileInfoAdapter : IFileInfoAdapter
{
#region Fields
private FileInfo _fileInfo;
#endregion
... | 31.252941 | 120 | 0.589497 | [
"MIT"
] | numbworks/NW.WIDJobs | src/NW.WIDJobs/Files/FileInfoAdapter.cs | 5,315 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.B... | 44.031579 | 115 | 0.548888 | [
"MIT"
] | Aleeeesz/osu | osu.Game/Screens/Edit/Setup/DifficultySection.cs | 4,089 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Singleton<T> : UnityEngine.MonoBehaviour where T:Singleton<T>
{
private static List<T> instances = new List<T>();
public static T Instance
{
get
{
... | 24.037037 | 75 | 0.531587 | [
"MIT"
] | SardineFish/MAJIKA | Assets/Scripts/Utility/Singleton.cs | 651 | 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("Re... | 37.540541 | 84 | 0.743701 | [
"MIT"
] | AbhishekHumagainOutcode/RedisForNetDevelopers | 6.RedisSet/RedisSet/Properties/AssemblyInfo.cs | 1,392 | C# |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.Json.Schema.TestUtilities;
using Microsoft.Json.Schema.... | 32.61955 | 821 | 0.565304 | [
"Apache-2.0"
] | Microsoft/jschema | src/Json.Schema.ToDotNet.UnitTests/DataModelGeneratorTests.cs | 163,850 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EngageHit : MonoBehaviour
{
private DamageChecker dCheck;
[SerializeField] private float damage;
public float Damage { get { return damage; } set { damage = value; } }
private void Start() {
dCheck = t... | 27.777778 | 74 | 0.68 | [
"MIT"
] | LocketGoma/YYT_20_Battle | Assets/Script/Charactor/EngageHit.cs | 752 | C# |
using Munchkin.Core.Model;
using System.Threading;
using System.Threading.Tasks;
namespace Munchkin.Core.Contracts.Actions
{
public abstract class MultiShotAction : DynamicAction, IMultiShotAction<Table>
{
private int _executionsLeft;
protected MultiShotAction(int executionCount, string title... | 27.535714 | 114 | 0.670558 | [
"Apache-2.0"
] | walking-down-the-silence/munchkin | src/Munchkin.Core/Contracts/Actions/MultiShotAction.cs | 773 | C# |
using System;
using PubComp.NoSql.Core;
namespace PubComp.NoSql.AdaptorTests.Mock
{
public class EntityForCalc : IEntity<Guid>
{
public Guid Id { get; set; }
public Guid OwnerId { get; set; }
public DateTime Date { get; set; }
public double Money { get; set; }
}
... | 23.142857 | 47 | 0.592593 | [
"MIT"
] | pub-comp/no-sql | NoSql.AdaptorTests/Mock/EntityForCalc.cs | 326 | C# |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2022 @Olivier Lefebvre
using Aguacongas.IdentityServer.Admin.Models;
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace Aguacongas.IdentityServer.Admin.Services
{
/// <summary>
///
/// </summary>
public interface IRegisterCli... | 37.933333 | 121 | 0.630346 | [
"Apache-2.0"
] | LibertyEngineeringMovement/TheIdServer | src/IdentityServer/Shared/Aguacongas.IdentityServer.Admin.Shared/Services/IRegisterClientService.cs | 1,709 | C# |
using Microsoft.Playwright;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Dn6Poc.DocuMgmtPortal.E2ETests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public async Task TestMethod1Async()
{
using var playwright = await ... | 37.621622 | 104 | 0.579023 | [
"MIT"
] | ongzhixian/dc6Poc | Dn6Poc.DocuMgmtPortal.E2ETests/UnitTest1.cs | 1,392 | C# |
using System;
using System.Runtime.InteropServices;
namespace Poltergeist.Core.Memory
{
public sealed unsafe class NativeStruct<T> : IDisposable where T : struct
{
// ReSharper disable once StaticMemberInGenericType
public static readonly INativeAllocator DefaultAllocator = new CoTaskMemAllocator();
public r... | 20.257576 | 94 | 0.691847 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Freddson/Poltergeist | Poltergeist.Core/Memory/NativeStruct.cs | 1,339 | C# |
//
// ICacneable.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2008 Alan McGovern
//
// 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,... | 33.341463 | 73 | 0.743965 | [
"BSD-3-Clause"
] | bietiekay/sonos-podcast-service | Libraries/OctoTorrent/OctoTorrent/Common/ICacheable.cs | 1,367 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace XPlaneGenConsole.Linq
{
public abstract class QueryProvider : IQueryProvider
{
public IQueryable CreateQuery(Expression ... | 30.465909 | 134 | 0.532637 | [
"MIT"
] | DefectiveCube/FlightDataAnalyzer | src/AnalysisLib/Linq/Provider.cs | 2,683 | C# |
using System.Collections;
using System.IO;
using UnityEngine;
namespace GLTF
{
class GLTFComponentStreamingAssets : MonoBehaviour
{
[Tooltip("This file should be in the StreamingAssets folder. Please include the file extension.")]
public string GLTFName;
public bool Multithreaded = tru... | 30.7 | 119 | 0.565472 | [
"MIT"
] | JulienPlouvier/Hololens_BouncingBall | Bouncing Ball/Assets/DesignLabs_Unity/Assets/HoloToolkit/Utilities/Scripts/GLTFComponentStreamingAssets.cs | 1,537 | C# |
#region License
/*
MIT License
Copyright (c) 2020 Americus Maximus
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, copy, modi... | 30.467742 | 78 | 0.670196 | [
"MIT"
] | americusmaximus/ImageBox | Source/ImageBox/Coloring/ColorerMatrixType.cs | 1,891 | 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("09... | 38.675676 | 84 | 0.749825 | [
"MIT"
] | emilti/Telerik-Academy-My-Courses | DataBases/03.Processing Xml/Processing XML/09.TraverseDirectoryXmlWriter/Properties/AssemblyInfo.cs | 1,434 | C# |
namespace Nop.Plugin.Payments.Manual
{
/// <summary>
/// Represents manual payment processor transaction mode
/// </summary>
public enum TransactMode
{
/// <summary>
/// Pending
/// </summary>
Pending = 0,
/// <summary>
/// Authorize
/// </su... | 18.76 | 60 | 0.490405 | [
"MIT"
] | ASP-WAF/FireWall | Samples/NopeCommerce/Plugins/Nop.Plugin.Payments.Manual/TransactMode.cs | 469 | C# |
using DarkRift;
using DarkRift.Client;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LobbyManager : MonoBehaviour
{
public static LobbyManager Instance;
[Header("References")]
public Transform RoomListContainerTransform;
[Header("Prefabs")]
public GameObject RoomListPrefab;
... | 27.010101 | 108 | 0.585639 | [
"MIT"
] | Mrgove10/HouseWars | HouseWars/Assets/_CLIENT/Scripts/Networking/LobbyManager.cs | 2,676 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace Snikt
{
public class Database : IDatabase, IDisposable
{
public IDbConnectionFactory ConnectionFactory { get; private set; }
public IDbConnection Conn... | 33.688525 | 178 | 0.550365 | [
"MIT"
] | alertbox/snikt | Snikt/Database.cs | 4,112 | C# |
namespace DataAccessLayer.Models
{
public class LogoutRequest
{
public string token;
}
}
| 11.2 | 32 | 0.633929 | [
"MIT"
] | CECS-491A/SSO | Backend/DataAccessLayer/Models/LogoutRequest.cs | 114 | C# |
using System;
namespace _01._Integer_Operations
{
class Program
{
static void Main(string[] args)
{
int first = int.Parse(Console.ReadLine());
int second = int.Parse(Console.ReadLine());
int third = int.Parse(Console.ReadLine());
int fourth = int... | 26.409091 | 58 | 0.580034 | [
"MIT"
] | mertmzzx/SoftUni-Exercises | Programming Fundamentals/Data Types and Variables - Exercise/01. Integer Operations/Program.cs | 583 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... | 52.605882 | 160 | 0.615342 | [
"MIT"
] | MedAnd/service-fabric-client-dotnet | src/Microsoft.ServiceFabric.Client.Http/Generated/Serialization/ChaosStartedEventConverter.cs | 8,943 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 03.02.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 30.206452 | 227 | 0.570483 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_002__AS_STR/Divide/Complete/DECIMAL_6_1/NUMERIC_6_1/TestSet_001__fields.cs | 4,684 | C# |
using UnityEngine;
using System.Collections;
public class HomingAttackControl : MonoBehaviour
{
public bool HasTarget { get; set; }
public static GameObject TargetObject { get; set; }
public ActionManager Actions;
public float TargetSearchDistance = 10;
public Transform Icon;
public float Ico... | 25.107143 | 106 | 0.584282 | [
"BSD-3-Clause"
] | dudemancart456/HedgePhysics | HedgePhysics/Assets/GameplayScripts/HomingAttackControl.cs | 2,814 | C# |
using System;
namespace nats_ui.Data.Scripts
{
public abstract class AbstractScriptCommand : IScriptCommand
{
public virtual string ParamName1 { get; } = null;
public virtual string ParamName2 { get; } = null;
public string Name => GetType().Name;
public string Param1 { get; s... | 33.566667 | 165 | 0.613704 | [
"Unlicense"
] | fremag/nats-ui | Data/Scripts/AbstractScriptCommand.cs | 1,007 | C# |
using MedianFinder.Managers;
using MedianFinder.Services;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace MedianFinder.Test.Unit.Managers
{
public class FolderManagerTest : IDisposable
{
Mock<IFolderParserService> moqFolderParserService = null;
... | 40.166667 | 145 | 0.562052 | [
"MIT"
] | singhrahulnet/MedianFinder | MedianFinder.Test/Unit/Managers/FolderManagerTest.cs | 2,653 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EasyHackerNews
{
public partial class Form1 : Form
{
private NotifyIcon trayIc... | 29.203883 | 109 | 0.551197 | [
"MIT"
] | amit-mittal/Easy-HackerNews | src/Form1.cs | 3,010 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Numerics;
namespace CalcIP
{
public static class Split
{
public static int PerformSplit(string[] args)
{
if (args.Length < 3)
{
Program.UsageAndExi... | 38.693182 | 119 | 0.520999 | [
"CC0-1.0"
] | RavuAlHemio/CalcIP | src/CalcIP/Split.cs | 6,810 | C# |
//===================================================
// ファイル名 :Car.cs
// 概要 :ギアの制御
// 作成者 :謝 敬鴻
// 作成日 :2019.03.29
//===================================================
using UnityEngine;
namespace AIM
{
public class Gearbox : MonoBehaviour
{
[Header("パラメータ")]
public float[] gearRatio;
pub... | 17.181818 | 54 | 0.433862 | [
"MIT"
] | 17cuA/AimRacing11 | AimRacing2019_05_31/AimRacing2019_05_31/Assets/Course/Scripts/Car/Gearbox.cs | 440 | 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("1.... | 38.027027 | 84 | 0.744136 | [
"MIT"
] | bstaykov/Telerik-CSharp-Part-1 | Conditional-Statements/1.Exchange-Values/Properties/AssemblyInfo.cs | 1,410 | 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 Microsoft.DotNet.Interactive.Commands;
using Microsoft.DotNet.Interactive.Formatting;
namespace Microsoft.DotNet.Interactiv... | 34.93617 | 121 | 0.642509 | [
"MIT"
] | AngelusGi/interactive | src/Microsoft.DotNet.Interactive/Events/DisplayedValue.cs | 1,644 | C# |
// <auto-generated>
// 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
// re... | 37.766667 | 312 | 0.616652 | [
"MIT"
] | 216Giorgiy/azure-sdk-for-net | src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseContract.cs | 3,399 | C# |
using System;
using BEPUphysics.Entities;
using BEPUutilities;
namespace BEPUphysics.Constraints.SingleEntity
{
/// <summary>
/// Prevents the target entity from moving faster than the specified speeds.
/// </summary>
public class MaximumLinearSpeedConstraint : SingleEntityConstraint, I3DI... | 38.130653 | 146 | 0.563785 | [
"Apache-2.0"
] | Anomalous-Software/BEPUPhysics | BEPUphysics/Constraints/SingleEntity/MaximumLinearVelocityConstraint.cs | 7,590 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using Intel.RealSense;
using UnityEngine;
public abstract class RsFrameProvider : MonoBehaviour
{
public bool Streaming { get; protected set; }
public PipelineProfile ActiveProfile { get; protected set; }
public abstract event Actio... | 26.176471 | 64 | 0.777528 | [
"Apache-2.0"
] | Kare-em/Rsvfx | Assets/RealSenseSDK2.0/Scripts/RsFrameProvider.cs | 445 | 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("Ex... | 37.891892 | 84 | 0.747504 | [
"MIT"
] | Zabaa/Exchange | Exchange.Infrastructure/Properties/AssemblyInfo.cs | 1,404 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Batch
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
... | 38.305284 | 185 | 0.57934 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/Batch/Client/Src/Azure.Batch/UtilitiesInternal.cs | 19,576 | C# |
using DerekHoneycutt.Data.Services.Interface;
using MailKit.Net.Smtp;
using Microsoft.Extensions.Options;
using MimeKit;
using MimeKit.Text;
using System.Threading.Tasks;
namespace DerekHoneycutt.Data.Services.Implementation
{
/// <summary>
/// Email service for sending emails to users
/// </summary>
... | 36.142857 | 90 | 0.6262 | [
"Unlicense"
] | derekshoneycutt/DerekHoneycu | DerekHoneycutt.Data/Services/Implementation/EmailService.cs | 1,773 | C# |
using Facebook.CSSLayout;
using System.Collections.Generic;
using System.Linq;
namespace ReactNative.UIManager
{
/// <summary>
/// Property keys for React views.
/// </summary>
public static class ViewProps
{
#pragma warning disable CS1591
public const string ViewClassName = "RCTView";
... | 39.402299 | 178 | 0.603559 | [
"MIT"
] | samaleksov/one-script-rule-all | react-native-windows/ReactWindows/ReactNative.Shared/UIManager/ViewProps.cs | 6,858 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1016_18c2-3912aee9")]
public void Method_1016_18c2()
{
ii(0x1016_18c2, 5); push(0x20); ... | 77.284404 | 112 | 0.459995 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-1016-18c2.cs | 8,424 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Weborb.Writer
{
class IntegerWriter : AbstractUnreferenceableTypeWriter
{
public override void write( object obj, IProtocolFormatter writer )
{
writer.WriteInteger( Convert.ToInt32(obj) );
... | 22.333333 | 76 | 0.650746 | [
"Apache-2.0"
] | Acidburn0zzz/.NET-SDK | Backendless/WebORB/Writer/IntegerWriter.cs | 335 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.ContentModerator.AMSComponentClient
{
/// <summary>
/// Represents a FrameGener... | 44.541176 | 186 | 0.556656 | [
"MIT"
] | MicrosoftContentModerator/VideoReviewConsoleApp | Microsoft.ContentModerator.AMSComponent/AMSComponentClient/FrameGeneratorService.cs | 7,574 | C# |
using System;
namespace LobbyWebServer.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | 21.363636 | 58 | 0.702128 | [
"MIT"
] | jpate86/WebLobby | src/LobbyWebServer/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs | 235 | C# |
using ActViz.Helpers;
using ActViz.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Security.Credentials;
using Windows.Storage;
namespace ActViz.ViewModels
{
public class DatabaseConnectionViewModel : ObservableObject
... | 36.226601 | 139 | 0.582132 | [
"MIT"
] | TinghuiWang/ActViz | ActViz/ViewModels/DatabaseConnectionViewModel.cs | 7,356 | C# |
using HL7Data.Contracts.Messages.ScheduleInformationUnsolicitedMessages;
using HL7Data.Models.Types;
namespace HL7Data.Models.Messages.ScheduleInformationUnsolicitedMessages
{
public class NotificationAdditionOfServiceResourceOnAppointment : BaseScheduleInformationUnsolicitedMessage, INotificationAdditionOfService... | 44.4 | 164 | 0.86036 | [
"MIT"
] | amenkes/HL7Parser | Models/Messages/ScheduleInformationUnsolicitedMessages/NotificationAdditionOfServiceResourceOnAppointment.cs | 444 | 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... | 30 | 106 | 0.627083 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/DynamoDBv2/Generated/Model/DescribeContributorInsightsRequest.cs | 2,400 | 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 Microsoft.AspNet.Mvc;
namespace RazorWebSite.Controllers
{
public class PartialsWithLayoutController : Controller
{
public IActio... | 33.5625 | 111 | 0.673184 | [
"Apache-2.0"
] | VGGeorgiev/Mvc | test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs | 1,074 | C# |
using System;
using System.Collections.Generic;
namespace Seif.Rpc.Invoke
{
public interface IInvocation
{
string TraceId { get; set; }
string ServiceName { get; set; }
string MethodName { get; set; }
IList<object> Parameters { get; set; }
IDictionary<string,... | 25.928571 | 61 | 0.600551 | [
"MIT"
] | tukzer/Seif | Seif.Rpc/Invoke/IInvocation.cs | 365 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class GameDirector : MonoBehaviour
{
public PauseSystem stateManager;
public GameState prevStatate;
public int currentJellies;
public Transform[] jellyPoints;
public GameObject player;
pub... | 28.984 | 115 | 0.587083 | [
"MIT"
] | Lost-Roe/mighty_chancla_ggj_2021 | Assets/Enemy AI/scripts/player/GameDirector.cs | 3,623 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class hideGrid : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (isHistoryPressed.isPressed)
... | 18 | 52 | 0.577778 | [
"MIT"
] | MIT-RH-2/spaceAR | Assets/hideGrid.cs | 452 | C# |
using JsonApiDotNetCore.Models;
using JsonApiDotNetCore.Hooks;
using System.Collections.Generic;
using Xunit;
using JsonApiDotNetCore.Builders;
using JsonApiDotNetCore.Internal;
using JsonApiDotNetCore.Internal.Contracts;
using System;
using JsonApiDotNetCore.Configuration;
using Microsoft.Extensions.DependencyInjectio... | 48.509259 | 180 | 0.705096 | [
"MIT"
] | CrshOverride/JsonApiDotNetCore | test/UnitTests/ResourceHooks/DiscoveryTests.cs | 5,239 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("FooBar")]
[assembly: AssemblyCopyright("Copyright © Benjamin Nitschke 2018")]
[assembly: ComVisible(false)]
[assembly: Guid("1c9267eb-8e6a-4600-b6e1-661fbeb83e15")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVe... | 33.8 | 67 | 0.769231 | [
"Apache-2.0"
] | BenjaminNitschke/BibInh18g | FooBar/Properties/AssemblyInfo.cs | 341 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Shopper.Core.Entities;
using Shopper.Core.Interfaces;
using Shopper.Web.ViewModel;
using System.Linq;
using System.Text.Json;
namespace Shopper.Web.Controllers
{
public class CartController : Controll... | 35.640777 | 116 | 0.657042 | [
"Unlicense"
] | infazrumy/.net-core-mvc-online-shop | Shopper.Web/Controllers/CartController.cs | 3,673 | C# |
using System;
using System.Drawing;
using BrailleIO.Interface;
namespace BrailleIO.Renderer
{
/// <summary>
/// Place a content-matrix in a matrix that fits in a given view with aware of the BoxModel.
/// </summary>
public class BrailleIOViewMatixRenderer : BrailleIOHookableRendererBase, IBra... | 49.459677 | 179 | 0.546878 | [
"BSD-2-Clause"
] | TUD-INF-IAI-MCI/BrailleIO | BrailleIO/Renderer/BrailleIOViewMatixRenderer.cs | 6,135 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.