content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Settings;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Extensions.Configurati... | 41.038961 | 156 | 0.618671 | [
"MIT"
] | zlu89/FeelingWell | Feeling Well Bot/CoreWithLanguage_1/Controllers/BotController.cs | 3,160 | C# |
using System;
using System.Runtime.Serialization;
using MyJetWallet.Domain.Orders;
namespace Service.Liquidity.TradingPortfolio.Domain.Models
{
[DataContract]
public class PortfolioTrade
{
public const string TopicName = "jetwallet-liquidity-tradingportfolio-trades";
[DataMember(Order = 1)... | 75.657895 | 179 | 0.682435 | [
"MIT"
] | MyJetWallet/Service.Liquidity.TradingPortfolio | src/Service.Liquidity.TradingPortfolio.Domain.Models/PortfolioTrade.cs | 2,901 | 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("13... | 38.459459 | 84 | 0.748419 | [
"MIT"
] | V-Uzunov/Soft-Uni-Education | 01.ProgrammingBasicsC#/04.SimpleLoops/13.DivisionWithoutResidue/Properties/AssemblyInfo.cs | 1,426 | C# |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace GameFramework.Sound
{
... | 26.818182 | 63 | 0.476271 | [
"MIT"
] | 823040692/Frame | GameFramework/Sound/ISoundHelper.cs | 641 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 29.344828 | 81 | 0.681551 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/MachineLearningServices/V20210701/Inputs/PersonalComputeInstanceSettingsArgs.cs | 851 | C# |
#region Usings
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Eshva.Poezd.Core.Pipeline;
#endregion
namespace Eshva.Poezd.Core.IntegrationTests.Tools
{
/// <summary>
/// An empty handler registry.
/// </summary>
[ExcludeFromCodeCoverage]
internal class EmptyHan... | 22.30303 | 82 | 0.679348 | [
"MIT"
] | Eshva/Eshva.Poezd | tests/Eshva.Poezd.Core.IntegrationTests/Tools/EmptyHandlerRegistry.cs | 736 | 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://ww... | 49.271226 | 192 | 0.587478 | [
"MIT"
] | Agazoth/azure-powershell | src/Sql/Sql/Database/Services/AzureSqlDatabaseAdapter.cs | 20,468 | C# |
using System;
using System.Reflection;
namespace HITUOISR.Toolkit.Settings
{
/// <summary>
/// 指定获取设置默认值的成员。
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class SettingsDefaultValueMemberAttribute : Attribute
{
/// <summary>
/// 用于获取默认值的成员名称。
/// </s... | 33.064516 | 154 | 0.547967 | [
"MIT"
] | HIT-UOI-SR/HITUOISR.Toolkit | HITUOISR.Toolkit.Settings.Model/src/SettingsDefaultValueMemberAttribute.cs | 3,241 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using ExamKing.Application.Consts;
using ExamKing.Application.Mappers;
using ExamKing.Application.Services;
using Furion.DatabaseAccessor;
using Mapster;
using Microsoft.AspNetCore.Mvc;
namespace ExamKing.WebApp.Teacher
{
/// <summary>
/// 试卷接口
... | 31.75 | 103 | 0.540055 | [
"MIT"
] | pig0224/ExamKing | ExamKing.WebApp.Teacher/Controllers/ExamController.cs | 5,972 | C# |
using GalaSoft.MvvmLight;
using PowerApps_Theme_Editor.Model;
namespace PowerApps_Theme_Editor.ViewModel
{
/// <summary>
/// This class contains properties that a View can data bind to.
/// </summary>
public class PaletteViewModel : ViewModelBase
{
public Palette Palette { get; set; }
... | 23.195122 | 69 | 0.446372 | [
"MIT"
] | AzureMentor/powerapps-tools | Tools/Apps/Microsoft.PowerApps.ThemeEditor/ViewModel/PaletteViewModel.cs | 1,904 | C# |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software 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 copyright notice, th... | 64.044444 | 750 | 0.762665 | [
"BSD-3-Clause"
] | AlexAX135/vrs | Test/Test.VirtualRadar.Interface/PluginStartupParametersTests.cs | 2,885 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Web.Http.Dependencies;
using Ninject;
using Ninject.Syntax;
namespace JabbR.Infrastructure
{
public class NinjectDependencyScope : IDependencyScope
{
private IResolutionRoot resolver;
internal Ni... | 26.031746 | 98 | 0.614024 | [
"MIT"
] | AAPT/jean0226case1322 | JabbR/Infrastructure/NinjectWebApiDependencyResolver.cs | 1,642 | C# |
using Solnet.Wallet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solnet.Raydium
{
/// <summary>
/// Collection of Raydium specific consts
/// </summary>
public class Consts
{
public const string STAKE_PROGRA... | 25.04878 | 114 | 0.740019 | [
"MIT"
] | bmresearch/Solnet.Raydium | Solnet.Raydium/Consts.cs | 1,029 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace UsersApi.Tests.EndToEnd.Helpers
{
public static class TestHttpClientFactory
{
public st... | 27.62963 | 73 | 0.660858 | [
"MIT"
] | BlackOpts/RestAPIASP.NET | Part 8 Testing RESTFul API/UsersApi.Tests.EndToEnd/Helpers/TestHttpClientFactory.cs | 748 | 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("Its... | 37.571429 | 84 | 0.75057 | [
"Unlicense"
] | asakura89/Deto | Properties/AssemblyInfo.cs | 1,318 | C# |
namespace AngleSharp.Core.Tests.Css
{
using AngleSharp.Core.Tests.Mocks;
using AngleSharp.Dom;
using NUnit.Framework;
[TestFixture]
public class SlickspeedTests
{
IDocument document;
[TestFixtureSetUp]
public void Setup()
{
var config = Configuratio... | 29.4 | 95 | 0.567234 | [
"MIT"
] | Livven/AngleSharp | AngleSharp.Core.Tests/Css/Slickspeed.cs | 8,822 | C# |
using CarouselView.FormsPlugin.Abstractions;
using CarouselView.FormsPlugin.UWP;
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Xamarin.Forms.Platform.UWP;
using System.ComponentModel;
using System.Collections.Generic;
using Windows.UI.Xaml.Media;
using System.Collections.ObjectMod... | 35.554855 | 172 | 0.538145 | [
"MIT"
] | Ruddy2007/CarouselView | CarouselView/CarouselView.FormsPlugin.UWP/CarouselViewImplementation.cs | 28,197 | C# |
using System.Collections.Generic;
using System.Linq;
using BoutiqueCommonXUnit.Data;
using BoutiqueCommonXUnit.Data.Models.Implementations;
using BoutiqueDTOXUnit.Data.Models.Implementations;
using BoutiqueDTOXUnit.Data.Models.Interfaces;
namespace BoutiqueMVCXUnit.Data
{
public class TransferData
{... | 37.545455 | 137 | 0.62954 | [
"MIT"
] | rubilnik4/VeraBoutique | BoutiqueMVCXUnit/Data/TransferData.cs | 1,329 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Events;
namespace WeersProductions
{
public class OnHover : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler {
public delegate void OnPointerEvent(PointerEventData eventData);
... | 25.232877 | 107 | 0.686211 | [
"MIT"
] | WeersProductions/MenuManager | Scripts/CustomPresets/Components/OnHover.cs | 1,844 | C# |
namespace MassTransit.AmazonSqsTransport.Configuration.Configuration
{
using System;
using System.Collections.Generic;
using Builders;
using Context;
using GreenPipes;
using GreenPipes.Agents;
using GreenPipes.Builders;
using GreenPipes.Configurators;
using MassTransit.Configuration... | 35.717949 | 155 | 0.666427 | [
"Apache-2.0"
] | dotnetjunkie/MassTransit | src/MassTransit.AmazonSqsTransport/Configuration/Configuration/AmazonSqsReceiveEndpointConfiguration.cs | 8,360 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Visualization.Adapters
{
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using Microsoft.Psi.Visualization.Data;
/// <summary>
/... | 30.21875 | 102 | 0.638056 | [
"MIT"
] | Bhaskers-Blu-Org2/psi | Sources/Visualization/Microsoft.Psi.Visualization.Common.Windows/Adapters/ListRectangleAdapter.cs | 969 | 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... | 32.806122 | 213 | 0.626128 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Authorization/V20190601/GetPolicySetDefinition.cs | 3,215 | 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.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Kes... | 39.503937 | 138 | 0.628264 | [
"Apache-2.0"
] | 1175169074/aspnetcore | src/Servers/Kestrel/Core/test/HeartbeatTests.cs | 5,017 | C# |
//using System.Runtime.CompilerServices;
namespace Bssom.Serializer.Resolvers
{
/// <summary>
/// Default composited resolver, Object -> Primitive -> Attribute -> BssomValue -> BuildIn -> IDictionary -> ICollection -> MapCodeGen.
/// </summary>
public sealed class CompositedResolver : IFormatterResolv... | 31.8 | 139 | 0.556604 | [
"MIT"
] | LeoYang-Chuese/Bssom.Net | Bssom.Serializer/Resolvers/CompositedResolver.cs | 1,592 | C# |
using System.Collections.Generic;
using System.Xml.Serialization;
using Alipay.AopSdk.Core.Domain;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// KoubeiRetailShopitemBatchqueryResponse.
/// </summary>
public class KoubeiRetailShopitemBatchqueryResponse : AopResponse
{
/// <summar... | 25.4 | 69 | 0.653543 | [
"MIT"
] | leixf2005/Alipay.AopSdk.Core | Alipay.AopSdk.Core/Response/KoubeiRetailShopitemBatchqueryResponse.cs | 520 | C# |
using BuildIt.CognitiveServices;
using BuildIt.CognitiveServices.Models;
using CognitiveServicesDemo.Common;
using CognitiveServicesDemo.Model;
using MvvmCross.Core.ViewModels;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text... | 34.086957 | 160 | 0.551913 | [
"MIT"
] | builttoroam/BuildIt | src/BuildIt.CognitiveServices/Samples/CognitiveServicesDemo/ViewModels/LanguageTextAnalyticsViewModel.cs | 7,842 | C# |
using System;
using System.Net.Sockets;
using System.Threading.Tasks;
using SharpMessaging.Core.Networking.Helpers;
namespace SharpMessaging.Core.Networking
{
public class SocketReceiver : IReceiveState
{
private readonly SocketAsyncEventArgs _readArgs;
private readonly SocketAwaitable _readAw... | 34.453488 | 121 | 0.58218 | [
"Apache-2.0"
] | jgauffin/SharpMessaging | src/SharpMessaging.Core/Networking/SocketReceiver.cs | 2,965 | C# |
#region CVS Version Header
/*
* $Id$
* Last modified by $Author$
* Last modified at $Date$
* $Revision$
*/
#endregion
#region usings
using System;
using System.Collections;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Text;
using System... | 38.022968 | 144 | 0.694577 | [
"BSD-3-Clause"
] | RssBandit/RssBandit | source/RssBandit/WinGui/Controls/StateSerializationHelper.cs | 21,523 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System;
u... | 46.353383 | 166 | 0.592944 | [
"MIT"
] | HaoQian-MS/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMImageTests.cs | 12,330 | C# |
// Copyright (c) 2015 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | 43.72 | 95 | 0.798262 | [
"MIT"
] | TetradogOther/SharpDevelop | src/AddIns/Misc/PackageManagement/Test/Src/Helpers/TestableInstallPackageAction.cs | 2,188 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Utils.EnumResourse;
namespace EntitysServices
{
public class BillingRequest
{
public int Id { get; set; }
public int Idclient { get; set; }
public int IdPayment { get; set; }
public int IdOrder { get; set... | 22.166667 | 65 | 0.64411 | [
"MIT"
] | andrez299321/JvMySandwiche | JvBillingServices/EntitysServices/BillingRequest.cs | 401 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request to modify the system's default policy settings.
/// The response is e... | 42.912222 | 157 | 0.690919 | [
"MIT"
] | cwmiller/broadworks-connector-net | BroadworksConnector/Ocip/Models/SystemPolicyModifyDefaultRequest14.cs | 38,621 | C# |
// <copyright file="GetAssemblyFromFile_Should.cs" company="Automate The Planet Ltd.">
// Copyright 2018 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.... | 39.138889 | 99 | 0.709013 | [
"Apache-2.0"
] | AutomateThePlanet/Meissa | Meissa.Infrastructure.UnitTests/ReflectionProviderTests/GetAssemblyFromFile_Should.cs | 1,411 | C# |
using System.Security;
using System.Windows.Controls;
using WorkingWithMaps.Example.Core;
namespace WorkingWithMaps.Example.Views
{
public partial class LoginView : UserControl, IHavePassword
{
public LoginView()
{
InitializeComponent();
}
public SecureString Passw... | 19.88 | 63 | 0.595573 | [
"Apache-2.0"
] | anttikajanus/working-with-maps-arcgis-runtime-dotnet | src/WorkingWithMaps/Views/LoginView.xaml.cs | 499 | C# |
using UnityEditor;
using UnityEngine;
using UniGLTF;
using System.IO;
using UniGLTF.MeshUtility;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experimental.AssetImporters;
#endif
namespace UniVRM10
{
[CustomEditor(typeof(VrmScriptedImporter))]
public class VrmScriptedImp... | 29.101124 | 128 | 0.527413 | [
"MIT"
] | oocytanb/UniVRM | Assets/VRM10/Editor/ScriptedImporter/VrmScriptedImporterEditorGUI.cs | 2,592 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 08.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 29.582781 | 158 | 0.562794 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete/Int64/Double/TestSet_001__fields__01__VV.cs | 4,469 | C# |
using System;
using ha.models.contracts;
using ha.sdk;
namespace ha.data.models
{
class DBCommand : ICommand
{
public DBCommand()
{
Id = Guid.NewGuid().ToString();
}
public string Id { get; set; }
public DbDevice Device { get; set; }
public string C... | 23.173913 | 83 | 0.574109 | [
"MIT"
] | petefield/ha.hub | ha.hub.data/models/DbDeviceState.cs | 535 | C# |
namespace ClassBoxDataValidation
{
using System;
public class Box
{
// Fields.
private double length;
private double width;
private double height;
// Properties.
private double Length
{
set
{
if (value <= 0)
... | 22.855263 | 117 | 0.425446 | [
"MIT"
] | VeselinBPavlov/csharp-oop-basics | 06. Encapsulation - Exercise/ClassBoxDataValidation/Box.cs | 1,739 | C# |
using LinkedLists.Classes;
using MergeLists;
using System;
using Xunit;
namespace TestMergeList
{
public class UnitTest1
{
[Theory]
[InlineData(0, 1)]
[InlineData(3, 9)]
[InlineData(5, 4)]
public void TestMerge(int position, int expected)
{
LinkedList... | 25.903226 | 59 | 0.524284 | [
"MIT"
] | btaylor93/Data-Structures-and-Algorithms | Challenges/MergeLists/TestMergeList/UnitTest1.cs | 803 | 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.Windows.Input;
namespace Microsoft.Test.Input
{
/// <summary>
/// The raw act... | 28.93985 | 85 | 0.491556 | [
"MIT"
] | batzen/wpf-test | src/Test/Common/Code/Microsoft/Test/Input/RawMouseActions.cs | 3,849 | C# |
// <copyright file="FieldBlock.cs" company="LeetABit">
// Copyright (c) Hubert Bukowski. All rights reserved.
// Licensed under the MIT License.
// See LICENSE file in the project root for full license information.
// </copyright>
namespace LeetABit.Binary.Blocks
{
using System;
/// <summary>
/// ... | 38.3625 | 136 | 0.60378 | [
"MIT"
] | hubuk/Binary | src/LeetABit.Binary.Protocols/Blocks/FieldBlock.cs | 3,069 | C# |
#region File Description
//-----------------------------------------------------------------------------
// Game.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
... | 35.627586 | 109 | 0.610724 | [
"MIT"
] | sa501428/playground | Aurora/GameStateManagementSample/Game.cs | 5,166 | C# |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... | 33.824427 | 110 | 0.606409 | [
"Apache-2.0",
"CC0-1.0"
] | DirectXceriD/gridgain | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEnumerator.cs | 4,443 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ------------------------------------------------------------
namespace Microsoft.Extensions.DependencyInjection
{
using System;
using Dapr;
using Microsoft.AspNetCor... | 35 | 117 | 0.572507 | [
"MIT"
] | brucehu123/dotnet-sdk | src/Dapr.AspNetCore/DaprMvcBuilderExtensions.cs | 1,855 | C# |
using SistemaTaller.BackEnd.API.Models;
using SistemaTaller.BackEnd.API.Repository;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace SistemaTaller.BackEnd.API.RepositorySQL
{
public class EstadoReparacionesRe... | 41.217822 | 242 | 0.668989 | [
"MIT"
] | Dynart/SistemaTaller.BackEnd | SistemaTaller.BackEnd.API/RepositorySQL/EstadoReparacionesRepository.cs | 4,165 | C# |
namespace JobsInterfaces
{
using Hangfire.Server;
public interface IDummyJob
{
void DoJob(PerformContext context);
}
}
| 13.272727 | 43 | 0.657534 | [
"MIT"
] | face-it/Hangfire.Tags | samples/MultipleDashboards/JobsInterfaces/IDummyJob.cs | 148 | C# |
// Copyright (c) Aurora Studio. All rights reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Com.Aurora.AuWeather.Core.Models.Caiyun.JsonContract;
using Com.Aurora.AuWeather.Core.Models.WunderGround.JsonContract;
using System;
using System.Globalizat... | 31.814815 | 129 | 0.549942 | [
"MIT"
] | aurora-lzzp/Aurora-Weather | com.aurora.auweather/Com.Aurora.AuWeather.Core/Models/HeWeather/NowWeather.cs | 4,297 | C# |
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
namespace Stryker.Core.Mutants
{
public sealed class TestDescription
{
private static readonly TestDescription AllTestsDescription;
private static readonly string AllTestsGuid = "-1";
... | 28.261538 | 103 | 0.602613 | [
"Apache-2.0"
] | JohnMcGlynnMSFT/stryker-net | src/Stryker.Core/Stryker.Core/Mutants/TestDescription.cs | 1,839 | C# |
//
// Copyright (c) Gianni Rosa Gallina. All rights reserved.
// Licensed under the MIT license.
//
// MIT License:
// 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 restrict... | 37.3125 | 74 | 0.625461 | [
"MIT"
] | gianni-rg/wpc-2017-ai | WPC.AI.Samples.Common/Model/DataSetEntry.cs | 2,987 | C# |
// Copyright (C) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... | 40.230769 | 162 | 0.58174 | [
"MIT"
] | awatin/neo | src/neo/Cryptography/BloomFilter.cs | 4,184 | 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("zam... | 37.675676 | 84 | 0.748207 | [
"MIT"
] | Allbeert/zamnMetronome | zamnMetronome/Properties/AssemblyInfo.cs | 1,397 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 34.392157 | 94 | 0.67959 | [
"Apache-2.0"
] | NoleHealth/xamarin-forms-book-preview-2 | Chapter21/BlockText/BlockText/BlockText.WinPhone81/MainPage.xaml.cs | 1,756 | C# |
// MIT License
//
// Copyright (c) [2020] [Joe Chavez]
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | 41.485714 | 159 | 0.558815 | [
"MIT"
] | gitizenme/spitzer | Spitzer/Views/ItemDetailPage.xaml.cs | 7,262 | C# |
namespace ExRam.Gremlinq.Core.Models
{
public readonly struct ElementMetadata
{
public ElementMetadata(string label)
{
Label = label;
}
public string Label { get; }
}
}
| 17.461538 | 44 | 0.568282 | [
"MIT"
] | BlacktopSoftwareStudios/ExRam.Gremlinq | src/ExRam.Gremlinq.Core/Models/Metadata/ElementMetadata.cs | 229 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using Duality;
using Duality.Components;
using Duality.Components.Renderers;
using Duality.Resources;
using Duality.Drawing;
using Duality.Editor;
namespace Duality.Editor.Plugins.Base.DataConverters
{
public class ComponentFromMat... | 31.938776 | 122 | 0.701597 | [
"MIT"
] | AdamsLair/duality | Source/Plugins/EditorBase/DataConverters/ComponentFromMaterial.cs | 3,132 | C# |
namespace StealthTech.RayTracer.Library
{
public class TriangleGeometry
{
public string Group { get; set; }
public int Vertex1 { get; set; }
public int Vertex2 { get; set; }
public int Vertex3 { get; set; }
public int Normal1 { get; set; }
public int... | 19.1 | 45 | 0.514834 | [
"MIT"
] | y2k4life/StealthTechRayTracer | src/StealthTech.RayTracer.Library/VertexIndex.cs | 575 | C# |
#if NET35
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Runtime.ExceptionServices;
using Theraot;
namespace System.Threading.Tasks
{
public partial class Task
{
/// <summary>
/// Creates a task that will complete when all of the supplied tasks have complete... | 51.901442 | 222 | 0.594136 | [
"Apache-2.0"
] | FFFF0h/SharedMemoryStream.Library | lib/NetSerializer.Library/lib/System.Core.Net35/Core/System/Threading/Tasks/Task.when.net35.cs | 21,591 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 30.071429 | 134 | 0.691607 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-sas/Sas/Model/V20181203/ModifyCreateVulWhitelistRequest.cs | 2,526 | 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-editio... | 40 | 112 | 0.688462 | [
"CC0-1.0"
] | Diffblue-benchmarks/Gridgain-gridgain | modules/platforms/dotnet/Apache.Ignite.Linq/Impl/CacheFieldsQueryable.cs | 1,562 | C# |
using System;
using SolastaCommunityExpansion.Builders;
using SolastaCommunityExpansion.Builders.Features;
using static SolastaModApi.DatabaseHelper;
using static SolastaModApi.DatabaseHelper.CharacterSubclassDefinitions;
using static SolastaModApi.DatabaseHelper.ConditionDefinitions;
namespace SolastaCommunityExpans... | 58.967742 | 195 | 0.697347 | [
"MIT"
] | RedOrcaCode/SolastaCommunityExpansion | SolastaCommunityExpansion/Subclasses/Fighter/SpellShield.cs | 7,314 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.DisasterRecovery
{
[Flags]
public enum TaskExecutionModeFlag
{
Non... | 22.181818 | 101 | 0.590164 | [
"MIT"
] | Bhaskers-Blu-Org2/sqltoolsservice | test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/DisasterRecovery/TaskExecutionModeFlag.cs | 734 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Web.Script.Serialization;
/**
* PubNub 3.0 Real-time Push Cloud API
*
* @author Stephen Blum
* @package pubnub
*/
namespace PubNubUtils
{
public class PubNub... | 26.251716 | 78 | 0.448222 | [
"MIT"
] | vic-alexiev/CloudServices | CloudServices/PubNubUtils/PubNubApi.cs | 11,474 | C# |
namespace lindexi.MVVM.Framework.ViewModel
{
/// <summary>
/// 表示接口继承
/// </summary>
public interface IViewModel
{
}
}
| 13.181818 | 43 | 0.572414 | [
"MIT"
] | lindexi/UWP | uwp/src/Framework/Framework/ViewModel/IViewModel.cs | 159 | C# |
using System;
using System.Net;
using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Rebilly
{
public class RebillyAddressInfo
{
/// <summary>
/// customer's first name
/// </summary>
... | 24.788462 | 41 | 0.524438 | [
"MIT"
] | dara123/rebilly-dotnet-client | Library/Rebilly/RebillyAddressInfo.cs | 1,291 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft... | 34.802198 | 132 | 0.592359 | [
"MIT"
] | aurlaw/ReactIdentity | ReactIdentity/Areas/Identity/Pages/Account/LoginWithRecoveryCode.cshtml.cs | 3,167 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210
{
using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="AddDisksProviderSpecificInput" />
/// </summary>
pu... | 52.422535 | 245 | 0.590408 | [
"MIT"
] | AverageDesigner/azure-powershell | src/Migrate/generated/api/Models/Api20210210/AddDisksProviderSpecificInput.TypeConverter.cs | 7,303 | 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... | 47.178988 | 281 | 0.620371 | [
"Apache-2.0"
] | QPC-database/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMUserPolicy-Cmdlet.cs | 12,125 | C# |
namespace Constants;
public class SharedConstant
{
public const string CorsPolicyNane = "CorsPolicy";
}
| 16.571429 | 55 | 0.724138 | [
"MIT"
] | pragmatic-applications/MAK.Lib.Core | MAK.Lib.Core/Constants/SharedConstant.cs | 118 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace fa19projectgroup16.Migrations
{
public partial class transactionNav : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
... | 19.055556 | 71 | 0.6793 | [
"MIT"
] | jdalamo/K-Project | Migrations/20191130033410_transactionNav.cs | 345 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.Framework.DependencyInjection;
... | 36.060606 | 140 | 0.666387 | [
"Apache-2.0"
] | loxadim/Mvc | src/Microsoft.AspNet.Mvc.Core/DefaultControllerFactory.cs | 2,380 | C# |
namespace helpDesk
{
partial class Sobre
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... | 45.136691 | 157 | 0.584794 | [
"Apache-2.0"
] | jmvicente1992/HelpMais | helpDesk/helpDesk/Sobre.Designer.cs | 6,277 | C# |
using System;
using System.Windows;
namespace PPDEditorCommon.Dialog
{
/// <summary>
/// SettingWindow.xaml の相互作用ロジック
/// </summary>
public partial class SettingWindow : Window
{
public SettingWindow()
{
InitializeComponent();
}
protected override void ... | 21.382353 | 73 | 0.562586 | [
"Apache-2.0"
] | KHCmaster/PPD | Win/PPDEditorCommon/Dialog/SettingWindow.xaml.cs | 747 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Hearthstone_Sim_Parser
{
public class Parser
{
// TODO
/// Add the final parser
/*
* Function: ReadFromCSV
* Input: Set to find, path of the file to read from
* O... | 45.326531 | 226 | 0.575416 | [
"MIT"
] | gaarden2000/Hearthstone_Sim_Parser | Parser.cs | 4,444 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MsSystem.Sys.Schedule.Infrastructure
{
/// <summary>
/// 任务管理类
/// </summary>
public class ScheduleManage
{
/// <summary>
/// 初始化
/// </summary>
public static readonly ScheduleManage Instan... | 32.849057 | 144 | 0.544515 | [
"MIT"
] | SpoonySeedLSP/BPM-ServiceAndWebApps | src/Services/System/MsSystem.Sys.Schedule.Infrastructure/ScheduleManage.cs | 3,656 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DentedPixel;
public class BAR : MonoBehaviour
{
// Start is called before the first frame update
public GameObject bar;
public int time;
void Start()
{
AnimateBar();
}
// Update is called once per ... | 17.92 | 52 | 0.620536 | [
"MIT"
] | RageKingBanana/OOPproject | FINQUIZGAME/Assets/Scripts/Mono/BAR.cs | 450 | C# |
namespace School
{
using Record;
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main()
{
var nakovDisciplines = new List<Disciplines>
{
new Disciplines(DisciplineName.Math, 10, 10),
n... | 30.666667 | 87 | 0.521739 | [
"MIT"
] | DragomirPetrov/TelerikAcademy | C #/C# OOP/04.OOP-Principles-Part-1/01.SchoolClasses/Startup.cs | 1,566 | 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("wi... | 38.72973 | 84 | 0.750174 | [
"Apache-2.0"
] | BorisWilhelms/willezone.ExpressionHelper | src/Willezone.ExpressionHelperTests/Properties/AssemblyInfo.cs | 1,436 | C# |
using UnityEngine;
// Contains list of all screens and button behaviours
public class UIHandler : MonoBehaviour
{
// Singleton
public static UIHandler Instance { get; private set; }
// UI screen objects
[Header("Aim Cursor")]
[SerializeField]
public Texture2D AimCursor;
[Header("Screens")... | 22.994048 | 91 | 0.603158 | [
"MIT"
] | AliTsuki/Leviathan | Assets/Scripts/UI/UIHandler.cs | 3,865 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Common.DataStructures;
using Common.Monads;
namespace Common.Lifetimes
{
public static class LifetimeEx
{
public static LifetimeDefinition DefineNested(this Lifetime lifetime)
{
return lifetime.IsAlive ? new Life... | 31.661616 | 151 | 0.680013 | [
"Apache-2.0"
] | Iliya-usov/DotNetUtility | Common/Lifetimes/LifetimeEx.cs | 6,269 | C# |
// Copyright (c) "Neo4j"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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/licens... | 50.687708 | 145 | 0.601953 | [
"Apache-2.0"
] | AndyHeap-NeoTech/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Routing/LoadBalancerTests.cs | 15,259 | 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... | 40.529412 | 173 | 0.649596 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Transfer/Generated/Model/Internal/MarshallTransformations/UpdateUserResponseUnmarshaller.cs | 4,823 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using SFML.System;
using SFML.Graphics;
using Checs;
using Shoot_n_Mine.Engine;
namespace Shoot_n_Mine
{
public class TileMap
{
public TileChunk[] chunks;
public int chunksPerRow;
public TileMap(int capacity, int chunksPe... | 24.56391 | 128 | 0.663606 | [
"MIT"
] | dn9090/Checs | samples/Shoot-n-Mine/TileMap.cs | 3,267 | C# |
/*
* Copyright (c) 2010-2012, Achim 'ahzf' Friedland <achim@graph-database.org>
* This file is part of Styx <http://www.github.com/Vanaheimr/Styx>
*
* 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 L... | 24.024096 | 162 | 0.578736 | [
"Apache-2.0"
] | Vanaheimr/Styx | Styx.MF/Enumerators/HistoryEnumerator.cs | 3,988 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProjectBLL;
using ProjectData;
using Approve.Common;
using Approve.RuleCenter;
public partial class JZDW_AppMain_XMJZSLlist : System.Web.UI.Page
{
ProjectDB db = new Pro... | 36.994792 | 151 | 0.485288 | [
"MIT"
] | coojee2012/pm3 | SurveyDesign/JZDW/AppMain/XMJZSLlist.aspx.cs | 7,569 | C# |
using System.Text;
using RimWorld;
using UnityEngine;
using Verse;
namespace Infused
{
public class ITab_Infused : ITab
{
static readonly Vector2 WinSize = new Vector2(400, 550);
public override bool IsVisible => SelThing?.TryGetComp<CompInfused>()?.IsActive ?? false;
public ITab_In... | 33.575758 | 99 | 0.591606 | [
"MIT"
] | Endgegner/RimWorld-Infused | Source/ITab_Infused.cs | 2,218 | C# |
using System;
using System.Collections.Generic;
namespace PizzaBox.Data.Model
{
public partial class Plocation
{
public Plocation()
{
Pizza = new HashSet<Pizza>();
Porder = new HashSet<Porder>();
Puser = new HashSet<Puser>();
}
public int Lo... | 27.346154 | 63 | 0.579466 | [
"MIT"
] | 1905-may06-dotnet/Fred_Brume_Project1 | PizzaBoxSolution/RestaurantData/Model/Plocation.cs | 713 | C# |
using System;
using NUnit.Framework;
using Net.Pkcs11Interop.Common;
using Net.Pkcs11Interop.LowLevelAPI40;
using Net.RutokenPkcs11Interop.Common;
using Net.RutokenPkcs11Interop.LowLevelAPI40;
using NativeULong = System.UInt32;
namespace Net.RutokenPkcs11InteropTests.LowLevelAPI40
{
[TestFixture()]
public cl... | 36.786517 | 118 | 0.565669 | [
"Apache-2.0"
] | lo1ol/RutokenPkcs11Interop | src/RutokenPkcs11Interop.Tests/LowLevelAPI40/_LL_34_ManageEntityTest.cs | 3,548 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Jupyter.Core;
using Microsoft.Quantum.IQSharp.Common;
using Microsoft.Quantum.I... | 35.475 | 112 | 0.500705 | [
"MIT"
] | Bradben/iqsharp | src/Kernel/Magic/WorkspaceMagic.cs | 5,678 | C# |
/*
* GraphHopper Directions API
*
* With the [GraphHopper Directions API](https://www.graphhopper.com/products/) you can integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations and other tools in your application. The GraphHopper Directions API consists of the followin... | 185.35 | 9,278 | 0.698229 | [
"Apache-2.0"
] | boldtrn/graphhopper-routing-api-swagger | csharp/src/IO.Swagger/Client/ApiException.cs | 11,121 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DBStoreContext.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ModelsLayer.EFModels;
using Microsoft.EntityFrameworkCore;
using OnlineStoreBusinessLayer.Interfaces;
using Onlin... | 30.050633 | 98 | 0.659225 | [
"MIT"
] | 08162021-dotnet-uta/Simran-ManandharRepo1 | projects/Project_1/OnlineStore/OnlineStore/OnlineStoreUI/Controllers/OrderController.cs | 2,374 | C# |
namespace Trivality.Web.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : ModelDescription
{
}
} | 22.5 | 62 | 0.77037 | [
"MIT"
] | jasonmcl/Trivality | Trivality.Web/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs | 135 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 26.11.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 27.808743 | 105 | 0.615445 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/CastAs/SET_001/Int64/Byte/TestSet__ER004__param.cs | 5,091 | C# |
using System;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Reactive
{
public class ObservableRepositoryForksClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
Assert.Throws<A... | 42.964602 | 140 | 0.57827 | [
"MIT"
] | 3shape/octokit.net | Octokit.Tests/Reactive/ObservableRepositoryForksClientTests.cs | 9,712 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
p... | 30.941176 | 145 | 0.714829 | [
"MIT"
] | Ethereal77/terrafx.interop.windows | sources/Interop/Windows/um/wincrypt/CRYPT_ATTRIBUTES.cs | 528 | C# |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osuTK;
namespace osu.Game.Online.Multiplayer.GameTypes
{
... | 32.121212 | 93 | 0.559434 | [
"MIT"
] | Dragicafit/osu | osu.Game/Online/Multiplayer/GameTypes/GameTypeTeamVersus.cs | 1,028 | C# |
using Application.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Features.VoteFeatures.Commands
{
public class DeleteVoteByIdCommand : IRequest<int>
{
public int Id { get; set; }
pub... | 32.84375 | 109 | 0.635585 | [
"MIT"
] | Gjognumskygni/TransparencyAPI | Application/Features/VoteFeatures/Commands/DeleteVoteByIdCommand.cs | 1,053 | C# |
using Autofac;
using OlympicGames.Core;
using OlympicGames.Core.ConsoleWrappers;
using OlympicGames.Core.Contracts;
using OlympicGames.Core.Factories;
using OlympicGames.Core.Providers;
namespace OlympicGames.Client
{
public class InjectConfig : Module
{
protected override void Load(ContainerBuilder b... | 36.692308 | 77 | 0.697065 | [
"MIT"
] | dobri19/TelerikHomeWork | 04C#UnitTesting&DesignPatterns/04-DependencyInversion/OlympicGames0802Solution/OlympicGames.Client/InjectConfig.cs | 956 | C# |
using System.Collections.Generic;
using System.Linq;
using LinqToDB.Configuration;
namespace LinqToDB.DataProvider.DB2iSeries
{
public class DB2iSeriesFactory : IDataProviderFactory
{
public IDataProvider GetDataProvider(IEnumerable<NamedValue> attributes)
{
var versionText = attributes.FirstOrDefault(_ => _... | 36.421053 | 112 | 0.746387 | [
"MIT"
] | LinqToDB4iSeries/Linq2DB4iSeries | Source/ISeriesProvider/DB2iSeriesFactory.cs | 1,386 | C# |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace WInterop
{
/// <summary>
/// Contains definitions ... | 39.945055 | 157 | 0.632187 | [
"MIT"
] | JeremyKuhne/WInterop | src/WInterop.Desktop/Support.Root/FixedString.cs | 3,637 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Minotaur.Core
{
public interface IUpdateable
{
void Update(GameClock clock);
}
}
| 14.538462 | 33 | 0.746032 | [
"MIT"
] | mlunnay/minotaur | minotaur/src/Core/IUpdateable.cs | 191 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.