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.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayUserElectronicidMerchantbarcodeCreateResponse. /// </summary> public class AlipayUserElectronicidMerchantbarcodeCreateResponse : AlipayResponse { /// <summary> /// 二维码码串 ...
25.217391
85
0.605172
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayUserElectronicidMerchantbarcodeCreateResponse.cs
606
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Eventures.Data.Entities; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; usin...
37.737226
181
0.55648
[ "MIT" ]
SimeonVSimeonov/ASP.NET-Core
Eventures/Eventures/Areas/Identity/Pages/Account/Register.cshtml.cs
5,172
C#
using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.FeaturesTestFramework.Intentions; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.PerformanceCriticalCodeAnalysis.Highlightings; using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services...
54.844444
149
0.745543
[ "Apache-2.0" ]
akarpov89/resharper-unity
resharper/resharper-unity/test/src/CSharp/Intentions/QuickFixes/MoveCostlyMethodQuickFixTests.cs
2,468
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphic...
32
92
0.559422
[ "MIT" ]
Altenhh/osu
osu.Game.Tests/Visual/TestSceneOsuGame.cs
4,095
C#
namespace DataFlow.EdFi.Models.Types { public class AssessmentItemResultType { /// <summary> /// The unique identifier of the resource. /// </summary> public string id { get; set; } /// <summary> /// Key for AssessmentItemResult /// </summary> p...
26.736842
88
0.549213
[ "Apache-2.0" ]
schoolstacks/dataflow
DataFlow.EdFi/Models/Types/AssessmentItemResultType.cs
1,016
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
31.254438
285
0.466679
[ "MIT" ]
seowleng/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/InboundRouteEntityListing.cs
10,564
C#
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System.Collections; using System.Collections.Generic; namespace DotSpatial.Data { /// <summary> /// VertexRange /// </summary> ...
35.294737
144
0.549359
[ "MIT" ]
AlexanderSemenyak/DotSpatial
Source/DotSpatial.Data/VertexRange.cs
6,706
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...
34.669725
207
0.622651
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Management/V20180301Preview/GetManagementGroup.cs
3,779
C#
using System; using System.Collections.Generic; using System.Text; namespace MYH.ABP.Member.Dto { public class CreateMemberOutput { public string OpenIdMp { get; set; } } }
16.25
44
0.687179
[ "MIT" ]
moyuanhui/MYH.ABP
aspnet-core/src/MYH.ABP.Application/Member/Dto/CreateMemberOutput.cs
197
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity.Spatial; namespace RoadSegmentMapping { class WayInfo { public long id; public DbGeography line; public double Dist; } }
17.647059
33
0.703333
[ "Apache-2.0" ]
OSADP/Road-Weather-Performance-Management-
Cloud/RWPMHostedSystem/RoadSegmentMappingLib/WayInfo.cs
302
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.TestPlatform.AcceptanceTests { using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class FrameworkTests...
43.345794
155
0.649418
[ "MIT" ]
HeroMaxPower/vstest
test/Microsoft.TestPlatform.AcceptanceTests/FrameworkTests.cs
4,640
C#
// Copyright (c) 2016 Daniel Grunwald // // 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, modify, merge, // publ...
32.314879
141
0.709605
[ "MIT" ]
YadikarYaqup/UyghurEditPP
Editing/TextRangeProvider.cs
9,341
C#
// Copyright Allen Institute for Artificial Intelligence 2017 using UnityEngine; using System.Collections; using System; using System.Collections.Generic; using UnityEngine.SceneManagement; public static class SimUtil { //how fast smooth-animated s / cabinets / etc animate public const float SmoothAnimationSpeed = ...
36.678233
199
0.71106
[ "Apache-2.0" ]
jsanmiya/ai2thor
unity/Assets/Scripts/SimUtil.cs
23,254
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable namespace Microsoft.AspNetCore.Routing.Patterns; internal class DefaultRoutePatternTransformer : RoutePatternTransformer { private readonly ParameterPolicyFa...
45.932
167
0.553601
[ "MIT" ]
Aezura/aspnetcore
src/Http/Routing/src/Patterns/DefaultRoutePatternTransformer.cs
11,483
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.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeA...
31.222944
123
0.490607
[ "MIT" ]
06needhamt/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/EventDescriptorCollection.cs
14,425
C#
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using WalletWasabi.BitcoinCore; using WalletWasabi.Blockchain.Blocks; using WalletWasabi.Blockchain.Mempool; using WalletWasabi.Blockchain.Transact...
31.5
128
0.69932
[ "MIT" ]
zero77/WalletWasabi
WalletWasabi.Tests/UnitTests/BitcoinCore/P2pBasedTests.cs
6,615
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PipelineR.StartingSample.Models { public class DepositAccountModel { public string Nome { get; set; } } }
18.076923
41
0.723404
[ "MIT" ]
eduardosbcabral/pipeliner2
src/PipelineR.StartingSample/Models/DepositAccountModel.cs
237
C#
using DFC.Digital.Data.Interfaces; using System; namespace DFC.Digital.Data.Model { public class PreSearchFilter : IDigitalDataModel { public Guid? Id { get; set; } public string UrlName { get; set; } public string Title { get; set; } public string Description { get; set; } ...
21.1
52
0.613744
[ "MIT" ]
Muthuramana/dfc-digital
DFC.Digital/DFC.Digital.Data/Model/PreSearchFilter.cs
424
C#
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace WipHello.Services.NavigationService { public class NavigationService { private readonly NavigationFacade _frame; private const string EmptyNavigation = "1,0"; string LastNa...
32.373737
84
0.566927
[ "MIT" ]
NoleHealth/Win10TPNoleDev
HelloWorld1/WipHello/Services/NavigationService/NavigationService.cs
3,207
C#
using System.Threading.Tasks; using FCMDotNet.Model; namespace FCMDotNet { public interface IFCMClient { /// <summary> /// Posts a message to Firebase /// </summary> /// <param name="message">Message to send. Use FCMMessageBuilder to construct it</param> /// <returns></r...
26.266667
96
0.629442
[ "Apache-2.0" ]
chedabob/FCMDotNet
FCMDotNet/IFCMClient.cs
394
C#
// _ _ _ ____ _ _____ // / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ // / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ // / ___ \ | | | (__ | | | || | ___) || |_| __/| ...
34.901639
97
0.636919
[ "Apache-2.0" ]
JARVIS-AI/ArchiSteamFarm
ArchiSteamFarm/CMsgs/CMsgClientAcknowledgeClanInvite.cs
2,130
C#
using System.Collections.Generic; namespace Polo.Abstractions.Parameters { public interface IParameterInfo { // TODO LA - Remove public static string Name { get; } public static IReadOnlyCollection<string> PossibleValues { get; } public static string Description { get; } ...
21.6
73
0.666667
[ "MIT" ]
LA777/photo-organizer-light-ops
Polo.Abstractions/Parameters/IParameterInfo.cs
326
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.Immutable; using System.Diagnostics; using System.Threading; using Microsoft...
48.625
169
0.668952
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/Analyzers/Core/Analyzers/RemoveUnnecessaryParentheses/AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs
7,004
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using AutoMapper; using Boilerplate.Application.DTOs; using Boilerplate.Application.DTOs.Person; using Boilerplate.Application.Extensions; using Boilerplate.Application.Filters; using Boilerplate.Application.Interfaces; using Boilerplate.Dom...
37.922222
124
0.656607
[ "MIT" ]
RenanPessotti/netcore-api-boilerplate
src/Boilerplate.Application/Services/PersonAppService.cs
3,415
C#
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dinner.Models { public class SQLRecipeRepository : IRecipeRepository { private readonly AppDbContext context; public SQLRecipeRepository(AppDbContext ...
35.348315
111
0.512397
[ "MIT" ]
Artist2305/ChefMaster
Models/SQLRecipeRepository.cs
6,294
C#
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2015 FUJIWARA, Yusuke // // 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...
36.285714
176
0.694038
[ "MIT" ]
BeamNG/msgpackInspector
MsgPack/Serialization/DefaultSerializers/InternalDateTimeExtensions.cs
3,556
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace Charlotte.Tools { public class FaultOperation : Exception { public FaultOperation(Exception e = null) : this("失敗しました。", e) { } public FaultOperation(string message, Exception e = nul...
18.011494
74
0.598596
[ "MIT" ]
stackprobe/Kirara2
KiraraConv/KiraraConv/Tools/FaultOperation.cs
1,601
C#
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.Collections; using System.Collections.Generic; using Syst...
38.775072
141
0.4276
[ "MIT" ]
StackAnalysis/piranha.core
core/Piranha.Manager/Services/PostService.cs
27,065
C#
#pragma checksum "C:\Users\hamedsa\Documents\GitHub\Master\Master\PivotApp1\PivotApp1 - Copy\PivotApp1\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "110A060C9A872DD001F1747D48D829F1" //------------------------------------------------------------------------------ // <auto-generated> // This code was gen...
44.925234
194
0.6684
[ "Apache-2.0" ]
hsneshat/Master
PivotApp1/PivotApp1 - Copy/PivotApp1/obj/Debug/MainPage.g.i.cs
4,809
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...
42.94864
284
0.59827
[ "Apache-2.0" ]
aws/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/Connect/Basic/Update-CONNAgentStatus-Cmdlet.cs
14,216
C#
namespace OnlineExamPrep.Models.Common { public interface IUserClaim { int Id { get; set; } string UserId { get; set; } string ClaimType { get; set; } string ClaimValue { get; set; } } }
21.090909
39
0.568966
[ "MIT" ]
isimic413/OnlineExamPrep
src/OnlineExamPrep.Models.Common/IUserClaim.cs
234
C#
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DarwinSanoy : IAmACommunityMember { public string FirstName => "Darwin"; public string La...
36.793103
95
0.683224
[ "MIT" ]
DarwinJS/planetpowershell
src/Firehose.Web/Authors/DarwinSanoy.cs
1,069
C#
using System.Security.Cryptography; namespace Oocx.Acme.Services { public class KeyContainerStore : IKeyStore { private readonly CspProviderFlags flags; public KeyContainerStore(string storeType) { flags = storeType == "machine" ? CspProviderFlags...
27.541667
74
0.573374
[ "MIT" ]
pieszynski/letsencrypt-net-update
src/acme.net/src/Oocx.Acme/Services/KeyContainerStore.cs
661
C#
namespace Menees { #region Using Directives using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerSe...
33.139535
125
0.717661
[ "MIT" ]
bmenees/Libraries
src/Menees.Common/ReflectionUtility.cs
4,275
C#
#region using System; using System.Collections.Generic; using System.Linq; using System.Text; using WinterLeaf.Engine; using WinterLeaf.Engine.Classes; using WinterLeaf.Engine.Containers; using WinterLeaf.Engine.Enums; using System.ComponentModel; using System.Threading; using WinterLeaf.Engine.Classes....
29.463235
122
0.522835
[ "MIT", "Unlicense" ]
RichardRanft/OmniEngine.Net
Templates/C#-Empty/Winterleaf.Demo.Full/Models.User/Extendable/EditManager.cs
3,872
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace HRM.Models { public class Section { [key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public ...
26.961538
66
0.647646
[ "MIT" ]
TasniaJamilLamia/hrm-training
HRM/HRM/Models/Section.cs
703
C#
#region license // 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 // "...
38.970149
119
0.700498
[ "Apache-2.0" ]
TobiasFox/SpriteSwappingTool
SpriteSwappingPlugin/Assets/SpriteSwappingPlugin/Editor/SortingGeneration/Criteria/ContainmentSortingCriterion.cs
2,613
C#
namespace Sandbox { using System; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using CommandLine; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Lo...
40.906977
125
0.659466
[ "MIT" ]
EleonorManolova/BeOrganized
ASP.NET Core/Tests/Sandbox/Program.cs
3,520
C#
using System.Data.Common; using System.Data.Entity.Infrastructure.Interception; using System.Diagnostics; using ContosoUniversity.Core.Logging; namespace ContosoUniversity.Core.DAL { public class SchoolInterceptorLogging : DbCommandInterceptor { private ILogger _logger = new Logger(); private ...
41.472222
146
0.64501
[ "Unlicense" ]
trind09/ContosoUniversity
ContosoUniversity.Core/DAL/SchoolInterceptorLogging.cs
2,988
C#
using System.Net.Http; using System.Threading.Tasks; using Alexa.NET.Management.Api; using Refit; namespace Alexa.NET.Management.Internals { public interface IClientSkillEnablementApi { [Put("/v1/skills/{skillId}/stages/{stage}/enablement")] Task<HttpResponseMessage> Enable(string skillId, Ski...
31.95
84
0.713615
[ "MIT" ]
dennis-kuypers-gcx/Alexa.NET.Management
Alexa.NET.Management/Internals/IClientSkillEnablementApi.cs
641
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using Microsoft.MixedReality.Toolkit.Utilities.Editor; using UnityEngine; using UnityEditor; using System; using Syste...
35.629938
163
0.527599
[ "MIT" ]
GooDtoLivE/VRByMRTK
MRTK2_2/Assets/MixedRealityToolkit.Services/InputSimulation/Editor/InputSimulationWindow.cs
17,138
C#
// <copyright file="InMemoryPropertyStoreFactory.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using FubarDev.WebDavServer.FileSystem; using FubarDev.WebDavServer.Props.Dead; using JetBrains.Annotations; using Microsoft.Extensions.Logging; n...
34.348837
144
0.69262
[ "MIT" ]
FubarDevelopment/WebDavServer
src/FubarDev.WebDavServer.Props.Store.InMemory/InMemoryPropertyStoreFactory.cs
1,479
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 ...
36.4375
90
0.669525
[ "CC0-1.0" ]
10088/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Client/IClientConnection.cs
1,749
C#
// // System.Collections.Generic.LinkedListNode // // Author: // David Waite // // (C) 2005 David Waite (mass@akuma.org) // // // Copyright (C) 2005 David Waite // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the...
23.365234
105
0.606788
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/System/System.Collections.Generic/LinkedList.cs
11,963
C#
using System; using System.IO; using Microsoft.Win32; using System.Drawing; using System.Windows.Forms; namespace StartupEdit { /// <summary> /// this class responsible for reading all the entries whether in the registry or in the folders /// this class has the folloing methods /// 1)internal void ReadRegistry ( ...
30.939691
129
0.622121
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
candseeme/Startup-Edit
Backup/Classes/FetchMan.cs
22,060
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("Ru...
38.027027
84
0.745558
[ "MIT" ]
joce/RubberPlant
src/RubberPlant.Tests/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Runtime.Caching; using System.Security.Principal; using System.Windows; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Med...
42.243697
156
0.54073
[ "MIT" ]
ioxuy/AuroraDNS.GUI
AuroraGUI/Forms/MainWindow.xaml.cs
20,646
C#
/* Copyright (c) 2018, Szymon Jakóbczyk, Paweł Płatek, Michał Mielus, Maciej Rajs, Minh Nhật Trịnh, Izabela Musztyfaga All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributio...
56.906977
158
0.741316
[ "Unlicense" ]
Playfloor/Galactromeda
Assets/Scripts/HexLogic/HexMetrics.cs
2,455
C#
// <auto-generated /> using BlogSystem.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.In...
32.872274
117
0.459249
[ "MIT" ]
simeonovanton/TelerikALPHA_nov2017
09.ASP.NET_MVC/BlogSystem_Steven_Done100/Solution/BlogSystem.Data/Migrations/20180413125151_Initial.Designer.cs
10,554
C#
using System; using System.Collections.Generic; using System.Text; namespace JT808.Gateway.Abstractions.Enums { /// <summary> /// 传输协议类型 /// </summary> public enum JT808TransportProtocolType { tcp=1, udp = 2 } }
15.875
42
0.61811
[ "MIT" ]
Seamless2014/JT808Gateway
src/JT808.Gateway.Abstractions/Enums/JT808TransportProtocolType.cs
268
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Routing; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.FriendlyUrls.Resolvers; namespace PlaymoWars { public partial class ViewSwitcher : System.Web.UI.UserControl { prot...
36.837209
120
0.642677
[ "Apache-2.0" ]
ChinaFred/PlaymoWars-2016
ViewSwitcher.ascx.cs
1,584
C#
namespace Fonet.Fo.Properties { internal class GroupingSizeMaker : NumberProperty.Maker { new public static PropertyMaker Maker(string propName) { return new GroupingSizeMaker(propName); } protected GroupingSizeMaker(string name) : base(name) {} public override bool Is...
27.24
86
0.609398
[ "Apache-2.0" ]
DaveDezinski/Fo.Net
src/Fo/Properties/GroupingSizeMaker.cs
681
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Moq; using ConsoleApp4; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestProject2 { [TestClass] public class BookRepositoryTest { //void Edit(T bo...
31.45614
130
0.591746
[ "MIT" ]
chertby/Course-M-ND2-33-19
Bandarin/ConsoleApp3/UnitTestProject2/BookRepositoryTest.cs
3,588
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
38.916667
185
0.514407
[ "BSD-3-Clause" ]
BillBlight/consortium
OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs
36,893
C#
using Orchard.Indexing; namespace Orchard.ContentManagement.Handlers { public class IndexContentContext : ContentContextBase { public IDocumentIndex DocumentIndex { get; private set; } public IndexContentContext(ContentItem contentItem, IDocumentIndex documentIndex) : base(contentItem...
29.538462
89
0.703125
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard/ContentManagement/Handlers/IndexContentContext.cs
384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CafeRestorantOtomasyonu { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] ...
22.695652
65
0.62069
[ "Apache-2.0" ]
receppolat/Cafelania
CafeRestorantOtomasyonu/CafeRestorantOtomasyonu/Program.cs
524
C#
using System.Collections; using System.Linq; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; namespace Assets.Sources { public class Player : MonoBehaviour { public PrefabsHolder prefabsHolder; public GameObject ShockWave; public int Tries; public in...
27.473118
95
0.517808
[ "Apache-2.0" ]
kibotu/SpotTheDifference
Assets/Sources/Player.cs
2,557
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.IO; using System.Runtime.CompilerServices; class ApplicationException : Exception { public ApplicationException(string message) : base(message) { } } ...
37.435556
97
0.617951
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/Methodical/nonvirtualcall/generics2.cs
8,423
C#
using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using DAS.DigitalEngagement.Application.Services; using DAS.DigitalEngagement.Application.Services.Marketo; using DAS.DigitalEngagement.Application.UnitTests.Helpers; using DAS.D...
36.46114
115
0.584908
[ "MIT" ]
SkillsFundingAgency/das-campaign-functions
src/DAS.DigitalEngagement.Application.UnitTests/Services/BulkImportServiceTests.cs
7,039
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// シングルトンかつシーンに依存しないオブジェクトに使用する /// </summary> public class DontDestroyScript : MonoBehaviour { public string obejct_name = ""; public static Dictionary<string, bool> instances = null; public static Diction...
22.880597
98
0.527723
[ "MIT" ]
ssslib/ssslib
SSSLib/Assets/SSSLib/Audio/DontDestroyScript.cs
1,691
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; namespace PKHeX.Core.Injection { public static class LPBDSP { public static LiveHeXVersion[] BrilliantDiamond = new LiveHeXVersion[] { LiveHeXVersion.BD_v100, LiveHe...
44.482192
180
0.569537
[ "MIT" ]
Lusamine/PKHeX-Plugins
PKHeX.Core.Injection/Protocols/LPBDSP.cs
16,238
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AgileProject.Model { class Movie { public String movieId { get; set; } public String movieName { get; set; } public Int16 year { get; set; } public Int1...
38.636364
415
0.616471
[ "MIT" ]
NYCCT-CST4708-SPRING20/AgileProject
AgileProject/Models/movie.cs
2,127
C#
using System; using Framework.DomainDriven.BLL; using Framework.Exceptions; using Framework.Persistent; namespace Framework.DomainDriven { public class DTOMappingVersionService<TBLLContext, TAuditPersistentDomainObjectBase, TIdent, TVersion> : BLLContextContainer<TBLLContext>, IDTOMappingVersionService<T...
38.181818
213
0.697619
[ "MIT" ]
Luxoft/BSSFramework
src/_DomainDriven/Framework.DomainDriven.Core/DTO/MappingService/DTOMappingVersionService.cs
1,230
C#
using System; using System.Collections.Generic; using System.Net; using System.Reflection; public static class HttpWebRequestExtensions { public static string[] RestrictedHeaders = new string[] { "Accept", "Connection", "Content-Length", "Content-Type", "Date", "Exp...
30.896552
141
0.598772
[ "MIT" ]
SilasReinagel/Twittimation
Twittimation/Common/HttpWebRequestExtensions.cs
1,794
C#
using MongoDB.Driver; namespace Plus.MongoDb { /// <summary> /// IMongoDatabaseProvider /// </summary> public interface IMongoDatabaseProvider { IMongoClient Client { get; } IMongoDatabase Database { get; } } }
18.071429
43
0.620553
[ "MIT" ]
Meowv/.netcoreplus
src/Plus.MongoDB/IMongoDatabaseProvider.cs
255
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...
35.672727
152
0.609582
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/Internal/MarshallTransformations/ProjectSourceUnmarshaller.cs
3,924
C#
#region License // <copyright> // iGeospatial Geometries Package // // This is part of the Open Geospatial Library for .NET. // // Package Description: // This is a collection of C# classes that implement the fundamental // operations required to validate a given geo-spatial data set to // a known top...
25.84375
85
0.613362
[ "MIT" ]
IBAS0742/iGeospatial_change
Geometries/Algorithms/InteriorPointPoint.cs
3,308
C#
/* Copyright 2012 Michael Edwards 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 ag...
28.268293
80
0.660052
[ "Apache-2.0" ]
smithc/Glass.Mapper
Source/Glass.Mapper/Configuration/FieldConfiguration.cs
1,159
C#
using System; namespace System.Collections.Generic { public class SpecifiedListComparer<T> : IComparer<T> { public IList<T> List { get; } public SpecifiedListComparer( IList<T> list) { this.List = list; } public SpecifiedListComparer( ...
23.508197
64
0.426778
[ "MIT" ]
MinexAutomation/R5T.Magyar
source/R5T.Magyar/Code/Classes/SpecifiedListComparer.cs
1,436
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using BlackIris; using UnitTestFile.Support; namespace UnitTestFile.Tests { [TestClass] public class CommandlineContractTests { [TestMethod] public void CommandlineContract_SquashedKeyValuePattern() { str...
47.647343
160
0.643719
[ "MIT" ]
bobbyache/BlackIrisConsole
Code/UnitTests/Tests/CommandlineContractTests.cs
9,865
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("BLL")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("B...
25.054054
56
0.708738
[ "MIT" ]
KaelKong/MVCDemo
DEMO/BLL/Properties/AssemblyInfo.cs
1,278
C#
using System.Collections.Generic; namespace Sys.Workflow.Engine.Impl.Events.Logger.Handlers { using Sys.Workflow.Engine.Delegate.Events; using Sys.Workflow.Engine.Impl.Interceptor; using Sys.Workflow.Engine.Impl.Persistence.Entity; /// public class VariableDeletedEventHandler : VariableEventHan...
32.923077
162
0.741822
[ "Apache-2.0" ]
18502079446/cusss
NActiviti/Sys.Bpm.Engine/Engine/impl/event/logger/handler/VariableDeletedEventHandler.cs
858
C#
using UnityEngine; namespace RubicalMe { namespace RenderTools { public class GUIItem { protected static uint GUIItemsAlive; public Texture2D Texture { get { return texture; } } public Rect Rect { get { return rect; } } public GUISnapMode SnapMode { get { ...
23.784
122
0.65153
[ "Apache-2.0" ]
Cheezegami/KernM-GameDev-2-_-Tools-_-Weapon-Generator-1
Assets/Editor/RubicalMe/EditorRenderer/RenderTools/GUIItem.cs
2,975
C#
namespace Hexalith.Domain { public abstract class EntityState { } }
13.333333
37
0.6625
[ "MIT" ]
Hexalith/Hexalith
src/Core/Domain/Hexalith.Domain.Abstractions/EntityState.cs
82
C#
// // Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Vladimir Krasnov <vladimirk@mainsoft.com> // // // Copyright (c) 2002-2005 Mainsoft Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated...
30.992481
87
0.685104
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/System_Web_UI_WebControls/BaseDataList/BaseDataList_IsBindableType_T.aspx.cs
4,122
C#
using Microsoft.AspNetCore.Routing; namespace RestfulRouting.Mappers { public class RouteMapper : Mapper { private readonly RouteBase _routeBase; public RouteMapper(RouteBase routeBase) { _routeBase = routeBase; } public override void RegisterRoutes(IRoute...
22
71
0.633971
[ "MIT" ]
khalidabuhakmeh/restful-routing-aspnetcore
src/RestfulRouting.AspNetCore/Mappers/RouteMapper.cs
420
C#
using GalaSoft.MvvmLight; using HDT.Plugins.EndGame.Utilities; namespace HDT.Plugins.EndGame.ViewModels { public class SettingsViewModel : ViewModelBase { public bool WaitUntilBackInMenu { get { return EndGame.Settings.Get(Strings.WaitUntilBackInMenu).Bool; } set { EndGame.Settings.Set(St...
19.99537
113
0.706645
[ "MIT" ]
andburn/hdt-plugin-endgame
EndGame/ViewModels/SettingsViewModel.cs
4,321
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...
35.76
84
0.658837
[ "BSD-2-Clause" ]
AaronRobson/xenadmin
XenAdmin/XenSearch/TreeNodeGroupAcceptor.cs
2,684
C#
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Chapter 8.10 Architecture and Organization * * * * Copyright © 2018 Alex Okita * * ...
37
75
0.383784
[ "MIT" ]
Adam331166/BookContents
Chapters/Chapter8/Assets/GameCo/Scripts/ZombieGame/BaseItem.cs
928
C#
using System; using System.Collections.Generic; using MoreCollection.Extensions; using Neutronium.Core.Navigation.Routing; namespace Neutronium.BuildingBlocks.Application.Navigation.Internals { /// <summary> /// Object that build navigation based on convention /// </summary> internal class ConventionR...
40.063291
151
0.624329
[ "MIT" ]
NeutroniumCore/Neutronium.BuildingBlocks
Neutronium.BuildingBlocks.Application/Navigation/Internals/ConventionRouter.cs
3,167
C#
#pragma checksum "C:\迅雷下载\Projects\Lab2-INotifyProperyChanged\Lab2-INotifyProperyChanged\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "7A6F62821F3F1A5B243C0AFC94DD5F73" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a to...
40.347826
180
0.530891
[ "Apache-2.0" ]
w326004741/MobileApps-3-Labs
Lab2-INotifyProperyChanged/Lab2-INotifyProperyChanged/obj/x86/Debug/MainPage.g.cs
2,794
C#
namespace UnityWinForms.Examples.Panels { using System.Windows.Forms; public class PanelRadioButton : BaseExamplePanel { public override void Initialize() { var radio = this.Create<RadioButton>("AutoCheck = false"); radio.AutoCheck = false; radio.Wid...
29.72
70
0.550471
[ "MIT" ]
Meragon/Unity-WinForms
Examples/Panels/PanelRadioButton.cs
745
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("JS...
37.594595
84
0.744069
[ "MIT" ]
AnaKostadinova/Programming-Fundamentals-C-Sharp-Exercises
Strings/JSONParse/Properties/AssemblyInfo.cs
1,394
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace TheLastWizard { #region messages public class KilledEnemyMessage { public int Points; } public class TimeBonusMessage { pub...
22.833333
69
0.566302
[ "Apache-2.0" ]
tmachows/the-last-wizard
Assets/Scripts/Player/PlayerScore.cs
1,575
C#
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; using Gatling.Runner.Models; using Gatling.Runner.Services; namespace Gatling.Runner.Queuing { public interface IBackgroundTaskQueue { void QueueBackgroundWorkItem(string jobId, Func<CancellationTo...
30.892857
105
0.66474
[ "MIT" ]
dantheman999301/AspNetCore.Gatling
src/Gatling.Runner/Queuing/BackgroundTaskQueue.cs
1,732
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace RockIdentificationTool.Server.Pages { [ResponseCache(Durati...
26.9375
89
0.662413
[ "MIT" ]
JaredVigil/RockIdentificationTool
RockIdentificationTool/Server/Pages/Error.cshtml.cs
864
C#
using SmallTalks.Core.Models; using SmallTalks.Core.Services.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace SmallTalks.Core.Services { public class LocalSourceProviderService : ISourceProviderService { public SourceProvider GetSourceProvider() { ...
28.852941
68
0.588175
[ "MIT" ]
ceifa/smalltalks
SmallTalks/SmallTalks.Core/Services/LocalSourceProviderService.cs
983
C#
using Algorithms.Strings; using Algorithms.Strings.Substrings; using Xunit; namespace Algorithms.Test.Strings.Substrings { public sealed class BoyerMooreSearchTest { [Fact] public void Test_Found() { BoyerMooreSearch bm = new BoyerMooreSearch("cro", Alphabet.ASCII); ...
22.692308
78
0.601695
[ "MIT" ]
gfurtadoalmeida/study-algorithms
book-01/Algorithms.Test/Strings/Substrings/BoyerMooreSearch.cs
592
C#
using System.Runtime.Serialization; namespace ESRI.ArcLogistics.Tracking.TrackingService.Json { /// <summary> /// Stores information about attribute parameter. /// </summary> [DataContract] internal sealed class ParameterInfo { #region constructor /// <summary> /// Con...
26.209677
89
0.551385
[ "Apache-2.0" ]
Esri/route-planner-csharp
RoutePlanner_DeveloperTools/Source/ArcLogistics/Tracking/TrackingService/Json/ParameterInfo.cs
1,627
C#
using Jobsity.Chat.Contracts.Commands; using Jobsity.Chat.Contracts.Interfaces; using Jobsity.Chat.Contracts.Messaging; using Jobsity.Chat.Service.MessageBrokerService; using Xunit; using Xunit.Abstractions; namespace Jobsity.Chat.IntegrationTests.Services { public class RabbitMqServiceFixture { ITest...
32.690476
115
0.675164
[ "MIT" ]
magupisoft/chat-challenge
Jobsity.Chat.IntegrationTests/Services/RabbitMqServiceFixture.cs
1,375
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace CodeCracker.CSharp.Style { [DiagnosticAnalyzer(LanguageNames.C...
39.309278
138
0.615788
[ "Apache-2.0" ]
ComputerScience1-Period3/code-cracker
src/CSharp/CodeCracker/Style/ConvertToSwitchAnalyzer.cs
3,815
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.708333
80
0.651349
[ "MIT" ]
itasouza/Demo.Localization
Demo.Localization/obj/Debug/netcoreapp2.2/Demo.Localization.AssemblyInfo.cs
1,001
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TemPHPlate { public class ScriptFile : ScriptDefinition { public string FileName { get => default(string); set { } } public override ...
17.826087
48
0.536585
[ "Apache-2.0" ]
manuth/TemPHPlate
Documents/TemPHPlate/ScriptFile.cs
412
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Body_draw : MonoBehaviour { private Body_part p; public Body_part part { set { if (p == value) return; p = value; StartCoroutine(ReLoad()); ...
18.651007
77
0.483267
[ "MIT" ]
miko-t/2016RpgGame
Assets/character/Body_draw.cs
2,781
C#
using Strive.Core.Services.WhiteboardService.Actions; namespace Strive.Core.Services.WhiteboardService.PushActions { public record PanCanvasPushAction(double PanX, double PanY) : CanvasPushAction { public override CanvasAction ConvertToAction(string participantId) { return new PanC...
29.076923
82
0.724868
[ "Apache-2.0" ]
Anapher/PaderConference
src/Services/ConferenceManagement/Strive.Core/Services/WhiteboardService/PushActions/PanCanvasPushAction.cs
380
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/dwrite_3.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtim...
90.449568
607
0.743484
[ "MIT" ]
john-h-k/terrafx.interop.windows
sources/Interop/Windows/um/dwrite_3/IDWriteFactory6.cs
31,388
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Diagn...
41.088553
119
0.57848
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/System.Management.Automation/utils/perfCounters/PSPerfCountersMgr.cs
19,026
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. namespace DotNetFileUtils { /// <summary> /// Represents a search scope. /// </summary> public enum...
25.636364
71
0.599291
[ "MIT" ]
systemmetaphor/shapeflow
src/external/DotNetFileUtils/SearchScope.cs
566
C#
using System; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Effects; using AuroraGUI.Fx; using Microsoft.Win32; namespace AuroraGUI { /// <summary> /// ExpertWindow.xaml 的交互逻辑 /// </summary> public partial class ExpertWindow { public Exper...
35.516949
100
0.491768
[ "MIT" ]
jarodvip/AuroraDNS.GUI
AuroraGUI/ExpertWindow.xaml.cs
4,305
C#
using System; using Microsoft.Extensions.DependencyInjection; namespace Shiny.Net.Http { public static class ServiceCollectionExtensions { public static void UseHttpClientTransfers<T>(this IServiceCollection builder) where T : class, IHttpTransferDelegate { builder.AddSingleton<IH...
33.666667
124
0.711881
[ "MIT" ]
jamesmontemagno/shiny
src/Shiny.Net.Http/Platforms/Shared/ServiceCollectionExtensions.cs
1,012
C#