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;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine.Analytics;
public class GameMaster : MonoBehaviour
{
public GameObject restartPanel;
public Text score;
public float timer;
private fl... | 23.235294 | 75 | 0.549367 | [
"MIT"
] | thiagos98/Drag-Zombies | Assets/Scripts/GameMaster.cs | 1,582 | C# |
namespace LigerShark.Templates.Extensions {
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
public static class HttpContentExtensions {
public static async Task ReadAsFileAsync(this HttpContent content, string filename, bool overwrite) {
stri... | 36.952381 | 114 | 0.636598 | [
"Apache-2.0"
] | AesisGit/side-waffle | LigerShark.Templates/Extensions/HttpContentExtensions.cs | 778 | C# |
namespace Shared.Domains.Enumerations
{
public enum QueryType
{
Equal,
LessThan,
GreaterThan,
LessThanOrEqual,
GreaterThanOrEqual
}
} | 17.181818 | 37 | 0.582011 | [
"MIT"
] | RomeshAbeyawardena/Shared | Shared.Domains/Enumerations/QueryType.cs | 189 | C# |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Iris.DataLayer;
using Iris.DomainClasses;
using Iris.ServiceLayer.Contracts;
using Microsoft.AspNet.Identity;
namespace Iris.ServiceLayer
{
public class ApplicationRoleManager : RoleManager<CustomRol... | 32.045045 | 97 | 0.562272 | [
"MIT"
] | AmirChabok/IrisStore | Iris.ServiceLayer/ApplicationRoleManager.cs | 3,559 | C# |
using GeneXus.Utils;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace GeneXus.WebControls
{
public class WebControl
{
public string ID { get; internal set; }
public Color ForeColor { get; internal set; }
public Color BackColor { get; internal set; }
public Unit BorderWidth { ge... | 23.5 | 69 | 0.64515 | [
"Apache-2.0"
] | genexuslabs/DotNetClasses | dotnet/src/dotnetcore/GxClasses.Web/View/WebControl.cs | 2,773 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | 49.700092 | 238 | 0.649526 | [
"MIT"
] | GitHubPang/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/AbstractSpeculationAnalyzer.cs | 54,026 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 37.851852 | 109 | 0.770385 | [
"Apache-2.0"
] | gnurg/aws-sdk-net | sdk/src/Core/Properties/AssemblyInfo.cs | 3,066 | C# |
// Copyright © 2017-2020 Chromely Projects. All rights reserved.
// Use of this source code is governed by Chromely MIT licensed and CefSharp BSD-style license that can be found in the LICENSE file.
using CefSharp;
using CefSharp.Handler;
using Chromely.Core.Configuration;
using Chromely.Core.Network;
namespace Chro... | 43.25 | 249 | 0.695771 | [
"MIT"
] | GerHobbelt/Chromely.CefSharp | src/Chromely.CefSharp/Browser/Handlers/DefaultRequestHandler.cs | 3,290 | C# |
using Xms.Core.Data;
using Xms.Data.Import.Domain;
namespace Xms.Data.Import.Data
{
/// <summary>
/// 导入文件仓储
/// </summary>
public class ImportFileRepository : DefaultRepository<ImportFile>, IImportFileRepository
{
public ImportFileRepository(IDbContext dbContext) : base(dbContext)
... | 22.666667 | 92 | 0.655882 | [
"MIT"
] | 861191244/xms | Libraries/Data/Xms.Data.Import/Data/ImportFileRepository.cs | 354 | C# |
using NeoCA.Application.Models.Authentication;
using System.Threading.Tasks;
namespace NeoCA.Application.Contracts.Identity
{
public interface IAuthenticationService
{
Task<AuthenticationResponse> AuthenticateAsync(AuthenticationRequest request);
Task<RegistrationResponse> RegisterAsync(Regist... | 36.428571 | 86 | 0.794118 | [
"Apache-2.0"
] | NeoSOFT-Technologies/netcore-template | Content/src/Core/NeoCA.Application/Contracts/Identity/IAuthenticationService.cs | 512 | 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... | 39.746914 | 152 | 0.597453 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/SecurityInsights/V20210401/IncidentComment.cs | 6,439 | C# |
namespace MsCoreOne.Application.Common.Models
{
public class PaginationFilter
{
public int PageNumber { get; set; }
public int PageSize { get; set; }
public PaginationFilter()
{
this.PageNumber = 1;
this.PageSize = 10;
}
public Paginatio... | 23.136364 | 62 | 0.552063 | [
"MIT"
] | jillmnolan/MsCoreOne | src/MsCoreOne.Application/Common/Models/PaginationFilter.cs | 511 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float moveSpeed;
public Rigidbody2D mRigidbody;
public List<Animator> characterPartsAnim = new List<Animator>();
public Vector2 movementDirection;
private void Upda... | 26.169811 | 107 | 0.642394 | [
"MIT"
] | Afamuefuna/Shop-Trade-Game | Assets/Scripts/PlayerMovement.cs | 1,387 | C# |
using System.Collections;
using UnityEngine;
/**
* This component spawns the given object at fixed time-intervals at its object position.
*/
public class TimedSpawner: MonoBehaviour {
[SerializeField] Mover prefabToSpawn;
[SerializeField] Vector3 velocityOfSpawnedObject;
[SerializeField] float timeBetwe... | 31.48 | 114 | 0.701398 | [
"MIT"
] | Development-of-computer-games/Elad---Assignment-4---SpaceShip | Assets/Scripts/2-spawners/TimedSpawner.cs | 789 | C# |
/**
* Copyright 2013 Canada Health Infoway, 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... | 36.310345 | 83 | 0.709402 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/MedicalDeviceType.cs | 1,053 | C# |
using EventEmitter.Storage.POCO;
namespace EventEmitter.Storage.Repositories.Linq2DbRepositories
{
public class PhoneRepository : Repository<Phone>, IPhoneRepository
{
}
} | 23 | 70 | 0.782609 | [
"MIT"
] | Stelmashenko-A/EventEmitter | EventEmitter.Storage/Repositories/Linq2DbRepositories/PhoneRepository.cs | 184 | C# |
using System;
using System.IO;
using System.Linq;
using System.Text;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
namespace LibGit2Sharp.Tests
{
public class RepositoryOptionsFixture : BaseFixture
{
private readonly string newWorkdir;
private readonly string newIndex;
//TODO: Ad... | 38.738739 | 141 | 0.606744 | [
"MIT"
] | AArnott/libgit2sharp | LibGit2Sharp.Tests/RepositoryOptionsFixture.cs | 8,602 | C# |
//-----------------------------------------------------------------------
// <copyright file="CosmosElementType.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Micr... | 27.842105 | 74 | 0.436673 | [
"MIT"
] | JohnLTaylor/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/src/CosmosElements/CosmosElementType.cs | 531 | C# |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace Brrr;
public class JobDriver_BrrrRecovery : JobDriver
{
public const TargetIndex BedOrRestSpotIndex = TargetIndex.A;
public Building_Bed Bed => (Building_Bed)job.GetTarget(TargetIndex.A).Thing;
public override bool ... | 26.234375 | 102 | 0.63788 | [
"MIT"
] | emipa606/BrrandPhew | Source/Brrr/JobDriver_BrrrRecovery.cs | 1,679 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StrengthenWonder : AbstractWonder
{
private bool isPraying = false;
private bool isPrayEffectActive = false;
public override void Update()
{
base.UpdateWonder();
}
protected overri... | 22.375 | 70 | 0.602235 | [
"Unlicense"
] | NTrixner/CultWars | Assets/Scripts/Wonders/StrengthenWonder.cs | 897 | 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... | 41.431111 | 143 | 0.629157 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/GameLift/Generated/Model/CreateGameSessionQueueRequest.cs | 9,322 | C# |
using CSharpSpeed;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using static InstrumentedLibrary.Maths;
using static System.Math;
namespace InstrumentedLibrary
{
/// <summary>
/// The wrap angle tests c... | 41.118421 | 217 | 0.59664 | [
"MIT"
] | Shkyrockett/CSharpSpeed | InstrumentedLibrary/Mathmatics/Angles/WrapAngleTests.cs | 6,274 | C# |
using System.Globalization;
using IQFeed.CSharpApiClient.Extensions;
namespace IQFeed.CSharpApiClient.Lookup.Symbol.Messages
{
public class ListedMarketMessage
{
public ListedMarketMessage(int listedMarketId, string shortName, string longName, int groupID, string shortGroupName, string requestId = nul... | 38.04878 | 239 | 0.557372 | [
"MIT"
] | BunkerCoder/IQFeed.CSharpApiClient | src/IQFeed.CSharpApiClient/Lookup/Symbol/Messages/ListedMarketMessage.cs | 3,122 | C# |
namespace HostfileManager.ViewModel
{
using System;
using System.IO;
using HostfileManager.Logic;
using HostfileManager.Model;
using HostfileManager.Model.Base;
using HostfileManager.View;
/// <summary>
/// The ViewModel class for the <see cref="EditorView"/> user-interface... | 39.930175 | 177 | 0.564951 | [
"MIT"
] | andreaskoch/Hostfile-Manager | HostfileManager/ViewModel/HostsFileViewModel.cs | 16,014 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace GherkinSyncTool.Synchronizers.TestRail.Model
{
public class CaseCustomFields
{
[JsonProperty("custom_preconds")]
public string Preconditions { get; init; }
[JsonProperty("custom_steps_separated")]
public List<... | 28.9 | 71 | 0.67128 | [
"Apache-2.0"
] | quantori/GherkinSyncTool | GherkinSyncTool.Synchronizers.TestRail/Model/CaseCustomFields.cs | 580 | C# |
namespace ChatCode.Bot.Models
{
public sealed class CreateAboutMeModel
{
public string Email { get; set; }
public string NameSurname { get; set; }
public string Age { get; set; }
public string Gender { get; set; }
public string Description { get; set; }
... | 23.043478 | 51 | 0.564151 | [
"MIT"
] | onurcelikeng/ChatCode | ChatCode.Bot/Models/CreateAboutMeModel.cs | 532 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terminal.Gui;
using static UICatalog.Scenario;
namespace UICatalog.Scenarios {
[ScenarioMetadata (Name: "Interactive Tree", Description: "Create nodes and child nodes in TreeView")]
[ScenarioCa... | 23.417219 | 104 | 0.605769 | [
"MIT"
] | Zhou-zhi-peng/gui.cs | UICatalog/Scenarios/InteractiveTree.cs | 3,538 | C# |
namespace Fixie.Tests.TestAdapter
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Fixie.TestAdapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestP... | 48.639344 | 117 | 0.654421 | [
"MIT"
] | lpedras/fixie | src/Fixie.Tests/TestAdapter/ExecutionReportTests.cs | 8,905 | C# |
#region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the ab... | 36.850575 | 140 | 0.750988 | [
"BSD-3-Clause"
] | Code-distancing/boo | src/Boo.Lang.Compiler/CompilerWarningFactory.cs | 9,618 | C# |
using System;
using FubuMVC.Core.Registration;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Core.Registration.ObjectGraph;
using NUnit.Framework;
using FubuCore;
using System.Linq;
using FubuTestingSupport;
namespace FubuMVC.Tests.Registration
{
[TestFixture]
public class ServiceGraphTester... | 32.752294 | 106 | 0.570028 | [
"Apache-2.0"
] | DovetailSoftware/fubumvc | src/FubuMVC.Tests/Registration/ServiceGraphTester.cs | 3,570 | C# |
using System;
using System.Linq;
using System.Reflection;
namespace BenchmarkLogGenerator.Utilities
{
public static class ExtendedType
{
public static FieldInfo[] GetFieldsOrdered(this Type type)
{
return type.GetFields().OrderBy(fi => fi.MetadataToken).ToArray();
... | 30.785714 | 151 | 0.603248 | [
"MIT"
] | hau-mal/TelemetryLogsGeneratorAndBenchmark | Utilities/ExtendedType.cs | 864 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
// The class UserCases.Calls contains (as static members) transparent methods to be used
// as calls at the base of a SxS stack in SameStackHost2 tests. To select method Foo from
// this file, the first argument to SameStackHost2 should be: User... | 26.419355 | 89 | 0.665446 | [
"MIT"
] | CyberSys/coreclr-mono | tests/src/hosting/coreclr/activation/sxshost/usercases.cs | 819 | C# |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/KastraCMS/kastra-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Reflection;
using System.Threading.Tasks;
namespace Kast... | 28.75 | 94 | 0.619324 | [
"Apache-2.0"
] | KastraCMS/kastra-core | src/Kastra.Core/Services/Contracts/IModuleManager.cs | 1,035 | C# |
/*
Copyright 2017 YANG Huan (sy.yanghuan@gmail.com).
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 in ... | 44.212783 | 253 | 0.672984 | [
"Apache-2.0"
] | HongXiao/CSharp.lua | CSharp.lua/LuaSyntaxNodeTransform.cs | 226,900 | C# |
using System;
namespace ApiService.Contracts.ManagerApi
{
public interface GetArchivedOrder
{
public Guid OrderId { get; set; }
}
} | 17.333333 | 41 | 0.660256 | [
"MIT"
] | konvovden/masstransit-demo | src/Contracts/ApiService.Contracts/ManagerApi/GetArchivedOrder.cs | 158 | C# |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using LinqToDB.Common;
namespace LinqToDB.SqlQuery
{
public interface IReadOnlyParameterValues
{
bool TryGetValue(SqlParameter parameter, [NotNullWhen(true)] out SqlParameterValue? value);
}
public class SqlParameterValues : IR... | 33.658228 | 122 | 0.727341 | [
"MIT"
] | Corey-M/linq2db | Source/LinqToDB/SqlQuery/SqlParameterValues.cs | 2,583 | 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>
//---... | 42.458333 | 81 | 0.654563 | [
"MIT"
] | georgivv7/C-Sharp-Advanced-SoftUni | StacksAndQueues-Exercise/08. BalancedParentheses/obj/Debug/netcoreapp3.1/08. BalancedParentheses.AssemblyInfo.cs | 1,019 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;
public class StoreManager : MonoBehaviour
{
#region Public Variables
public TMP_Text coffeeQuantityText, buyCoffeeText, buyWeaponText, weaponInfoText;
[Space... | 30.884615 | 140 | 0.611249 | [
"MIT"
] | Cillor/ForestDefense | Assets/Scripts/Menu/StoreManager.cs | 4,822 | C# |
using System;
namespace ConcatenateData
{
class Program
{
static void Main(string[] args)
{
string firstName = Console.ReadLine();
string lastName = Console.ReadLine();
int age = int.Parse(Console.ReadLine());
string city = Console.ReadLine();
... | 21.727273 | 125 | 0.520921 | [
"MIT"
] | VladimirDikovski/Programing-Bassic | simpli operation/ConcatenateData/ConcatenateData/Program.cs | 480 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace BeFaster.Runner.Utils
{
public struct Optional<T> where T : class
{
private readonly IEnumerable<T> values;
public static Optional<T> Some(T value)
{
if (value == null)
{
... | 25.98 | 113 | 0.505774 | [
"Apache-2.0"
] | DPNT-Sourcecode/CHK-alip01 | src/BeFaster.Runner/Utils/Optional.cs | 1,301 | 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.090909 | 101 | 0.647916 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/CreateLaunchTemplateVersionResponse.cs | 2,471 | C# |
using System.Windows;
using Microsoft.Xaml.Behaviors;
namespace CoreTools.WPF.Behaviors
{
public static class Interactions
{
public static BehaviorsCollection GetBehaviors(DependencyObject obj)
{
return (BehaviorsCollection) obj.GetValue(BehaviorsProperty);
}
publi... | 37.553571 | 112 | 0.668569 | [
"MIT"
] | tnunnink/CoreTools.WPF | src/CoreTools.WPF/Behaviors/Interactions.cs | 2,105 | C# |
using System;
using System.Collections.Generic;
using Cosmos.Core;
using Cosmos.Debug.Kernel;
using Cosmos.HAL.BlockDevice;
using Cosmos.HAL.Debug;
using Cosmos.HAL.Network;
namespace Cosmos.HAL;
public static class Global
{
public static readonly Debugger mDebugger = new("HAL", "Global");
public static PIT ... | 30.020134 | 108 | 0.610329 | [
"BSD-3-Clause"
] | Kiirx/Cosmos | source/Cosmos.HAL2/Global.cs | 4,473 | 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.Goog... | 37.74359 | 292 | 0.693614 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/AccessContextManager/V1/Outputs/VpcAccessibleServicesResponse.cs | 1,472 | C# |
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("Substance")]
[Tooltip("Set a named float property in a Substance material. NOTE: Use Rebuild Textures after setting Substance properties.")]
public class SetProceduralFloa... | 25.515625 | 211 | 0.695652 | [
"MIT"
] | BigBroken/sLord | Assets/PlayMaker/Actions/ProceduralMaterial/SetProceduralFloat.cs | 1,633 | C# |
using System.IO;
using Packager.Hash;
using Packager.Models;
using Packager.Transfers;
namespace Packager
{
public class Run
{
private const string ProjectPath = "../../../../Wallon/bin/Debug"; // chemin du fichier à packager
private readonly Config _config;
public Run(string configPath)
{
_config = Lo... | 30.175439 | 129 | 0.704942 | [
"MIT"
] | secretMoi/Wallon | Packager/Run.cs | 3,466 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DotNetCoreSqlDb.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Creat... | 33.705882 | 122 | 0.557592 | [
"MIT"
] | ANKGITDEMOS/AppInsightsLogging | Migrations/20200423113402_InitialCreate.cs | 1,148 | C# |
using MicroBootstrap.Abstractions.Persistence;
namespace BuildingBlocks.IntegrationTests.Mock;
public class NullDataSeeder : IDataSeeder
{
public Task SeedAllAsync()
{
return Task.CompletedTask;
}
}
| 18.416667 | 47 | 0.751131 | [
"MIT"
] | BuiTanLan/ecommerce-microservices | tests/BuildingBlocks/BuildingBlocks.IntegrationTest/Mock/NullDataSeeder.cs | 221 | C# |
using Hyperledger.Indy.DidApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.SignusTests
{
[TestClass]
public class StoreTheirDidTest : IndyIntegrationTestWithSingleWallet
{
private const string _verkey = "GjZWsBLgZCR18aL468JAT7w9... | 32.348837 | 96 | 0.616104 | [
"Apache-2.0"
] | Diiaablo95/indy-sdk | wrappers/dotnet/indy-sdk-dotnet-test/DidTests/StoreTheirDidTest.cs | 1,393 | C# |
/*
* Copyright 2011-2015 Numeric Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 38.98374 | 96 | 0.552659 | [
"Apache-2.0"
] | NumericTechnology/Platanum.Net | KPCore/KPExtension/KPTypeExtension.cs | 4,805 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Security.Principal;
using System.Threading.Tasks;
namespace Microsoft.AspNet.SignalR
{... | 27.288462 | 132 | 0.575053 | [
"Apache-2.0"
] | AlaShiban/SignalR | src/Microsoft.AspNet.SignalR.Core/IRequest.cs | 1,421 | C# |
using System.Collections.Generic;
using SIL.Machine.Annotations;
using SIL.Machine.DataStructures;
using SIL.Machine.FeatureModel;
using SIL.Machine.Rules;
namespace SIL.Machine.Morphology.HermitCrab.MorphologicalRules
{
/// <summary>
/// This class represents a morphological rule which combines two words in to one ... | 28.225806 | 88 | 0.768571 | [
"MIT"
] | russellmorley/machine | src/SIL.Machine.Morphology.HermitCrab/MorphologicalRules/CompoundingRule.cs | 1,750 | 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("VkH... | 38.540541 | 84 | 0.751052 | [
"MIT"
] | fde001/vkhackaton2017 | VkHackaton.Import/Properties/AssemblyInfo.cs | 1,429 | C# |
using GhostPanel.BackgroundServices;
using GhostPanel.Communication.Query;
using GhostPanel.Communication.Query.Steam;
using GhostPanel.Core.Data;
using GhostPanel.Core.Data.Model;
using GhostPanel.Core.Management;
using GhostPanel.Core.Providers;
using MediatR;
using Microsoft.Extensions.Logging;
using Moq;
using Xun... | 35.508772 | 161 | 0.62747 | [
"Apache-2.0"
] | barrycarey/ghostpanel | src/UnitTests/Core/Management/ServerStatServiceShould.cs | 4,050 | C# |
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 43.503831 | 245 | 0.465586 | [
"Apache-2.0"
] | FDYdarmstadt/BoSSS | src/L2-foundation/BoSSS.Foundation/Cube.cs | 22,188 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Epinova.ElasticSearch.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Epinova AS")]
[assembly: AssemblyProduct("Epinova.ElasticS... | 44.583333 | 79 | 0.791589 | [
"MIT"
] | rholzner/Epinova.Elasticsearch | src/Epinova.ElasticSearch.Core/Properties/AssemblyInfo.cs | 1,073 | 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.Runtime.InteropServices.Tests.Common;
using Xunit;
namespace System.Runtime.InteropServices.Tests
{
... | 37 | 102 | 0.733591 | [
"MIT"
] | 2E0PGS/corefx | src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/ReleaseComObjectTests.Windows.cs | 777 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.CodeFixes.HideBase;
using Microsoft.CodeAnalysis.Dia... | 21.628866 | 160 | 0.679218 | [
"Apache-2.0"
] | ammogcoder/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/HideBase/HideBaseTests.cs | 2,098 | C# |
namespace Shopping.Aggregator.Models
{
public class BasketItemExtendedModel
{
public int Quantity { get; set; }
public string Color { get; set; }
public decimal Price { get; set; }
public string ProductId { get; set; }
public string ProductName { get; set; }
//Product Related Additional Fields
public ... | 26.388889 | 41 | 0.694737 | [
"MIT"
] | FelipeAMendes/AspnetMicroservices | src/ApiGateways/Shopping.Aggregator/Models/BasketItemExtendedModel.cs | 477 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... | 33.923077 | 87 | 0.523243 | [
"Unlicense"
] | LubosBrat/civop-test | CivopApp/Site.Mobile.Master.designer.cs | 1,764 | C# |
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Sonar Code Smell", "S3966:Objects should not be disposed more than once", Justification = "We dispose only BCL objects and we trust how they implemented Dispose()")]
[assembly: SuppressMessage("Major Code Smell", "S0125:Sections of code should not be ... | 88 | 193 | 0.769481 | [
"Apache-2.0"
] | rjosborne/aggregator-cli | src/aggregator-ruleng/GlobalSuppressions.cs | 618 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
usi... | 42.75808 | 161 | 0.571972 | [
"Apache-2.0"
] | davidroth/EntityFrameworkCore | src/Microsoft.EntityFrameworkCore/Query/ExpressionVisitors/Internal/NavigationRewritingExpressionVisitor.cs | 43,656 | 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 Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | 34.606061 | 160 | 0.7338 | [
"Apache-2.0"
] | amcasey/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/MovePInvokesToNativeMethodsClassTests.Fixer.cs | 1,142 | C# |
using System;
using System.Runtime.Serialization;
using Spark.Cqrs.Commanding;
using Spark.Cqrs.Eventing;
/* Copyright (c) 2015 Spark Software Ltd.
*
* 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 th... | 38.257576 | 158 | 0.64198 | [
"MIT"
] | cbaxter/infrastructure | src/Core/Cqrs/Domain/Entity.cs | 2,527 | 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.775862 | 107 | 0.673389 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/CreateFlowDefinitionResponse.cs | 1,785 | C# |
namespace AngleSharp.Core.Tests.Library
{
using AngleSharp;
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
using NUnit.Framework;
using System;
[TestFixture]
public class OptimizationPoolTests
{
[Test]
public void RecycleStringBuilderReused()
{
... | 32.1 | 94 | 0.549844 | [
"MIT"
] | Livven/AngleSharp | AngleSharp.Core.Tests/Library/OptimizationPool.cs | 2,570 | 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... | 34 | 113 | 0.649827 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Route53Resolver/Generated/Model/AssociateResolverEndpointIpAddressRequest.cs | 2,890 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
namespace Dribble_O_Mat_2._1
{
public class SerialSettings
{
public List<string> SerialPorts { get; private set; }
public string SerialPort { get; set; }
... | 22.074074 | 77 | 0.619128 | [
"Unlicense"
] | Manfe07/Dribble_o_Mat | Monitor-Software/Dribble_O_Mat_2.1/SerialSettings.cs | 598 | C# |
using Microsoft.EntityFrameworkCore;
namespace Tests
{
public class InMemoryDbContext : NerdyMishka.EfCore.Identity.IdentityDbContext
{
public InMemoryDbContext(DbContextOptions options) : base(options) {
}
protected override void OnConfiguring(DbContextOptionsBuilder opt... | 25.421053 | 85 | 0.681159 | [
"Apache-2.0"
] | nerdymishka/gainz | dotnet/test/Extensions/Identity.Tests/InMemoryDbContext.cs | 483 | 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... | 37.487685 | 202 | 0.583574 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/AppConfig/Application.cs | 7,610 | C# |
using Handlebars.Core.Compiler.Structure;
namespace Handlebars.Core.Compiler.Translation.Expressions
{
internal class CommentVisitor : HandlebarsExpressionVisitor
{
public static System.Linq.Expressions.Expression Visit(System.Linq.Expressions.Expression expr, CompilationContext compilationContext)
... | 31.37037 | 142 | 0.66588 | [
"MIT"
] | esskar/Handlebars | source/Handlebars.Core/Compiler/Translation/Expressions/CommentVisitor.cs | 849 | C# |
using AlgoRay_Projector.Interfaces;
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace AlgoRay_Projector.ProjectorFunctionality
{
internal class CoreProjector : ICoreProjector
{
public async Task<Stopwatch> ProjectTest(Action testMethod, int millise... | 26.895833 | 98 | 0.564679 | [
"MIT"
] | ValentinShikovIT/AlgoRay | src/AlgoRay_Projector/ProjectorFunctionality/CoreProjector.cs | 1,293 | C# |
/****************************************************************************
* Copyright (c) 2017 liangxie
*
* http://qframework.io
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... | 42.432432 | 95 | 0.683439 | [
"MIT"
] | 317392507/QFramework | Assets/QFramework/Framework/1.ResKit/2.Audio/Msg/RemoteRetainAudioMsg.cs | 1,570 | C# |
using MediatR;
using NetPad.Sessions;
namespace NetPad.CQs;
public class ActivateScriptCommand : Command
{
public ActivateScriptCommand(Guid scriptId)
{
ScriptId = scriptId;
}
public Guid ScriptId { get; }
public class Handler : IRequestHandler<ActivateScriptCommand>
{
privat... | 21.677419 | 106 | 0.647321 | [
"MIT"
] | tareqimbasher/NetPad | src/Core/NetPad.Application/CQs/ActivateScriptCommand.cs | 672 | C# |
using System;
using Magnum.Pipeline;
using Magnum.Pipeline.Segments;
using pjsip4net.Core.Interfaces;
namespace pjsip4net.Core
{
public class EventsProvider : IEventsProvider
{
private readonly Pipe _eventsPipe;
private readonly ISubscriptionScope _scope;
public EventsProvider()
... | 26.975 | 89 | 0.626506 | [
"Apache-2.0"
] | moljac/pjsip4net | pjsip4net.Core/EventsProvider.cs | 1,079 | C# |
using System;
using System.Collections.Generic;
public class AchievementIdComparer : global::System.Collections.Generic.IEqualityComparer<global::AchievementId>
{
public bool Equals(global::AchievementId x, global::AchievementId y)
{
return x == y;
}
public int GetHashCode(global::AchievementId obj)
{
retur... | 24.444444 | 112 | 0.775 | [
"CC0-1.0"
] | FreyaFreed/mordheim | Assembly-CSharp/AchievementIdComparer.cs | 442 | C# |
using PearlCalculatorLib.PearlCalculationLib.MathLib;
using PearlCalculatorLib.PearlCalculationLib.World;
using PearlCalculatorLib.PearlCalculationLib.AABB;
using System;
using System.Collections.Generic;
using System.Text;
namespace PearlCalculatorLib.PearlCalculationLib.Entity
{
[Serializable]
public class ... | 25.473684 | 87 | 0.565427 | [
"MIT"
] | Colton-Ko/PearlCalculatorCore | PearlCalculatorLib/PearlCalculationLib/Entity/PearlEntity.cs | 1,454 | C# |
#pragma checksum "C:\Users\Filip Vrba\Documents\GitHub\InfnetFV-Core\InfnetFV-Core\Pages\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... | 55.530612 | 191 | 0.768467 | [
"MIT"
] | filipvrba/InfnetFV-Core | InfnetFV-Core/obj/Debug/netcoreapp2.2/Razor/Pages/_ViewStart.g.cshtml.cs | 2,721 | C# |
using UnityEngine;
using System;
public class DoorProxy:MonoBehaviour
{
public int doorIndex = 0;
public bool alwaysLock = false;
public bool neverLock = false;
public int maxDoorAngle = 150;
public GameObject partnerDoor;
} | 15.8 | 36 | 0.755274 | [
"MIT"
] | DancingEngie/IntruderMafia | Assets/IntruderMM/Scripts/DoorProxy.cs | 237 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Mono.Cecil.Cil;
using MonoMod.Utils;
namespace R2API.Utils {
public static class Reflection {
private const BindingFlags AllFlags = BindingFlags... | 46.61989 | 178 | 0.592212 | [
"MIT"
] | kylewill0725/R2API | R2API/Utils/Reflection.cs | 42,193 | C# |
using CommonServiceLocator;
using DevelopmentInProgress.TradeView.Core.Interfaces;
using DevelopmentInProgress.TradeView.Data;
using DevelopmentInProgress.TradeView.Data.File;
using DevelopmentInProgress.TradeView.Service;
using DevelopmentInProgress.TradeView.Wpf.Common.Cache;
using DevelopmentInProgress.TradeView.Wp... | 44.974194 | 169 | 0.734184 | [
"Apache-2.0"
] | CasparsTools/tradeview | src/DevelopmentInProgress.TradeView.Wpf.Host/App.xaml.cs | 6,973 | C# |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using CodeTest.Accounting.BFF.Core;
using CodeTest.Accounting.BFF.Models;
using CodeTest.Accounting.ServiceClients;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CodeTest.Accounting.BFF.Controllers
{
public class... | 31.686441 | 115 | 0.590265 | [
"MIT"
] | andreicojocaru/codetest-accounting | src/CodeTest.Accounting.BFF/Controllers/HomeController.cs | 3,741 | C# |
// Copyright 2018 yinyue200.com
// 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 agre... | 35.378378 | 105 | 0.700535 | [
"Apache-2.0"
] | cm4ker/LottieSharp | LottieSkiaSharp/Value/LottieInterpolatedFloatValue.cs | 1,311 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Coyote.IO;
namespace Microsoft.Coyote.SystematicTesting.Utilities
{
internal class DependencyGraph
{
... | 41.421053 | 136 | 0.585451 | [
"MIT"
] | Youssef1313/coyote | Tools/Coyote/Utilities/DependencyGraph.cs | 3,150 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.PholioObjects;
using PholioVisualisation.RequestParameters;
namespace PholioVisualisation.RequestParametersTest
{
[TestClass]
public class DataDo... | 44.66129 | 113 | 0.710365 | [
"MIT"
] | PublicHealthEngland/fingertips-open | PholioVisualisationWS/RequestParametersTest/DataDownloadParametersTest.cs | 2,771 | C# |
#region license
// Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above co... | 28.722513 | 110 | 0.701786 | [
"BSD-3-Clause"
] | rmartinho/boo | src/Boo.Lang.Compiler/Ast/Impl/UnlessStatementImpl.cs | 5,486 | C# |
//
// VTPixelTransferProperties.cs: Strongly Typed dictionary for VTPixelTransferPropertyKeys
//
// Authors: Alex Soto (alex.soto@xamarin.com)
//
// Copyright 2015 Xamarin Inc.
//
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using CoreFoundation;
using ObjCRuntime;
using... | 34.863415 | 129 | 0.767315 | [
"BSD-3-Clause"
] | stephen-hawley/xamarin-macios | src/VideoToolbox/VTPixelTransferProperties.cs | 7,147 | C# |
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License... | 45.056452 | 285 | 0.615268 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/AlexaForBusiness/Basic/New-ALXBSkillGroup-Cmdlet.cs | 11,174 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Kubernetes.Controller.Rate;
using Yarp.Kubernetes.OperatorFramework.Fakes;
using System;
using Xunit;
namespace Yarp.Kubernetes.OperatorFramework.Rate;
public class ReservationTests
{
[Fact]
public void NotOkayAlwaysRe... | 34.082569 | 76 | 0.645491 | [
"MIT"
] | Xen0byte/reverse-proxy | test/Kubernetes.Tests/OperatorFramework/Rate/ReservationTests.cs | 3,715 | C# |
using System.Windows;
namespace pdfjoiner.DesktopClient
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| 16.083333 | 42 | 0.626943 | [
"MIT"
] | harrystb/pdfjoiner | pdfjoiner.DesktopClient/App.xaml.cs | 195 | C# |
namespace lab_10
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... | 45.885965 | 147 | 0.619002 | [
"MIT"
] | kpagacz/software-engineering | programowanie-komponentowe/lab-10/Form1.Designer.cs | 5,233 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using CommunityBot.Extensions;
using CommunityBot.Features.GlobalAccounts;
using CommunityBot.Providers;
using Discord;
using Discord.Commands;
namespace CommunityBot.Modules.RoleAssignments
{
[Group("RoleByPhrase"), Alias("rbp"), Summary("Settings fo... | 45.236364 | 221 | 0.634445 | [
"MIT"
] | codacy-badger/Community-Discord-BOT | CommunityBot/Modules/RoleAssignments/RoleByPhrase.cs | 4,978 | C# |
using System.Collections.Generic;
namespace MailChimp.Api.Net.Domain.Reports
{
public class UrlsClicked
{
public string id { get; set; }
public string url { get; set; }
public int total_clicks { get; set; }
public double click_percentage { get; set; }
public int unique_... | 30.611111 | 59 | 0.62069 | [
"MIT"
] | kinamarie016/MailChimp.Api.Net-master | MailChimp.Api.Net/Domain/Reports/UrlsClicked.cs | 553 | C# |
using System;
namespace Wpf.Home
{
public class SampleVm
{
private static int _idCount;
public SampleVm()
{
Id = _idCount++;
Tags = string.Empty;
}
public SampleVm(string title, Type content, string tags = "")
{
Id = _idCount... | 21.214286 | 69 | 0.486532 | [
"MIT"
] | A36664-joingame/LiveCharts | Examples/Wpf/Home/SampleVm.cs | 594 | C# |
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <content>
/// The <see cref="SafeAlgorithmHandle"/> n... | 36.578947 | 126 | 0.561151 | [
"MIT"
] | AArnott/pinvoke | src/BCrypt/BCrypt+SafeAlgorithmHandle.cs | 2,088 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerStats : MonoBehaviour
{
[Header("Health")]
public int _totalPlayerHealth = 100;
public int _currentPlayerHealth = 0;
[Header("Mana")]
public int _totalPlayerMana = 200;
public int _currentPlayerM... | 20.52381 | 50 | 0.62761 | [
"MIT"
] | whroberts/MechanicRecreation_Dishonored | Assets/Scripts/Scripts/PlayerStats.cs | 864 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Borg.Infra
{
public sealed class AsyncLock
{
private readonly Task<IDisposable> _releaser;
private readonly SemaphoreSlim _semaphore = new SemaphoreSlim(1, 1);
public AsyncLock()
{
_relea... | 27.404762 | 89 | 0.567333 | [
"MIT"
] | mitsbits/NoBorg | src/infra/Borg.Infra/AsyncLock.cs | 1,153 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SnackHouse.Models.ViewModels;
using SnackHouse.Repositories;
namespace SnackHouse.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
private readonly ISnackReposito... | 25.705882 | 95 | 0.630435 | [
"MIT"
] | karolinagb/SnackHouse | SnackHouse/SnackHouse/Controllers/HomeController.cs | 876 | 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;
using System.Threading;
namespace LegionCalculator
{
public partial class Form1 : Form
... | 34.089443 | 154 | 0.416706 | [
"MIT"
] | a-olson/SW-Legion-Probability-Calculator | Form1.cs | 23,249 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Hostin... | 41.101695 | 185 | 0.618144 | [
"Apache-2.0"
] | Kartikexp/MvcDotnet | src/Microsoft.AspNetCore.Mvc.Razor/Internal/CSharpCompiler.cs | 9,702 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.