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.Diagnostics; using System.Linq; using Android.Widget; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues; using Microsoft.Maui.Controls.Compatibility.Platform.Android; using Microsoft.Maui.Controls.Platform; [assembly: ExportEffect(typeof(Microso...
21.014706
141
0.721484
[ "MIT" ]
10088/maui
src/Compatibility/ControlGallery/src/Android/_58406EffectRenderer.cs
1,429
C#
using System; using System.Drawing; using DotNet.Highcharts.Enums; using DotNet.Highcharts.Attributes; using DotNet.Highcharts.Helpers; namespace DotNet.Highcharts.Options { /// <summary> /// A configuration object for the tooltip rendering of each single series. Properties are inherited from <a href='#tooltip'>tool...
59.695122
591
0.695608
[ "MIT" ]
juniorgasparotto/SpentBook
samples/dotnethighcharts-28017/DotNet.Highcharts/DotNet.Highcharts/Options/PlotOptionsAreasplinerangeTooltip.cs
4,895
C#
using System; using System.Collections.Generic; using System.Linq; using BaseTestFixture; using NUnit.Framework; namespace _01_Warnup { /// <summary> /// https://www.hackerrank.com/challenges/birthday-cake-candles /// </summary> public class BirthdayCakeCandles { public static void Main() ...
23.66
100
0.497041
[ "MIT" ]
lukasz-pyrzyk/Coursera
HackerRank/Algorithms/01-Warnup/BirthdayCakeCandles.cs
1,185
C#
using System.Collections.Generic; namespace EliteFiles.Bindings.Binds { /// <summary> /// Defines bind names for cooling. /// </summary> public static class Cooling { /// <summary> /// Gets the category of all <see cref="Cooling"/> bind names. /// </summary> public ...
31.653846
101
0.650061
[ "MIT" ]
bjoernweimer/EliteChroma
src/EliteFiles/Bindings/Binds/Cooling.cs
825
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.533333
128
0.59325
[ "Unlicense" ]
Polimat/Gamma
Entities/PlaceWithdrawalMaterialTypes.cs
1,126
C#
using GalaSoft.MvvmLight; using Windows.UI.Xaml.Media; namespace CodeHub.Models { public class SyntaxHighlightStyle : ObservableObject { public string Name { get; set; } public bool IsLineNumbersVisible { get; set; } public SolidColorBrush ColorOne { get; set; } public SolidColorBrush ColorTwo { get; set; }...
28.235294
54
0.74375
[ "MIT" ]
aalok05/CodeHub
CodeHub/Models/SyntaxHighlightStyle.cs
482
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Tarrahaan.Areas.Admin.Models { public class SitePageViewModel { public int PageId { set; get; } public string LangId { set; get; } public string PageTitle { set; get; ...
19.9
47
0.648241
[ "Unlicense" ]
babakjahangiri/Tarrahaan
Tarrahaan/Areas/Admin/Models/SitePageViewModel.cs
400
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...
27.2
81
0.585784
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/AppPlatform/V20201101Preview/Outputs/RequiredTrafficResponse.cs
1,632
C#
using System.Collections.Generic; using ResourceProvisioning.Abstractions.Entities; namespace ResourceProvisioning.Broker.Domain.ValueObjects { public sealed class ResourcePrincipal : ValueObject { public string PrincipalType { get; private set; } public string Value { get; private set; } public ResourcePri...
22
62
0.76
[ "MIT" ]
dfds/resource-provisioning-ssu-mvp
src/ResourceProvisioning.Broker.Domain/ValueObjects/ResourcePrincipal.cs
552
C#
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { public partial class TupleAverageTests { [TestMethod] public void IntegerAverageOnOneTuple() { var sut = new Tuple<int>(1); double expected = sut.AsEnumerable().Cast<int>().Average(); ...
30.222222
82
0.611673
[ "MIT" ]
nicenemo/Noaber
Test.NoaberCS/TupleAverageTests.Integer.cs
2,178
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.Collections.Generic; namespace Axe.Windows.Core.Bases { /// <summary> /// Container for Property and Patterns for passing these over wires. ...
34.6
102
0.649711
[ "MIT" ]
lisli1/axe-windows
src/Core/Bases/A11yElementData.cs
841
C#
using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Dwolla.Client.Models { [JsonConverter(typeof(StringEnumConverter))] public enum BusinessType { LLC, Corporation, Partnership, [Display(Name = "Sole Proprietorship...
21.176471
48
0.686111
[ "MIT" ]
CloudConstruct/Cloud.Dwolla
Dwolla.Client/Models/BusinessType.cs
362
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
37.414118
210
0.578832
[ "MIT" ]
vboctor/azure-activedirectory-library-for-dotnet
msal/src/Microsoft.Identity.Client/json/Linq/JObject.cs
31,804
C#
using System; using System.Linq; using Xunit; namespace BinaryDepths.Extensions.Tests.System.Linq.IEnumerableExtensions { public class MinBy { [Fact] public void Given_Enumerable_With_NoElements_Throws_InvalidOperationException() { Assert.Throws<InvalidOperationException>(()...
37.114286
116
0.527329
[ "MIT" ]
AridTag/BinaryDepths.Extensions
src/BinaryDepths.Extensions.Tests/System.Linq/IEnumerableExtensions/MinBy.cs
1,299
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using SaaSy.Entity.Identity; using SaaSy.Web.Resources.Areas.Identity.Pages.Account.Manage; using System; using System.Collections.Generic; using System.Linq; using...
40.027027
139
0.653387
[ "MIT" ]
agrothe/saasy
SaaSy.Web/Areas/Identity/Pages/Account/Manage/ExternalLogins.cshtml.cs
4,445
C#
//----------------------------------------------------------------------- // <copyright file="CREnvelope.cs" company="Aaron Anderson"> // Copyright (c) Aaron Anderson. All rights reserved. // </copyright> // <license type="MIT"> // See LICENSE.md in the project root for full license information. // </license> //...
33.146939
122
0.464721
[ "MIT" ]
idialab/ATK-Sharp
ATKSharp/Envelopes/CREnvelope.cs
8,123
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Moq; using NUnit.Framework; using VUModManagerRegistry.Common.Interfaces; using VUModManagerRegistry.Models; using VUModManagerRegistry.Services; namespace VUModManagerRegistry.Tests.Services { [TestFixture] public class Access...
30.174603
106
0.597054
[ "MIT" ]
BF3RM/vumm-registry
VUModManagerRegistry.Tests/Services/AccessTokenServiceTests.cs
1,901
C#
using System.Collections.Generic; namespace SupermarketReceipt { public class Teller { private readonly SupermarketCatalog _catalog; private readonly Dictionary<Product, Offer> _offers = new Dictionary<Product, Offer>(); public Teller(SupermarketCatalog catalog) { _...
30.447368
97
0.591184
[ "MIT" ]
jmhumblet/SupermarketReceipt
csharp/SupermarketReceipt/Teller.cs
1,157
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Graphics.Imaging { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public enum BitmapInterpolationMode { #i...
23.5
49
0.692308
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Graphics.Imaging/BitmapInterpolationMode.cs
611
C#
public class Greeter { public static string GetGreeting() { return "Hello from the Greeter!"; } }
17.142857
42
0.6
[ "MIT" ]
withshankar/aspcoreclass
AtTheMovies/src/AtTheMovies/Greeter.cs
120
C#
using DataTable_ServerSide__Implementation_Sample.Data.Requests; using DataTable_ServerSide__Implementation_Sample.Data.Responses; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expres...
43.762626
181
0.553376
[ "MIT" ]
rezres/DataTable-ServerSide-Implementation-Sample
DataTable ServerSide Implementation Sample/Extensions/DataTableHelper.cs
8,667
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GitTrends; using GitTrends.iOS; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(RepositoryPage), typeof(SearchPageRenderer))] namespace GitTrends.iOS { public...
40.695364
180
0.625549
[ "MIT" ]
liantuang/xamarin
GitTrends.iOS/CustomRenderers/SearchPageRenderer.cs
6,147
C#
/* * This file is part of the GameBox package. * * (c) Yu Meng Han <menghanyu1994@gmail.com> LiuSiJia <394754029@qq.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: https://github.com/getgamebox/console */ #prag...
27.850242
176
0.457277
[ "MIT" ]
getgamebox/console
src/GameBox.Console/Util/Mixture.cs
57,652
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> The Cassandra database dataset. </summary> public partial ...
58.415094
455
0.688953
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/CassandraTableDataset.cs
3,096
C#
// ----------------------------------------------------------------------- // <copyright file= "Environment.cs"> // Copyright (c) Danvic.Wang All rights reserved. // </copyright> // Author: Danvic.Wang // Created DateTime: 2021-10-31 21:13 // Modified by: // Description: // ----------------------------------------...
26.95
75
0.473098
[ "MIT" ]
danvic712/ingos
services/app-manager/src/Ingos.AppManager.Domain.Shared/ApplicationAggregates/ApplicationEnvironment.cs
541
C#
using System; namespace LumiSoft.Net.POP3.Server { /// <summary> /// Holds POP3_Message info (ID,Size,...). /// </summary> public class POP3_Message { private POP3_Messages m_pMessages = null; private string m_MessageID = ""; // Holds message ID. private string m_MessageUID ...
20.444444
83
0.607065
[ "Apache-2.0" ]
jeske/StepsDB-alpha
ThirdParty/LumiSoft/Net/Net/POP3/Server/POP3_Message.cs
1,840
C#
using System; using CMS.Base.Web.UI; using CMS.UIControls; public partial class CMSModules_RecycleBin_Pages_ViewVersion : CMSDeskPage { #region "Methods" protected void Page_Load(object sender, EventArgs e) { // Context help is not shown if comparison is disabled PageTitle.TitleText = G...
20.71875
74
0.6727
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/RecycleBin/Pages/ViewVersion.aspx.cs
665
C#
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.060606
128
0.696648
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V5/Services/BillingSetupServiceResourceNames.g.cs
1,223
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using static BLTools.Text.TextBox; namespace BLTools.Json { public sealed class JsonBool : IJsonValue<bool?> { public bool? Value { get; set; } public static JsonBool Default ...
25.294643
105
0.439816
[ "MIT" ]
bollylu/BLTools.dns.20
BLTools.Json.dns.20/JsonValues/JsonBool.cs
2,835
C#
using System; using Xunit; using Exercism.Tests; public class ObjectInitializationTests { [Fact] public void GetAdmin() { var authenticator = new Authenticator(); var admin = authenticator.Admin; string[] actual = { admin?.Email, admin?.FacialFeatures...
24.294118
74
0.51816
[ "MIT" ]
deniscapeto/csharp
exercises/concept/developer-privileges/WhyCantIPushToMainTests.cs
1,239
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Dom...
38.689655
306
0.626114
[ "Apache-2.0" ]
3plcoins/coin-exchange-backend
src/Funds/CoinExchange.Funds.Application/DepositServices/Representations/DepositTierLimitRepresentation.cs
4,490
C#
using System.Text; namespace Natasha.CSharp.Template { public class OopBodyTemplate<T> : OopConstraintTemplate<T> where T : OopBodyTemplate<T>, new() { public StringBuilder BodyScript; public StringBuilder OnceBodyScript; public OopBodyTemplate() { BodyScript = new...
20.546667
98
0.510707
[ "MIT" ]
alexinea/Natasha
src/Natasha.CSharp/Natasha.CSharp.Template/Template/Oop/OopBodyTemplate.cs
1,543
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(8071,1) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct AUDIO_EFFECT_TYPE_BASS_MANAGEMENT { } }
24
88
0.746212
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/AUDIO_EFFECT_TYPE_BASS_MANAGEMENT.cs
266
C#
using System; using TauCode.Parsing.Lexing; using TauCode.Parsing.Tokens; namespace TauCode.Parsing.Nodes { public class ExactPunctuationNode : ActionNode { public ExactPunctuationNode( char c, Action<ActionNode, IToken, IResultAccumulator> action, INodeFamily famil...
25.888889
100
0.582618
[ "Apache-2.0" ]
taucode/taucode.parsing
src/TauCode.Parsing/Nodes/ExactPunctuationNode.cs
934
C#
using MVCProject.Model; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MVCProject.View.Adicionar { public partial class frmAddGeneros : F...
20.571429
64
0.609722
[ "MIT" ]
asrieltiago/GitCsharp
MVCProjectHome/MVCProject/MVCProject/View/Adicionar/frmAddGeneros.cs
722
C#
// Copyright (c) Microsoft Corporation and contributors. All Rights Reserved. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; using TorchSharp.Tensor; namespace TorchSharp.NN { /// <summary> /// This class is used to represent a ReflectionPad1d...
35.815385
140
0.615979
[ "MIT" ]
ZenIDTeam/TorchSharp
src/TorchSharp/NN/Padding/ReflectionPad1d.cs
2,328
C#
using System; namespace MAQSTestSite { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.3125
69
0.604096
[ "MIT" ]
FermJacob/MAQSTestSite
MAQSTestSite/WeatherForecast.cs
293
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 Microsoft.Win32.SafeHandles; using System.Collections.Generic; using System.Net.Sockets; using System.Threadi...
42.37971
170
0.479584
[ "MIT" ]
svick/corefx
src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/NetworkAddressChange.Windows.cs
14,621
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
38.540323
107
0.63507
[ "MIT" ]
BearerPipelineTest/fhir-server
src/Microsoft.Health.Fhir.Core/Features/Persistence/ResourceWrapper.cs
4,781
C#
namespace _02.TVCompany { using System; public class Program { public static void Main(string[] args) { var n = 6; var m = 6; var inputWithWeight = @"1 3 5 1 2 4 1 5 19 1 4 9 1 6 8 2 4 2 2 3 4 2 5 1 2 5 4 3 4 20 3 5 7 3 5 13 4 5 8 4 6 11 ...
18.264706
125
0.573269
[ "MIT" ]
bstaykov/Telerik-DSA
2015/Graph/02.TVCompany/Program.cs
623
C#
/** * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
36.242075
162
0.580868
[ "Apache-2.0" ]
HMS-Core/hms-xamarin-bindings
android/samples/ScanKitDemo/XamarinHmsScanKitDemo/Activities/BitmapActivity.cs
12,578
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.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace RazorPagesWebSite { public class ModelHandlerTes...
26.733333
96
0.59414
[ "MIT" ]
48355746/AspNetCore
src/Mvc/test/WebSites/RazorPagesWebSite/ModelHandlerTestModel.cs
1,604
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Azure.Communication.PhoneNumbers.Models; using Azure.Communication.Pipeline; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.Communica...
54.819048
251
0.649236
[ "MIT" ]
moria97/azure-sdk-for-net
sdk/communication/Azure.Communication.PhoneNumbers/src/PhoneNumbersClient.cs
23,026
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Web.Http; using System.Web.SessionState; using AutoMapper; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Mvc; usin...
44.873563
196
0.65561
[ "MIT" ]
AndersBrohus/Umbraco-CMS
src/Umbraco.Web/Editors/MacroRenderingController.cs
7,810
C#
using ApertureLabs.Tools.CodeGeneration.Core.Options; using CommandLine; using Microsoft.Build.Locator; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.MSBuild; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Linq.Expressions; usin...
34.39185
135
0.52739
[ "Apache-2.0" ]
sai09451/ApertureLabs.Selenium
ApertureLabs.Tools.CodeGeneration.Core/Program.cs
10,973
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.FinancialManagement { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStep...
21.870968
170
0.73058
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.FinancialManagement/Get_Payments_RequestType.cs
2,034
C#
namespace QueryBuilder { public interface ICondition : IOrSupport, IAndSupport { } }
14
57
0.683673
[ "MIT" ]
dkjazz/querybuilder
src/QueryBuilder/Core/ICondition.cs
100
C#
using System; using System.Web; using Documently.ReadModel; using Documently.WebApp.Handlers.DocumentMetaData; using MassTransit; using MassTransit.NLogIntegration; using MassTransit.Pipeline.Inspectors; using Raven.Client; using Raven.Client.Document; using StructureMap; namespace Documently.WebApp { p...
28.769231
103
0.679813
[ "Apache-2.0" ]
whyer/Documently
src/Documently.WebApp/Bootstrapper.cs
1,498
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using Irony.Ast; using Irony.Parsing; namespace Irony.Interpreter.Ast { //For now we do not support dotted namespace/type references like System.Collections or System.Collections.List. //...
37.622222
130
0.629947
[ "MIT" ]
Anomalous-Software/Irony
Irony.Interpreter/Ast/Expressions/MemberAccessNode.cs
3,388
C#
using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.JsonRpc.Generation; using OmniSharp.Extensions.LanguageServer.Protocol.Client; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.M...
49.967742
166
0.795997
[ "MIT" ]
kamit9171/csharp-language-server-protocol
src/Protocol/Document/ITypeDefinitionHandler.cs
1,549
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PAYE.Models { public enum PeriodType { Monthly = 1, Yearly = 2, } }
14.642857
33
0.653659
[ "MIT" ]
DerrickYeb/PAYE
PAYE/Models/PeriodType.cs
207
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using ServiceStack.ServiceHost; namespace KNappen.KNappenService.Models { [Route("/Feedback", "OPTIONS")] [Route("/Feedback", "POST")] public class Feedback { public string fromAddress { get; set...
22.434783
48
0.614341
[ "BSD-3-Clause" ]
knreise/KNappen
KNappen_src/KNappen/KNappen.KNappenService/Models/Feedback.cs
518
C#
//--------------------------------------------------------------------- // <copyright file="ObjectContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner Microsoft // @backupOwner Microsoft //-------------------------------------------------...
50.779671
350
0.604228
[ "MIT" ]
AnzhelikaKravchuk/referencesource
System.Data.Entity/System/Data/Objects/ObjectContext.cs
169,858
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 ...
28.946809
134
0.690922
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-market/Market/Model/V20151101/UploadCommodityFileRequest.cs
2,721
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
42.242105
533
0.605283
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/ITeamspicecompany.cs
4,013
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...
44
283
0.60566
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/EC2/Basic/Remove-EC2Route-Cmdlet.cs
11,660
C#
using DSharpPlus.Lavalink.Entities; using Emzi0767.Utilities; namespace DSharpPlus.Lavalink.EventArgs { /// <summary> /// Represents arguments for Lavalink statistics received. /// </summary> public sealed class StatisticsReceivedEventArgs : AsyncEventArgs { /// <summary> /// Gets ...
24.73913
70
0.650264
[ "MIT" ]
EagleJohan/DSharpPlus
DSharpPlus.Lavalink/EventArgs/StatisticsReceivedEventArgs.cs
571
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2020 @Olivier Lefebvre using Aguacongas.TheIdServer.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; us...
41.602339
148
0.580124
[ "Apache-2.0" ]
markjohnnah/TheIdServer
src/Aguacongas.TheIdServer/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs
7,116
C#
// 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. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespa...
55.165217
450
0.671974
[ "MIT" ]
fhoering/autorest
src/generator/AutoRest.CSharp.Tests/Expected/AcceptanceTests/BodyComplex/IDictionary.cs
6,344
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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,...
44.666667
156
0.557318
[ "MIT" ]
BclEx/BclEx-Web
src/Integrations/Contoso.Web.Integrate/Web/UI/Integrate+Hold/SiteCatalystxx.cs
9,648
C#
/* * Antenny API * * This is an api that allows you to interact with the Antenny platform. It allows you to manage your clients and subscriptions. * * The version of the OpenAPI document: 1.0.0 * Contact: admin@antenny.io * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; u...
32.072464
165
0.5662
[ "MIT" ]
antenny/antenny-dotnet
src/Antenny/Model/NewClient.cs
4,426
C#
///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. ...
28.209302
115
0.345425
[ "MIT" ]
PaintLab/PixelFarm.External
src/pdn/PdnSharedProject/Histogram/OutlineRenderer.cs
3,641
C#
namespace AFramework { /******************************************************************* * Copyright(c) * 文件名称: FileDebugExample.cs * 简要描述: * 作者: 千喜 * 邮箱: 2470460089@qq.com ******************************************************************/ using System; using System.Collections; using AFramework; using Unity...
24.529412
91
0.522782
[ "Apache-2.0" ]
webloverand/AFramework
AFramework/Assets/Scripts/Example/AF/4.Extensions/FileDebug/FileDebugExample.cs
870
C#
using Quras.VM.Types; using System; using System.Linq; using System.Numerics; using System.Security.Cryptography; using System.Text; namespace Quras.VM { public class ExecutionEngine : IDisposable { private readonly IScriptTable table; private readonly InteropService service; public I...
44.986143
152
0.341701
[ "MIT" ]
quras-official/quras-blockchain-csharp
QurasVM/ExecutionEngine.cs
38,960
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace SimpleWebApi.Controllers { [Route("api/[controller]")] [Produces("application/json")] public class ValuesController : Controller { // GET api/valu...
22.535714
60
0.562599
[ "MIT" ]
Fabioh/WebApiWithDocker
dotnet/SimpleWebApi/Controllers/ValuesController.cs
633
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace RestWithAspNetUdemy { public class Program { p...
25.962963
70
0.649073
[ "Apache-2.0" ]
JL-Junior/RestWithASP-NET5Udemy
RestWithAspNetUdemy/RestWithAspNetUdemy/Program.cs
701
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 Agent.Plugins.UnitTests { using System; using System.Threading; using Agent.Plugins.Log.TestResultParser.Contracts; using Agent.P...
45.75
162
0.640073
[ "MIT" ]
nigurr/TestResultParser
Agent.Plugins.UnitTests/SimpleTimerTests.cs
2,747
C#
namespace Raefftec.CatchEmAll { internal class Options { /// <summary> /// The number of requests done in a single batch. /// We need to limit that to prevent running into a rate limit. /// This affects the number of articles updated in a single batch /// as well as the ...
33.647059
76
0.622378
[ "MIT" ]
raeffs/catch-em-all-dotnet-core-3
backend/Raefftec.CatchEmAll.Functions/Options.cs
574
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Rideshare.Data.Migrations { public partial class AddPostsDateTime : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<DateTime>( name: "Publi...
30.371429
91
0.554092
[ "MIT" ]
ivanrk/Rideshare
Rideshare.Data/Migrations/20200727174530_AddPostsDateTime.cs
1,065
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> //--...
47.040816
154
0.635575
[ "MIT" ]
Haunted-Gamer/CallCenter
CallCenter 0.20/CallCenter/Properties/Settings.Designer.cs
2,307
C#
 namespace NextGenSoftware.WebSocket { public enum ErrorHandlingBehaviour { AlwaysThrowExceptionOnError, OnlyThrowExceptionIfNoErrorHandlerSubscribedToOnErrorEvent, NeverThrowExceptions } }
22.6
67
0.752212
[ "CC0-1.0" ]
HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.WebSocket/Enums/ErrorHandlingBehaviourEnum.cs
228
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...
37.526316
160
0.653109
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Storage/Outputs/SmbSettingResponse.cs
2,139
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...
25.830189
81
0.560263
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Logic/V20180701Preview/Inputs/ContentLinkArgs.cs
1,369
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using Microsoft.Languages.Core.Test.Assertions; using Microsoft.R.Editor.RData.Tokens; namespace Microsoft.R.Editor.Test { ...
37
91
0.754955
[ "MIT" ]
Bhaskers-Blu-Org2/RTVS
src/Windows/R/Editor/Test/Extensions/RdAssertionExtensions.cs
557
C#
using System; using UIKit; namespace XF.ChartLibrary.Gestures { partial class ChartGestureBase : Foundation.NSObject { protected internal nfloat Scale; public nfloat ScaleFactor => Scale; protected internal UIView View; public virtual void OnInitialize(UIView view, nfloat sc...
20.551724
67
0.614094
[ "MIT" ]
Vinayaka-Hebbar/XF.ChartLibrary
src/XF.ChartLibrary/Platform/iOS/ChartGestureBase.cs
598
C#
using System; using System.Collections.Generic; using System.Text; namespace AEMManager { public enum BundleStatus { RUNNING, STARTING_STOPPING, UNKNOWN, DISABLED, NO_ACTIVE_INSTANCE } }
10.954545
34
0.634855
[ "Apache-2.0" ]
wcm-io-devops/aem-manager
AEMManager/BundleStatus.cs
241
C#
namespace Mindstorms.Core.Music._432 { public class Cisz0 : Note { public Cisz0(NoteType noteType = NoteType.Quarter) : base(noteType) { Name = "C#0/Db0"; Frequency = 17.01; WaveLength = 2028.35; } } }
21.076923
75
0.525547
[ "MIT" ]
Mortens4444/LegoMindstromsEV3
Mindstorms.Core/Music/432/Cisz0.cs
274
C#
// DO NOT EDIT: GENERATED BY FloatPackerTestGenerator.cs using System; using System.Collections; using Mirage.Serialization; using Mirage.Tests.Runtime.ClientServer; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace Mirage.Tests.Runtime.Generated.FloatPackAttributeTests { public cla...
30.377778
105
0.644477
[ "MIT" ]
Uchiha1391/Mirage
Assets/Tests/Generated/FloatPackTests/FloatPackerBehaviour_500_17.cs
1,367
C#
namespace Asia.Solid.Domain.Services.Interfaces { public interface ISmsService { bool CelularIsValid(string celular); void Enviar(string celular, string mensagem); } }
21.888889
53
0.690355
[ "MIT" ]
denniskalla/Asia---SOLID
src/Asia.Solid.Domain/Services/Interfaces/ISmsService.cs
199
C#
namespace Chloe.PostgreSQL { public class DataTypeAttribute : Attribute { public DataTypeAttribute() { } public DataTypeAttribute(string name) { this.Name = name; } public string Name { get; set; } } }
17.75
46
0.53169
[ "MIT" ]
softworm/Chloe
src/Chloe.PostgreSQL/DataTypeAttribute.cs
286
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MarlonFloresExamenWeb.Entities { public class Pareja { public int ParejaId { get; set; } public string Nombre { get; set; } public Estudiante Estudiante { get; set; } } }
18.705882
50
0.672956
[ "MIT" ]
Padawan2612/Consola_Inicial_OFF
miPrimerApp/PruebaFinal/MarlonFloresExamenWeb/Entities/Pareja.cs
320
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using Chat.Web.Helpers; namespace Chat.Web.Models { public class GuestViewModel { [Required(ErrorMessage = "CPF obrigatório")] [CustomValidationCPF(ErrorMessage = "...
22.452381
60
0.586426
[ "MIT" ]
grecio/SignalR-Chat
Chat.Web/Models/GuestViewModel.cs
947
C#
using System; namespace LetsEncrypt.Logic.Providers.CertificateStores { public interface ICertificate { DateTime? NotBefore { get; } DateTime? Expires { get; } string Name { get; } string[] HostNames { get; } string Version { get; } ICertificateStore Store ...
17.375
55
0.58753
[ "MIT" ]
0xjbushell/lets-encrypt-azure
LetsEncrypt.Logic/Providers/CertificateStores/ICertificate.cs
419
C#
// <copyright file="Converters.cs" company="PlaceholderCompany"> // Copyright (c) PlaceholderCompany. All rights reserved. // </copyright> namespace ProcessTextFunc.Utils { using System; using ProcessTextFunc.Contracts; public static class Converters { public static ProcessedText ConvertProces...
44.341772
112
0.607765
[ "MIT" ]
tkawchak/TextAnalysisExtension
ProcessText/ProcessTextFunc/Utils/Converters.cs
3,503
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43
162
0.602686
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsDmaxRequestBuilder.cs
3,053
C#
using Autofac.Extensions.FluentBuilder.Samples.Shared.ClosingTypes; using Autofac.Extensions.FluentBuilder.Samples.Shared.Implementations; using Microsoft.AspNetCore.Mvc; namespace Autofac.Extensions.FluentBuilder.Samples.WebApi.Controllers { [ApiController] [Route("api/customers")] public class Customers...
37.5
137
0.72
[ "MIT" ]
cleancodelabs/Autofac.Extensions.FluentBuilder
samples/Autofac.Extensions.FluentBuilder.Samples.WebApi/Controllers/CustomersController.cs
1,127
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.Collections.Generic; namespace Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.Inheritance { public class Eagle : Bird ...
21.821429
111
0.617021
[ "Apache-2.0" ]
Mattlk13/EntityFramework
src/Microsoft.EntityFrameworkCore.Specification.Tests/TestModels/Inheritance/Eagle.cs
611
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CoreyHeuristic : HueristicScript { //THIS IS THE BEST HEURISTIC EVAR public override float Hueristic(int x, int y, Vector3 start, Vector3 goal, GridScript gridScript) { Debug.Log("fucked if I know"); re...
33.142857
127
0.709052
[ "Unlicense" ]
madparker/CodeLab2-2017-AStar
Mazer/Assets/Students/CBertelsen/Scripts/CoreyHeuristic.cs
466
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using Sportradar.OddsFeed.SDK.Messages; namespace Sportradar.OddsFeed.SDK.Entities.REST { /// <summary> /// Defines a contract for classes implementing /// </summary> public interface ISeasonInfoV1 : IS...
28.783784
81
0.595305
[ "Apache-2.0" ]
sportradar/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/ISeasonInfoV1.cs
1,067
C#
// Copyright (c) 2019 Rayaan Ajouz, Bouwen met Staal. Please see the LICENSE file // for details. All rights reserved. Use of this source code is governed by a // Apache-2.0 license that can be found in the LICENSE file. using KarambaIDEA.Core; using KarambaIDEA.IDEA; using System; using System.Diagnostics; using...
32.775148
131
0.628092
[ "Apache-2.0" ]
BouwenmetStaal/KarambaIDEA
Tester/Program.cs
5,541
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class Polling : System.Web.UI.Page { SqlConnection con = new SqlConnection("User ID=sa;password=1...
36.953125
246
0.548414
[ "MIT" ]
Mukthahar26/Tourist-Project
Polling.aspx.cs
2,367
C#
using FactorioToolkit.Domain.Items.CircuitNetwork; using FactorioToolkit.Domain.Items.Direction; using FactorioToolkit.Domain.Items.ValueObjects; namespace FactorioToolkit.Domain.Items { public class SteamTurbine : Item, IDirection, ICircuitInput { public SteamTurbine(Position position, Directions dir...
29.842105
94
0.686067
[ "MIT" ]
crazycrank/FactorioToolkit
FactorioToolkit.Domain/Items/SteamTurbine.cs
569
C#
namespace Funbites.Patterns.Web { using MEC; using Sirenix.OdinInspector; using System; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.Networking; [Serializable] public class RemoteCacheableTextFile { [SerializeField, Required] ...
36.25
155
0.550928
[ "Apache-2.0" ]
Funbites-Games-Studio/-com.funbites.codepatterns
Runtime/Web/RemoteCacheableTextFile.cs
3,772
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SpCli.Options; using SpCli.Views; using System.IO; namespace SpCli { public static class Startup { public static IConfigurationBuilder AddOptions(this IConfigurationBuilder config) => config ...
28.590909
95
0.639905
[ "MIT" ]
David-Rushton/sp-cli
src/sp-cli/Startup.cs
1,258
C#
namespace Mozlite.Data.Migrations.Operations { /// <summary> /// 修改数据库操作。 /// </summary> public class AlterDatabaseOperation : MigrationOperation { } }
17.7
60
0.632768
[ "Apache-2.0" ]
Mozlite/Docs
src/Mozlite.Data/Migrations/Operations/AlterDatabaseOperation.cs
195
C#
using UnityEngine; using VRStandardAssets.Utils; namespace VRStandardAssets.Examples { // This script shows a simple example of how // swipe controls can be handled. public class ExampleTouchpad : MonoBehaviour { [SerializeField] private float m_Torque = 10f; [SerializeField] private VR...
31.897959
91
0.533589
[ "MIT" ]
Alex-VRTracker/Unity-Plugin
VRSampleScenes/Scripts/Examples/ExampleTouchpad.cs
1,563
C#
using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Locality.Models; namespace Locality { // Configure the application user manager used in this application. UserManager is defined in ASP....
38.652174
146
0.652418
[ "MIT" ]
EolAncalimon/Locality
Locality/Locality/App_Start/IdentityConfig.cs
1,780
C#
//***************************************************************************************** //* * //* This is an auto-generated file by Microsoft ML.NET CLI (Command-Line Interface) tool. * //* ...
30.645161
91
0.385263
[ "MIT" ]
Bhaskers-Blu-Org2/MCW-IoT-and-the-Smart-City
Hands-on lab/Lab-files/VehicleTelemetrySimulator/modules/VehicleTelemetrySimulator/BusMlModel/DataModels/ModelInput.cs
950
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...
38.732394
137
0.577212
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/OpsWorks/Generated/Model/Internal/MarshallTransformations/UpdateStackRequestMarshaller.cs
8,250
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; /// <summary> /// Script to be placed onto a game object that contains /// <code>Node</code>s as children. /// <see cref="Node"/> /// </summary> public class Floor : MonoBehaviour { /// <summary> /// The collection of nodes that belong to...
23.90566
104
0.614049
[ "MIT" ]
dbrink1108/Capstone-Team-HQE
oracle/Assets/Scripts/Floor.cs
1,269
C#