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 |
|---|---|---|---|---|---|---|---|---|
namespace PlacesToEat.Web.Areas.Regular.ViewModels.RestaurantFilter
{
public class RestaurantFilterRequestViewModel
{
public double Latitude { get; set; }
public double Longitude { get; set; }
public string Search { get; set; }
public int CategoryId { get; set; }
pub... | 22.6875 | 68 | 0.639118 | [
"MIT"
] | tcholakov/PlacesToEat | Source/Web/PlacesToEat.Web/Areas/Regular/ViewModels/RestaurantFilter/RestaurantFilterRequestViewModel.cs | 365 | C# |
using System;
using System.Reflection;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
namespace SimpleDialogs.Helpers
{
public sealed class KeyboardHelper
{
private static KeyboardHelper _Instance;
private readonly PropertyInfo _AlwaysShowFocusVisual;
... | 33.12 | 125 | 0.602657 | [
"MIT"
] | punker76/SimpleDialogs | SimpleDialogs/Helpers/KeyboardHelper.cs | 2,486 | C# |
using GutenTag;
namespace GutenTag.Hspi
{
public class DT : Tag
{
public DT() : base("dt")
{
}
}
} | 12.272727 | 32 | 0.474074 | [
"MIT"
] | alexdresko/GutenTag.Hspi | GutenTag.Hspi/DT.cs | 135 | C# |
using System;
namespace _19_TheaThePhotographer
{
public class TheaThePhotographer
{
public static void Main(string[] args)
{
long n = long.Parse(Console.ReadLine());
long filterTime = long.Parse(Console.ReadLine());
long filterFactor = long.Parse(Console.Rea... | 32.689655 | 78 | 0.588608 | [
"MIT"
] | Knightwalker/KB | 02_Programming_Fundamentals/01_Programming_Fundamentals_with_C#/07_Data_Types_and_Variables_Exercise/19_thea_the_photographer.cs | 948 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 46.214286 | 209 | 0.743946 | [
"MIT"
] | Ethereal77/stride | sources/engine/Stride.Assets/Effect/EffectShaderAssetCompiler.cs | 1,941 | C# |
using NtFreX.Audio.Infrastructure;
using NtFreX.Audio.Infrastructure.Container;
using NtFreX.Audio.Infrastructure.Threading;
using NtFreX.Audio.Infrastructure.Threading.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace NtFreX... | 40.159091 | 159 | 0.702886 | [
"MIT"
] | NtFreX/NtFreX.Audio | src/NtFreX.Audio/Containers/Wave/WaveAudioContainer.cs | 1,769 | C# |
// Copyright (c) 2021-2022 Yoakke.
// Licensed under the Apache License, Version 2.0.
// Source repository: https://github.com/LanguageDev/Yoakke
using System;
namespace Yoakke.SynKit.Lexer.Attributes;
/// <summary>
/// An attribute to annotate the source character stream for the generated lexer.
/// </summary>
[Att... | 27.125 | 81 | 0.767281 | [
"Apache-2.0"
] | LanguageDev/Yoakke | Sources/SynKit/Libraries/Lexer/Attributes/CharSourceAttribute.cs | 434 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using Hangfire;
using JetBrains.Annotations;
using Katalye.Components.Commands.Jobs;
using Katalye.Components.Common;
using Katalye.Data;
using Katalye.Data.Entities;
using... | 35.28481 | 128 | 0.495605 | [
"MIT"
] | Katalye/Katalye | src/Katalye.Components/Commands/Tasks/MonitorJobExecution.cs | 5,577 | C# |
using System;
using System.Text;
namespace Calamari.Integration.Processes
{
public class CommandLineException : Exception
{
public CommandLineException(
string commandLine,
int exitCode,
string additionalInformation,
string workingDirectory = null)
... | 31.025 | 97 | 0.561644 | [
"Apache-2.0"
] | MJRichardson/Calamari | source/Calamari.Shared/Integration/Processes/CommandLineException.cs | 1,243 | C# |
namespace System
{
/// <summary>
/// Represents a method that converts an object from one type to another type.
/// </summary>
/// <typeparam name="TInput">The type of object that is to be converted.</typeparam>
/// <typeparam name="TOutput">The type the input object is to be converted to.</typepar... | 50.142857 | 118 | 0.695157 | [
"Apache-2.0"
] | curiosity-ai/h5 | H5/H5/System/Converter.cs | 704 | C# |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using PremierLe... | 33.25 | 117 | 0.529896 | [
"MIT"
] | KienbMi/csharp_samples_ef_uow_premierleague-template | template/PremierLeague.Persistence/Migrations/ApplicationDbContextModelSnapshot.cs | 2,795 | C# |
using UnityEngine;
using System.Collections;
public class BreakObject : MonoBehaviour
{
/* public Rigidbody gameObjectRigidBody;
private Vector3 lastVelocity;
public GameObject gameObjectToBreak;
public GameObject brokenVersion;
public Material brokenTexture; //Leave blank if there isn't one
public Vector3 rotat... | 26.663158 | 146 | 0.744966 | [
"CC0-1.0"
] | Nelson123345/Games-Jam-8 | Games Jam 8/Assets/Scripts/BreakObject.cs | 2,535 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using Microsof... | 44.497118 | 195 | 0.602717 | [
"MIT"
] | JPaja/SqlClient | src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/Common/DbConnectionStringCommon.cs | 61,762 | C# |
using System.Threading.Tasks;
using NClient.Annotations;
using NClient.Annotations.Http;
using NClient.Providers.Transport;
namespace NClient.Sandbox.FileService.Facade
{
[UseVersion("3.0")]
[Header("client", "NClient")]
public interface IFileClient : IFileController
{
[Override]
new T... | 23.947368 | 67 | 0.694505 | [
"Apache-2.0"
] | nclient/NClient | sandbox/NClient.Sandbox.FileService.Facade/IFileClient.cs | 457 | C# |
// Copyright 2021 Niantic, Inc. All Rights Reserved.
using System.Collections.ObjectModel;
using Niantic.ARDK.AR.Anchors;
using Niantic.ARDK.Utilities;
namespace Niantic.ARDK.AR.ARSessionEventArgs
{
public struct AnchorsMergedArgs:
IArdkEventArgs
{
public AnchorsMergedArgs(IARAnchor parent, IARAnchor[] c... | 23.75 | 71 | 0.721053 | [
"MIT"
] | AmerAli94/ARSample_Niantic | Assets/ARDK/AR/ARSessionEventArgs/AnchorsMergedArgs.cs | 570 | 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.
#nullable disable
namespace Microsoft.CodeAnalysis.ExternalAccess.LegacyCodeAnalysis.Api
{
internal interface ... | 37.823529 | 99 | 0.772939 | [
"MIT"
] | 333fred/roslyn | src/VisualStudio/Core/Def/ExternalAccess/LegacyCodeAnalysis/Api/ILegacyCodeAnalysisVisualStudioDiagnosticListSuppressionStateServiceAccessor.cs | 645 | C# |
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
... | 36.464286 | 83 | 0.680705 | [
"Apache-2.0"
] | bodrick/Topshelf | src/Topshelf/TopshelfExitCode.cs | 1,021 | C# |
using Xunit.Abstractions;
#if XUNIT_FRAMEWORK
namespace Xunit.Sdk
#else
namespace Xunit
#endif
{
/// <summary>
/// Default implementation of <see cref="ITestCaseStarting"/>.
/// </summary>
public class TestCaseStarting : TestCaseMessage, ITestCaseStarting
{
/// <summary>
/// Initia... | 25.05 | 83 | 0.638723 | [
"Apache-2.0"
] | 0x0309/xunit | src/messages/TestCaseStarting.cs | 503 | C# |
using System;
using IQFeed.CSharpApiClient.Lookup.Historical.Messages;
using IQFeed.CSharpApiClient.Tests.Common;
using IQFeed.CSharpApiClient.Tests.Common.TestCases;
using NUnit.Framework;
namespace IQFeed.CSharpApiClient.Tests.Lookup.Historical.Messages
{
public class DailyWeeklyMonthlyMessageTests
{
... | 39.410256 | 144 | 0.693559 | [
"MIT"
] | gaorufeng/IQFeed.CSharpApiClient | src/IQFeed.CSharpApiClient.Tests/Lookup/Historical/Messages/DailyWeeklyMonthlyMessageTests.cs | 1,539 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace LinqToDB.Data
{
public class DataReader : IDisposable
{
public CommandInfo? CommandInfo { get; set; }
public IDataReader? Reader {... | 22.857143 | 118 | 0.630288 | [
"MIT"
] | Feroks/linq2db | Source/LinqToDB/Data/DataReader.cs | 1,992 | C# |
namespace org.apache.lucene.analysis.cz
{
/*
* 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 ... | 31.414013 | 991 | 0.601176 | [
"Apache-2.0"
] | CerebralMischief/lucenenet | src/Lucene.Net.Analysis.Common/Analysis/Cz/CzechStemmer.cs | 4,971 | C# |
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Orleans.EntityFrameworkCore.Migrations
{
[DbContext(typeof(OrleansEFContext))]
[Migration(nameof(OrleansEFMigration001))]
public partial class OrleansEFMigration001 : Migration
{
... | 35.589744 | 73 | 0.542507 | [
"MIT"
] | rdlaitila/Orleans.EntityFrameworkCore | src/Orleans.EntityFrameworkCore/Migrations/OrleansEFMigration001.cs | 1,388 | C# |
using Android.App;
using Android.App.Usage;
using Android.Content.PM;
using Sensus.Probes.Apps;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Sensus.Android.Probes.Apps
{
public class AndroidApplicationUsageStatsProbe : ApplicationU... | 34.612245 | 361 | 0.801297 | [
"Apache-2.0"
] | TeachmanLab/sensus | Sensus.Android.Shared/Probes/Apps/AndroidApplicationUsageStatsProbe.cs | 1,698 | C# |
using System;
using System.Diagnostics;
namespace SerializationInspections.Sample.QuickFixes.MissingSerializationAttribute
{
[DebuggerDisplay("x")]
[CLSCompliant(true)]
public class ExceptionWithExistingAttributes{caret} : Exception
{
}
} | 22.727273 | 82 | 0.796 | [
"MIT"
] | ulrichb/SerializablilityInspections | Src/SerializationInspections.Plugin.Tests/test/data/QuickFixes/MissingSerializationAttribute/ExceptionWithExistingAttributes.cs | 252 | C# |
using System;
using System.Threading.Tasks;
namespace RobotControl.ClassLibrary
{
public class RobotControl : RobotControlBase
{
private Action<Exception> onExceptionCallback;
IState state;
IObjectDetector objectDetector;
ICameraCapturer cameraCapturer;
IRobotCommunica... | 38.639535 | 134 | 0.629552 | [
"MIT"
] | LucidioK/RobotControl01 | RobotControl.ClassLibrary.Standard/RobotControl.cs | 3,325 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Unity.Entities;
using UnityEditor.VisualScripting.Editor.SmartSearch;
using UnityEditor.VisualScripting.GraphViewModel;
using UnityEditor.VisualScripting.Model.Translators;
... | 37.855072 | 151 | 0.718989 | [
"MIT"
] | linyuan5856/ECS_UnityVisualScript | ECSUnityVisualScript/Packages/com.unity.visualscripting.entities/Editor/Nodes/AddComponentNodeModel.cs | 2,612 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Game2D
{
/// <summary>
/// 颜色
/// </summary>
public struct Color
{
public byte R;
public byte G;
public byte B;
public byte A;
public Color(byte r, byte g, byte b, byte a)
... | 28.518519 | 79 | 0.449351 | [
"MIT"
] | gotogame/Game2D | Game2D/Core/Graphics/Color.cs | 3,920 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 0.1.0-559
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using RestSharp;
using intersight.Clie... | 65.84552 | 859 | 0.67907 | [
"Apache-2.0"
] | CiscoUcs/intersight-powershell | csharp/swaggerClient/src/intersight/Api/StorageFlexFlashControllerPropsApi.cs | 63,952 | C# |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... | 33.686528 | 119 | 0.648235 | [
"MIT"
] | ru-petrovi4/Ssz.Utils | Ssz.Xceed.Wpf.Toolkit/Ssz.Xceed.Wpf.Toolkit/PropertyGrid/Implementation/PropertyItemBase.cs | 13,005 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using DivideSharp;
namespace DivisionBenchmark
{
public readonly struct DelegateDispatchedUInt32Divisor : IDivisor<uint>
{
public DelegateDispatchedUInt32Divisor(uint divisor) : this()
{
Divisor = divisor;
... | 31.621849 | 117 | 0.563115 | [
"Apache-2.0"
] | MineCake147E/DivideSharp | DivisionBenchmark/DelegateDispatchedUInt32Divisor.cs | 3,829 | C# |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Petite.Tests
{
[TestClass]
public class ContainerCoreTests
{
[TestMethod]
public void Registers_Without_Exception()
{
var target = new Container();
target.Register... | 33.753747 | 175 | 0.683309 | [
"MIT"
] | andlju/Petite | Source/Petite.Tests/ContainerCoreTests.cs | 15,763 | C# |
using System.Threading;
using UnityEngine;
#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System.Collections.Generic;
using UnityEngine.EventSystems;
namespace UniRx.Async.Triggers
{
[... | 29.432432 | 100 | 0.724518 | [
"MIT"
] | darsausalo/UniTask | UniRx.Async/Triggers/AsyncDeselectTrigger.cs | 1,089 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 26.653846 | 88 | 0.672439 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-sumologic | sdk/dotnet/Inputs/ElbSourceDefaultDateFormatArgs.cs | 693 | C# |
using RssReader.Model.Abstract;
using RssReader.Models.Implementations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RssReader.Web.Models
{
public class RssFeedViewModel
{
public IEnumerable<IEnumerable<IRssFeed>> RssList { get; set; }
... | 23.555556 | 71 | 0.716981 | [
"MIT"
] | VeselinovStf/RssReader | RssReader.Web/Models/RssFeedViewModel.cs | 426 | C# |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;
... | 25.608108 | 121 | 0.640633 | [
"Apache-2.0"
] | SNBnani/Xian | Ris/Application/Common/StaffGroupSummary.cs | 1,895 | 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("Pro... | 38.648649 | 84 | 0.748951 | [
"MIT"
] | Supbads/Softuni-Education | 07 ProgrammingFundamentals 05.17/04. Data-Types-and-Variables-Exercises/Problem_11. Convert Speed Units/Properties/AssemblyInfo.cs | 1,433 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Il2CppDummyDll;
// Token: 0x020004ED RID: 1261
[Token(Token = "0x20004ED")]
public class NormalPlayerTask : PlayerTask
{
// Token: 0x170003F3 RID: 1011
// (get) Token: 0x06001AF1 RID: 6897 RVA: 0x00008778 File Offset: 0x00006978
[T... | 31.569801 | 89 | 0.662034 | [
"Apache-2.0"
] | KiadsCode/AmogusScipts | NormalPlayerTask.cs | 11,083 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.Cdn.Fluent
{
u... | 45.436751 | 276 | 0.578261 | [
"MIT"
] | LyndseyPaxton/azure-libraries-for-net | src/ResourceManagement/Cdn/Generated/CdnManagementClient.cs | 34,123 | 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... | 31.851064 | 119 | 0.632599 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20190801/Inputs/ManagedRuleSetArgs.cs | 1,497 | C# |
using Microsoft.Extensions.DependencyInjection;
using MTAServerWrapper.Packets.Outgoing.Connection;
using SlipeServer.Packets.Definitions.Commands;
using SlipeServer.Packets.Definitions.Explosions;
using SlipeServer.Packets.Definitions.Join;
using SlipeServer.Packets.Definitions.Player;
using SlipeServer.Packets.Defin... | 52.704698 | 175 | 0.741627 | [
"MIT"
] | ERAGON007/Slipe-Server | SlipeServer.Server/ServerOptions/DefaultServerBuilderExtensions.cs | 7,855 | C# |
using Dapper;
using Discount.API.Entities;
using Microsoft.Extensions.Configuration;
using Npgsql;
using System;
using System.Threading.Tasks;
namespace Discount.API.Repositories
{
public class DiscountRepository : IDiscountRepository
{
private readonly IConfiguration _configuration;
public D... | 33.482759 | 149 | 0.603845 | [
"MIT"
] | gbeydtha/AspnetMicorservices | src/Services/Discount/Discount.API/Repositories/DiscountRepository.cs | 2,915 | C# |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class SpellEffectsDisplay : GuiBase_Draggable {
public int SlotNumber;
//public static UWCharacter UWCharacter.Instance;
private int setSpell=-1;
private RawImage thisSpell;
private static Texture2D SpellBla... | 24.082353 | 158 | 0.701026 | [
"MIT"
] | FaizanMughal/UnderworldExporter | UnityScripts/scripts/UI/SpellEffectsDisplay.cs | 2,049 | C# |
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Xml;
using Tektosyne;
using Tektosyne.Geometry;
using Tektosyne.IO;
using Tektosyne.Windows;
using Tektosyne.Xml;
using Hexkit.Global;
namespace Hexki... | 40.717345 | 100 | 0.579648 | [
"MIT"
] | prepare/HexKit | Hexkit.Scenario/OverlayImage.cs | 19,017 | C# |
using System;
using Microsoft.Xrm.Sdk;
#if NET
using DLaB.Xrm;
namespace DataverseUnitTest.Builders
#else
namespace DLaB.Xrm.Test.Builders
#endif
{
/// <summary>
/// Interface for OrganizationServiceBuilder messages that get called by the TestMethodClassBase
/// </summary>
public interface IAgnosticS... | 39.0625 | 173 | 0.7008 | [
"MIT"
] | bobbyangers/XrmUnitTest | DLaB.Xrm.Test.Base/Builders/IAgnosticServiceBuilder.cs | 1,252 | C# |
using System.Collections.Generic;
using Orchard.AuditTrail.Services;
using Orchard.Environment.Extensions;
using Orchard.Security;
using Orchard.Users.Events;
namespace Orchard.AuditTrail.Providers.Users {
[OrchardFeature("Orchard.AuditTrail.Users")]
public class UserEventHandler : IUserEventHandler {
... | 33.276316 | 243 | 0.65085 | [
"BSD-3-Clause"
] | cmsilv/Orchard | src/Orchard.Web/Modules/Orchard.AuditTrail/Providers/Users/UserEventHandler.cs | 2,531 | C# |
//
// This file is a part of the Dminator project.
// https://github.com/Orace
//
using System.Collections.Generic;
using System.Linq;
namespace Dminator.Stategies
{
public class DumbStrategy : IStrategy
{
private DumbStrategy()
{
}
public static DumbStrategy Instance { get... | 32.382979 | 104 | 0.590013 | [
"Unlicense"
] | Orace/Dminator | Dminator/Stategies/DumbStrategy.cs | 1,524 | C# |
namespace HTMLPreviewer.Web
{
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.EntityFrameworkCore;
... | 30.788235 | 94 | 0.556744 | [
"MIT"
] | stanislavstoyanov99/HTMLPreviewer | src/Web/HTMLPreviewer.Web/Startup.cs | 2,617 | C# |
// <copyright file="GeometricTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of th... | 32.497854 | 117 | 0.55177 | [
"MIT"
] | WeihanLi/mathnet-numerics | src/Numerics.Tests/DistributionTests/Discrete/GeometricTests.cs | 7,572 | C# |
using System;
using GalaSoft.MvvmLight;
namespace TLCGen.Generators.CCOL.Settings
{
[Serializable]
public class CCOLGeneratorFolderSettingModel : ViewModelBase
{
private string _Setting;
public string Default { get; set; }
public string Setting
{
get => _Settin... | 22.875 | 64 | 0.510929 | [
"MIT"
] | PeterSnijders/TLCGen | TLCGen.PluggedInItems/TLCGen.Generators.CCOL/Settings/CCOLGeneratorFolderSettingModel.cs | 734 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration;
namespace Microsoft.Practices.Enterpri... | 31.744186 | 122 | 0.72967 | [
"Apache-2.0"
] | Microsoft/exception-handling-application-block | source/Tests/WCF/Common/MockFaultContractExceptionHandler.cs | 1,367 | C# |
using Esprima.Ast;
using Jint.Native;
using Jint.Runtime.Environments;
using Jint.Runtime.References;
namespace Jint.Runtime.Interpreter.Expressions
{
/// <summary>
/// http://www.ecma-international.org/ecma-262/5.1/#sec-11.2.1
/// </summary>
internal sealed class JintMemberExpression : JintE... | 39.098901 | 119 | 0.586847 | [
"MIT"
] | Bargest/LogicExtensions | Jint/Runtime/Interpreter/Expressions/JintMemberExpression.cs | 3,558 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 42.039474 | 153 | 0.617527 | [
"MIT"
] | MIchaelMainer/GraphAPI | src/Microsoft.Graph/Requests/Generated/IDirectoryRoleMembersCollectionWithReferencesRequest.cs | 3,195 | C# |
namespace MyWalletz.DomainObjects
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("mw_Users")]
public class User
{
private ICollection<Category> categories;
private ICollection<Account> ... | 28.578947 | 80 | 0.603131 | [
"MIT"
] | kazimanzurrashid/my-walletz-angular | source/MyWalletz/DomainObjects/User.cs | 1,088 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.EntityFrameworkCore;
using NSubstitute;
using NUnit.Framework;
using SFA.DAS.LoginService.Applica... | 47.482759 | 205 | 0.698983 | [
"MIT"
] | SkillsFundingAgency/das-apprentice-login | src/SFA.DAS.LoginService.Application.UnitTests/Services/ClientServiceTests/GetClientByReturnUrl_called_for_valid_returnUrl.cs | 2,754 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
namespace StructLinq.Benchmark
{
[MemoryDiagnoser]
public class Distinct
{
private const int Count = 10_000;
private readonly int[] array;
public D... | 25.947368 | 82 | 0.500507 | [
"MIT"
] | SpriteMaster-Ext/StructLinq | src/StructLinq.Benchmark/Distinct.cs | 1,974 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using AbpDemoOne.EntityFrameworkCore;
namespace AbpDemoOne.Migrations
{
[DbContext(typeof(AbpDemoOneDbContext))]
... | 31.690563 | 117 | 0.439997 | [
"MIT"
] | YandongZhao/AbpDemoOne | aspnet-core/src/AbpDemoOne.EntityFrameworkCore/Migrations/20170424115119_Initial_Migrations.Designer.cs | 34,925 | C# |
using HugsLib;
using HugsLib.Settings;
using HugsLib.Utils;
using RimWorld;
using System;
using System.Collections.Generic;
using Verse;
namespace Typhon
{
public class Mod : ModBase
{
internal static SettingHandle<bool> mimicsDestroyCorpses;
public override void DefsLoaded()
{
... | 47.988764 | 146 | 0.576914 | [
"MIT"
] | Caaz/rimworld-typhon | Source/Mod.cs | 4,273 | 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 "li... | 38.318182 | 180 | 0.611151 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/EmbeddedSourceSettingsUnmarshaller.cs | 4,215 | C# |
using System.Text;
using System.Xml;
using NUnit.Framework;
using SkbKontur.Catalogue.XmlSerializer;
using SkbKontur.Catalogue.XmlSerializer.Writing;
using SkbKontur.Catalogue.XmlSerializer.Writing.ContentWriters;
namespace Catalogue.XmlSerializer.Tests.Writing
{
[TestFixture]
public class ContentWriterColle... | 28.164179 | 109 | 0.473238 | [
"MIT"
] | skbkontur/Catalogue.XmlSerializer | Catalogue.XmlSerializer.Tests/Writing/ContentWriterCollectionTest.cs | 3,774 | 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | 53.443686 | 257 | 0.680056 | [
"MIT"
] | AfsanehR-zz/corefx | src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs | 15,659 | C# |
using System;
#nullable enable
namespace SocialCareCaseViewerApi.V1.Domain
{
#nullable enable
public class LastUpdatedDomain
{
public string? Type { get; set; }
public DateTime? UpdatedAt { get; set; }
}
}
| 18.076923 | 48 | 0.67234 | [
"MIT"
] | JohnFarrellDev/social-care-case-viewer-api-fork | SocialCareCaseViewerApi/V1/Domain/LastUpdated.cs | 235 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice,... | 41.551724 | 232 | 0.583521 | [
"BSD-2-Clause"
] | CitrixChris/xenadmin | XenAdminTests/UnitTests/AlertTests/XenServerUpdateAlertTests.cs | 8,435 | C# |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A P... | 33.907692 | 105 | 0.548548 | [
"MIT"
] | 035/Windows-universal-samples | backgroundaudio/cs/backgroundaudioshared/applicationsettingshelper.cs | 2,142 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... | 78.745763 | 859 | 0.689303 | [
"MIT"
] | nuitsjp/WCF-vs-Web-API-Battle | AdventureWorks/AdventureWorks/Properties/Resources.Designer.cs | 10,440 | C# |
using System;
namespace Bond
{
internal class Argument
{
internal static void IsNotNull<T>(T argument, string argumentName) where T : class
{
if (argument == null)
{
throw new ArgumentNullException(argumentName);
}
}
}
}
| 19.4375 | 90 | 0.533762 | [
"MIT"
] | osjoberg/Bond | Bond/Argument.cs | 313 | C# |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebApplication.Models.Options;
using WebApplication.Services;
using System.Security.Claims;
namespace WebApplication.Tests
{
[TestClass]
public class S... | 37.941176 | 120 | 0.709302 | [
"MIT"
] | G-arj/azure-data-services-go-fast-codebase | solution/WebApplication/WebApplication.Tests/SecurityAccessProviderTests.cs | 1,290 | 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>
//--... | 41.203488 | 183 | 0.590518 | [
"MIT"
] | victor-david/restless-tools | src/Restless.Tools.Utility/Resources/Strings.Designer.cs | 7,089 | C# |
// <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.Files
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <para>Sharing info for a... | 37.658537 | 139 | 0.538536 | [
"MIT"
] | AlirezaMaddah/dropbox-sdk-dotnet | dropbox-sdk-dotnet/Dropbox.Api/Generated/Files/FileSharingInfo.cs | 6,176 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace FileAndDirectoryBrowserWebApi.Exceptions.HttpExceptions
{
[Serializable]
public class NotFoundException : HttpExceptionBase
{
public over... | 24.038462 | 85 | 0.6976 | [
"MIT"
] | ProgrammerAl/Challenges | FileAndDirectoryBrowserWebApp/FileAndDirectoryBrowserWebApi/FileAndDirectoryBrowserWebApi/Exceptions/HttpExceptions/NotFoundException.cs | 627 | C# |
using System;
using System.Runtime.InteropServices;
using Stepon.FaceRecognizationCore.Common;
namespace Stepon.FaceRecognizationCore.Tracking.Wrapper
{
internal class TrackingWrapper
{
private const string DllPosition = "libs/libarcsoft_fsdk_face_tracking.so";
[DllImport(DllPosition, EntryPo... | 41.195122 | 119 | 0.727057 | [
"Apache-2.0"
] | JTOne123/FaceRecognization | Stepon.FaceRecognizationCore/Stepon.FaceRecognizationCore/Tracking/Wrapper/TrackingWrapper.cs | 1,691 | C# |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... | 29.016667 | 85 | 0.709362 | [
"Apache-2.0"
] | Bit-Quill/opensearch-net | src/Osc/Aggregations/Bucket/IpRange/IpRangeBucket.cs | 1,741 | C# |
#if DEBUG
using System;
using System.Collections.Concurrent;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Composition
{
internal sealed class ConcurrentSingletonBag
{
private readonly ConcurrentDictionary<Key, Lazy<object>?> content = new();
pub... | 29.733333 | 117 | 0.483408 | [
"MIT"
] | pepelev/Composition | src/Composition/ConcurrentSingletonBag.cs | 2,232 | C# |
namespace Merchello.Web.Validation.Tasks
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Merchello.Core;
using Merchello.Core.Models;
using Merchello.Web.Models.ContentEditing;
using Merchello.Web.Workflow.CustomerItemCache;
using Umbraco.Core;
usin... | 42.669643 | 165 | 0.564344 | [
"MIT"
] | HiteshMah-Jan/Merchello | src/Merchello.Web/Validation/Tasks/ValidateProductPriceTask.cs | 4,781 | 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("05... | 37.702703 | 84 | 0.744803 | [
"MIT"
] | TsvetanMilanov/TelerikAcademyHW | 02.CSharpPartTwo/06_StringsAndTextProcessing/StringsAndTextProcessing/05ParseTags/Properties/AssemblyInfo.cs | 1,398 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TicketerApi.Migrations
{
public partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Users",
column... | 34.5 | 91 | 0.519022 | [
"MIT"
] | hamyul/Ticketer | TicketerApi/Migrations/20220307052054_InitialMigration.cs | 1,106 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using NuGet.Shared;
namespace NuGet.Frameworks
{
#if NUGET_FRAMEWORKS_INTERNAL
internal
#else
p... | 27.87931 | 111 | 0.587508 | [
"Apache-2.0"
] | 0xced/NuGet.Client | src/NuGet.Core/NuGet.Frameworks/comparers/FrameworkRangeComparer.cs | 1,617 | C# |
using System.Resources;
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.
[ass... | 35.83871 | 84 | 0.747975 | [
"MIT"
] | JTOne123/xamarin-plugins | Geofence/Geofence/Geofence.Plugin.Abstractions/Properties/AssemblyInfo.cs | 1,114 | C# |
namespace System
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum |
AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate,
... | 28.588235 | 198 | 0.608025 | [
"MIT"
] | nifanfa/BootTo.NET | Corlib/System/ObsoleteAttribute.cs | 972 | C# |
using System;
namespace FindTheDuplicateNumber
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine(2 == new Solution().FindDuplicate(new[] {1, 3, 4, 2, 2}));
Console.WriteLine(3 == new Solution().FindDuplicate(new[] {3, 1, 3, 4... | 21.74359 | 89 | 0.465802 | [
"MIT"
] | thenitro/leet-code-problems | FindTheDuplicateNumber/FindTheDuplicateNumber/Program.cs | 850 | C# |
using System.Reflection;
using SquawkBus.Distributor.Plugins;
namespace SquawkBus.Distributor.Configuration
{
public class PluginConfig
{
public string? AssemblyPath { get; set; }
public string? AssemblyName { get; set; }
public string? TypeName { get; set; }
public string[]? Ar... | 38.489362 | 223 | 0.572692 | [
"Apache-2.0"
] | SquawkBus/SquawkBus | src/SquawkBus.Distributor/Configuration/PluginConfig.cs | 1,809 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
using UnityEngine.Windows.WebCam;
using Debug = UnityEngine.Debug;
public class C... | 30.802817 | 119 | 0.629287 | [
"MIT"
] | enzo-bonnot/ARDrawing | Assets/Scripts/Capture/CaptureManager.cs | 8,750 | C# |
//-----------------------------------------------------------------------
// <copyright file="GremlinScenarioTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ... | 54.213705 | 169 | 0.646407 | [
"MIT"
] | Liphi/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Scenarios/GremlinScenarioTests.cs | 46,680 | 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... | 42.032258 | 172 | 0.572013 | [
"MIT"
] | timvw74/Focus | Focus/Properties/Resources.Designer.cs | 3,911 | C# |
using NUnit.Framework;
using CodeWars;
namespace CodeWarsTests
{
[TestFixture]
public class YourOrderTests
{
[Test, Description("Sample Tests")]
public void SampleTest()
{
Assert.AreEqual("Thi1s is2 3a T4est", YourOrder.Order("is2 Thi1s T4est 3a"));
Assert.A... | 28.764706 | 117 | 0.621677 | [
"MIT"
] | a-kozhanov/codewars-csharp | CodeWarsTests/6kyu/YourOrderTests.cs | 491 | C# |
// File generated from our OpenAPI spec
namespace Stripe.TestHelpers
{
using System;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class TestClockCreateOptions : BaseOptions
{
/// <summary>
/// The initial frozen time for this test clock.
/// </summary>
... | 25.958333 | 56 | 0.600321 | [
"Apache-2.0"
] | Gofundraise/stripe-dotnet | src/Stripe.net/Services/TestHelpers/TestClocks/TestClockCreateOptions.cs | 623 | C# |
namespace PayStuffWeb.WindsorSupport
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web.Http.Dependencies;
using Castle.MicroKernel;
[DebuggerStepThrough]
internal class DependencyResolver : System.Web.Http.Dependen... | 25.025641 | 89 | 0.588115 | [
"MIT"
] | caloggins/PayStuff | src/PayStuffWeb/WindsorSupport/DependencyResolver.cs | 978 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Portal : MonoBehaviour {
public GameObject exit;
public GameObject pointer;
public bool inUse;
// Use this for initialization
void Start () {
pointer.SetActive(false);
bool inUse = false;... | 26.258065 | 119 | 0.632678 | [
"MIT"
] | ajmwagar/roachcoach | Assets/Scripts/Portal.cs | 1,630 | C# |
using Android.Views;
namespace Polkovnik.DroidInjector
{
/// <summary>
/// Injector.
/// DO NOT PASS METHODS OF THIS CLASS AS DELEGATES!
/// </summary>
public sealed class Injector
{
/// <summary>
/// Call this method only in types derived from Activity.
/// Starts res... | 37.360656 | 131 | 0.597631 | [
"Apache-2.0"
] | MAX-POLKOVNIK/DroidInjector | Polkovnik.DroidInjector/Injector.cs | 2,281 | C# |
// Reference from Maarten Balliauw, https://blog.maartenballiauw.be/post/2017/08/01/building-a-scheduled-cache-updater-in-aspnet-core-2.html
using System;
using NCrontab;
namespace ZimaHrm.Core.Infrastructure.ScheduledTasks
{
public class SchedulerTaskWrapper
{
public CrontabSchedule Schedule { get; ... | 26.5 | 141 | 0.65283 | [
"Apache-2.0"
] | Dakicksoft/ZimaHrm | ZimaHrm.Infrastructure/ScheduledTasks/SchedulerTaskWrapper.cs | 797 | C# |
using Microsoft.Extensions.Logging;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Dafny.LanguageServer.Language.Symbols {
/// <summary>
/// Symbol resolver that utilizes dafny-lang to resolve the symbols.
///... | 43.227679 | 160 | 0.699473 | [
"MIT"
] | DafnyVSCode/language-server-csharp | Source/DafnyLS/Language/Symbols/DafnyLangSymbolResolver.cs | 9,685 | 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 may ... | 33.447368 | 75 | 0.659323 | [
"CC0-1.0"
] | 10088/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Cache/ICacheEntry.cs | 1,271 | C# |
//
// Copyright (c) LightBuzz Software.
// All rights reserved.
//
// http://lightbuzz.com
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
/... | 37.184638 | 157 | 0.566457 | [
"Apache-2.0"
] | LightBuzz/Vitruvius | Kinect v2/WinRT/LightBuzz.Vitruvius/Core/Vector3.cs | 25,176 | C# |
// Decompiled with JetBrains decompiler
// Type: BlueStacks.Common.ExtendedWebClient
// Assembly: HD-Common, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null
// MVID: 7033AB66-5028-4A08-B35C-D9B2B424A68A
// Assembly location: C:\Program Files\BlueStacks\HD-Common.dll
using System;
using System.Net;
namespa... | 24.482759 | 82 | 0.726761 | [
"MIT"
] | YehudaEi/Bluestacks-source-code | src/HD-Common/BlueStacks/Common/ExtendedWebClient.cs | 712 | C# |
using System;
using System.Drawing;
using System.Linq;
using System.Text;
using PdfSharp;
using PdfSharp.Drawing;
using PdfSharp.Drawing.Layout;
using PdfSharp.Pdf;
using PDFSharpTest.Console.Models;
using TheArtOfDev.HtmlRenderer.PdfSharp;
namespace PDFSharpTest.Console
{
class Program
{
/// <summary... | 40.794613 | 199 | 0.466656 | [
"MIT"
] | m-azyoksul/PDFSharpTest | PDFSharpTest.Console/Program.cs | 12,120 | C# |
//-----------------------------------------------------------------------
// <copyright file="DaemonMsgCreateSerializerSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
//... | 37.066116 | 153 | 0.591304 | [
"Apache-2.0"
] | Bogdan-Rotund/akka.net | src/core/Akka.Remote.Tests/Serialization/DaemonMsgCreateSerializerSpec.cs | 4,487 | 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>
//--... | 35.645161 | 151 | 0.570136 | [
"Apache-2.0"
] | xinghe3/DataTracer | CN.MACH.AI.UI.Controls.WPF/Properties/Settings.Designer.cs | 1,107 | C# |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.Italian;
using Microsoft.Recognizers.Text.DateTime.Utilities;
namespace Microsoft.Recognizers.Text.DateTime.Italian
{
public class ItalianDateParserConfiguration : B... | 37.436842 | 108 | 0.68649 | [
"MIT"
] | Tao2301230/Recognizers-Text | .NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateParserConfiguration.cs | 7,115 | C# |
using System.Resources;
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.
[asse... | 44.1 | 189 | 0.757937 | [
"BSD-3-Clause"
] | Smurf-IV/Krypton-Toolkit-Suite-Extended-NET-4.7 | Source/Krypton Toolkit Suite Extended/Componentisation/Krypton Outlook Grid/Properties/AssemblyInfo.cs | 1,767 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace SerialPortW
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
//启用可视样式
Application.EnableVisualStyl... | 20.73913 | 65 | 0.551363 | [
"Apache-2.0"
] | TonySudo/SerialPort_Performance | SerialPortW/Program.cs | 519 | C# |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace FScruiser.XF.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MyNavigationView : NavigationPage
{
public MyNavigationView()
{
InitializeComponent();
}
}
} | 21.071429 | 58 | 0.664407 | [
"CC0-1.0"
] | FMSC-Measurements/NatCruise | src/FScruiser.Xamarin/Views/MyNavigationView.xaml.cs | 297 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.