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 Addressalize.StandardData;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
namespace Addressalize
{
public class Addressalizer
{
public string Normalize(string source)
{
... | 43.383333 | 145 | 0.638878 | [
"MIT"
] | 3choBoomer/Addressalize | src/Addressalize/Addressalizer.cs | 2,605 | C# |
using UnityEditor;
namespace ProceduralMeshSupport
{
[CustomEditor(typeof(RotateMeshModifier))]
public class RotateMeshModifierInspector : MeshModifierInspector
{
}
} | 18.5 | 68 | 0.762162 | [
"MIT"
] | aadebdeb/ProceduralMesh | Assets/ProceduralMesh/Editor/MeshModifierInspectors/RotateMeshModifierInspector.cs | 187 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Ram20150501.Models
{
public class CreatePolicyVersionResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
pub... | 30.864865 | 83 | 0.625219 | [
"Apache-2.0"
] | atptro/alibabacloud-sdk | ram-20150501/csharp/core/Models/CreatePolicyVersionResponse.cs | 1,142 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Scriptable Object base que derivan los distintos tipos de ataques
/// <para>
/// Tipos de ataques propuestos:
/// Target: una vez entra en rango, fija un objetivo y le hace daño sin importar que pase.
/// Ta... | 46.37037 | 121 | 0.735623 | [
"MIT"
] | gamerevar/proyecto-comunitario-1-unity | Assets/Scripts/Enemy/EnemyAttackData/EnemyAttackData.cs | 1,258 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Calculator.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Calculator.Tests")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[asse... | 31.157895 | 56 | 0.748311 | [
"MIT"
] | tschroedter/Selkie.AutoMocking | src/Example/Calculator.Tests/Properties/AssemblyInfo.cs | 593 | C# |
namespace Bookstore.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Authors",
c => new
{
... | 40.060241 | 87 | 0.444211 | [
"MIT"
] | razsilev/TelerikAcademy_Homework | Database/Bookstore and Exam/Bookstore.Data/Migrations/201409071759487_InitialCreate.cs | 3,325 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
using Azure.Storage.Queues;
using Microsoft.Azure.WebJobs.Extensions.Storage.Common;
using Microsoft.Extensions.Azure;
using Microsoft.Extensions.Configuration;
namespace Microsoft.Azure.We... | 40.827586 | 155 | 0.78125 | [
"MIT"
] | AWESOME-S-MINDSET/azure-sdk-for-net | sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/src/QueueServiceClientProvider.cs | 1,186 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SimpleTetris.Core2.Graphics {
/// <summary>
/// Whether a sprite takes an entire area or a portion of a <see cref... | 24.666667 | 106 | 0.702703 | [
"MIT"
] | quachtridat/tetris-monogame | Core2/Graphics/SpriteMode.cs | 446 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
namespace Svg
{
[SvgElement("linearGradient")]
public sealed class SvgLinearGradientServer : SvgGradientServer
{
[SvgAttribute("x1")]
public Svg... | 42.832734 | 181 | 0.49767 | [
"MIT"
] | 4vz/jovice | Aphysoft.Share/External/SVG/Painting/SvgLinearGradientServer.cs | 23,815 | C# |
// <auto-generated />
using System;
using Kanban.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Kanban.Migrations
{
[DbContext(typeof(KanbanConte... | 30.846154 | 75 | 0.427009 | [
"MIT"
] | jiwon-seattle/Kanban.Solution | Kanban/Migrations/20200329231231_newnew.Designer.cs | 5,215 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Medi... | 27.333333 | 71 | 0.471206 | [
"Apache-2.0"
] | Roommetro/Friendly.WPFStandardControls | Project/Test/WPFMenuBaseTestControl.xaml.cs | 2,972 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
// </auto-generated>
// Original file comments:
// Copyright 2018 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | 72.107774 | 391 | 0.709051 | [
"Apache-2.0"
] | alexdoan102/google-cloud-dotnet | apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1/PubsubGrpc.cs | 163,252 | C# |
using CompanyName.ProjectName.NotificationManagement.EntityFrameworkCore;
using Volo.Abp.Modularity;
namespace CompanyName.ProjectName.NotificationManagement
{
/* Domain tests are configured to use the EF Core provider.
* You can switch to MongoDB, however your domain tests should be
* database independe... | 29.166667 | 73 | 0.740952 | [
"MIT"
] | shuangbaojun/abp-vnext-pro | aspnet-core/modules/NotificationManagement/test/CompanyName.ProjectName.NotificationManagement.Domain.Tests/NotificationManagementDomainTestModule.cs | 525 | C# |
#pragma checksum "E:\Projects\SoftUni\Abraks\Abraks\Abraks.Web\Areas\Admin\Views\Rewards\Add.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "da2b37cb093bf0314bec25c38c8d0c00527f180a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(type... | 74.024341 | 361 | 0.716255 | [
"MIT"
] | Ceappie/Abraks | Abraks.Web/obj/Debug/netcoreapp2.1/Razor/Areas/Admin/Views/Rewards/Add.g.cshtml.cs | 36,494 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using Unity.Profiling;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Microsoft.MixedReality.Toolkit.SpatialAwarenes... | 37.619159 | 196 | 0.600211 | [
"MIT"
] | MRW-Eric/MixedRealityToolkit-Unity | Assets/MRTK/Services/SpatialAwarenessSystem/MixedRealitySpatialAwarenessSystem.cs | 16,103 | C# |
//
// Copyright (c) 2004-2018 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | 36.967742 | 100 | 0.65925 | [
"BSD-3-Clause"
] | Flokri/NLog | tests/NLog.UnitTests/LayoutRenderers/AppSettingTests.cs | 4,584 | C# |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Xunit;
namespace Gelf.Extensions.Logging.Tests
{
... | 41.092308 | 92 | 0.639835 | [
"MIT"
] | joepb/gelf-extensions-logging | test/Gelf.Extensions.Logging.Tests/LoggingBuilderExtensionsTests.cs | 2,673 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SokobanMonoGame.GameSystem.UI
{
interface UIElement
{
void Update(GameTime gameTime);
void Draw(SpriteBatch spriteBatch);
}
}
| 19.75 | 43 | 0.7173 | [
"Apache-2.0"
] | yichen0831/SokobanMonoGame | SokobanMonoGame/GameSystem/UI/UIElement.cs | 239 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace MatrixMultiply
{
/// <summary>
/// Class for taking measurements
/// </summary>
public static class Measurements
{
/// <summary>
/// Gets elapsed time of function work
///... | 40.196721 | 168 | 0.568108 | [
"MIT"
] | AndersenSemenov/SPbU-hometask-3sem | Task_01/MatrixMultiply/Measurements.cs | 2,454 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SeaBlog.Migrations
{
public partial class Upgraded_To_Abp_v3_6_1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<stri... | 32.142857 | 71 | 0.509333 | [
"MIT"
] | crybigsea/SeaBlog.ABP | aspnet-core/src/SeaBlog.EntityFrameworkCore/Migrations/20180509121141_Upgraded_To_Abp_v3_6_1.cs | 2,252 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using Signum.Engine.Basics;
using Signum.Engine.DynamicQuery;
using Signum.Engine.Maps;
using Signum.Engine.Operations;
using Signum.Entities.Translatio... | 40.39759 | 168 | 0.581271 | [
"MIT"
] | AlejandroCano/extensions | Signum.Engine.Extensions/Translation/TranslationReplacementLogic.cs | 3,353 | C# |
using SitecoreCognitiveServices.Foundation.NexSDK.View.Enums;
namespace SitecoreCognitiveServices.Foundation.NexSDK.View.Models
{
public class ViewDeleteCriteria
{
public ViewDeleteCriteria(string name)
{
this.Name = name;
}
/// <summary>
/// The name of th... | 28 | 81 | 0.60559 | [
"MIT"
] | markstiles/SitecoreCognitiveServices.Core | src/Foundation/NexSDK/code/View/Models/ViewDeleteCriteria.cs | 646 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace AzurePushNotificationSample.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to ... | 23.761905 | 91 | 0.645291 | [
"MIT"
] | CrossGeeks/AzurePushNotificationPlugin | samples/AzurePushNotificationSample/AzurePushNotificationSample.iOS/Main.cs | 501 | C# |
using BeatTogether.Providers;
using HarmonyLib;
using HMUI;
using IPA.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QPSPDP = BeatTogether.Patches.QuickPlaySongPacksDropdownPatch;
namespace BeatTogether.Patches
{
[HarmonyPatch(t... | 65.465116 | 326 | 0.722913 | [
"MIT"
] | BeatTogether/BeatTogether | Patches/MultiplayerModeSelectionFlowCoordinatorPatch.cs | 5,632 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Win32;
using SUT = CustomUpdateEngine.RunVbScriptAction;
namespace Unit_Tests_CustomeUpdateEngine
{
class RunVbScriptAction
{
[TestClass]
pu... | 38.097826 | 214 | 0.592011 | [
"MIT"
] | DCourtel/Wsus_Package_Publisher | Unit Tests/CustomeUpdateEngine/Actions/RunVbScriptAction.cs | 3,507 | C# |
using UnityEngine;
using SanAndreasUnity.Importing.Animation;
namespace SanAndreasUnity.Behaviours.Weapons
{
public class FThrower : Weapon
{
// public override AnimId AimAnim {
// get {
// return new AnimId (AnimGroup.Flame, AnimIndex.FLAME_fire);
// }
// }
}
}
| 14.894737 | 64 | 0.699647 | [
"MIT"
] | Almahmudrony/SanAndreasUnity | Assets/Scripts/Behaviours/Weapons/FThrower.cs | 285 | C# |
using FlowScriptEngine;
using PPDEditorCommon;
namespace FlowScriptEnginePPDEditor.FlowSourceObjects.Layer
{
[ToolTipText("Layer_Value_Summary")]
public partial class ValueFlowSourceObject : FlowSourceObjectBase
{
public override string Name
{
get { return "PPDEditor.Layer.Valu... | 23.538462 | 69 | 0.431373 | [
"Apache-2.0"
] | KHCmaster/PPD | Win/FlowScriptEnginePPDEditor/FlowSourceObjects/Layer/ValueFlowSourceObject.cs | 1,838 | C# |
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.opentravel.org/OTA/2003/05")]
public enum TicketingInfoTypeBookingChangeType
{
... | 26.611111 | 118 | 0.609603 | [
"MIT"
] | Franklin89/OTA-Library | src/OTA-Library/TicketingInfoTypeBookingChangeType.cs | 479 | C# |
using iMotto.Adapter.Readers.Requests;
using iMotto.Data;
using iMotto.Data.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace iMotto.Adapter.Readers.Handlers
{
class ReadTagCollectionsHandler:BaseHandler<ReadTagCollectionsRequest>
{
private readonly ICollectionRepo _c... | 29.566667 | 118 | 0.687711 | [
"MIT"
] | imotto/imotto.dnx | iMotto.Adapter.Readers/Handlers/ReadTagCollectionsHandler.cs | 889 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pinwheel.TextureGraph;
namespace Pinwheel.TextureGraph
{
[TNodeMetadata(
Title = "Gradient Axial",
CreationMenu = "Shapes & Patterns/Gradient Axial",
Icon = "TextureGraph/NodeIcons/GradientAxial",... | 32.598131 | 143 | 0.56078 | [
"MIT"
] | Abelark/Project-3---Rocket-Punch | Assets/Polaris - Low Poly Ecosystem/TextureGraph/Core/Runtime/Nodes/TGradientAxialNode.cs | 3,488 | C# |
using System;
using System.Collections.Generic;
namespace Zoologico
{
class Program
{
static void Main(string[] args)
{
List<AnimalPlus> animais = new List<AnimalPlus>();
int countCarnivoro = 0,
countHerbivoro = 0;
Console.WriteLine("=======... | 40.214286 | 233 | 0.572824 | [
"MIT"
] | camilasmarques/fundamentals-OOP | Zoologico/Program.cs | 2,288 | C# |
using System.Xml;
using FluentAssertions;
using FluentAssertions.Primitives;
namespace Test.OutlookMatters.Core.TestUtils
{
public static class ExtensionMethods
{
public static XmlAssertions WithNamespace(this StringAssertions assertions, string ns, string url)
{
return new XmlAsser... | 35.289474 | 106 | 0.645041 | [
"MIT"
] | ConnectionMaster/outlook-matters | OutlookMatters.Core.Test/TestUtils/ExtensionMethods.cs | 1,341 | C# |
using System;
using Xunit;
using Training20200924.Questions;
using System.Collections.Generic;
using System.Linq;
using Training20200924.Collections;
namespace Training20200924.Test
{
public class AtCoderTester
{
[Theory]
[InlineData(@"5 3 3 5
R 1
G 1
B 1
RGBRR", @"13")]
[InlineData(@"3... | 27.594828 | 145 | 0.569197 | [
"MIT"
] | terry-u16/AtCoder | Training20200924/Training20200924/Training20200924.Test/AtCoderTester.cs | 3,201 | C# |
using EPiServer.SocialAlloy.Web.Social.Models;
using EPiServer.SocialAlloy.Web.Social.Models.Groups;
using EPiServer.SocialAlloy.Web.Social.Models.Moderation;
namespace EPiServer.SocialAlloy.Web.Social.Repositories
{
/// <summary>
/// The interface describing operations that manage community membership modera... | 47.966667 | 116 | 0.66991 | [
"Apache-2.0"
] | episerver/SocialAlloy | src/EPiServer.SocialAlloy.Web/Social/Repositories/Moderation/ICommunityMembershipModerationRepository.cs | 2,880 | C# |
#nullable enable
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using LanguageExt.TypeClasses;
using static LanguageExt.Prelude;
namespace LanguageExt
{
public partial class TryAsyncT
{
/// <summary>
/// Traverses each value in the `ta` ... | 53.840816 | 144 | 0.603063 | [
"MIT"
] | bmazzarol/language-ext | LanguageExt.Core/Transformer/Sequence0/TryAsyncT.cs | 13,191 | C# |
using System.Linq;
using finly.Data;
using finly.Models;
using HotChocolate;
using HotChocolate.Types;
namespace finly.GraphQL.Profiles
{
public class ProfileType : ObjectType<Profile>
{
protected override void Configure(IObjectTypeDescriptor<Profile> descriptor)
{
// Adding descrip... | 37.186047 | 157 | 0.617261 | [
"Unlicense"
] | KaimanSolutions/FinLy | GraphQL/Profiles/ProfileType.cs | 1,599 | 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... | 34.330159 | 159 | 0.554004 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/LoadBalancerTlsCertificate.cs | 21,628 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Lessplastic.Data.Migrations
{
public partial class LessplasticDatabase : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilde... | 43.360802 | 122 | 0.486106 | [
"MIT"
] | HrBozhidarov/Lessplastic | LessplasticWebApp/Lessplastic.Data/Migrations/20181121172112_Lessplastic-Database.cs | 19,471 | C# |
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
global using Masa.Auth.ApiGateways.Caller.Services.Organizations;
global using Masa.Auth.ApiGateways.Caller.Services.Oss;
global using Masa.Auth.ApiGateways.Caller.Service... | 49.16 | 98 | 0.837266 | [
"Apache-2.0"
] | masastack/MASA.Auth | src/ApiGateways/Masa.Auth.ApiGateways.Caller/_Imports.cs | 1,229 | C# |
#region
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion
namespace Alturos.Yolo
{
public class ImageAnalyzer
{
private readonly Dictionary<string, byte[]> _imageFormats = new Dictionary<string, byte[]>();
public ImageAnalyzer()
{
var bmp... | 23.857143 | 101 | 0.495295 | [
"MIT"
] | SteffenCarlsen/Alturos.Yolo | src/Alturos.Yolo/ImageAnalyzer.cs | 1,171 | C# |
using BTCPayServer.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models;
public class CreateInvoiceRequest : InvoiceDataBase
{
[JsonConverter(typeof(NumericStringJsonConverter))]
public decimal? Amount { get; set; }
public string[] AdditionalSearchTerms { get; set; }
}
| 25.583333 | 55 | 0.775244 | [
"MIT"
] | wforney/btcpayserver | BTCPayServer.Client/Models/CreateInvoiceRequest.cs | 307 | 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("SuperGlue.Diagnostics")]
[assembly: Assem... | 43.818182 | 84 | 0.773859 | [
"MIT"
] | MattiasJakobsson/Jajo.Web | src/SuperGlue.Diagnostics/Properties/AssemblyInfo.cs | 967 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.Core;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Mi... | 34.428571 | 112 | 0.663439 | [
"MIT"
] | Cosifne/aspnetcore | src/Mvc/Mvc.Core/src/ApplicationModels/ApiBehaviorApplicationModelProvider.cs | 4,340 | C# |
using Capsaicin.UnitTesting;
using Capsaicin.UnitTesting.Generators.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization; // this namespace must be included because CultureInfo is used in an expression!
namespace Capsaicin.UnitTesting.Gen... | 53.169231 | 190 | 0.670139 | [
"MIT"
] | hauke-w/Capsaicin.UnitTesting.Generators | Capsaicin.UnitTesting.Generators.Tests/TestDataSourceGeneratorTest.cs | 3,456 | C# |
// --------------------------------------------------------------------------------------------------------------------
// Copyright (c) Lead Pipe Software. All rights reserved.
// Licensed under the MIT License. Please see the LICENSE file in the project root for full license information.
// -------------------------... | 48.272727 | 149 | 0.589454 | [
"MIT"
] | bbizic/LeadPipe.Net | src/LeadPipe.Net.Lucene/ISearchIndexUpdater.cs | 2,126 | C# |
namespace ClassLib057
{
public class Class087
{
public static string Property => "ClassLib057";
}
}
| 15 | 55 | 0.633333 | [
"MIT"
] | 333fred/performance | src/scenarios/weblarge2.0/src/ClassLib057/Class087.cs | 120 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Windows.Threading;
namespace TCC.Data
{
public class Player : TSPropertyChanged
{
private float _critFactor;
private string _name;
public string Name
{
get => _name;
set
{
... | 27.404819 | 161 | 0.442363 | [
"MIT"
] | ASPDP/Tera-custom-cooldowns | TCC.Core/Data/Player.cs | 11,375 | C# |
using System;
using Newtonsoft.Json;
namespace Com.GitHub.ZachDeibert.CodeTanks.Model {
public sealed class Error {
[JsonProperty("error")]
public bool IsError = true;
[JsonProperty("type")]
public string Type;
[JsonProperty("message")]
public string Message;
... | 21.681818 | 50 | 0.563941 | [
"MIT"
] | zachdeibert/code-tanks | model/Error.cs | 477 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | 38.87218 | 126 | 0.610058 | [
"Apache-2.0"
] | NoleHealth/xamarin-forms-book-preview-2 | Chapter16/ButtonEnabler/ButtonEnabler/ButtonEnabler.WinPhone81/App.xaml.cs | 5,172 | 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;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using Microsoft.C... | 40.392 | 178 | 0.636166 | [
"Apache-2.0"
] | AArnott/roslyn | src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml.cs | 5,049 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 42.206897 | 116 | 0.66585 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/networkconnectivity/v1alpha1/google-cloud-networkconnectivity-v1alpha1-csharp/Google.Cloud.NetworkConnectivity.V1Alpha1.StandaloneSnippets/HubServiceClient.CreateHubSnippet.g.cs | 2,448 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shifter.Providers;
namespace ShifterTest
{
[TestClass]
public class ColorNamesProviderTest
{
private ColorNamesProvider _provider;
[TestInitialize]
public void Setup()
{
_provider = new ColorNamesProvide... | 32.4375 | 121 | 0.648362 | [
"Apache-2.0"
] | madskristensen/Shifter | test/ColorNamesProviderTest.cs | 1,040 | 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-generate... | 39.444444 | 173 | 0.58662 | [
"MIT"
] | WriterRod/The-Modern-C-Challenge | Problem12/Sieves/Properties/Resources.Designer.cs | 2,842 | C# |
// Copyright (c) junjie sun. 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.Text;
using System.Threading.Tasks;
namespace XNode.Client
{
/// <summary>
/// NodeClient容器基类
... | 29.108527 | 147 | 0.494008 | [
"MIT"
] | junjie-sun/XNode | src/XNode/XNode/Client/NodeClientContainerBase.cs | 3,995 | C# |
using OpenMinesweeper.Core.Interface;
using OpenMinesweeper.Core.Utils;
using ReflectXMLDB;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OpenMinesweeper.Core
{
/// <summary>
/// The core of the minesweeper game.
/// </summary>
public class MinesweeperCo... | 31.931034 | 122 | 0.533786 | [
"MIT"
] | Fe-Bell/OpenMinesweeper | OpenMinesweeper.Core/MinesweeperCore.cs | 6,484 | C# |
namespace FluentHttp
{
using System;
using System.IO;
internal class ResponseReceivedEventArgs : EventArgs
{
private readonly IHttpWebResponse _response;
private readonly Exception _exception;
private readonly object _asyncState;
public ResponseReceivedEventA... | 24.861111 | 108 | 0.57095 | [
"Apache-2.0"
] | prabirshrestha/FluentHttp | src/FluentHttp/Core/ResponseReceivedEventArgs.cs | 895 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using BizHawk.Common;
using BizHawk.Common.BufferExtensions;
using BizHawk.Common.IOEx... | 26.464551 | 318 | 0.666871 | [
"MIT"
] | CognitiaAI/StreetFighterRL | emulator/Bizhawk/BizHawk-master/BizHawk.Client.EmuHawk/MainForm.cs | 117,582 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Input.Editor
{
[CustomEditor(typeof(Control... | 39.22973 | 136 | 0.645195 | [
"MIT"
] | AzureMentor/MapsSDK-Unity | SampleProject/Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/ControllerPoseSynchronizerInspector.cs | 2,907 | C# |
using MeatExpress.Models;
using MeatExpress.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MeatExpress.Views
{
[XamlCompilation(XamlCompila... | 27.627119 | 86 | 0.646626 | [
"MIT"
] | Goleyzinho/Meat-Express-Xamarin | MeatExpress/ObjetosEmprestado/ObjetosEmprestado/Views/MenuView.xaml.cs | 1,632 | 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.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms.Layout;
using static Int... | 36.633136 | 132 | 0.514133 | [
"MIT"
] | 15835229565/winforms-1 | src/System.Windows.Forms/src/System/Windows/Forms/Application.ParkingWindow.cs | 6,193 | C# |
using System;
using Cnblogs.Academy.Common;
using MediatR;
namespace Cnblogs.Academy.Application.Commands
{
public class UndoItemCommand : IRequest<BooleanResult>
{
public long ScheduleId { get; set; }
public long ItemId { get; set; }
public Guid UserId { get; set; }
public Und... | 23.761905 | 73 | 0.613226 | [
"Apache-2.0"
] | cnblogs/learning-schedule | src/Application/Cnblogs.Academy.Commands/ItemCommands/UndoItemCommand.cs | 499 | 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("03... | 38.351351 | 84 | 0.74771 | [
"MIT"
] | ztodorova/Telerik-Academy | C#-part2/NumeralSystems/03.DecimalToHexadecimal/Properties/AssemblyInfo.cs | 1,422 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BooleanToOppositeBooleanConverterTest.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// --------... | 36.337838 | 120 | 0.5701 | [
"MIT"
] | IvanKupriyanov/Catel | src/Catel.Test/Catel.Test.Shared/MVVM/Converters/BooleanToOppositeBooleanConverterTest.cs | 2,691 | C# |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... | 43.333868 | 147 | 0.538949 | [
"CC0-1.0"
] | Diffblue-benchmarks/Gridgain-gridgain | modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationSerializerTest.cs | 53,994 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_device.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
u... | 40.268398 | 420 | 0.719523 | [
"Apache-2.0"
] | deni-skaraudio/google-ads-dotnet | src/V7/Types/PolicyTopicEvidenceDestinationNotWorkingDevice.cs | 9,302 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IElasticsearchDomainClusterConfigZoneAwarenessConfig), fullyQualifiedName: "aws.ElasticsearchDomainClusterConfigZoneAwarenessConfig")]
public interface IElasticsearchDomainClusterCo... | 36.861111 | 176 | 0.664657 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/IElasticsearchDomainClusterConfigZoneAwarenessConfig.cs | 1,327 | C# |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@PdfSharpCore.com)
// Klaus Potzesny (mailto:Klaus.Potzesny@PdfSharpCore.com)
// David Stephensen (mailto:David.Stephensen@PdfSharpCore.com)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//... | 30.607843 | 115 | 0.563314 | [
"MIT"
] | aavilaco/PdfSharpCore | MigraDocCore.DocumentObjectModel/MigraDoc.DocumentObjectModel.Shapes/TextFrame.cs | 9,366 | C# |
using System.Text;
using System;
namespace HotChocolate.Language
{
#if netstandard1_4
[Serializable]
#endif
public class SyntaxException
: Exception
{
internal SyntaxException(Utf8GraphQLReader reader, string message)
: base(message)
{
Position = reader.Posi... | 28.39726 | 79 | 0.555716 | [
"MIT"
] | PascalSenn/hotchocolate | src/Core/Language/SyntaxException.cs | 2,075 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace WowSharp.BattleNet.Api.Wow.Community.Wow
{
/// <summary>
/// Represents an achievement
/// </summary>
[DataContract]
public class Achievement : ApiResponse
{
/// <summary>
/// Gets or sets the achievement i... | 25.347107 | 84 | 0.490708 | [
"MIT"
] | bitobrian/Blizzard.net-API | WOWSharp.Community/Wow/Achievements/Achievement.cs | 3,069 | C# |
using System.Linq;
using Content.Client.Eui;
using Content.Shared.Eui;
using Content.Shared.Ghost.Roles;
using JetBrains.Annotations;
namespace Content.Client.Ghost.Roles.UI
{
[UsedImplicitly]
public sealed class GhostRolesEui : BaseEui
{
private readonly GhostRolesWindow _window;
private G... | 28.611765 | 104 | 0.52426 | [
"MIT"
] | 14th-Batallion-Marine-Corps/14-Marine-Corps | Content.Client/Ghost/Roles/UI/GhostRolesEui.cs | 2,432 | C# |
using System;
using System.Collections.Generic;
namespace PDSI.SmarterTrackClient
{
public partial class StEventProfiles
{
public int EventProfileId { get; set; }
public int? UserId { get; set; }
public string Name { get; set; }
public bool DoPopup { get; set; }
public ... | 29.217391 | 50 | 0.602679 | [
"MIT"
] | provisiondata/pdsi.mcp.ticketsync | PDSI.SmarterTrackClient/StEventProfiles.cs | 674 | C# |
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Exceptions;
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Interfaces;
using System.Threading;
using System.Threading.Tasks;
namespace ESFA.DAS.ProvideFeedback.Apprentice.Services.FeedbackService.Commands.SendSms
{
public class SendSmsCommandHandlerWithLocking : ICom... | 33.537037 | 132 | 0.600773 | [
"MIT"
] | SkillsFundingAgency/das-provide-feedback-apprentice | src/Apprentice.Services.FeedbackService/Commands/SendSms/SendSmsCommandHandlerWithLocking.cs | 1,813 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Rds20140815.Models
{
public class CreateDdrInstanceResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
publi... | 23.8 | 55 | 0.631453 | [
"Apache-2.0"
] | atptro/alibabacloud-sdk | rds-20140815/csharp/core/Models/CreateDdrInstanceResponse.cs | 833 | 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.67619 | 141 | 0.583533 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20200701/CustomIPPrefix.cs | 8,332 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.ManagedReference
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using ... | 35.526087 | 148 | 0.519153 | [
"MIT"
] | MorganOBN/KoA-Story | src/Microsoft.DocAsCode.Build.ManagedReference/MergeManagedReferenceDocument.cs | 8,173 | C# |
namespace SimpleDICOMToolkit.Client
{
using System.Threading.Tasks;
public interface IVerifySCU
{
/// <summary>
/// Verify remote SCP
/// Send C-ECHO request
/// </summary>
/// <param name="serverIp">Server IP</param>
/// <param name="serverPort">Server Port... | 31.421053 | 104 | 0.60469 | [
"MIT"
] | kira-96/dicom-toolkit | src/DicomNetwork/Client/Interfaces/IVerifySCU.cs | 599 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Tera.Game
{
// Tera often uses a this tuple of Race, Gender and Class. For example for looking up skills
public struct RaceGenderClass
{
public Race Race { get; private set; }
public Gender Gender { get; pr... | 32.613636 | 108 | 0.528571 | [
"MIT"
] | menmaa/ShinraMeter | TeraCommon/Game/RaceGenderClass.cs | 2,872 | C# |
using System;
using System.Collections.Generic;
namespace p07_PrimesInGivenrange
{
class p07_PrimesInGivenrange
{
static void Main(string[] args)
{
int start = int.Parse(Console.ReadLine());
int end = int.Parse(Console.ReadLine());
var primes = FindPrimesIn... | 23.564516 | 79 | 0.403833 | [
"MIT"
] | Packo0/SoftUniProgrammingFundamentals | exercise/t06_MethodsDebuggingAndTroubleshootingCode/p07_PrimesInGivenrange/p07_PrimesInGivenrange.cs | 1,463 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Toggl.Phoebe.Analytics;
using Toggl.Phoebe.Data.DataObjects;
using Toggl.Phoebe.Data.Utils;
using XPlatUtils;
namespace Toggl.Phoebe.Data.ViewModels
{
public interface IOnTagSelectedHandler
{
void On... | 35.771084 | 110 | 0.599865 | [
"BSD-3-Clause"
] | opensourceios/toggle-mobile | Phoebe/Data/ViewModels/TagListViewModel.cs | 2,971 | C# |
using Abp.MultiTenancy;
using iMasterEnglishNG.Authorization.Users;
namespace iMasterEnglishNG.MultiTenancy
{
public class Tenant : AbpTenant<User>
{
public Tenant()
{
}
public Tenant(string tenancyName, string name)
: base(tenancyName, name)
{
... | 18.777778 | 54 | 0.579882 | [
"MIT"
] | RenJieJiang/iMasterEnglishNG | aspnet-core/src/iMasterEnglishNG.Core/MultiTenancy/Tenant.cs | 340 | C# |
using System;
using System.Data.Entity;
using Infrastructure.Services.DataAccess;
namespace Infrastructure.DataAccess.Services
{
public class DatabaseTransaction : IDatabaseTransaction
{
private readonly DbContextTransaction _transaction;
public DatabaseTransaction(DbContextTransaction transa... | 22.28125 | 95 | 0.617111 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Strongminds/kitos | Infrastructure.DataAccess/Services/DatabaseTransaction.cs | 715 | C# |
namespace UniGame.UniNodes.Nodes.Runtime.Commands
{
using System;
using System.Collections;
using Cysharp.Threading.Tasks;
using UniModules.GameFlow.Runtime.Interfaces;
using UniModules.UniCore.Runtime.DataFlow.Interfaces;
using UniModules.UniCore.Runtime.Rx.Extensions;
using UniModules.Uni... | 33.311475 | 84 | 0.626476 | [
"MIT"
] | Mefodei/UniGameFlow | Runtime/Nodes/Commands/PortValuePreTransferCommand.cs | 2,034 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ERP.BLL
{
public class Class1
{
}
}
| 12.166667 | 33 | 0.69863 | [
"Apache-2.0"
] | sbawani2007/GITest | SimpleERP/ERP.BLL/Class1.cs | 148 | C# |
using System;
namespace IntegralEngine.Shading
{
public class BasicShader : Shader
{
public BasicShader() : base("Res/Shaders/basicVertex", "Res/Shaders/basicFragment")
{
}
protected override void BindAttributes()
{
BindAttribute(0,"vPosition"... | 21.73913 | 91 | 0.56 | [
"MIT"
] | iceklue/Integral | IntegralEngine/IntegralEngine/Src/Shading/BasicShader.cs | 502 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
public class HealthPowerUp : PowerUpBase
{
public override IEnumerator ExecuteCo()
{
throw new System.NotImplementedException();
}
public override void Use()
{
CharacterMan... | 23.791667 | 94 | 0.707531 | [
"MIT"
] | denoboi/KodluyoruzEducationalProject-Final | Assets/Kodluyoruz/Projects/EndlessRunner/Scripts/PowerUps/HealthPowerUp.cs | 573 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityModel;
using IdNet6.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptog... | 36.70229 | 125 | 0.630824 | [
"Apache-2.0"
] | simple0x47/IdNet6 | src/IdNet6/src/Extensions/ValidatedAuthorizeRequestExtensions.cs | 4,808 | 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... | 42.113793 | 183 | 0.584295 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/ApplicationAutoScaling/Generated/Model/DeleteScheduledActionRequest.cs | 12,213 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using DotVVM.Framework.ViewModel;
using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace DotVVM.Framework.Api.Swashbuckle.AspNetCore.Filters
{
public class Rem... | 39.516129 | 126 | 0.641633 | [
"Apache-2.0"
] | GerardSmit/dotvvm | src/DotVVM.Framework.Api.Swashbuckle.AspNetCore/Filters/RemoveBindNoneFromUriParametersOperationFilter.cs | 1,227 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Reflection;
namespace IdentityServer4.Resources
{
public static class Scopes
{
public static string GetString(st... | 42.961538 | 111 | 0.706356 | [
"Apache-2.0"
] | ajilantony/identityserver4 | src/IdentityServer4/Resources/Scopes.cs | 1,119 | C# |
using System;
namespace SolidVehicles.Models
{
class SpeedBoat
{
private readonly ILogger _logger = new Logger();
public int MaxSpeedMph { get; }
public string Colour { get; set; }
public SpeedBoat()
{
MaxSpeedMph = 60;
}
public void Sail(Person person, int distance)
{
... | 19.086957 | 109 | 0.635535 | [
"MIT"
] | chrispickford/SolidVehicles | SolidVehicles/Models/SpeedBoat.cs | 441 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... | 99.817352 | 527 | 0.783989 | [
"Apache-2.0"
] | KKL1982/msgpack-cli | test/MsgPack.UnitTest/gen/MsgPack_Serialization_PolymorphicMemberTypeRuntimeType_Normal_PrimitiveReadOnlyFieldAndConstructorSerializer.cs | 22,034 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.LastKNumbersSums
{
class LastKNumbersSums
{
static List<long> sequence = new List<long>();
static void AddToSequence(int numOfPrevious)
{
if(se... | 23.072727 | 85 | 0.432624 | [
"MIT"
] | MustafaAmish/All-Curses-in-SoftUni | 02. Tech Module/Programming Fundamentals/13. Arrays/Arrays - Lab/03.LastKNumbersSums/LastKNumbersSums.cs | 1,271 | C# |
using ServiceStack.DataAnnotations;
namespace AptTool.Security
{
[Alias("package_notes")]
public class PackageNotes
{
[Alias("id")]
public int Id { get; set; }
[Alias("bug_name")]
public string BugName { get; set; }
[Alias("package")]
public... | 24.71875 | 48 | 0.523388 | [
"MIT"
] | adfernandes/apt-tool | src/AptTool/Security/PackageNotes.cs | 791 | C# |
using System;
using System.Collections.Generic;
namespace Tauron.Application.Files.VirtualFiles.Core
{
public abstract class DirectoryBase<TInfo> : FileSystemNodeBase<TInfo>, IDirectory where TInfo : class
{
protected DirectoryBase(Func<IDirectory?> parentDirectory, string originalPath, string name)
... | 37.052632 | 106 | 0.708807 | [
"MIT"
] | augustoproiete-bot/Project-Manager-Akka | Tauron.Application.Files/VirtualFiles/Core/DirectoryBase.cs | 706 | C# |
public interface IReader
{
string ReadLine();
}
| 7.714286 | 24 | 0.666667 | [
"MIT"
] | Divelina/OOP_DependencyInjection | Contracts/IReader.cs | 54 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Sloth.Models.AccountViewModels
{
public class VerifyCodeViewModel
{
[Required]
public string Provider { get; set; }
[Required]
... | 23.038462 | 50 | 0.644407 | [
"MIT"
] | simonmoreau/Sloth | Sloth/Models/AccountViewModels/VerifyCodeViewModel.cs | 601 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using MathParserNet.Exceptions;
namespace MathParserNet
{
public delegate T Func<T, U> (U arg1);
public delegate T Func<T, U, V> (U arg1, V arg2);
public delegate T Func<T, U, V, W> (U arg1, V arg2, W arg3);
public delegate T Func<T, U, V, W, X> (... | 37.22973 | 136 | 0.453721 | [
"BSD-3-Clause"
] | FlorianRappl/YAMP | YAMP.Core.Comparison/MathParserNet/Parser.cs | 41,327 | C# |
// using System.Collections;
// using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuController : MonoBehaviour {
[Header("Settings")]
public string newgame = "NewGame";
public void StartGame(){
SceneManager.LoadScene(newgame);
}
public void OpenOptions(){
... | 15.081081 | 45 | 0.724014 | [
"MIT"
] | concat1911/UnityDefaultStyle | Assets/Scripts/_MENU/MenuController.cs | 560 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
namespace MyWebsite
{
public partial class YourCart : System.Web.UI.Page
{
SqlConnectio... | 40.698113 | 182 | 0.571164 | [
"Apache-2.0",
"MIT"
] | sabika19/AdhereCode | MyWebsite/MyWebsite/YourCart.aspx.cs | 4,316 | C# |
namespace XQ.SDK.Enum
{
/// <summary>
/// 图片消息的来源
/// </summary>
public enum ImageMessageType
{
/// <summary>
/// 来自文件
/// </summary>
FromFile = 0,
/// <summary>
/// 来自Url
/// </summary>
FromWebUrl = 1,
/// <summa... | 17.478261 | 32 | 0.385572 | [
"Apache-2.0"
] | Awbugl/XQCSharpSDK | XQ.SDK/Enum/ImageMessageType.cs | 444 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.