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
//------------------------------------------------------------------------------ // <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> //--...
39.703704
151
0.583955
[ "MIT" ]
youstinus/hosts-editor-windows
OverrideHostsFile/Properties/Settings.Designer.cs
1,074
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("EmptyBox.IO.macOS"...
38.837838
99
0.7627
[ "MIT" ]
EmptyBox-Team/EmptyBox.IO
EmptyBox.IO.macOS/Properties/AssemblyInfo.cs
2,017
C#
using CefSharp.Puppeteer; using PuppeteerSharp.Tests.Attributes; using PuppeteerSharp.Xunit; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PuppeteerSharp.Tests.NetworkTests { [Collection(T...
45.155844
108
0.608571
[ "MIT" ]
cefsharp/PuppeteerSharp.Embedded
lib/PuppeteerSharp.Tests/NetworkTests/NetworkEventTests.cs
6,954
C#
using System; using NUnit.Framework; using UnityEngine; namespace AltoFramework.Tests { public class ObjectPoolTest { class MyBehaviour : PoolableBehaviour {} [Test] public void TestObjectPoolBorrow() { var originalGameObj = new GameObject(); originalGam...
31.254237
78
0.595445
[ "MIT" ]
tatsuya-koyama/Alto-tascal-Unity-Lib
Assets/00_Altotascal/AltoFramework/Tests/EditMode/Editor/ObjectPoolTest.cs
1,844
C#
using Microsoft.AspNetCore.Identity; namespace PersonalWebsite.Models { public class ApplicationUser : IdentityUser { } }
15.111111
47
0.735294
[ "MIT" ]
nettsundere/PersonalWebsite
src/PersonalWebsite/Models/ApplicationUser.cs
138
C#
using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.ObjectModel; namespace NSConstellationGPS.GPS_Sentences { /// <summary> /// This is the Master class that holds all of the possible GPS sentences that are coming from the GPS /// </summary> class GPS_...
40.829421
183
0.550057
[ "MIT" ]
Kaarmaa/ConstellationGPS
ConstellationGPS/GPS_Sentences.cs
26,092
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
53.087719
272
0.780568
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Organizations/Properties/AssemblyInfo.cs
3,026
C#
using ConfigurationExampleInterface; using System; using System.Collections.Generic; using System.Text; namespace ConfigurationExample { /// <summary> /// Implementation of the plugin interface that will be loaded from a default assembly. This will be registered /// via configuration rather than code. ...
24.172414
115
0.56776
[ "MIT" ]
ChuckFork/AutofacExamples
src/ConfigurationExample/InternalPlugin.cs
703
C#
// Copyright (c) Xenko contributors (https://xenko.com) 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; using Xunit; using Xenko.Core; using Xenko.Core.Mathematics; using Xenko.Input; using X...
37.247191
115
0.579186
[ "MIT" ]
abbaye/xenko
samples/Tests/Physics/PhysicsSampleTest.cs
3,315
C#
using System; using System.Collections.Generic; using System.Text; namespace LogExpert { ///<summary> ///This is a callback interface. Some of the ILogLineColumnizer functions ///are called with this interface as an argument. You don't have to implement this interface. It's implemented ///by LogExpert. You ca...
39.040816
131
0.683743
[ "MIT" ]
ankobi/logexpert
ColumnizerLib/ILogLineColumnizerCallback.cs
1,915
C#
using System; namespace Quartz { internal class TriggerConfigurator : ITriggerConfigurator { private readonly TriggerBuilder triggerBuilder = new TriggerBuilder(); public ITriggerConfigurator WithIdentity(string name) { triggerBuilder.WithIdentity(name); return ...
27.554839
82
0.592835
[ "Apache-2.0" ]
ArturDorochowicz/quartznet
src/Quartz.Extensions.DependencyInjection/TriggerConfigurator.cs
4,271
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.Core.Definitions.InputSystem; using Microsoft.MixedReality.Toolkit.Core.Definitions.Utilities; using Microsoft.MixedReality.Tool...
33.919781
226
0.54359
[ "MIT" ]
aaabor/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/Interactable.cs
37,212
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using OfficeOpenXml; using XgbFeatureInteractions.Properties; namespace XgbFeatureInteractions { public class FeatureInteractions : Dictionary<string,FeatureInteraction> { ...
43.599407
120
0.488736
[ "MIT" ]
Far0n/xgbfi
XgbFeatureInteractions/FeatureInteractions.cs
14,695
C#
using System; namespace NknSdk.Common.Exceptions { public class InvalidWalletFormatException : ApplicationException { private const string DefaultMessage = "invalid wallet format"; public InvalidWalletFormatException(string message = DefaultMessage) : base(message) { ...
22.2
76
0.672673
[ "MIT" ]
rule110-io/nTipBot
nkn-sdk-net/NknSdk/Common/Exceptions/InvalidWalletFormatException.cs
335
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using EC_Website.Core.Entities.Base; namespace EC_Website.Core.Entities.BlogModel { public class Blog : ArticleBase { public Blog() { CoverPhotoPath = "/img/ec_background.jpg"; } [Requir...
34.466667
93
0.630561
[ "MIT" ]
suxrobGM/EC_WebSite
src/EC_Website.Core/Entities/BlogModel/Blog.cs
1,036
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BDSA2018.Lecture07.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace BDSA2018.Lecture07.Web.Controllers { [Route("api/[controller]")] [ApiController] public class Cha...
25.755814
105
0.560722
[ "MIT" ]
ondfisk/BDSA2018
BDSA2018.Lecture07.Web/Controllers/CharactersController.cs
2,217
C#
namespace ResurrectionRP_Server.Society.Societies.WildCustom { public partial class WildCustom : Garage { private static GarageData.EsthetiqueData[] _esthetiqueModList = new GarageData.EsthetiqueData[] { new GarageData.EsthetiqueData(0, "Spoiler", 2000), new GarageData.E...
58.723404
110
0.637319
[ "MIT" ]
PourrezJ/ResurrectionRP-Framework
ResurrectionRP_Server/Society/Societies/WildCustom/WildCustom.data.cs
2,766
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
31.80137
185
0.58109
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/keycloak-operator/dotnet/Kubernetes/Crds/Operators/KeycloakOperator/Keycloak/V1Alpha1/Inputs/KeycloakRealmSpecRealmUsersArgs.cs
4,643
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; namespace Mic...
43.444334
171
0.531953
[ "MIT" ]
MaximLipnin/xharness
src/Microsoft.DotNet.XHarness.iOS.Shared/Utilities/ProjectFileExtensions.cs
43,705
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: AssemblyDescripti...
39.432432
84
0.75257
[ "MIT" ]
bucknellu/Nyan
samples/Console/Properties/AssemblyInfo.cs
1,462
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Data; using System.Threading.Tasks; using Microsoft.Data.SqlClient; using Microsoft.EntityFrameworkCore.TestUtilities; using ...
35.209302
111
0.52576
[ "Apache-2.0" ]
CharlieRoseMarie/EntityFrameworkCore
test/EFCore.SqlServer.FunctionalTests/ExistingConnectionTest.cs
4,542
C#
using System.Web; using System.Web.Optimization; namespace FSL.eBook.RWP.DesignPatterns { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bund...
39.28125
112
0.57677
[ "MIT" ]
fabiosilvalima/FSL.EbookRealWorldProgramming
FSL.eBook.RWP.DesignPatterns/App_Start/BundleConfig.cs
1,259
C#
using MySql.Data.MySqlClient; using Newtonsoft.Json; using Panuon.UI.Silver; using Panuon.UI.Silver.Core; using PartialViewInterface; using PartialViewInterface.Commands; using PartialViewInterface.Utils; using PartialViewMySqlBackUp.BackUp; using PartialViewMySqlBackUp.Models; using Quartz; using Quartz.Impl; using Q...
36.897936
232
0.516923
[ "Apache-2.0" ]
HalfAmazing/JieLink.DevOps
JieLinkDevOpsApp/PartialView/PartialViewMySqlBackUp/ViewModels/MySqlBackUpViewModel.cs
33,905
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Scifinity.Core.Models { public record Command { [JsonPropertyName("position")] public int Position { get; init; } [JsonPropertyName("command_text")] public string ...
22.1875
48
0.676056
[ "MIT" ]
KiptoonKipkurui/scifinity
src/Scifinity.Core/Models/Command.cs
357
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * 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...
46.070175
147
0.662795
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Immunization/Poiz_mt061150ab/Vaccine.cs
5,252
C#
namespace mltest { using Microsoft.ML.Runtime.Api; using Microsoft.ML.Runtime.Data; public class JokeModelPrediction { [ColumnName(DefaultColumnNames.PredictedLabel)] public string Category { get; set; } } }
20.5
55
0.674797
[ "MIT" ]
MilenaPetkanova/FunNotFunApp
ml/JokeModelPrediction.cs
248
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
37.953988
234
0.5453
[ "Apache-2.0" ]
dcmartin/TensorFlow.NET
src/TensorFlowNET.Core/Operations/Operation.cs
12,375
C#
using UnityEngine; using Oculus.Avatar; using System; using System.Collections.Generic; public delegate void specificationCallback(IntPtr specification); public delegate void assetLoadedCallback(OvrAvatarAsset asset); public delegate void combinedMeshLoadedCallback(IntPtr asset); public class OvrAvatarSDKManager : Mo...
38.040431
159
0.615957
[ "MIT" ]
Anna-Henson/SonderMITRealityHack
Sonder/Assets/Oculus/Avatar/Scripts/OvrAvatarSDKManager.cs
14,113
C#
// ======================================== // Project Name : WodiLib // File Name : TransferDestination.cs // // MIT License Copyright(c) 2019 kameske // see LICENSE file // ======================================== using System; using System.ComponentModel; using WodiLib.Cmn; using WodiLib.Project; usi...
35.272727
105
0.558485
[ "MIT" ]
sono8stream/WodiLib
WodiLib/WodiLib/Event/EventCommand/Implement/TransferDestination.cs
5,222
C#
using System.Web; using System.Web.Optimization; namespace custom_social_buttons { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add...
39.454545
112
0.569892
[ "MIT" ]
stewartm83/customize-oauth2-buttons
src/custom-social-buttons/App_Start/BundleConfig.cs
1,304
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace wxwinter.wf.WFLib { [System.Workflow.Activities.ExternalDataExchange()] public interface IExternalEvent { event System.EventHandler<SubmitEventArgs> submitEvent; } public class ExternalEvent : IExternal...
22.8125
181
0.580822
[ "BSD-3-Clause" ]
wanghuifeng/wxwinterwfWFDesigner
wxwinter.wf.WFLib/IExternalEvent.cs
1,421
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace OpenPager.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class SettingsPage : ContentPage { public SettingsPage (...
18.05
50
0.770083
[ "Apache-2.0" ]
ForrestFalcon/OpenPagerXamarin
OpenPager/OpenPager/Views/SettingsPage.xaml.cs
363
C#
using System; /* * AvaTax API Client Library * * (c) 2004-2019 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Genevieve Conty * @author Greg Hester * Swagger name: AvaTaxClient */ namespace Avalara.Av...
17.057143
74
0.541039
[ "Apache-2.0" ]
avasachinbaijal/AvaTax-REST-V2-DotNet-SDK
src/enums/PointOfSalePartnerId.cs
597
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace CodeElements.NetworkCall.Test { public class CallTransmissionBasicTests : NetworkCallTestBase<IBasicTestInterface> { public CallTransmissionBasicTests() : base(new BasicTestInterfaceImpl()) { ...
32.204545
107
0.604093
[ "MIT" ]
Alkalinee/CodeElements.NetworkCallTransmissionProtocol
CodeElements.NetworkCall.Test/CallTransmissionBasicTests.cs
2,836
C#
using System; using System.IO; class Program { static void Main(string[] args) { Console.Write("Ввидите число> "); Int64 inp = Convert.ToInt64(Console.ReadLine()); string output = Math.Pow(inp,Convert.ToString(inp).Length).ToString(); Console.WriteLine(output); ...
25.357143
79
0.594366
[ "Apache-2.0" ]
TiM-SyStEm/TimNotepad
TIMnotepad/TIMnotepad/bin/Debug/files/run-app-file.cs
367
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
31.45122
237
0.622722
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Devices/V20180401/ListIotHubResourceKeysForKeyName.cs
2,579
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
53.10441
256
0.623171
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/_netstandard/IAmazonSimpleWorkflow.cs
140,886
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.CommandsNext; using Microsoft.EntityFrameworkCore; using CypherBot.Core.Models; using CypherBot.Core.DataAccess.Repos; namespace CypherBot.Core.Services { public ...
31.852941
153
0.451216
[ "MIT" ]
AncientAlbatross/Cypher-Bot
src/CypherBot.Core/Services/CharacterHelper.cs
3,251
C#
using System; using System.IO; namespace FluentMigrator.NHibernate.Templates.CSharp { internal class AlterDefaultConstraint : ExpressionTemplate<FluentMigrator.Expressions.AlterDefaultConstraintExpression> { public override void WriteTo(TextWriter tw) { throw new NotImp...
29.928571
123
0.732697
[ "MIT" ]
jeffreyabecker/FluentMigrator.NHibernate
FluentMigrator.NHibernate/Templates/CSharp/AlterDefaultConstraint.cs
419
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using MLAgents; public class CarAgent : Agent { [Header("Specific to Car")] public GameObject target; public Rigidbody m_rigidbody; public CarArea area; public float forwardForce = 40f; public float turnForce = 1f; public float tu...
31.240678
132
0.688694
[ "Apache-2.0" ]
AtwoodDeng/UnityML
unity-environment/Assets/ML-Agents/Examples/Car/Script/CarAgent.cs
9,218
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x1E2AF12C, "STUConfigVarUXDisplayText")] public class STUConfigVarUXDisplayText : STU_E4324757 { [STUFieldAttribute(0xAA76FAD1, "m_displayText")] public teStructuredDataA...
32.545455
61
0.76257
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STUConfigVarUXDisplayText.cs
358
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.Text; using Cake.Common.Tests.Fixtures; using Cake.Testing; using NSubstitute; using Xunit; namespace...
34.417476
88
0.556841
[ "MIT" ]
Acidburn0zzz/cake
src/Cake.Common.Tests/Unit/Text/TextTransformationTests.cs
3,547
C#
using System.Linq; using FuzzyRanks.Matching.FuzzyCompare.Base; using FuzzyRanks.Matching.StringTokenize; using FuzzyRanks.Matching.StringTokenize.Base; namespace FuzzyRanks.Matching.FuzzyCompare.Common { /// <summary> /// Build the token based Jaccard coefficient, which is defined as the /// int...
31.5
84
0.501742
[ "MIT" ]
Vladimir-Novick/FuzzyRanks
Matching/FuzzyCompare/Common/Jaccard.cs
2,590
C#
using System.Text; namespace Microsoft.Build.Logging.StructuredLogger { public class StringWriter { public static string GetString(object rootNode) { var sb = new StringBuilder(); WriteNode(rootNode, sb, 0); return sb.ToString(); } ...
26.901961
99
0.465015
[ "MIT" ]
OdeToCode/MSBuildStructuredLog
src/StructuredLogger/Serialization/StringWriter.cs
1,374
C#
// <auto-generated /> using System; using hello_aspnet.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace hello_aspnet.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class App...
35.434944
95
0.446601
[ "MIT" ]
afzaal-ahmad-zeeshan/hello-aspnetcore
Data/Migrations/ApplicationDbContextModelSnapshot.cs
9,532
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.Immutable; namespace System.Reflection.Metadata { public struct ArrayShape { private readonly int _rank; private read...
24.756757
101
0.599345
[ "MIT" ]
controlflow/srm-extensions
src/System.Reflection.Metadata.Extensions/Decoding/ArrayShape.cs
918
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Threading.Tasks; using System.Windows.Forms; namespace TwainDirect.Scanner.TwainLocalManager { static class Program { /// <summary> /// The main entry point for the application. ...
31.264706
133
0.613358
[ "MIT" ]
adamglowacki/twain-direct
source/TwainDirect.Scanner.TwainLocalManager/Program.cs
1,065
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using ReportingService.Repo; namespace...
38.656645
125
0.425805
[ "MIT" ]
HelpMyStreet/report-service
ReportingService/ReportingService.Repo/Migrations/20211004082308_CreateSP_Monitoring_SP_JoinOncePerUserPerGroupPerDayEmails.Designer.cs
113,150
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto // Original file comments: // Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licens...
75.629667
384
0.732551
[ "Apache-2.0" ]
chrisdunelm/gcloud-dotnet
apis/Google.Cloud.BigQuery.DataTransfer.V1/Google.Cloud.BigQuery.DataTransfer.V1/DatatransferGrpc.cs
74,949
C#
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class HighScoreScreen : MonoBehaviour { // Start is called before the first frame update public Text highScoreText; private void Start() { highScoreText.text = PlayerPrefs.GetInt("HighScore", 0).ToString()...
19.666667
75
0.673123
[ "MIT" ]
josephnglynn/Santa-Sleigh-Game
Assets/Scripts/HighScoreScreen.cs
415
C#
using System; using UntestableLibrary; namespace Generics { public static class LifeInfo { public static bool IsTodayHoliday() { var dayOfWeek = DateTime.Today.DayOfWeek; var holiday = ULConfigurationManager.GetProperty<DayOfWeek>("Holiday", DayOfWeek.Sunday); ...
42.294118
101
0.573018
[ "MIT" ]
urasandesu/Prig.Samples
04.Generics/Generics/LifeInfo.cs
1,440
C#
using m3uParser.Model; using Sprache; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace m3uParser { /// <summary> /// https://en.wikipedia.org/wiki/M3U /// https://githu...
33.425926
139
0.665374
[ "MIT" ]
jefersonsv/m3uParser
src/m3uParser/M3U.cs
1,807
C#
// <copyright file="LoadableComponent{T}.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this fi...
35.907895
119
0.583547
[ "Apache-2.0" ]
10088/selenium
dotnet/src/support/UI/LoadableComponent{T}.cs
5,460
C#
using Discord; using GrammarNazi.Core.BotCommands.Discord; using GrammarNazi.Domain.Constants; using GrammarNazi.Domain.Entities; using GrammarNazi.Domain.Services; using Moq; using System.Threading.Tasks; using Xunit; namespace GrammarNazi.Tests.BotCommands.Discord { public class RemoveWhiteListCommandTests {...
41.870968
144
0.6302
[ "MIT" ]
Peter-Kang/Smart-Alek
GrammarNazi.Tests/BotCommands/Discord/RemoveWhiteListCommandTests.cs
5,194
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; usin...
54.01897
288
0.648874
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationCollection.cs
19,933
C#
using Tubumu.Core.Extensions; namespace TubumuMeeting.Mediasoup { public enum MethodId { [EnumStringValue("worker.dump")] WORKER_DUMP = 1, [EnumStringValue("worker.getResourceUsage")] WORKER_GET_RESOURCE_USAGE, [EnumStringValue("worker.updateSettings")] WORKER...
26.154362
60
0.66564
[ "MIT" ]
694296033/TubumuMeeting
TubumuMeeting.Mediasoup.Common/Constants/MethodId.cs
3,899
C#
namespace codessentials.CGM.Commands { /// <remarks> /// Class=0, ElementId=1 /// </remarks> public class BeginMetafile : Command { public string FileName { get; private set; } public BeginMetafile(CgmFile container) : base(new CommandConstructorArguments(ClassCode.Deli...
25.857143
93
0.58011
[ "MIT" ]
twenzel/CGM
src/Commands/BeginMetafile.cs
1,088
C#
using System; using System.IO; using System.Text; namespace Chat { /// <summary> /// Summary description for DataStream. /// </summary> public class DataStream : Stream { private Stream source; private bool computeInputChecksum; private bool computeOutputChecksum; private int inputCheck...
19.676056
140
0.586256
[ "MIT" ]
johanlantz/headsetpresenter
HeadsetPresenter_Bluetools/HeadsetPresenter/Bluetools/BlueTools SDK v1.2/dotNet/C#/Chat/DataStream.cs
6,985
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.Collections.Generic; using System.Linq; using Microsoft.DotNet.ApiCompatibility.Abstractions; using NuGet.Client; using NuGet.ContentModel; using NuGet.Frameworks; name...
46.393939
171
0.678315
[ "MIT" ]
Scopetta197/sdk
src/Compatibility/Microsoft.DotNet.PackageValidation/CompatibleFrameworkInPackageValidator.cs
3,062
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
19.896552
41
0.767764
[ "MIT" ]
karasuma/DirBackupper
DirBackupper/Windows/MainWindow.xaml.cs
597
C#
using System; using System.Reflection; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using NiL.JS.BaseLibrary; using NiL.JS.Core.Functions; #if NET40 || NETCORE using NiL.JS.Backward; #endif namespace NiL.JS.Core.Interop { #if !(PORTABLE || NETCOR...
43.294469
210
0.4527
[ "BSD-3-Clause" ]
darrenstarr/NiL.JS
NiL.JS/Core/Interop/Proxy.cs
28,964
C#
//-------------------------------------------------- // <copyright file="HtmlFileLogger.cs" company="Magenic"> // Copyright 2021 Magenic, All rights Reserved // </copyright> // <summary>Writes event logs to HTML file</summary> //-------------------------------------------------- using System; using System.Globalizati...
61.64497
1,385
0.600307
[ "MIT" ]
TroyWalshProf/MAQS
Framework/Utilities/Logging/HtmlFileLogger.cs
10,420
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.ObjectModel; using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.Fx.Portability { public interface ...
51.772727
134
0.784899
[ "MIT" ]
G-Research/dotnet-apiport
src/lib/Microsoft.Fx.Portability/IApiPortService.cs
1,141
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using P03_SalesDatabase.Data; namespac...
37.115108
125
0.509401
[ "MIT" ]
GitHarr/SoftUni
Homework/DBFundamentals/Databases Advanced - Entity Framework/04.Code-First/Exercises/P03_SalesDatabase/Migrations/20180710155110_ProductsAddColumnDescription.Designer.cs
5,161
C#
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! namespace Oculus.Platform { using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Oculus.Platform.Models; public abstract class Message<T> : Message { public new delegate void...
46.043707
111
0.718998
[ "Apache-2.0" ]
CannonWilson/AR-Basktball
Assets/Oculus/Platform/Scripts/Message.cs
87,437
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using Beef.Caching.Policy; using System; namespace Beef.Caching { /// <summary> /// Provides multi-tenancy cache management over underlying tenant-based caches using the <see cref="ExecutionContext"/> <see cref="Exe...
46.771429
209
0.626756
[ "MIT" ]
edjo23/Beef
src/Beef.Core/Caching/MultiTenantCache.cs
3,276
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: AssemblyTi...
49.459459
335
0.743169
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Ekristoffe/WagoModbusNet
WagoModbusNet/Properties/AssemblyInfo.cs
1,832
C#
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
33.909574
104
0.526588
[ "Apache-2.0" ]
AchoWang/Tizen-CSharp-Samples
TV/UIControlSample/UIControlSample/src/Samples/InputFieldSample.cs
6,375
C#
using Azure.Feast.Data; using Azure.Feast.Utils; using Feast.Core; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Azure.Feast.Clients.FeastCore { public interface IFeastCoreClient { #region Feature Views Task<FeatureViewResponse> CreateOrUpdateFeatureVi...
51
182
0.807047
[ "MIT" ]
allenwux/feast-azure
core/FeastCoreService/Clients/FeastCore/IFeastCoreClient.cs
3,521
C#
namespace TeachMeSkills.Common.Constants { /// <summary> /// DataAnnotation constants /// </summary> public static class DataAnnotationConstant { /// <summary> /// DataAnnotation for display RememberMe. /// </summary> public const string DispayRememberMe = "Remember ...
23.857143
62
0.610778
[ "MIT" ]
AndrewBynkov/TeachMeSkills-DotNet-Template
src/TeachMeSkills.Common/Constants/DataAnnotationConstant.cs
336
C#
// <auto-generated /> using System; using HealthyLifestyleTrackingApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion;...
37.732365
125
0.464123
[ "MIT" ]
VeselinaSidova/Healthy-Lifestyle-Tracking-App
HealthyLifestyleTrackingApp/Data/Migrations/20210805143843_ExerciseTableChanged.Designer.cs
18,189
C#
using System; namespace InceptionCore.Proxying { public delegate object ProxyTargetInvocation(object[] arguments); }
20.166667
69
0.801653
[ "BSD-2-Clause" ]
bradleyjford/inception
src/InceptionCore/Proxying/ProxyTargetInvocation.cs
121
C#
using System.Net; using System.Threading.Tasks; using Xunit; namespace Condenser.Tests.Integration.Routing { [Collection("RoutingTests")] public class RouterToServiceFacts { [Fact] public async Task CanWeRunRegisteredServicesThroughRouter() { using (var fixture = new Ro...
30.9375
73
0.562963
[ "MIT" ]
corefan/CondenserDotNet
test/Condenser.Tests.Integration/Routing/RouterToServiceFacts.cs
1,487
C#
/* Copyright (c) 2021 Denis Zykov This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: https://opensource.org/licenses/MIT */ using System; using System.Collections.Ge...
30.90625
178
0.709808
[ "MIT" ]
deniszykov/commandline
src/deniszykov.CommandLine/Binding/VerbBindingResult.cs
2,969
C#
using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using anowaku.Updater; namespace anowaku { public static class AssemblyExtensions { public static string GetLocationDirectory( this Assembly asm) => Path.GetDirectoryName(as...
33.821918
108
0.594573
[ "MIT" ]
anoyetta/anowaku
anowaku.Core/Extensions/AssemblyExtensions.cs
2,469
C#
using System; using System.Collections.Generic; using System.Linq; using QueueIT.QueueToken.Model; namespace QueueIT.QueueToken { public class Payload { public static EnqueueTokenPayloadGenerator Enqueue() => new EnqueueTokenPayloadGenerator(); } public class EnqueueTokenPayloadGenerator ...
30.514493
110
0.607932
[ "MIT" ]
queueit/QueueToken.V1.Net
QueueIT.QueueToken/Payload.cs
4,213
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace PracticaUno.Views { public partial class Departamentos : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } ...
19.176471
60
0.696319
[ "Apache-2.0" ]
crojastriana3/asp-net-ejercicio
App/PracticaUno/PracticaUno/Views/Departamentos.aspx.cs
328
C#
#region Disclaimer/Info /////////////////////////////////////////////////////////////////////////////////////////////////// // Subtext WebLog // // Subtext is an open source weblog system that is a fork of the .TEXT // weblog system. // // For updated news and information please visit http://subtextproject.com/ // Su...
37.153846
99
0.60766
[ "MIT" ]
Haacked/Subtext
src/Subtext.Framework/AssemblyInfo.cs
966
C#
using System; using static MiPaCo.Combinators; namespace MiPaCo { class Program { static void Main() { // Some basic examples var digit = Char(char.IsDigit); digit.ParseAndPrint("1a", $"{nameof(digit)}"); digit.Many().Select(string.Concat).ParseA...
33.903226
140
0.544244
[ "MIT" ]
banbh/MiPaCo
MiPaCo/Program.cs
1,053
C#
namespace SubC.AllegroDotNet.Enums { /// <summary> /// Used when locking a bitmap for reading or writing. /// </summary> public enum LockFlags : int { /// <summary> /// The locked region can be written to and read from. Use this flag if a partial number of pixels need to be ...
37.142857
117
0.601923
[ "MIT" ]
sub-c/AllegroDotNet
AllegroDotNet/Enums/LockFlags.cs
1,042
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatabaseFirstDemo { class Program { static void Main(string[] args) { //Access the Db context var context = new DatabaseFirstDemoEntities(); ...
20.4
58
0.508403
[ "MIT" ]
georgetour/Entity-Framework
Chapter 1 Introduction/DatabaseFirstDemo/DatabaseFirstDemo/Program.cs
721
C#
// // Copyright (c) 2008 Microsoft Corporation. All rights reserved. // using System; using System.Text; using System.IO; using System.Xml; using System.Net; using System.Management.Automation; using System.ComponentModel; using System.Reflection; using System.Globalization; using System.Management.Automation.Runspa...
35.311828
171
0.551233
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs
13,136
C#
using System; using System.Collections.Generic; using System.Text; namespace Code_first_hw.Models { public class Game { public int GameId { get; set; } public string GameName { get; set; } public string GameDescription { get; set; } public int? DeveloperId { get; set; } ...
20.210526
56
0.627604
[ "MIT" ]
Brunosil97/2020-06-c-sharp-labs
labs/Code_first_hw/Models/Game.cs
386
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace FinishLinePics.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() ...
19.366667
67
0.566265
[ "MIT" ]
daveh551/finishlinepics
FinishLinePics/Controllers/HomeController.cs
583
C#
using Microsoft.VisualStudio.Shell; using OpenInApp.Command; using OpenInApp.Common.Helpers; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using OpenInApp.Menu; namespace OpenInEmacs.Options.Emacs { public class GeneralOptions : DialogPage, IGeneralOptionsFile // or se...
35.101796
148
0.58103
[ "MIT" ]
GregTrevellick/OpenInApp.Launcher
src/OpenInEmacs/Options/GeneralOptions.cs
5,864
C#
using FluentValidation; using Google.Protobuf; using System; using System.Collections.Generic; using System.Linq; using TechTalk.SpecFlow; using Vodamep.Data.Dummy; using Vodamep.StatLp.Model; using Vodamep.StatLp.Validation; using Attribute = Vodamep.StatLp.Model.Attribute; namespace Vodamep.Specs.StatLp.StepDefinit...
32.958333
156
0.62874
[ "MIT" ]
connexiadev/Vodamep
tests/Vodamep.Specs/StatLp/StepDefinitions/StatLpUpdateValidationSteps.cs
2,375
C#
// MIT License // // Copyright (c) 2019 Jeesu Choi // // 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...
43.26087
110
0.707538
[ "MIT" ]
s2quake/JSSoft.Communication
JSSoft.Communication/MethodDescriptorCollection.cs
1,990
C#
using Volo.Abp.Modularity; using Volo.Abp.Localization; using EasyAbp.PrivateMessaging.Localization; using Volo.Abp.Localization.ExceptionHandling; using Volo.Abp.Validation; using Volo.Abp.Validation.Localization; using Volo.Abp.VirtualFileSystem; namespace EasyAbp.PrivateMessaging { [DependsOn( typeof(A...
32.605263
109
0.651332
[ "Apache-2.0" ]
lupming/PrivateMessaging
src/EasyAbp.PrivateMessaging.Domain.Shared/PrivateMessagingDomainSharedModule.cs
1,241
C#
using Unity.Entities; using Unity.Mathematics; using UnityEngine; using Random = UnityEngine.Random; [RequiresEntityConversion] [AddComponentMenu("DOTS Samples/Orb Field")] [ConverterVersion("jeremy", 1)] public class OrbFieldAuthoring : MonoBehaviour, IConvertGameObjectToEntity { public float DegreesPerSecond = ...
35.526316
125
0.774815
[ "MIT" ]
trippyogi/EcsHdrpExperiments
Assets/EcsExperiments/OrbField/Scripts/OrbFieldAuthoring.cs
677
C#
desc_cs=Tunel HTTP
9.5
18
0.842105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
A-damW/webmin
tunnel/module.info.cs
19
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using Newtonsoft.Json; namespace WinFormsGraphics { public partial class ShapeEdito...
37.843458
148
0.503982
[ "MIT" ]
priidupaomets/c-sharp-course-code
Demo08-WinFormsGraphics/ShapeEditorControl.cs
16,237
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ScheduleSim.Entities.Models; using ScheduleSim.Entities.Repositories; namespace ScheduleSim.Core.Service { public class FunctionDependencyAccessService : IFunctionDependencyAccessService {...
29.735294
83
0.71909
[ "MIT" ]
pondeke120/ScheduleSim
ScheduleSim.Core/Service/FunctionDependencyAccessService.cs
1,013
C#
// The MIT License (MIT) // // Copyright (c) 2021 Henk-Jan Lebbink // // 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 us...
44.04918
151
0.713435
[ "MIT" ]
HJLebbink/asm-dude
VS/CSHARP/asm-dude-vsix/CodeFolding/CodeFoldingTaggerProvider.cs
2,689
C#
using System; namespace DailyCodingProblem { internal class Day35 { private static int Main(string[] args) { char[] array = new char[] { 'G', 'B', 'R', 'R', 'B', 'R', 'G' }; Console.Write("Original array: "); PrintArray(array); Console.Write(" Sorted array: "); PrintArray(SortRGBArray(array)); ...
19.61039
101
0.609934
[ "MIT" ]
LucidSigma/Daily-Coding-Problems
Days 031 - 040/Day 35/SortRGBArray.cs
1,510
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; [assembly: AssemblyTitle("Microsoft Azure Peering Management Library")] [assembly: AssemblyDescription("Provides...
42.789474
138
0.785978
[ "MIT" ]
AzureMentor/azure-sdk-for-net
sdk/peering/Microsoft.Azure.Management.Peering/src/Properties/AssemblyInfo.cs
813
C#
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. namespace ImageMagick { /// <summary> /// Starts a clip path definition which is comprized of any number of drawing commands and /// terminated by a DrawablePopClipPath. /// </summary> ...
34.1875
94
0.606947
[ "Apache-2.0" ]
brianpopow/Magick.NET
src/Magick.NET/Drawables/DrawablePushClipPath.cs
1,094
C#
using System.Collections.ObjectModel; using Reactive.Bindings; using Reactive.Bindings.Extensions; using SandBeige.MediaBox.Composition.Bases; using SandBeige.MediaBox.Composition.Interfaces.Models.Album.Box; using SandBeige.MediaBox.Composition.Interfaces.Models.Album.Loader; using SandBeige.MediaBox.DataBase; using...
33.206897
174
0.784008
[ "MIT" ]
southernwind/MediaBox
MediaBox/Models/Album/Box/AlbumBoxSelector.cs
1,005
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Attract : MonoBehaviour { Rigidbody _rigidbody; public Transform attractTo; public float strengthOfAttraction, maxMagnitude; // Use this for initialization void Start () { _rigidbody = GetComponent<Rigi...
25.1
84
0.657371
[ "MIT" ]
Garciaj007/AudioDevelopment
Assets/Scripts/Attract.cs
755
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VLispProfiler.Setup { public interface ISetupManager { IEnumerable<SetupInstance> GetSetups(); void InstallSetup(SetupInstance setup); void UninstallSetup(Setup...
28.055556
112
0.744554
[ "MIT" ]
talanc/vlisp-profiler
src/VLispProfiler/Setup/ISetupManager.cs
507
C#
// Interactable Object|Interactions|30030 namespace VRTK { using UnityEngine; using System.Collections; using System.Collections.Generic; using Highlighters; using GrabAttachMechanics; using SecondaryControllerGrabActions; /// <summary> /// Event Payload /// </summary> /// <par...
42.669166
581
0.615489
[ "MIT" ]
HJAgresta/Wutang
Assets/VRTK/Scripts/Interactions/VRTK_InteractableObject.cs
45,530
C#