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.Windows.Media; namespace HL7Comparer { [Flags] public enum TextMarkerTypes { /// <summary> /// Use no marker /// </summary> None = 0x0000, /// <summary> /// Use squiggly underline marker /// </summary> SquigglyUnder...
21.264706
63
0.524205
[ "MIT" ]
julien-lebot/HL7-Comparer
HL7Comparer/ITextMarkerService.cs
725
C#
namespace NMetrics.Reporting { /// <summary> /// A tag interface to indicate that a class is a reporter /// </summary> public interface IReporter { } }
18.7
63
0.57754
[ "MIT" ]
thattolleyguy/nmetrics
NMetrics.Core/Reporting/IReporter.cs
189
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snake { /// <summary> /// An x-y coordinate pair representing a location point /// </summary> class Point { public int X{get; set;} public int Y{get; set;} ...
21.758621
61
0.543582
[ "MIT" ]
Wisdou/Snake
Snake/Point.cs
633
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace Memberships.Entities { [Table("Section")] public class Section { [DatabaseGenerated(DatabaseGeneratedOptio...
22.095238
61
0.69181
[ "MIT" ]
atk0dev/MembershipsApp
Memberships/Memberships/Entities/Section.cs
466
C#
using System; using System.Threading.Tasks; namespace Ivvy.API { /// <summary> /// ApiClientEvents provides a default implementation of IApiClientEvents which does nothing. /// </summary> public class ApiClientEvents : IApiClientEvents { public ApiClientEvents() { OnAfte...
25.478261
101
0.645051
[ "MIT" ]
MihailSotirov/ivvy-sdk-net
src/ApiClientEvents.cs
586
C#
using System; using System.Globalization; using Xamarin.CommunityToolkit.Extensions; using Xamarin.Forms; namespace Xamarin.CommunityToolkit.Converters { /// <summary> /// Converts text (string, char) to certain case. /// </summary> [ContentProperty(nameof(Type))] public class TextCaseConverter : ValueConverterE...
37.5
123
0.709885
[ "MIT" ]
AbuMandour/XamarinCommunityToolkit
XamarinCommunityToolkit/Converters/TextCaseConverter.shared.cs
2,177
C#
using System.Collections.Generic; using NonogramNet.Lib.Model; namespace NonogramNet.Lib.Test { using System.Net.NetworkInformation; public static class BoardSamples { /* * XXX_X * XX_XX * X_X_X * X___X * _____ */ public static IBoard ...
28
68
0.3831
[ "MIT" ]
PedersenThomas/NonogramNet.Lib
NonogramNet.Lib.Test/BoardSamples.cs
5,434
C#
using JWTSimpleServer; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using System; using System.Collections.Generic; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Builder; using System...
30.92
98
0.561018
[ "Apache-2.0" ]
cdorde/JWTSimpleServer
test/FunctionalTests/TestServerBuilder.cs
2,321
C#
using System; using System.Text; namespace Networking.Files.PcapNG { public partial class NameResolutionBlock { /// <summary> /// Name Resolution Block Record /// </summary> public partial class Record : Octets { /// <summary> /// Type ...
28
85
0.402521
[ "MIT" ]
heshang233/networking
src/networking.files/PcapNG/NameResolutionBlock.Record.cs
2,380
C#
// <copyright file="TestCaseHistoryEntryController.cs" company="Automate The Planet Ltd."> // Copyright 2020 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://...
37.630435
142
0.637974
[ "Apache-2.0" ]
AutomateThePlanet/Meissa
Meissa.Server/Controllers/TestCaseHistoryEntryController.cs
5,195
C#
using FullControls.Common; using System; using System.Collections.Specialized; using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Markup; namespace FullControls.Controls { /// <summary> /// Represents a control that contains a stacked list of items. /// ...
39.479167
138
0.589974
[ "MIT" ]
devpelux/fullcontrols
FullControls/Controls/Accordion.cs
9,477
C#
namespace Penshell.Core { using System; using System.CommandLine; using System.CommandLine.Invocation; /// <summary> /// Abstract base class for all penshell commands. /// </summary> public abstract class PenshellCommand : Command { /// <summary> /// Initializes a new i...
34.864865
100
0.604651
[ "MIT" ]
IForgeDe/Penshell
src/Penshell.Core/PenshellCommand.cs
1,292
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; public class modifyModeText : MonoBehaviour { Text modeText; // Use this for initialization void Start () { modeText = gameObject.GetComponent<Text> (); modeText.text = "Current Selection is: " + GameManager.instance.selectMode; } // Upd...
27.105263
82
0.737864
[ "MIT" ]
arisonu123/FortressDefender
ATaylor_UATanksV1/FortressDefender/Assets/Scripts/UIScripts/modifyModeText.cs
517
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AcrHelloworld { public class Program { public ...
25.740741
70
0.646043
[ "MIT" ]
bellstar/dotnetcore-build-container-demo
AcrHelloworld/Program.cs
695
C#
namespace gps_service.Core { using System; using Models; public static class Geo { public static float Distance(GeoPosition pos1, GeoPosition pos2) { var rad = 6372795; var llat1 = pos1.Latitude; var llong1 = pos1.Longitude...
29.95122
113
0.463355
[ "MIT" ]
0xF6/ASPCoreGPSService
gps-service/Core/Geo.cs
1,230
C#
/* * Copyright 2010-2013 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...
38.014249
206
0.590486
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/S3/Custom/Model/GetObjectResponse.cs
29,347
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...
42.75
188
0.612342
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Elasticsearch/Generated/Model/Internal/MarshallTransformations/ElasticsearchDomainConfigUnmarshaller.cs
6,498
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Net; using System.Net.Mail; public partial class RecuperarSenhaFunc : System.Web.UI.Page { protected void Page_Load(object sender, ...
32.438095
169
0.515854
[ "MIT" ]
ApoOliveira18/Monarca
projetoMonarca/RecuperarSenhaFunc.aspx.cs
3,419
C#
using System.Collections.Generic; using System.Linq; using System.Threading; namespace LANMaker.Data { public class CombinedGameService { private readonly StateContainer state; public CombinedGameService(StateContainer state) { this.state = state; } public...
26.055556
126
0.593817
[ "MIT" ]
drogoganor/LANMaker
LANMaker/Data/CombinedGameService.cs
940
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Reflection.PortableExec...
48.78125
201
0.697758
[ "Apache-2.0" ]
20chan/roslyn
src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceService.cs
7,807
C#
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.Azure.Devices; using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.DataStructures; namespace Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.IotHub { public interface IServiceClient { ...
25.186441
86
0.629879
[ "MIT" ]
Azure/azure-iot-pcs-device-simulation
microservices/device-simulation-dotnet/Services/IotHub/ServiceClientWrapper.cs
1,486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public partial class Persona : IEquatable<Persona> { public override string ToString() => $"DNI: {Dni}, Nombre: {Nombre}, Apellidos: {Apellidos}"; public bool ...
24.294118
101
0.670702
[ "Apache-2.0" ]
jofaval/-tfcgs-dam
EntityFrameworkModel/Persona.cs
415
C#
using Auth0.Core.Exceptions; using Auth0.ManagementApi.Models; using Auth0.Tests.Shared; using FluentAssertions; using System; using System.Threading.Tasks; using Xunit; namespace Auth0.ManagementApi.IntegrationTests { public class GuardianTests : TestBase, IAsyncLifetime { ManagementApiClient _manage...
37.376471
124
0.607649
[ "MIT" ]
flarocca/auth0.net
tests/Auth0.ManagementApi.IntegrationTests/GuardianTests.cs
6,356
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _03.TownInfo { class Program { static void Main(string[] args) { string city = Console.ReadLine(); int population = int.Parse(Console.ReadLine()); in...
25.684211
105
0.584016
[ "MIT" ]
dradoslavov/Technology-Fundamentals
02.Data Types and Variables - Exercise/03.TownInfo/03.Town Info.cs
490
C#
using ShineEngine; using UnityEngine; /// <summary> /// 离线游戏控制 /// </summary> public class GameOfflineControl { private bool _playerLoaded=false; private int _currentBornCode = -1; /** 当前角色ID */ private long _currentPlayerID = -1; /** 本地存储文件路径 */ private string _playerSavePath; ...
26.367003
132
0.524071
[ "Apache-2.0" ]
hw233/home3
core/client/game/src/commonGame/control/GameOfflineControl.cs
8,245
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.ComponentModel; using System.IO; using System.Threading; using Iot.Device.BrickPi3.Exten...
29.762646
159
0.443914
[ "MIT" ]
HakanL/iot
src/devices/BrickPi3/Sensors/EV3ColorSensor.cs
15,300
C#
using System.Collections.Generic; using System.Reflection; using IronText.Logging; using IronText.Reflection; using IronText.Reflection.Managed; using IronText.Reflection.Reporting; namespace IronText.Extensibility { public interface ICilMetadata { ICilMetadata Parent { get; } MemberInfo Me...
26.736842
87
0.722441
[ "Apache-2.0" ]
sucaba/IronTextLibrary
Src/IronText.Core/Extensibility/ICilMetadata.cs
1,018
C#
/* * Copyright 2010-2013 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...
34.283951
151
0.60821
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.Redshift/Model/ModifyEventSubscriptionRequest.cs
5,554
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DotNetGraphQL.Common; using GraphQL.Client.Http; using GraphQL.Common.Exceptions; using GraphQL.Common.Request; using GraphQL.Common.Response; using Polly; namespace DotNetGraphQL.Mobile { public static class Gr...
37.754386
152
0.687732
[ "MIT" ]
gilbreis/DotNetGraphQL
Source/DotNetGraphQL.Mobile/Services/GraphQLService.cs
2,154
C#
 using System; namespace Samarium.PluginFramework.Plugin { using Samarium.PluginFramework.Command; using Samarium.PluginFramework.Rest; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Description; using System.Text; using System.Threading.Tasks; /// <su...
38.409524
118
0.611208
[ "BSD-3-Clause" ]
Beatsleigher/Samarium-PluginFramework
Samarium.PluginFramework/Source/Plugin/IPlugin.cs
4,035
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class UnitTest { public List<Action> Tests = new List<Action>(){}; public UnitTest() { Tests.Add(Example0);Tests.Add(Example1);Tests.Add(Example2);Tests.Add(Example3);Tests.Add(Exam...
31.188889
113
0.593872
[ "MIT" ]
Camypaper/TopCoder
workspace/SRM 484/RabbitNumberUnitTest.cs
2,807
C#
using CryptoExchange.Net.Converters; using Newtonsoft.Json; namespace Bitfinex.Net.Objects { [JsonConverter(typeof(ArrayConverter))] public class BitfinexMarginBase { [ArrayProperty(0)] public string Type { get; set; } [ArrayProperty(1), JsonConverter(typeof(ArrayConverter))] ...
24.875
65
0.640704
[ "MIT" ]
WSakhana/Bitfinex.Net
Bitfinex.Net/Objects/BitfinexMarginBase.cs
798
C#
using System; using System.Collections.Generic; using System.Linq; using Autofac; using System.Web.Http.Dependencies; namespace PME.Web { public class HttpDependencyResolver : DisposableObject, IDependencyResolver { private readonly ILifetimeScope _scope; private class PerRequestContainer : ...
27.098765
89
0.571754
[ "MIT" ]
PrattMiller/codeChallenge
source/_Core/PME.Web/HttpDependencyResolver.cs
2,197
C#
using System.Collections.Generic; using System.Web.Http; namespace AwesomeApi1.Controllers { [ServiceRequestActionFilter] public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] {"value1", "val...
21.486486
75
0.506918
[ "MIT" ]
ctigeek/ExampleServiceFabric
src/AwesomeApi1/Controllers/ValuesController.cs
797
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BeetleX.FastHttpApi.Data { public class DataContxt : IDataContext { private Dictionary<string, object> mProperties = new Dictionary<string, object>(StringComparer.OrdinalIgnoreC...
31.557029
122
0.412373
[ "Apache-2.0" ]
5118234/FastHttpApi
src/Data/DataContext.cs
11,899
C#
// <copyright file="DefaultBenchmarkBase.cs" company="Allan Hardy"> // Copyright (c) Allan Hardy. All rights reserved. // </copyright> using App.Metrics.Benchmarks.Configs; using App.Metrics.Benchmarks.Fixtures; using BenchmarkDotNet.Attributes; namespace App.Metrics.Benchmarks { [Config(typeof(DefaultConfig))] ...
26.454545
70
0.690722
[ "Apache-2.0" ]
geffzhang/AppMetrics
benchmarks/App.Metrics.Benchmarks/DefaultBenchmarkBase.cs
584
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web.Http.Results; using NSubstitute; using Sitecore.Hypermedia.Controllers; using Sitecore.Hypermedia.Model; using Sitecore.Hypermedia.Services; using Sitecore.Workflows; using Xunit; namespace Sitecore.Hypermedia.Unit...
35.954545
77
0.608723
[ "MIT" ]
sergeyshushlyapin/SCH
test/Sitecore.Hypermedia.UnitTests/Controllers/WorkflowControllerTest.cs
3,166
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Bots/Protos/command.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = glo...
31.866258
223
0.648185
[ "MIT" ]
01010100b/AoE2Lib
AoE2Lib/Bots/Protos/Command.cs
51,942
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Foundation; using UIKit; namespace Xamarin.Essentials { public static partial class AppActions { internal const string Type = "XE_APP_ACTION_TYPE"; internal static bool PlatformIsSupported => Platform.HasOSVersion(9, 0)...
26.722222
102
0.726611
[ "MIT" ]
dhindrik/maui
src/Essentials/src/Xamarin.Essentials/AppActions/AppActions.ios.cs
1,926
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// <summary> /// AlipayBossOrderDiagnosisGetResponse. /// </summary> public class AlipayBossOrderDiagnosisGetResponse : AopResponse { /// <summary>...
24.857143
67
0.622605
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayBossOrderDiagnosisGetResponse.cs
530
C#
using System; using System.Runtime.InteropServices; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp.Core { internal static unsafe class UnSafeNativeMethods { private const string libgit2 = "git2"; [DllImport(libgit2)] internal static extern int git_reference_list(out git_strar...
28.029412
129
0.69255
[ "MIT" ]
improvedk/libgit2sharp
LibGit2Sharp/Core/UnSafeNativeMethods.cs
955
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// /// </summary> [Serializable] [XmlRoot(Namespace = "")] [Groups...
30.973684
130
0.680544
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/MusicOnHoldSourceRead21ExternalSource.cs
1,177
C#
// ReSharper disable once RedundantUsingDirective // Used to warn the player in big red letters in debug mode using System.Linq; using Content.Server.Administration; using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; using Robust.Shared.IoC; using Robust.Shared.Map; using Rob...
35.195652
160
0.551266
[ "MIT" ]
Filatelele/space-station-14
Content.Server/GameTicking/Commands/MappingCommand.cs
3,238
C#
using System.Collections.Generic; using System.Xml.Serialization; using Alipay.AopSdk.Core.Domain; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayMarketingCardBenefitQueryResponse. /// </summary> public class AlipayMarketingCardBenefitQueryResponse : AopResponse { /// <summ...
28.65
86
0.692845
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Response/AlipayMarketingCardBenefitQueryResponse.cs
595
C#
using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; namespace GraphQL.ApolloStudio { // https://josef.codes/custom-dictionary-string-object-jsonconverter-for-system-text-json/ public class DictionaryStringObjectJsonConverter : JsonConverter<Dictionary<...
35.730337
135
0.521698
[ "MIT" ]
mattjhosking/graphql-dotnet-apollo-studio
GraphQL.ApolloStudio/DictionaryStringObjectJsonConverter.cs
3,180
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TerrainFunction { // Palette static Color32 seaColorBottom = new Color32(0, 0, 28, 255); static Color32 seaColorTop = new Color32(0, 0, 255, 255); // As measured from sea level const float BeachLevel = 0.15f; ContourP...
29.661355
143
0.650504
[ "MIT" ]
till213/WorldDomination
Assets/Scripts/TerrainFunction.cs
7,447
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
48.922222
167
0.657279
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IWorkbookChartAxisFormatRequest.cs
4,403
C#
using System.Collections.Generic; using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.DataModel; namespace JoinRpg.Services.Interfaces { public interface IFieldSetupService { Task UpdateFieldParams(UpdateFieldRequest request); Task<ProjectField> DeleteField(int projectId, ...
31.301205
84
0.584809
[ "MIT" ]
FulcrumVlsM/joinrpg-net
JoinRpg.Services.Interfaces/IFieldSetupService.cs
7,794
C#
//==================================================================================================================== // Copyright (c) 2013 IdeaBlade //==================================================================================================================== // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARR...
42.952381
120
0.51663
[ "MIT" ]
rmarmer1/Breeze
Samples/TempHire/DomainModel/EntityBase.cs
1,806
C#
// // GenericEqualityComparer.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2015 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a cop...
26.232143
101
0.62015
[ "Apache-2.0" ]
APXLabs/couchbase-lite-net
src/Couchbase.Lite.Shared/Util/GenericEqualityComparer.cs
1,471
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Threading.Tasks; using NewRelic.Agent.Extensions.Providers.Wrapper; using NewRelic.Agent.Extensions.Parsing; using NewRelic.Agent.Api; namespace NewRelic.Providers.Wrapper.MongoDb26 { public cl...
40.130435
148
0.728602
[ "Apache-2.0" ]
JoshuaColeman/newrelic-dotnet-agent
src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/MongoDb26/MongoCollectionImplWrapper.cs
1,846
C#
#pragma checksum "/Users/christian/Desktop/repos/OSX .Net Core App/Views/Shared/Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "583387379a597938339285f5a623245873b0a91c" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspN...
48.923913
382
0.721395
[ "MIT" ]
chris-cata/dotnet-lab
src/obj/Debug/netcoreapp2.1/Razor/Views/Shared/Error.g.cshtml.cs
4,501
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
31.137255
114
0.683249
[ "MIT" ]
suggestbot-wearable-text-entry-system/SuggestBot_GazeAssistedTyping
Assets/Plugins/NoesisGUI/Scripts/Proxies/Int16KeyFrame.cs
3,176
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace Services.Analytics.Models { public partial class ZetronContext : DbContext { public virtual DbSet<ZetronMstIncidents> ZetronMstIncidents { get; set; } public virtual DbSet<ZetronTrnFrames...
36.845238
91
0.516317
[ "MIT" ]
loganathanav/Cognitive-Services
Web Services/Services.Analytics/Services.Analytics/Models/ZetronContext.cs
6,192
C#
// Copyright (c) 2018 Alexander Bogomoletz // // 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,...
41.311475
127
0.695635
[ "MIT" ]
incoboggart/Yamly
TestUnityProjects/Empty/Assets/Yamly/Editor/UnityEditor/YamlyEditorPrefs.cs
2,522
C#
using FubuMVC.Core.View.Model; using FubuMVC.Razor.RazorModel; using FubuTestingSupport; using NUnit.Framework; using Rhino.Mocks; namespace FubuMVC.Razor.Tests.RazorModel { [TestFixture] public class LayoutAttacherTester : InteractionContext<MasterAttacher<IRazorTemplate>> { private AttachRequest...
32.941558
145
0.606544
[ "Apache-2.0" ]
ketiko/fubumvc
src/FubuMVC.Razor.Tests/RazorModel/LayoutAttacherTester.cs
5,075
C#
using System.Collections.Generic; using HotReloading.Syntax; namespace HotReloading.Core { public class CodeChange { public List<Method> Methods { get; set; } = new List<Method>(); } }
20.6
71
0.679612
[ "MIT" ]
andreinitescu/HotReloading
Core/HotReloading.Core/CodeChange.cs
208
C#
// Copyright (c) Aksio Insurtech. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Text.Json.Nodes; namespace Aksio.Cratis.Events.Store; /// <summary> /// Defines the system for working with event sequences. /// </summary> public ...
59.472222
181
0.71929
[ "MIT" ]
aksio-insurtech/Cratis
Source/Kernel/Store/Shared/IEventSequences.cs
2,141
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using Microsoft.Rest.Serialization; using Microsoft.CognitiveServices.ContentModerator.Models; using Microsoft.CognitiveServices.ContentModerator; using System.Threading; using Sys...
37.823056
229
0.490502
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/CognitiveServices/dataPlane/Vision/ContentModerator/ContentModerator.Tests/Helpers/Utilities.cs
28,218
C#
/* The MIT License (MIT) Copyright (c) 2015-2017 Secret Lab Pty. Ltd. and Yarn Spinner contributors. 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 limit...
37.420523
267
0.554791
[ "Unlicense" ]
rachel2386/Studio2Game
Assets/YarnSpinner/Code/DialogueRunner.cs
18,600
C#
using Idoit.API.Client.CMDB.Impact; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IdoitUnitTests.CMDB { [TestClass] public class ImpactTest : IdoitTestBase { public ImpactTest() : base() { } //Read [TestMethod] public void ReadTest() ...
22.541667
63
0.563771
[ "MIT" ]
Kleinrotti/Idoit.API.Client
IdoitUnitTests/CMDB/Impact/ImpactTest.cs
543
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Repayabl.Models.DTOs { public class Room { [Key] public Guid Id { get; set; } [Required] [StringLength(10)] public...
30.814815
55
0.615385
[ "MIT" ]
avikeid2007/Repayabl
Repayabl/Models/DTOs/Room.cs
834
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Reflection; using System.Security.Cryptography; public class EmbeddedAssembly { // Version 1.3 static Dictionary<string, Assembly> dic = null; public static void Load(string embeddedResource, string fileName) ...
25.699029
102
0.564035
[ "MIT" ]
Attracted/FunProjects
JumpMan/JumpMan/EmbeddedAssembly.cs
2,649
C#
// Copyright © 2021 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Razor.TagHelpers; namespace Platformus.Core.Backend { [RestrictChildren("cell", "image-cell", "buttons-cell", "partial...
35.789474
136
0.725
[ "Apache-2.0" ]
Platformus/Platformus
src/Platformus.Core.Backend/Areas/Backend/TagHelpers/Tables/RowTagHelper.cs
683
C#
using System; using System.IO; using System.Threading.Tasks; using Datadog.Trace.HttpOverStreams; using Datadog.Trace.HttpOverStreams.HttpContent; namespace Datadog.Trace.Agent.Transports { internal class HttpStreamRequest : IApiRequest { /// <summary> /// This value is greater than any reasona...
39.53125
169
0.635573
[ "Apache-2.0" ]
alirezavafi/dd-trace-dotnet-splunk
src/Datadog.Trace/Agent/Transports/HttpStreamRequest.cs
2,530
C#
using System; using Org.BouncyCastle.Crypto.Parameters; namespace Org.BouncyCastle.Crypto.Engines { /** * A class that provides a basic International Data Encryption Algorithm (IDEA) engine. * <p> * This implementation is based on the "HOWTO: INTERNATIONAL DATA ENCRYPTION ALGORITHM" * implementati...
31.274096
122
0.431282
[ "BSD-3-Clause" ]
ConnectionMaster/OutlookPrivacyPlugin
3rdParty/bccrypto-net-05282015/crypto/src/crypto/engines/IdeaEngine.cs
10,383
C#
using System; using System.Collections.Generic; using System.Text; namespace DFC.Digital.Tools.Data.Models { public class AccountNotification : BaseIntegrationModel { public string Name { get; set; } public string Email { get; set; } } }
19.214286
59
0.684015
[ "MIT" ]
SkillsFundingAgency/dfc-digital-tools
DFC.Digital.Tools/DFC.Digital.Tools.Data/Models/AccountNotification.cs
271
C#
using System; using Xunit; using Ardalis.Extensions.StringManipulation; namespace Ardalis.Extensions.UnitTests { public class ReverseTests { [Theory] [InlineData(null)] [InlineData("")] public void ReturnsEmptyStringGivenNullOrEmptyString(string input) { str...
23.333333
78
0.595714
[ "MIT" ]
MarkusGnigler/Ardalis.Extensions
tests/Ardalis.Extensions.UnitTests/StringManipulation/ReverseTests.cs
702
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...
43.230769
196
0.592781
[ "MIT" ]
0xf0f/PowerToys
src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.Designer.cs
3,846
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace System.Globalization { [Serializable] [System.Runtime.InteropServices.ComVisible(tr...
35.55
147
0.696203
[ "MIT" ]
LaudateCorpus1/corert
src/System.Private.CoreLib/src/System/Globalization/CalendarWeekRule.cs
711
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BezierCurve : MonoBehaviour { public Vector3[] points; public void Reset() { points = new Vector3[] { new Vector3(1f, 0, 0), new Vector3(2f, 0, 0), new Vector3...
24.861111
135
0.604469
[ "MIT" ]
Gaetz/unity-Spline
Assets/Scripts/BezierCurve.cs
897
C#
// <auto-generated /> namespace PhotoMSK.Data.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class...
27.966667
101
0.629321
[ "MIT" ]
MarkusMokler/photomsmsk-by
PhotoMSK/Core/PhotoMSK.Data/Migrations/201506092218038_OrdersAndContracts.Designer.cs
839
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // 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 restriction, including wit...
39.95
463
0.76262
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.TextBoxControlBuilder.cs
2,397
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class PlayerMovement : MonoBehaviour { [Header("Clamping Zone")] public Vector2 zoneOfAction; [Header("Movement")] public float speed; public PlayerInput playerInput; [Header("...
26.711538
112
0.62167
[ "MIT" ]
OcelotDevelop/Chaotic_Farming
Chaotic Farming/Assets/Scripts/PlayerMovement.cs
2,778
C#
using Adonet_Blog.Entities; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; namespace Adonet_Blog.Services { /// <summary> ...
42.303502
204
0.555004
[ "Apache-2.0" ]
Victoralm/AspNetCore5AndVueJSFromZeroToHero
Adonet-Blog/Services/PostService.cs
10,874
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; using System.Text; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Globalization; using Microsoft.Protocols.Tes...
45.049421
144
0.571796
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
ProtoSDK/Sspi/SspiUtility.cs
58,341
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> //---...
31.92
102
0.516291
[ "MIT" ]
tristanmhmx/StackList
StackList/StackList/StackList/obj/Debug/StackList.MainPage.xaml.g.cs
798
C#
using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using GeminiGraphEditor; using WDE.QuestChainEditor.Editor.ViewModels; namespace WDE.QuestChainEditor.Editor.Views { /// <summary> /// Interaction logic for BlueprintGraphControlView.xaml /// </summary>...
36.955056
120
0.660079
[ "Unlicense" ]
Crypticaz/WoWDatabaseEditor
WDE.QuestChainEditor/Editor/Views/BlueprintGraphControlView.xaml.cs
3,291
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using MawBlog.Models; using MawBlog.Data; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore; using System.IO; usin...
35.2
146
0.547822
[ "MIT" ]
mackenzieweaver/MawBlog
MawBlog/Controllers/HomeController.cs
4,226
C#
using PortableDeviceApiLib; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace MediaDevices { /// <summary> /// This class provides functions for creating and searching for portable devices. /// <para>In oposite to previous version this manag...
38.251366
112
0.575714
[ "MIT" ]
Code-Artist/MediaDevicesExt
MediaDevicesExt/MediaManager.cs
7,002
C#
using System; using System.Collections.Generic; using System.Linq; namespace HalloJoe.Extensions { /// <summary> /// IList extension methods /// </summary> public static class ListExtensions { /// <summary> /// Shuffle IList /// </summary> internal static Random _r...
27.222222
94
0.478367
[ "MIT" ]
hallojoe/HalloJoe.Extensions
Extensions.Net46/List.cs
1,227
C#
using Microsoft.SPOT.Hardware; namespace MFMock { internal class OutputPortWrapper:IOutputPort { private readonly OutputPort mPort; public OutputPortWrapper(OutputPort port) { mPort = port; } public bool Read() { return mPort.Read(); ...
18.666667
49
0.505952
[ "Apache-2.0" ]
mvphelps/MFMock
MFMock/OutputPortWrapper.cs
506
C#
using IBM.Data.DB2.iSeries; using OrmTxcSql.Data; namespace OrmTxcSql.DB2.Data { /// <summary> /// プロパティの接続文字列を戻すデータソース。 /// </summary> public class DB2ConnectionStringBuilderDataSource : DataSource { public iDB2ConnectionStringBuilder ConnectionStringBuilder { get; set; } publi...
20.380952
80
0.682243
[ "MIT" ]
tanoue13/OrmTxcSql
Sources/OrmTxcSql.DB2/Data/DB2ConnectionStringBuilderDataSource.cs
472
C#
/* * Created by: Peter @sHTiF Stefcek */ using System; using UnityEditor; using UnityEngine; namespace VertexColorPainter.Editor { [Serializable] public class VCPEditorConfig : ScriptableObject { [HideInInspector] public bool enabled = false; [HideInInspector] public bo...
27.042553
118
0.573171
[ "MIT" ]
pshtif/VertexColorPainter
Editor/Scripts/VCPEditorConfig.cs
2,542
C#
using System; using MSFramework.Ef.Design; using Template.Infrastructure; namespace Template.API { public class DesignTimeDbContextFactory : DesignTimeDbContextFactoryBase<AppDbContext> { protected override IServiceProvider GetServiceProvider() { return Program.CreateHostBuilder(new string[0]).Build().Servi...
22.2
68
0.795796
[ "MIT" ]
jonechenug/MSFramework
template/Content/src/Template.API/DesignTimeDbContextFactory.cs
333
C#
using System; namespace WT.Ecommerce.Domain.Models { public class PaginationLinks { public PaginationLinks(string endPoint, int recordCount, int skip, int limit) { RecordCount = re...
36.46875
106
0.534704
[ "MIT" ]
farzin2171/WT.EcommerceProject
WT.ECommerce/WT.Ecommerce.Domain/Models/PaginationLinks.cs
1,169
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Logfile.Structured.UnitTests")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
40.5
62
0.839506
[ "MIT" ]
KristianVirkus/LogfileStructured
src/Logfile.Structured/AssemblyInfo.cs
164
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Rendering; namespace Microsoft.AspNetC...
26.09375
95
0.697006
[ "MIT" ]
dougbu/razor-tooling
src/Razor/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs
837
C#
using System.Collections.Generic; using System.Linq; namespace MyFirstCompiler.CodeAnalysis { class SyntaxToken : SyntaxNode { public override SyntaxKind Kind { get; } public int Position { get; } public string Text { get; } public object Value { get; } public override...
26.387097
130
0.577017
[ "Apache-2.0" ]
LindaLawton/MyFirstCompiler
src/MyFirstCompiler/CodeAnalysis/SyntaxToken.cs
820
C#
using FakeSurveyGenerator.Application.Common.Identity; namespace FakeSurveyGenerator.Infrastructure.Identity { internal sealed class OAuthUser : IUser { public string Id { get; init; } public string DisplayName { get; init; } public string EmailAddress { get; init; } public OA...
28.333333
85
0.633613
[ "MIT" ]
MarcelMichau/fake-survey-generator
src/server/FakeSurveyGenerator.Infrastructure/Identity/OAuthUser.cs
597
C#
namespace AngleSharp.Html.LinkRels { using AngleSharp.Dom; using AngleSharp.Html.Dom; using AngleSharp.Io.Processors; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading.Tasks; class ImportLinkRelation : BaseLinkRelation { ...
25.514925
140
0.513016
[ "MIT" ]
bdbai/AngleSharp
src/AngleSharp/Html/LinkRels/ImportLinkRelation.cs
3,419
C#
// *********************************************************************** // Assembly : HZH_Controls // Created : 08-23-2019 // // *********************************************************************** // <copyright file="UCProcessWave.Designer.cs"> // Copyright by Huang Zhenghui(黄正辉) All, QQ gr...
35.793103
137
0.51124
[ "Apache-2.0" ]
DotNetFrameWork/NetWinformControl
HZH_Controls/HZH_Controls/Controls/Process/UCProcessWave.Designer.cs
3,276
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using net.sxtrader.bftradingstrategies.lsparserinterfaces; using System.Xml; using net.sxtrader.bftradingstrategies.sxhelper; using System.Threading; using System.Diagnostics; using System.Globalization; using net.sxtrader.muk; name...
32.571922
153
0.48041
[ "MIT" ]
SXTrader/SXTrader
BFTradingStrategies/LiveScoreParser/LiveScore2.cs
28,322
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("CustomBgProfiles")]...
40.5
96
0.753086
[ "MIT" ]
ptv-logistics/xserver.net-bin
CustomBgProfiles/Properties/AssemblyInfo.cs
2,190
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Runtime.CompilerServices; #if SIGN [assembly: InternalsVisibleTo("Microsoft.R.Core.Test, PublicKey=0024000004800000940000000602000000240000525341310004...
132.272727
398
0.928866
[ "MIT" ]
Bhaskers-Blu-Org2/RTVS
src/R/Core/Impl/Properties/AssemblyInfo.cs
2,912
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Collections.Generic; using Stride.Core....
35.773585
163
0.646624
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Rendering/Rendering/RenderViewStage.cs
1,896
C#
using System; using System.IO; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Newtonsoft; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Tiled_Monogame_example { public class Map { private List<Layer> MapL...
37.987805
191
0.554414
[ "MIT" ]
RubemNto/Mongoame_Tiled
Tiled_Monogame_example/Map.cs
3,117
C#
using System; using System.Runtime.Serialization; using System.Xml.Serialization; namespace Organisation.BusinessLayer.DTO.Read { [Serializable] [DataContract] [XmlRoot(ElementName = "AddressHolder")] public class PhoneHours : AddressHolder { [DataMember] public string Type { get {...
22.125
59
0.689266
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
OS2sync/OS2sync
BusinessLayer/Source/dto/read/address/PhoneHours.cs
356
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace PddOpenSdk.Models.Request.Ddk { public partial class SearchDdkGoodsRequestModel : PddRequestModel { /// <summary> /// 商品关键词,与opt_id字段选填一个或全部填写 /// </summary> [JsonProperty("keyword")] public string Keyword...
38.012346
364
0.574862
[ "Apache-2.0" ]
zuhuizou/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Request/Ddk/SearchDdkGoodsRequestModel.cs
4,213
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // 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 restriction, including wit...
28.295082
463
0.715817
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System/Sources/System.ComponentModel.Design.DesignerVerbCollection.cs
3,452
C#