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 (c) 2021 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Telegram.BotAPI.AvailableTypes;
name... | 51.771084 | 281 | 0.681638 | [
"MIT"
] | Eptagone/Telegram.BotAPI | src/Telegram.BotAPI/Games/Game.cs | 4,297 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NAsync;
using NUnit.Framework;
#pragma warning disable 162
namespace NAsyncTests
{
[TestFixture]
[SuppressMessage("ReSharper", "InvokeAsExtensionMethod")]
[SuppressMessage("ReSharpe... | 30.155673 | 118 | 0.472789 | [
"Apache-2.0"
] | jeromerg/NAsync | src/NAsyncTests/ThenTaskTest.cs | 22,860 | C# |
namespace Elreg.Controls.ProgressColumns
{
public class DataGridViewVertProgressColumn : DataGridViewProgressColumn
{
public DataGridViewVertProgressColumn()
{
CellTemplate = new DataGridViewVertProgressCell();
}
}
}
| 23.166667 | 77 | 0.658273 | [
"MIT"
] | Heinzman/DigiRcMan | VisualStudio/Sources/Controls/ProgressColumns/DataGridViewVertProgressColumn.cs | 280 | C# |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Reface.NPI.DynamicProxy.AppOfSqlite.Entities
{
[Table("T_USER")]
public class User
{
public string Id { get; set; }
public string Name { get; set; }
public string LoginName { get; set; }
public stri... | 24.730769 | 54 | 0.528771 | [
"MIT"
] | ShimizuShiori/Reface.NPI.DynamicProxy | src/Reface.NPI.DynamicProxy.AppOfSqlite/Entities/User.cs | 645 | C# |
using System;
using Source.Components;
using Source.Events;
using UnityEngine;
namespace Source.Controllers
{
public class BulletDestroyController : MonoBehaviour
{
private void Awake()
{
EventPool.OnBulletHit.AddListener(OnBulletHit);
}
private void OnBulletHit(Bu... | 20.25 | 59 | 0.637037 | [
"MIT"
] | DavidNightinga1e/Asteroids_1979 | Assets/Source/Controllers/BulletDestroyController.cs | 407 | C# |
//
// Unit tests for AvoidUnnecessaryOverridesRule
//
// Authors:
// N Lum <nol888@gmail.com
//
// Copyright (C) 2010 N Lum
//
// 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 restr... | 24.341837 | 100 | 0.69629 | [
"MIT"
] | JAD-SVK/Gendarme | rules/Gendarme.Rules.Performance/Test/AvoidUnnecessaryOverridesTest.cs | 4,771 | C# |
#region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. 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.a... | 42.115427 | 174 | 0.544695 | [
"Apache-2.0"
] | squanchYourCode/quartz.net-2.0.1 | src/Quartz/Impl/Triggers/CalendarIntervalTriggerImpl.cs | 37,946 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using MariosSpecialtyProducts.Mod... | 33.225352 | 116 | 0.584994 | [
"MIT"
] | kailinishihira/Mario-testing | MariosSpecialtyProducts/Startup.cs | 2,361 | 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... | 27.719298 | 111 | 0.646835 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/FraudDetector/Generated/Model/CreateRuleResponse.cs | 1,580 | C# |
using Go_Bootcamp_Q3.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Go_Bootcamp_Q3.Core.IManagers
{
public interface IWeatherManager
{
Task<List<Weather>> Get(string parameter);
}
}
| 19.733333 | 50 | 0.753378 | [
"MIT"
] | n-p-morales/Go-Bootcamp-Q3 | Go-Bootcamp-Q3/Go-Bootcamp-Q3.Core/IManagers/IWeatherManager.cs | 298 | C# |
using System.Collections.Generic;
using System.IO;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules.Export
{
/// <summary>
/// The interface to implement for adding an export format.
/// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load... | 33.588235 | 134 | 0.624343 | [
"MIT"
] | ChristopherBass/KInspector | KInspector.Modules/Export/IExportModule.cs | 1,144 | C# |
using MediatR;
using SFA.DAS.EmployerUsers.Domain;
namespace SFA.DAS.EmployerUsers.Application.Commands.SuspendUser
{
public class SuspendUserCommand : IAsyncRequest
{
public User User { get; set; }
}
}
| 21.363636 | 65 | 0.689362 | [
"MIT"
] | SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Application/Commands/SuspendUser/SuspendUserCommand.cs | 237 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityExtensions;
/// <summary>
/// Object that computes and manages inputs for the player's controls
/// </summary>
public class InputManager : MonoBehaviour
{
private Dictionary<KeyCode, b... | 27.509615 | 193 | 0.595596 | [
"CC0-1.0"
] | Vanane/CyberBonk | Assets/Scripts/Managers/InputManager.cs | 2,861 | C# |
using System;
namespace CovarianceGenericDel
{
class Cat
{
public string Name { get; set; }
public string Breed { get; protected set; }
public Cat(string name = "Котик")
{
Name = name;
Breed = "Порода не определена";
}
public C... | 23.716981 | 83 | 0.518695 | [
"MIT"
] | Croniks/Algorithms-structures-and-patterns | CovarianceGenericDel/Program.cs | 1,309 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/resources/ad_group_simulation.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Pro... | 44.580231 | 434 | 0.686622 | [
"Apache-2.0"
] | friedenberg/google-ads-dotnet | src/V9/Types/AdGroupSimulation.g.cs | 34,728 | C# |
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// File: DocumentPageView.cs
//
// Description: Provides a view port for a page of content for a DocumentPage.
//
//---------------------------------------------------------... | 37.904717 | 176 | 0.486797 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Controls/Primitives/DocumentPageView.cs | 40,179 | C# |
// Copyright © 2017 Dmitry Sikorsky. 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.Linq;
using ExtCore.Data.EntityFramework;
using Microsoft.EntityFrameworkCore;
using Platformus.Bareb... | 37.892857 | 127 | 0.677191 | [
"Apache-2.0"
] | 5118234/Platformus | src/Platformus.ECommerce.Data.EntityFramework.SqlServer/PositionRepository.cs | 4,247 | C# |
using System;
using System.Threading.Tasks;
using ConfigureAwaitChecker.Tests;
using ConfigureAwaitChecker.Tests.TestClasses;
[CheckerTests.ExpectedResult(new[] { true })]
public class SimpleLambdaWithBraces_Missing : TestClassBase
{
#pragma warning disable 1998
public async Task FooBar()
#pragma warning restore 199... | 24.5 | 61 | 0.765306 | [
"MIT"
] | pmiossec/ConfigureAwaitChecker | ConfigureAwaitChecker.Tests/TestClasses/SimpleLambdaWithBraces_Missing.cs | 394 | C# |
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace KeywordTest
{
using global::System;
using global::System.Collections.Generic;
using global::FlatBuffers;
public struct KeywordsInTable : IFlatbufferObject
{
private Table __p;
public ByteBuff... | 45.255814 | 184 | 0.712744 | [
"Apache-2.0"
] | 0gap/flatbuffers | tests/KeywordTest/KeywordsInTable.cs | 3,892 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Torque3D.Engine;
using Torque3D.Util;
namespace Torque3D
{
public unsafe class sgLightObjectData : GameBaseData
{
public sgLightObjectData(bool pRegister = false)
: base(pRegister)
{
}
public sg... | 22.670455 | 141 | 0.672682 | [
"MIT"
] | lukaspj/T3D-CSharp-Tools | BaseLibrary/Torque3D/Engine/sgLightObjectData.cs | 1,995 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Net.Http;
using System.IO;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Hanselman.Functions.Helpers;
// LotanB c... | 36.483871 | 131 | 0.628352 | [
"MIT"
] | jonathanpeppers/Hanselman.Forms | src/Hanselman.Functions/Triggers/BlogFunctions.cs | 3,393 | C# |
namespace EightOffSolitaireCP.Data;
[SingletonGame]
public class BasicData : IGameInfo, ISolitaireData
{
EnumSolitaireMoveType ISolitaireData.MoveColumns => EnumSolitaireMoveType.OneCardOnly; //this is default. can change to what i want.
int ISolitaireData.WasteColumns => 0;
int ISolitaireData.WasteRows =... | 31.45283 | 142 | 0.754649 | [
"MIT"
] | musictopia2/GamingPackXV3 | CP/Games/EightOffSolitaireCP/Data/BasicData.cs | 1,667 | C# |
using System.Reflection;
using System.Runtime.Serialization.Json;
using EssentialUIKit.ViewModels.Tracking;
namespace EssentialUIKit.DataService
{
public class TrainStatusDataService
{
#region Fields
private static TrainStatusDataService trainStatusDataService;
private TrainStatusPag... | 30.15 | 139 | 0.627418 | [
"MIT"
] | Boolynn/essential-ui-kit-for-xamarin.forms | EssentialUIKit/DataService/TrainStatusDataService.cs | 1,811 | C# |
using Flurl;
using Flurl.Http;
using Vulder.Timetable.Core;
using Vulder.Timetable.Infrastructure.Api.Models;
namespace Vulder.Timetable.Infrastructure.Api;
public static class SchoolApi
{
public static async Task<GetSchoolResponse> GetSchoolModel(Guid? schoolId)
{
return await Constants.BaseApiUrl
... | 31.181818 | 80 | 0.663265 | [
"Apache-2.0"
] | VulderApp/Timetable | src/Vulder.Timetable.Infrastructure/Api/SchoolApi.cs | 686 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
namespace Redwood.VS2013Extension.RwHtmlEditorExtensions.Classification
{
[Export... | 30.12 | 120 | 0.759628 | [
"Apache-2.0"
] | exyi/redwood | src/Redwood.VS2013Extension/RwHtmlEditorExtensions/Classification/RwHtmlClassifierProvider.cs | 755 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using JsonSubTypes;
using Newtonsoft.Json;
using Bitmovin.Api.Sdk.Common;
using Bitmovin.Api.Sdk.Models;
namespace Bitmovin.Api.Sdk.Models
{
/// <summary>
/// EnhancedDeinterlaceFilter
/// </summa... | 25.9 | 70 | 0.627413 | [
"MIT"
] | bitmovin/bitmovin-api-sdk-dotnet | src/Bitmovin.Api.Sdk/Models/EnhancedDeinterlaceFilter.cs | 1,036 | C# |
/*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | 27.916667 | 110 | 0.685419 | [
"MIT"
] | Zongsoft/Zongsoft.Framework | Zongsoft.Commands/src/Configuration/ConfigurationCommand.cs | 4,413 | C# |
using System;
using System.Collections.Generic;
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.Media;
using System.Windows.Media.Imaging;
... | 22.678571 | 45 | 0.71811 | [
"MIT"
] | Daniel-Svensson/MSBuildSdkExtras | TestProjects/Windows-Desktop-C#/WPF-Application/MainWindow.xaml.cs | 635 | C# |
namespace AsterNET.Manager.Event
{
/// <summary>
/// A LeaveEvent is triggered when a channel leaves a queue.<br/>
/// It is implemented in apps/app_queue.c
/// </summary>
public class LeaveEvent : QueueEvent
{
public LeaveEvent(ManagerConnection source)
: base(source)
{
}
}
} | 20.928571 | 66 | 0.68942 | [
"MIT"
] | 1stco/AsterNET | Asterisk.2013/OldAsterNET/Asterisk.NET/Manager/Event/LeaveEvent.cs | 293 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PacmanEsimerkki4
{
class Esimerkki4Program
{
static void Main(string[] args)
{
/**
* Esimerkki4Program.cs
*
... | 38.869231 | 92 | 0.580843 | [
"MIT"
] | nyluntu/PacmanEsimerkki | PacmanEsimerkki/Esimerkki4Program.cs | 5,157 | C# |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 33.15873 | 98 | 0.657731 | [
"Apache-2.0"
] | CoryLiseno/googleads-dotnet-lib | tests/AdWords/v201809/MigrationTest.cs | 2,091 | 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.ServiceFab... | 44.363636 | 144 | 0.59745 | [
"MIT"
] | aL3891/service-fabric-client-dotnet | src/Microsoft.ServiceFabric.Client.Http/Serialization/ApplicationUpgradeUpdateDescriptionConverter.cs | 4,392 | C# |
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
namespace WebApplication24
{
public partial class Startup
{
// For more information on configuring authentication, please visit http://go.microsoft.com/fwlink/?LinkId=301864
public void Co... | 37.236842 | 121 | 0.625442 | [
"Apache-2.0"
] | JannekeliCosta/MyBrendanForsterWebApplication | danger/seriously/WebApplication24/App_Start/Startup.Auth.cs | 1,417 | C# |
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using ModernDev.InTouch;
using VKSaver.Core.ViewModels;
namespace VKSaver.Common
{
public sealed class VKAudioSeeMoreTemplateSelector : DataTemplateSelector
{
public DataTemplate AudioTemplate { get; set; }
public DataTemplate SeeAlsoTempl... | 28.36 | 99 | 0.654443 | [
"Apache-2.0"
] | RomanGL/VKSaver | VKSaver2/VKSaver/VKSaver.UWP/Common/VKAudioSeeMoreTemplateSelector.cs | 711 | C# |
namespace MassTransit.Pipeline.Pipes
{
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Threading.Tasks;
using GreenPipes;
using SendPipeSpecifications;
public class SendPipe :
ISendPipe
{
readonly ConcurrentDictiona... | 30.0125 | 137 | 0.579758 | [
"ECL-2.0",
"Apache-2.0"
] | Aerodynamite/MassTrans | src/MassTransit/Pipeline/Pipes/SendPipe.cs | 2,401 | C# |
/*
Copyright (C) 2012 dbreeze.tiesky.com / Alex Solovyov / Ivars Sudmalis.
It's free software for those who think that it should be free.
https://github.com/hhblaze/Biser
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Threading.Tasks;
namesp... | 31.677711 | 185 | 0.32804 | [
"BSD-2-Clause"
] | ScriptBox99/DBreeze | DBreeze/Utils/BiserJsonDecoder.cs | 21,036 | C# |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Refl... | 39.260331 | 167 | 0.56173 | [
"MIT"
] | Aminator/xenko | sources/core/Xenko.Core.Design/Reflection/AssemblyContainer.cs | 9,501 | C# |
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace rlbot.flat
{
public enum RenderType : sbyte
{
DrawLine2D = 1,
DrawLine3D = 2,
DrawLine2D_3D = 3,
DrawRect2D = 4,
DrawRect3D = 5,
DrawString2D = 6,
DrawString3D = 7,
DrawCenteredRect3D = 8,... | 14.909091 | 70 | 0.698171 | [
"MIT"
] | Turnerj/RocketBot | src/rlbot.flat/rlbot/flat/RenderType.cs | 328 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.632184 | 153 | 0.589032 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsNetworkDaysRequest.cs | 3,100 | C# |
using Microsoft.Framework.Configuration;
using System;
using System.Collections.Generic;
namespace Orchard.Configuration {
internal class InternalConfigurationSource : IConfigurationSource {
private readonly IDictionary<string, string> _values;
public InternalConfigurationSource() {
_... | 30.6 | 131 | 0.665577 | [
"BSD-3-Clause"
] | BilalHasanKhan/Brochard | src/Orchard.Configuration/InternalConfigurationSource.cs | 920 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
public interface ICountDownable
{
/// <summary>
/// CD时长
/// </summary>
TimeSpan CDTimeSpan { get; }
/// <summary>
/// 距离结束时刻时长
/// </summary>
TimeSpan Delta2Finish { get; }
/// <summary>
///... | 26.194915 | 115 | 0.599806 | [
"MIT"
] | KumoKyaku/Megumin.Explosion | Megumin.UnityPackage/Packages/megumin.explosion4unity/Runtime/Scripts/NewClass/CD/CountDownable.cs | 3,163 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using SeoSchema;
using SeoSchema.Enumerations;
using SuperStructs;
namespace SeoSchema.Entities
{
/// <summary>
/// ATM/cash machine.
/// <see cref="https://schema.org/AutomatedTeller"/>
/// </summary>
public clas... | 67.811075 | 427 | 0.703382 | [
"MIT"
] | jefersonsv/SeoSchema | src/SeoSchema/Entities/AutomatedTeller.cs | 20,824 | C# |
// Copyright (c) Josef Pihrt. 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;
namespace Roslynator.CSharp.Analyzers.Tests
{
internal static class ReplaceForEachWithFor
{
private static ... | 25 | 160 | 0.627368 | [
"Apache-2.0"
] | ADIX7/Roslynator | src/Tests/Analyzers.Tests.Old/ReplaceForEachWithFor.cs | 477 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool from CryptoGateway Software Inc.
// Tool name: CGW X-Script RDB visual Layer Generator
//
// Archymeta Information Technologies Co., Ltd.
//
// Changes to this file, ... | 24.509317 | 80 | 0.488596 | [
"Apache-2.0"
] | colinvo/membership-plus | Service/Shared/Model/UserAppMemberPage.cs | 3,946 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 33.348837 | 95 | 0.555788 | [
"MIT"
] | FosterMichelle/azure-powershell | src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionEntity.cs | 4,176 | C# |
// Copyright 2010 Chris Patterson
//
// 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... | 31.5 | 85 | 0.709325 | [
"Apache-2.0"
] | Nangal/Stact | src/Stact.Playground/Rules/Internal/AlphaMemoryElementReference.cs | 1,010 | 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("Con... | 37.837838 | 84 | 0.749286 | [
"MIT"
] | maxwellmiquelino/csharp | ConexaoSQLServer/ConexaoSQLServer/Properties/AssemblyInfo.cs | 1,403 | C# |
namespace SpecFlow.VisualStudio.SpecFlowConnector.Generation;
public interface ISpecFlowGenerator
{
string Generate(string projectFolder, string configFilePath, string targetExtension, string featureFilePath,
string targetNamespace, string projectDefaultNamespace, bool saveResultToFile);
}
| 38 | 112 | 0.835526 | [
"MIT"
] | SpecFlowOSS/SpecFlow.VS | Connectors/SpecFlow.VisualStudio.SpecFlowConnector.V1/Generation/ISpecFlowGenerator.cs | 304 | C# |
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Agoda.Analyzers.AgodaCustom;
using Agoda.Analyzers.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAn... | 43.568627 | 160 | 0.636364 | [
"Apache-2.0"
] | agoda-com/AgodaAnalyzers | src/Agoda.Analyzers.CodeFixes/AgodaCustom/AG0022RemoveSyncMethodFixProvider.cs | 2,224 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Rudrac.TowerDefence;
namespace Rudrac.TowerDefence.Combat
{
[RequireComponent(typeof(AudioSource))]
public class AttackedSoundeffect : MonoBehaviour,IAttackable
{
public AudioClip[] clips;
public void OnA... | 25.263158 | 90 | 0.708333 | [
"Apache-2.0"
] | venkatesh21m/TowerDefenceGame | TowerDefence/Assets/_Scripts/Engine/Combat/Monobehaviours/Attackables/AttackedSoundeffect.cs | 480 | C# |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Cerevo.UB300_Win.Api {
public partial class SwApiCommand {
internal byte[] ToBytes() {
var len = Marshal.SizeOf(this.GetType());
var buffer = new byte[len];
var ptr = Marshal.AllocH... | 32.392857 | 93 | 0.545755 | [
"BSD-3-Clause"
] | cerevo/LiveWedgeWindowsApp | UB300_Win.Api/Commands.Marshalling.cs | 1,816 | C# |
using System;
using System.IO;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Hippo.Extensions;
using Hippo.Models;
using Hippo.Repositories;
using Hippo.Schedulers;
using Hippo.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.A... | 26.018182 | 79 | 0.654787 | [
"Apache-2.0"
] | adamreese/hippo | Hippo/Proxies/ProxyStartup.cs | 1,431 | C# |
namespace Binance.Spot
{
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Binance.Spot.Models;
public class Fiat : SpotService
{
public Fiat(string baseUrl = DEFAULT_SPOT_BASE_URL, string apiKey = null, string apiSecret = nul... | 44.206897 | 212 | 0.558502 | [
"MIT"
] | binance/binance-connector-dotnet | Src/Spot/Fiat.cs | 3,846 | 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAn... | 41.214953 | 131 | 0.521995 | [
"MIT"
] | KyleGalvin/Silk.NET | src/Core/Silk.NET.SilkTouch/NativeContextOverrideGeneration.cs | 4,412 | C# |
using System;
using System.Text;
using System.Web;
using System.Web.Http.Description;
namespace quickdemoemployee.Areas.HelpPage
{
public static class ApiDescriptionExtensions
{
/// <summary>
/// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" instea... | 38.641026 | 144 | 0.573988 | [
"MIT"
] | mkrtrptn/quickdemoemployee | quickdemoemployee/quickdemoemployee/Areas/HelpPage/ApiDescriptionExtensions.cs | 1,507 | C# |
// <copyright file="GenerateCSClientInterop.cs" company="2018 Omar Tawfik">
// Copyright (c) 2018 Omar Tawfik. All rights reserved. Licensed under the MIT License. See LICENSE file in the project root for license information.
// </copyright>
namespace SmallBasic.Generators.Interop
{
using System.Collections.Gener... | 37.816667 | 193 | 0.496695 | [
"MIT"
] | alisonlu/smallbasic-editor | Source/SmallBasic.Generators/Interop/GenerateCSClientInterop.cs | 2,271 | C# |
using System;
namespace Build.Buildary
{
public class Travis
{
public enum EventTypeEnum
{
Push,
PullRequest,
Api,
Cron,
Unknown
}
public static bool IsTravis => Environment.GetEnvironmentVariable("TRAVIS") == "true";... | 28.745455 | 105 | 0.508539 | [
"MIT"
] | MaxMommersteeg/dotnet-buildary | Travis.cs | 1,583 | C# |
public class Solution {
public int TitleToNumber(string s) {
if(string.IsNullOrEmpty(s)) return 0;
int number = 0;
int factor = 1;
for(int i = s.Length - 1; i >= 0; --i)
{
int digit = s[i] - 'A' + 1;
number += digit * factor;
factor *= 26;
... | 25.714286 | 46 | 0.455556 | [
"MIT"
] | xtt129/LeetCode | C#/ExcelSheetColumnNumber.cs | 360 | C# |
using System;
namespace SpeakerMeet.API.Tests
{
internal class SpeakerService
{
private object _fakeRepository;
private IGravatarService fakeGravatarService;
public SpeakerService(object fakeRepository, IGravatarService fakeGravatarService)
{
_fakeRepository = fake... | 24.652174 | 90 | 0.645503 | [
"MIT"
] | nadvolod/speaker-meet | SpeakerMeet/SpeakerMeet/SpeakerService.cs | 569 | 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.Buffers.Text;
using System.Collections.Sequences;
namespace System.Buffers
{
public static class ... | 38.213904 | 148 | 0.519032 | [
"MIT"
] | benaadams/corefxlab | src/System.Buffers.Experimental/System/Buffers/Sequences/SequenceExtensions.cs | 7,148 | C# |
//-----------------------------------------------------------------------------
// <copyright file="SqlDiagnosticListener.cs" company="Amazon.com">
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may ... | 41.037879 | 148 | 0.539413 | [
"Apache-2.0"
] | QPC-database/aws-xray-dotnet-agent | src/sdk/Sql/SqlDiagnosticListener.cs | 5,419 | C# |
using Microsoft.AspNetCore.Mvc;
namespace Ion.MicroServices.ApiControllers.Demo.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private static readonly string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "... | 30.757576 | 106 | 0.596059 | [
"MIT"
] | ionizd/ion | ion.microservices/ion-microservices-api-pkg/demo/Ion.MicroServices.ApiiControllers.Demo/Controllers/WeatherForecastController.cs | 1,015 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Tests
{
internal class StrictReadOnlyList<T> : IReadOnlyList<T>
{
private readonly List<T> inner;
public StrictReadOnlyList(IEnumerable<T> elements)
=> inner = new(elements);
public T this[int index] => ((IReadOnlyList... | 23.862069 | 92 | 0.731214 | [
"MIT"
] | tsonto/ImmutableArraySegment | ImmutableArraySegment.Tests/StrictReadOnlyList.cs | 694 | 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.TestUtilities;
using Xunit;
namespace Microsoft.AspNet.WebHooks
{
public class InstagramNotificationDataTests
{
privat... | 30.8 | 129 | 0.720779 | [
"Apache-2.0"
] | Mythz123/AspNetWebHooks | test/Microsoft.AspNet.WebHooks.Receivers.Instagram.Test/WebHooks/InstagramNotificationDataTests.cs | 618 | C# |
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class GrasshopperBasicFunctionFixerTests
{
[Test]
[TestCase(5, ExpectedResult = 10)]
[TestCase(0, ExpectedResult = 5)]
[TestCase(-5, ExpectedResult = 0)]
public static int FixedTes... | 23.388889 | 62 | 0.622328 | [
"MIT"
] | a-kozhanov/codewars-csharp | CodeWarsTests/8kyu/GrasshopperBasicFunctionFixerTests.cs | 423 | 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>
//--... | 43.75 | 184 | 0.615357 | [
"Apache-2.0"
] | tanjera/infirmary-integrated | II Development Tools/Dictionary Builder/Properties/Resources.Designer.cs | 2,802 | C# |
using Orchard.Localization;
using Orchard.UI.Navigation;
namespace Orchard.MediaLibrary.Providers {
public class OEmbedMenu : INavigationProvider {
public Localizer T { get; set; }
public OEmbedMenu() {
T = NullLocalizer.Instance;
}
public string MenuName { get { retu... | 33.818182 | 97 | 0.58871 | [
"BSD-3-Clause"
] | 1996dylanriley/Orchard | src/Orchard.Web/Modules/Orchard.MediaLibrary/Providers/OEmbedMenu.cs | 746 | C# |
// SF API version v50.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// Flow Version
///<para>SObject Name: FlowVersionView</para>
/... | 27.431138 | 55 | 0.644619 | [
"MIT"
] | Mintish/NetCoreForce | src/NetCoreForce.Models/SfFlowVersionView.cs | 4,581 | C# |
using Sce.Pss.Core;
using System;
namespace Sce.Pss.HighLevel.GameEngine2D
{
public class RotateBy : ActionTweenGenericVector2Rotation
{
public RotateBy(Vector2 target, float duration)
{
this.TargetValue = target;
this.Duration = duration;
this.IsRelative = true;
this.Get = (() => base.Target.Rotatio... | 19.809524 | 58 | 0.692308 | [
"MIT"
] | weimingtom/Sakura | Sce.Pss.HighLevel/GameEngine2D/RotateBy.cs | 416 | C# |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Extensions.DependencyInjection;
using MigrationTools.Endpoints;
namespace MigrationTools._EngineV1.Clients
{
public class WorkItemQueryBuilder : IWorkItemQueryBuilder
{
internal Dictionary<string, str... | 38.492063 | 159 | 0.613196 | [
"MIT"
] | Kota9006/TestMigration | src/MigrationTools/_EngineV1/Clients/WorkItemQueryBuilder.cs | 2,427 | C# |
using System.Threading.Tasks;
using NuKeeper.Abstractions.NuGet;
using NuKeeper.Abstractions.RepositoryInspection;
namespace NuKeeper.Update
{
public interface IUpdateRunner
{
Task Update(PackageUpdateSet updateSet, NuGetSources sources);
}
}
| 22 | 70 | 0.776515 | [
"Apache-2.0"
] | Bouke/NuKeeper | NuKeeper.Update/IUpdateRunner.cs | 264 | C# |
using System.Collections;
using System.Collections.Generic;
namespace Zpp.Mrp.MachineManagement
{
public class StackSet<T>:IStackSet<T>
{
private List<T> _list = new List<T>();
private int _count = 0;
private Dictionary<T, int> _indices = new Dictionary<T, int>();
public StackS... | 21.653846 | 71 | 0.430728 | [
"Apache-2.0"
] | LennertBerkhan/ng-erp-4.0 | Zpp/Mrp/MachineManagement/StackSet.cs | 2,252 | C# |
using RestWithASPNET.Model;
using RestWithASPNET.Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RestWithASPNET.Repository.Generic
{
public interface IRepository<T> where T : BaseEntity
{
T Create(T item);
T Update(T item)... | 18 | 56 | 0.662222 | [
"Apache-2.0"
] | saulodacruz/RestWithASPNET5 | 02_RestWithASPNET_Calculator/RestWithASPNET/RestWithASPNET/Repository/Generic/IRepository.cs | 452 | C# |
//*********************************************************************
//Docify
//Copyright(C) 2020 Xarial Pty Limited
//Product URL: https://docify.net
//License: https://docify.net/license/
//*********************************************************************
using System;
using System.Collections.Generic;
using... | 35.8625 | 192 | 0.525444 | [
"MIT"
] | EddyAlleman/docify | lib/Plugins/Plugins.CodeSnippet/CodeSnippetPlugin.cs | 11,478 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p2.Pisp.Models
{
using Microsoft.Rest;
using Newton... | 35.652632 | 184 | 0.605846 | [
"MIT"
] | finlabsuk/open-banking-connector | src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p2/Pisp/Models/OBWriteFileConsent3DataInitiationDebtorAccount.cs | 3,387 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public partial class TestControl : MonoBehaviour {
#region manger
Action<bool> m_curfunc;
Action<bool> m_nextfunc;
Action<bool> m_tempfunc;
bool m_noWait;
void _update()
{
w... | 20.496479 | 73 | 0.396324 | [
"MIT"
] | NNNIC/psgg-unity-tutorial | _beta/Tutorial03/Assets/TestControl.cs | 5,881 | 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... | 46.031008 | 293 | 0.617969 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Neptune/Basic/Get-NPTEngineDefaultParameter-Cmdlet.cs | 11,876 | C# |
using AspNetCoreHero.Boilerplate.Application.Interfaces.Repositories;
using AspNetCoreHero.Boilerplate.Infrastructure.DbContexts;
using Microsoft.Extensions.Caching.Distributed;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AspNetCoreHero... | 29.509434 | 108 | 0.641304 | [
"MIT"
] | timsar2/Boilerplate | AspNetCoreHero.Boilerplate.Infrastructure/Repositories/RepositoryWrapper.cs | 1,566 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using DotLiquid;
using Newtonsoft.Json.Linq;
namespace Tonk.DOM
{
internal static class Merger
{
private static readonly Regex ExtractCommandsRegex ... | 26.350877 | 104 | 0.593209 | [
"MIT"
] | willgeorgetaylor/tonk | Tonk.DOM/Merger.cs | 1,504 | C# |
#region License
/*
Copyright © 2014-2018 European Support Limited
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 a... | 28 | 75 | 0.727041 | [
"Apache-2.0"
] | DebasmitaGhosh/Ginger | Ginger/Ginger/PluginsLibNew/AddPluginWizardLib/AddPluginPackageToSolutionPage.xaml.cs | 1,177 | 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... | 42.005952 | 154 | 0.597563 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Devices/V20170821Preview/IotDpsResource.cs | 7,057 | C# |
using System;
using System.Linq;
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
namespace Assets
{
[CustomEditor(typeof(Road))]
class RoadEditor : Editor
{
public static void RefreshRoadPoints(Road road)
{
road.roadPoints = new List<Transform>();
... | 22.454545 | 64 | 0.54251 | [
"CC0-1.0"
] | zak-reynolds/phoenix-overdrive | Assets/Editor/RoadEditor.cs | 743 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
namespace GUI {
public class Item : MovieClip
{
public TextMeshPro field;
public Container container;
public float width;
/*------------------------------------------------------------------------
CONSTRUCTEUR
--------... | 25.722222 | 96 | 0.396688 | [
"CC0-1.0"
] | Schnips12/Hammerfest-united | Assets/Scripts/GUI/Item.cs | 1,391 | C# |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CStorySceneEventAnimation : CStorySceneEventAnimClip
{
[Ordinal(1)]... | 40.821918 | 137 | 0.690268 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/CStorySceneEventAnimation.cs | 2,908 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Locust.Compression
{
public interface ICompression
{
byte[] Compress(byte[] data);
byte[] Decompress(byte[] data);
Stream Compress(Stream data)... | 25.909091 | 50 | 0.668421 | [
"MIT"
] | mansoor-omrani/Locust.NET | Library/Locust.Compression/ICompression.cs | 572 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
usin... | 40.34188 | 171 | 0.598623 | [
"MIT"
] | KhalilMohammad/DemoTodoList | aspnet-core/src/TodoList.Web.Core/Controllers/TokenAuthController.cs | 9,442 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Dns.V2.Model
{
/// <summary>
/// Request Object
/// </summary>
public ... | 31.850467 | 111 | 0.510563 | [
"Apache-2.0"
] | cnblogs/huaweicloud-sdk-net-v3 | Services/Dns/V2/Model/DeleteTagRequest.cs | 3,468 | C# |
namespace DynamicLinqWithExpressionTree.Database
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Person.BusinessEntity")]
public partial class Busines... | 29.657143 | 95 | 0.682081 | [
"Apache-2.0"
] | anbinhtrong/DynamicLinQWithExpressionTree | DynamicLinqWithExpressionTree/Database/BusinessEntity.cs | 1,038 | C# |
using System;
using FluentAssertions.Extensions;
using Xunit;
using Xunit.Sdk;
namespace FluentAssertions.Specs.Primitives
{
public class SimpleTimeSpanAssertionSpecs
{
[Fact]
public void When_asserting_positive_value_to_be_positive_it_should_succeed()
{
// Arrange
... | 34.238606 | 166 | 0.567966 | [
"Apache-2.0"
] | ABergBN/fluentassertions | Tests/FluentAssertions.Specs/Primitives/SimpleTimeSpanAssertionSpecs.cs | 25,544 | C# |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... | 46.540541 | 173 | 0.692218 | [
"MIT"
] | AgneLukoseviciute/react-native-windows-samples | samples/TodosFeed/InventorySample/Inventory.App/Tools/ElementSet/ElementSet.Methods.cs | 1,724 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InventarioAPI.Entities
{
public class Factura
{
public int NumeroFactura { get; set; }
[Required]
public string Nit { get; set; }
... | 25.105263 | 65 | 0.668763 | [
"Apache-2.0"
] | johnsvill/almacen-api | Entities/Factura.cs | 479 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Lib
{
public class Flatten
{
public Flatten(Store srcStore)
{
this.srcStore = srcStore;
populateSrcTags();
}
// newline seperated bufffer of tags to k... | 34.44878 | 129 | 0.501133 | [
"MIT"
] | zablej/rvmparser | Source/Lib/Flatten.cs | 7,064 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Globalization;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows.Data;
using GitHub.Exports;
using GitHub.Extensions;... | 35.069264 | 117 | 0.581286 | [
"MIT"
] | cxj16888/VisualStudio | src/GitHub.App/ViewModels/Dialog/Clone/RepositorySelectViewModel.cs | 8,103 | C# |
using Arc4u.Diagnostics.Serilog.Sinks.RealmDb;
using Realms;
using Serilog.Configuration;
using System;
namespace Serilog
{
public static class RealmDBExtension
{
public static LoggerConfiguration RealmDB(this LoggerSinkConfiguration loggerConfiguration)
{
return loggerConfiguratio... | 23.73913 | 110 | 0.681319 | [
"Apache-2.0"
] | GFlisch/Arc4u | src/Arc4u.Standard.Diagnostics.Serilog.Sinks.RealmDb/Realm/RealmDBExtension.cs | 548 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Carnet_Adresse
{
internal class ListeDeContact:ListBox
{
public List<Contact> Carnet { get; set; }
public ListeDeContact()
{
... | 16.551724 | 49 | 0.604167 | [
"MIT"
] | CMGeorges/Carnet_Adresse | ListeDeContact.cs | 482 | C# |
/* Copyed from Caliburn.Micro
* Original source file:
* https://github.com/Caliburn-Micro/Caliburn.Micro/blob/master/src/Caliburn.Micro.Core/IoC.cs
**/
using System;
using System.Collections.Generic;
using System.Linq;
namespace WpfSample
{
/// <summary>
/// Used by the framework to pull instances from a... | 39.236364 | 166 | 0.618628 | [
"MIT"
] | kira-96/Stylet-Sample | SimpleIoC.cs | 2,160 | C# |
namespace _11.Geometry_Calculator___Exercises
{
using System;
public class GeometryCalculator
{
public static void Main()
{
string typeOfFugure = Console.ReadLine();
if (typeOfFugure == "triangle")
{
double a = double.Parse(Console.ReadL... | 28.83871 | 69 | 0.503915 | [
"MIT"
] | alexandrateneva/Programming-Fundamentals-SoftUni | Method, debugging, troubleshooting code/11. Geometry Calculator - Exercises/GeometryCalculator.cs | 1,790 | C# |
namespace _03.EnduranceRally
{
public class Driver
{
public string Name { get; set; }
public double Fuel { get; set; }
public int ZoneReached { get; set; }
}
}
| 16.583333 | 44 | 0.567839 | [
"MIT"
] | Pazzobg/02.01.Programming-Fundamentals-Class | 00.Exam-Preparation/01. Exam Preparation I/ExamPreparationI/03.EnduranceRally/Driver.cs | 201 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 30.222222 | 89 | 0.684743 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Media/Outputs/CencDrmConfigurationResponse.cs | 1,088 | C# |
using NUnit.Framework;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
using Newtonsoft.Json;
using Excel = Microsoft.Office.Interop.Excel;
using System;
namespace WebAddressbookTests
{
[TestFixture]
public class AddNewContact : ContactTe... | 35.090909 | 130 | 0.573187 | [
"Apache-2.0"
] | DamsYaYa/bug-free-spoon | addressbook-web-tests/addressbook-web-tests/Tests/ContactCreationTests.cs | 4,634 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.