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
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLight; using System.Threading; using static BuildXL.Utilities.FormattableStringEx; #p...
31.211538
163
0.561974
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net/Types/Implementations.cs
19,476
C#
using System; using System.Collections.Generic; using System.Linq; using UnaryHeap.Utilities.Core; using UnaryHeap.Utilities.D2; using UnaryHeap.Utilities.Misc; namespace UnaryHeap.Algorithms { /// <summary> /// Provides an implementation of Fortune's algorithm for computing the Delaunay /// tr...
38.349005
97
0.527326
[ "MIT" ]
SheepNine/UnaryHeap
source/UnaryHeap.Utilities/UnaryHeap.Utilities/FortunesAlgorithm.cs
21,209
C#
using System; using System.Threading.Tasks; using System.Runtime.InteropServices; using pdftron.Common; using pdftron.SDF; using TRN_ElementBuilder = System.IntPtr; using TRN_Element = System.IntPtr; namespace pdftron.PDF { /// <summary> ElementBuilder is used to build new PDF.Elements (e.g. image,...
43.56869
183
0.588509
[ "MIT" ]
moljac/Samples.AndroidX
samples/issues/0014/to-Xamarin/Common/PDF/ElementBuilder.cs
27,274
C#
using System.Collections.Generic; namespace Plugin.PushNotification { public interface IPushNotificationHandler { //Method triggered when an error occurs void OnError(string error); //Method triggered when a notification is opened by tapping an action void OnAction(Notification...
34.294118
77
0.718696
[ "MIT" ]
CrossGeeks/PushNotificationPlugin
src/Plugin.PushNotification/IPushNotificationHandler.shared.cs
585
C#
using System.ComponentModel; namespace StatusBar.Core { public interface IMessageItem : INotifyPropertyChanged { string Id { get; } string Message { get; } MessageTypes MsgType { get; } bool Accepted { get; set; } } }
20.307692
58
0.617424
[ "Apache-2.0" ]
lothrop/StatusBar.iOS
StatusBar.Core/IMessageItem.cs
266
C#
using System; using SlothEnterprise.ProductApplication.Adapters; using SlothEnterprise.ProductApplication.Applications; namespace SlothEnterprise.ProductApplication { public class ProductApplicationService { private readonly ISubmissionServiceFactory _submissionServiceFactory; public ProductA...
30.851852
92
0.728691
[ "MIT" ]
igorslobodyanyuk/SlothEnterprise
SlothEnterprise.ProductApplication/ProductApplicationService.cs
835
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.ComponentModel.Composition; using System.Diagnostics.CodeAnalysis; using Microsoft.Common.Core.Shell; using Microsoft.Languages.Editor.Settings; using M...
41.40625
99
0.787925
[ "MIT" ]
Bhaskers-Blu-Org2/RTVS
src/Windows/EditorTestApp/Packages/MarkdownPackage.cs
1,327
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. namespace Mi...
80.916031
277
0.694528
[ "MIT" ]
Agazoth/azure-powershell
src/Logz/generated/api/Models/Api20201001Preview/LogzMonitorResource.json.cs
10,470
C#
using System; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace UWPCode.Views { public sealed partial class Splash : UserControl { public Splash(SplashScreen splashScreen) { InitializeComponent(); Window.Current.S...
30.204545
87
0.595937
[ "BSD-2-Clause" ]
MinhTuanTran/UWPCode
UWPCode/Views/Splash.xaml.cs
1,329
C#
using Coldairarrow.Business.MiniPrograms; using Coldairarrow.Entity.MiniPrograms; using Coldairarrow.Util; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Threading.Tasks; namespace Coldairarrow.Api.Controllers.MiniPrograms { [Route("/MiniPrograms/[controller]/[action]")] public...
26.092784
94
0.563019
[ "MIT" ]
fanxinshun/HS.Admin.AntVue
src/Coldairarrow.Api/Controllers/MiniPrograms/mini_pageController.cs
2,611
C#
using System; using System.Collections.Generic; using System.Linq; using MinVer.Lib; namespace MinVerTests.Lib.Infra { internal class TestLogger : ILogger { #if NET6_0_OR_GREATER private readonly List<LogMessage> messages = new(); #else private readonly List<LogMessage> messages = n...
27.056604
132
0.59484
[ "Apache-2.0" ]
adamralph/min-ver
MinVerTests.Lib/Infra/TestLogger.cs
1,434
C#
using System; using System.Collections.Generic; using System.ComponentModel; 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 S...
20.265957
86
0.673491
[ "MIT" ]
yacper/DevexpressLearning
Devexpress/Controls/PropertyGrid/4.Attributes/MainWindow.xaml.cs
1,905
C#
using System; using System.Diagnostics; namespace EfEnumToLookup.LookupGenerator { /// <summary> /// Information needed to construct a foreign key from a referencing /// table to a generated enum lookup. /// </summary> [DebuggerDisplay("{DebuggerDisplay,nq}")] internal class EnumReference { public string Refe...
26.708333
115
0.722309
[ "MIT" ]
timabell/ef-enum-to-lookup
EfEnumToLookup/LookupGenerator/EnumReference.cs
641
C#
#pragma checksum "..\..\UX.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F7C626C187FBC3BF3A1BA07F9C5E22AB277AD06E" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to...
38.315789
141
0.663462
[ "MIT" ]
romero126/Devops-Toolkit
notesdb/obj/Debug/UX.g.cs
2,914
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using CryptoLab.Domain.Domain; using CryptoLab.Domain.IRepositories; using CryptoLab.Infrastructure.IServices; using System.Linq; using CryptoLab.Infrastructure.CryptoCompareApi; using AutoMapper; using CryptoLab.Infrastructure.DTO; namespac...
34.701754
112
0.649141
[ "MIT" ]
szatkoaleksander/CryptoLab
CryptoLab.Infrastructure/Services/WalletService.cs
1,978
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
42.417722
167
0.604596
[ "MIT" ]
FonsecaSergio/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/RemoveAzureVMSqlServerExtensionCommand.cs
3,275
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.Buffers; using System.Diagnostics; using System.IO.Pipelines; using System.Net.Sockets; using System.Threading; using System....
36.34375
141
0.536328
[ "Apache-2.0" ]
phenning/AspNetCore
src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs
13,956
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Endo; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier { public class GlvMultiplier : AbstractECMultiplier ...
32.911111
91
0.617826
[ "Apache-2.0" ]
Cl0udG0d/Asteroid
Assets/Import/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/multiplier/GlvMultiplier.cs
1,481
C#
// KDTree.cs - A Stark, September 2009. // This class implements a data structure that stores a list of points in space. // A common task in game programming is to take a supplied point and discover which // of a stored set of points is nearest to it. For example, in path-plotting, it is often // useful to know which ...
31.026471
109
0.53806
[ "MIT" ]
FuzzySlipper/Framework
Assets/Framework/Data/Structures/KDTree.cs
10,549
C#
using Gedcom4Sharp.Models.Gedcom; using Gedcom4Sharp.Models.Gedcom.Enums; using Gedcom4Sharp.Models.Utils; using Gedcom4Sharp.Parser.Base; using Gedcom4Sharp.Utility.Extensions; namespace Gedcom4Sharp.Parser { public class HeaderSourceDataParser : AbstractParser<HeaderSourceData> { public HeaderSourc...
31.925
114
0.534064
[ "MIT" ]
ThomasPe/Gedcom4Sharp
Gedcom4Sharp/Parser/HeaderSourceDataParser.cs
1,279
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using UnitBoilerplate.Sandbox.Classes; using UnitBoilerplate.Sandbox.Classes.Cases; namespace UnitTestBoilerplate.SelfTest.Cases { [TestClass] public class ConstructorInjectedClassMultipleTests { private MockRepository mockRepository; private Mock<...
23.313725
83
0.777124
[ "MIT" ]
fredatgithub/UnitTestBoilerplateGenerator
SelfTestFiles/Expected/VisualStudio_Moq_ConstructorInjectedClassMultiple.cs
1,189
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Sample.AspNetCore.Data; using Sample.AspNetCore.Models; namespace Sample.AspNetCore.Controllers { public class ProductsController : Controller { private readonly StoreDbContext...
27.192053
111
0.508524
[ "Apache-2.0" ]
Nacorpio/swedbank-pay-sdk-dotnet
src/Samples/Sample.AspNetCore/Controllers/ProductsController.cs
4,108
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Microsoft.Azure.Mobile; namespace AppStatistics.Droid { [Activity(Label = "AppStatistics", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = tru...
28.46875
190
0.693743
[ "MIT" ]
jongfeel/AppStatistics
AppStatistics/AppStatistics.Droid/MainActivity.cs
913
C#
using System; using System.Text; using System.Linq; using Xunit; using FluentAssertions; using Nexogen.Libraries.Metrics.Extensions.Buckets; namespace Nexogen.Libraries.Metrics.UnitTests.Extensions { public class LinearBucketGeneratorTest { LinearBucketGenerator generator = new LinearBucketGenerator(...
32.443182
100
0.615061
[ "MIT" ]
saxus/Nexogen.Libraries.Metrics
Nexogen.Libraries.Metrics.UnitTests/Extensions/LinearBucketGeneratorTest.cs
2,857
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;...
22.896552
65
0.771084
[ "MIT" ]
GMPtk/RVis
UI/RVisUI.AppInf/Controls/Views/Distributions/InverseGammaDistributionView.xaml.cs
666
C#
/* * Copyright (c) 2015 Andrew Johnson * * 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,...
39.707317
84
0.732801
[ "MIT" ]
helios2k6/B2-Backblaze-API
B2BackblazeBridge/Processing/ListFileNamesRequest.cs
1,630
C#
using System; using System.IO; using System.Collections.Generic; using System.Net; using K4os.Compression.LZ4; namespace Snowball { public interface IDataChannel { short ChannelID { get; } QosType Qos { get; } Compression Compression { get; } void Received(ComNode node, objec...
27.21875
109
0.566399
[ "MIT" ]
InstytutXR/Snowball
samples/Chat/Snowball.ChatClientUnity/Assets/Snowball/Scripts/Snowball/DataChannel.cs
2,615
C#
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
57.371681
149
0.665433
[ "MIT" ]
alevel-cherkashin/TruCam
TruCam/Areas/HelpPage/App_Start/HelpPageConfig.cs
6,483
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace EncompassRest.Settings.Personas { /// <summary> /// MilestoneWorkflowManagementRights /// </summary> public sealed class MilestoneWorkflowManagementRights : DirtyExtensibleObject { private DirtyList<EntityRe...
42.518519
165
0.682927
[ "MIT" ]
EncompassRest/EncompassREST
src/EncompassRest/Settings/Personas/MilestoneWorkflowManagementRights.cs
2,298
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Text; using Bloom; using Bloom.Book; using Bloom.Collection; using Bloom.Edit; using NUnit.Framework; using Palaso.IO; using Palaso.Reporting; using Palaso.TestUtilities; namespace BloomTests.Edit { [T...
33.003984
147
0.723081
[ "MIT" ]
phillip-hopper/BloomDesktop
src/BloomTests/Edit/ConfiguratorTest.cs
8,286
C#
using System; using System.Linq; using static MoreLinq.Extensions.ScanExtension; using static MoreLinq.Extensions.RepeatExtension; using static MoreLinq.Extensions.TakeUntilExtension; namespace aoc_runner { public class Day18 { public long Part1(string[] input) => input.Select(x => Express...
36.773196
123
0.378189
[ "MIT" ]
andi0b/-advent-of-code-2020
src/Day18.cs
3,569
C#
using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Threading; using OxyPlot; using OxyPlot.Series; using PingLogger.Extensions; using PingLogger.Models; using PingLogger.Workers; using ReactiveUI; using Serilog; using System; using System.ComponentModel.DataAnnotations; using System.Diagnosti...
25.795287
122
0.671025
[ "MIT" ]
vouksh/PingLogger
ViewModels/PingControlViewModel.cs
17,517
C#
using Laser.Orchard.FidelityGateway.Models; using Orchard.Localization; using Orchard.Workflows.Models; using Orchard.Workflows.Services; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Laser.Orchard.FidelityGateway.Activities { public class AddPointsActivity : Event...
26.586667
138
0.564694
[ "Apache-2.0" ]
INVA-Spa/Laser.Orchard.Platform
src/Modules/Laser.Orchard.FidelityGateway/Activities/AddPointsActivity.cs
1,996
C#
namespace ReverseString { using System; using System.Linq; public class StartUp { public static void Main() { char[] input = Console.ReadLine().ToCharArray(); char[] output = input.Reverse().ToArray(); Console.WriteLine(string.Join("", output)); ...
19.705882
60
0.543284
[ "MIT" ]
lapd87/SoftUniProgrammingFundamentalsCSharp
ProgrammingFundamentalsCSharp/11StringsAndTextProcessing/001ReverseString/ReverseString.cs
337
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> //--...
34.677419
151
0.585116
[ "Apache-2.0" ]
BrianMcGough/IUMediaHelperApps
InteractiveScheduler/Properties/Settings.Designer.cs
1,077
C#
/* license MFReadWrite.cs - Part of MediaFoundationLib, which provide access to MediaFoundation interfaces via .NET Copyright (C) 2015, by the Administrators of the Media Foundation .NET SourceForge Project http://mfnet.sourceforge.net This is free software; you can redistribute it and/or modify it under the terms ...
28.494098
189
0.630289
[ "MIT" ]
mikecopperwhite/DSGraphEdit
MediaFoundationNet/src/MFReadWrite.cs
16,899
C#
using System; using System.Linq; using System.Windows; using System.Data.Common; using System.Windows.Controls; using System.Collections.Generic; using System.Windows.Media.Effects; using System.Data.Entity.Infrastructure; using log4net; using CargoDelivery.BL; using CargoDelivery.DAL; using CargoDelivery.Classes; ...
28.942953
124
0.671072
[ "MIT" ]
university-courses/PofCIS-Term4
CargoDelivery/MainWindow.xaml.cs
8,627
C#
using System; using AutoMapper; using DataGenerator; using FluentAssertions; using MediatR.CommandQuery.Commands; using MediatR.CommandQuery.EntityFrameworkCore.SqlServer.Tests.Constants; using MediatR.CommandQuery.EntityFrameworkCore.SqlServer.Tests.Domain.Task.Models; using MediatR.CommandQuery.Queries; using Micros...
42.596
147
0.635459
[ "MIT" ]
loresoft/MediatR.CommandQuery
test/MediatR.CommandQuery.EntityFrameworkCore.SqlServer.Tests/Acceptance/TaskTests.cs
10,651
C#
using Xunit; using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.Hosting; using System.Net.Http; using System.Net; using System.Threading.Tasks; using FluentAssertions; using Codit.LevelTwo.Models; using Codit.LevelTwo.Extensions; using Codit.LevelTwo; using Newtonsoft.Json; using Newtonsoft.Json.Linq; n...
35.240741
127
0.606936
[ "MIT" ]
Codit/practical-api-guidelines
maturity-level-two/tests/Codit.IntegrationTest/ProblemJsonTest.cs
3,808
C#
using System; using System.Collections.Generic; using System.Linq; namespace NWaves.Signals.Builders { /// <summary> /// Abstract class for representing any signal builder (generator) /// </summary> public abstract class SignalBuilder { /// <summary> /// Number of delay samples ...
27.923469
125
0.501736
[ "MIT" ]
RachamimYaakobov/NWaves
NWaves/Signals/Builders/SignalBuilder.cs
5,475
C#
/** * Copyright 2017 IBM Corp. 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 * * Unless required by applicable law o...
45.861111
248
0.723804
[ "Apache-2.0" ]
mediumTaj/dotnet-standard-sdk-generated
src/IBM.WatsonDeveloperCloud.Discovery.v1/Model/QueryEntitiesContext.cs
1,651
C#
using System.Collections.Generic; using System.Linq; using AppKit; using CoreGraphics; namespace Microsoft.Maui.Graphics.Native { public class NativeFontRegistry { private static NativeFontRegistry _instance = new NativeFontRegistry(); private readonly Dictionary<string, CGFont> _customFonts = new Dictionary<st...
22.967213
99
0.728051
[ "MIT" ]
JimBobSquarePants/Microsoft.Maui.Graphics
src/Microsoft.Maui.Graphics/Mac/NativeFontRegistry.cs
1,401
C#
using System; namespace Encryption { public static class StringExtensions { /// <summary> /// Converts the passed hexadecimal encoded string to its byte[] equivalent. /// </summary> /// <param name="hexString">The hexadecimal encoded string to convert into a byte array.</param> ...
35.018519
193
0.522475
[ "MIT" ]
doubletruth/RSA-RM-Encryption
RSA-RM-Encryption/StringExtensions.cs
1,891
C#
// Copyright 2017 the original author or authors. // // 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 la...
28.607143
125
0.494521
[ "Apache-2.0" ]
acesyde/steeltoe
src/Discovery/src/EurekaBase/EurekaClientOptions.cs
7,211
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using System.Data; namespace DataBase { public class StyleColumnTable { public string spsql = "SP_StyleColumnTable"; #region Column 1 public int AddCol1(string Name) ...
41.843994
145
0.608791
[ "MIT" ]
hasnainsayed/MNMNew
App_Code/Subject/StyleColumnTable.cs
26,824
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using ET2017_TuningTool.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ET2017_TuningTool.Model.Tests { [TestClass()] public class PIDListModelTests { [TestMetho...
20.8
52
0.685096
[ "MIT" ]
TK-R/ET2017-TuningTool
ET2017-TuningToolTests/Model/PIDListModelTests.cs
418
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PerformanceEf6.EF6.Models { [Table("Person.Person")] public partial class Person { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.U...
35.670732
128
0.673162
[ "BSD-3-Clause" ]
Manishkr117/DesignPattern
DOTNETCORE/EFCoreSamples/PerformanceEf6/EF6/Models/Person.cs
2,925
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CORS { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes con...
22.703704
62
0.569331
[ "MIT" ]
MarcinHoppe/AspNet.WebApi.Security.Samples
CORS/CORS/App_Start/WebApiConfig.cs
615
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ipscan { class Range { public string from; public string to; public Range(string from, string to) { this.from = from; this.to =...
16.333333
44
0.580175
[ "Apache-2.0" ]
n0ise9914/ipscan
ipscan/Range.cs
345
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Windows.UI.Core; namespace slimCODE.Extensions { /// <summary> /// Provides extension methods for <see cref="CoreDispatcher"/> instances. /// </summary> public static partial ...
34.681818
128
0.513761
[ "MIT" ]
slimCODE/slim-lib
src/slimLIB.Uno/Extensions/CoreDispatcherExtensions.cs
3,817
C#
// ------------------------------------------- // Control Freak 2 // Copyright (C) 2013-2016 Dan's Game Tools // http://DansGameTools.com // ------------------------------------------- //! \cond using UnityEngine; namespace ControlFreak2 { public static class CFUtils { public const float SqrtOf2 = 1.41421356...
25.125272
157
0.593757
[ "MIT" ]
ReiiYuki/Firebase-Unity-Realtime-Movement-Demo
Assets/Plugins/Control-Freak-2/Scripts/Utils/CFUtils.cs
23,067
C#
using System.Windows; namespace GUIConsole.Wpf { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { public App() { } } }
14.0625
42
0.537778
[ "MIT" ]
Acidburn0zzz/terminal-1
samples/ConPTY/GUIConsole/GUIConsole.WPF/App.xaml.cs
225
C#
using UnityEngine; using System.Collections.Generic; using Phenix.Unity.AI; public class GOAPActionCombatMoveForward : GOAPActionBase { AnimFSMEventCombatMove _eventCombatMove; Vector3 _finalPos; public GOAPActionCombatMoveForward(GOAPActionType1 actionType, Agent1 agent, List<WorldStateBitData> ...
31.220339
150
0.673724
[ "MIT" ]
mengtest/samurai
samurai/Assets/Scripts/GOAP1/Actions/GOAPActionCombatMoveForward.cs
1,844
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.Adapters { using System; using System.Collections.Generic; using System.Windows; using MathNet.Spatial.Euclidean; using Microsoft.Psi.Visualization.Data; /// <...
32.945946
113
0.635767
[ "MIT" ]
Bhaskers-Blu-Org2/psi
Sources/Visualization/Microsoft.Psi.Visualization.Common.Windows/Adapters/MathNetNullablePoint2DToScatterPlotAdapter.cs
1,221
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; namespace Windows.UI.Interactivity { /// <summary> /// Static class that owns the Triggers and Behaviors attached properties. Handles propagat...
43.738562
256
0.6185
[ "MIT" ]
jlaanstra/Windows.UI.Interactivity
Windows.UI.Interactivity/Interaction.cs
6,694
C#
using Dapper; using System.Data.SqlClient; using System.Configuration; using System.Text; using Common.Extend; using Common; using System.Collections.Generic; using DbOpertion.Models; namespace DbOpertion.DBoperation { public partial class noRestaurantOper : SingleTon<noRestaurantOper> { public string ...
32.602857
134
0.429673
[ "MIT" ]
wustrom/WebApi_Health
DbOpertion/Opertion/noRestaurantOper.cs
11,507
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2015 Ingo Herbote * http://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file ...
34.065134
166
0.520301
[ "Apache-2.0" ]
TristanTong/bbsWirelessTag
yafsrc/YAF.Controls/BaseReportedPosts.cs
8,632
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ------------------------------------------------------------------------------ // Changes to this file must follow the https://aka.ms/api-review process. // -----------------------...
82.957895
263
0.732014
[ "MIT" ]
333fred/runtime
src/libraries/System.Security.Cryptography.OpenSsl/ref/System.Security.Cryptography.OpenSsl.cs
7,881
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
35.109375
93
0.569203
[ "MIT" ]
EdoardoTona/squidex
backend/src/Squidex.Domain.Apps.Core.Operations/Templates/Extensions/StringFluidExtension.cs
2,249
C#
using System.Collections.Generic; namespace Furion.Extras.Admin.NET.Service { /// <summary> /// 员工信息参数2 /// </summary> public class EmpOutput2 { /// <summary> /// 员工Id /// </summary> public string Id { get; set; } /// <summary> /// 工号 /// </...
22.05
94
0.464853
[ "Apache-2.0" ]
364988343/AKStreamUI
backend/Furion.Extras.Admin.NET/Service/Emp/Dto/EmpOutput2.cs
932
C#
// <copyright file="DriverServiceCommandExecutor.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 ...
39.421053
119
0.614653
[ "Apache-2.0" ]
Abdulwahed-alhallak/selenium
dotnet/src/webdriver/Remote/DriverServiceCommandExecutor.cs
5,992
C#
using System.Collections; using UtilityWpf.Events; namespace UtilityWpf.Abstract { public interface ICheckedSelector { IEnumerable CheckedItems { get; } IEnumerable UnCheckedItems { get; } event CheckedChangedEventHandler CheckedChanged; } }
21.538462
56
0.714286
[ "MIT" ]
dtaylor-530/UtilityWpfCore
UtilityWpf/Abstract/ICheckedSelector.cs
282
C#
using AOFL.KrakenIoc.Core.V1.Interfaces; using UnityEngine; namespace AOFL.KrakenIoc.Extensions.V1 { public static class GameObjectExtensions { /// <summary> /// Adds a component and injects via the container. /// </summary> /// <returns>The component.</returns> /// <par...
32.75
89
0.625954
[ "MIT" ]
2kCarlos/kraken-ioc
KrakenIoc/KrakenIoc.Unity/Extensions/V1/GameObjectExtensions.cs
655
C#
using System; using System.Web; namespace ServiceStack.MiniProfiler { public enum RenderPosition { Left = 0, Right = 1 } public interface IProfiler { IProfiler Start(); void Stop(); IDisposable Step(string name); IHtmlString Rend...
29.510417
130
0.594776
[ "Apache-2.0" ]
sbosell/ServiceStack
src/ServiceStack/Profiler.cs
2,740
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using Microsoft.Xna.Framework.Graphics; namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { public class PvrtcRgba4BitmapContent ...
35.333333
98
0.616577
[ "MIT" ]
Gitspathe/MonoGame
MonoGame.Framework.Content.Pipeline/Graphics/PvrtcRgba4BitmapContent.cs
1,484
C#
using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.IdentityModel.Logging; using Microsoft.IdentityModel.Protocols; using Newtonsoft.Json; namespace THNETII.AzureAcs.Client.Metadata { public class AcsInstanceMetadataRetriever : IConfigurationRetriever<AcsInstanceM...
38.846154
84
0.670297
[ "MIT" ]
thnetii/azure-extensions
src/THNETII.AzureAcs.Client/Metadata/AcsInstanceMetadataRetriever.cs
2,020
C#
using System.Collections.Generic; using TestCreator.Data.Models.DTO; using TestCreator.WebApp.ViewModels; namespace TestCreator.WebApp.Converters.ViewModel.Interfaces { public interface IResultViewModelConverter { ResultViewModel Convert(Result result); IEnumerable<ResultViewModel> Convert(IEn...
27.307692
74
0.777465
[ "MIT" ]
PDanowski/TestCreator_React
TestCreator/TestCreator.WebApp/Converters/ViewModel/Interfaces/IResultViewModelConverter.cs
357
C#
// Copyright (c) 2020, UW Medicine Research IT, University of Washington // Developed by Nic Dobbins and Cliff Spital, CRIO Sean Mooney // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://moz...
39.222222
154
0.570979
[ "MPL-2.0" ]
UChicagoCRI/leaf
src/server/Model/Compiler/Common/Dialect.cs
3,179
C#
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; using System.IO; namespace Gabarito { public partial class Resultado : Form { public Res...
29.594595
152
0.516164
[ "MIT" ]
andreszlima/Gabarito
Resultado.cs
5,485
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Text...
39.931347
197
0.556298
[ "MIT" ]
AlenaSviridenko/runtime
src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Nls.cs
30,827
C#
namespace MercadoPago.Client { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using MercadoPago.Config; using MercadoPago.Error; using MercadoPago.Http; using MercadoPago.Resource; using MercadoPago.Serialization; using Http...
37.3025
118
0.565311
[ "MIT" ]
mercadopago/sdk-dotnet
src/MercadoPago/Client/MercadoPagoClient.cs
14,923
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Desktop.Framework.Threading.Tasks; namespace UCSample.CustomComponentCategory { /// <summary> /// Simulates your &quot;core&quot; implementation that can be extended via your //...
36.101266
109
0.546283
[ "Apache-2.0" ]
Esri/arcgis-pro-samples-beta
Beta4/CustomComponentCategory/CoreImplementationTrace.cs
2,854
C#
using AutoMapper; using MarsRover.Persistence.EFCore.Context; using MarsRover.Rover.Persistence; using MarsRover.Shared; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; using DomainRover = MarsRover.Rover.Domain.RoverX; using PersistenceRover = MarsRover.Persistence....
35.666667
112
0.676636
[ "MIT" ]
kudretkurt/MarsRover-With-NserviceBus
MarsRover.Persistence.EFCore/Repositories/RoverRepository.cs
1,607
C#
using System; namespace FontAwesome { /// <summary> /// The unicode values for all FontAwesome icons. /// <para/> /// See https://fontawesome.com/cheatsheet /// <para/> /// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github...
35.508197
154
0.587258
[ "MIT" ]
michaelswells/FontAwesomeAttribute
FontAwesome/FontAwesome.Church.cs
2,166
C#
using System; using Xamarin.Forms; namespace Moments { public class RoundedRectangleImage : Image { } }
9.166667
43
0.736364
[ "MIT" ]
BrotherBrett/moments
Moments - CSharp/Moments.Shared/Controls/RoundedRectangleImage.cs
110
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using hrmApp.Core.PagedList; using hrmApp.Core.Constants; using Microsoft.EntityFrameworkCore.Query; namespace hrmApp.Core.Services { public interface IService<TE...
39.111111
96
0.680114
[ "MIT" ]
gasparekferenc/hrmApp.N-Layer.MVC
scr/hrmApp/hrmApp.Core/Services/IService.cs
1,763
C#
namespace Ignition.Core.Bases { public interface IDatabaseType { string GetDatabaseName(); } }
16.428571
34
0.652174
[ "MIT" ]
Ali-Nasir-01/SitecoreIgnition
Ignition.Core/Bases/IDatabaseType.cs
117
C#
using System; using System.Collections.Generic; using System.Text; namespace Forge.Client.Models { public class ForgeClientArgs { public string BaseUrl { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public string Scope { get; set; } ...
21.866667
48
0.643293
[ "MIT" ]
Frederik91/ForgeBucketList
src/Forge.Client/Models/ForgeClientArgs.cs
330
C#
using System; using System.ComponentModel; namespace InstagramApiSharp.Classes.Models { public class InstaCommentShort : INotifyPropertyChanged { public InstaContentType ContentType { get; set; } public InstaUserShort User { get; set; } public long Pk { get; set; } public s...
26.35
115
0.639469
[ "MIT" ]
AMP-VTV/InstagramApiSharp
src/InstagramApiSharp/Classes/Models/Comment/InstaCommentShort.cs
1,056
C#
/******************************************************************************/ /* Project - Unity Ray Marching https://github.com/TheAllenChou/unity-ray-marching Author - Ming-Lun "Allen" Chou Web - http://AllenChou.net Twitter - @TheAllenChou */ /*****************************************...
31.720812
136
0.691791
[ "MIT" ]
TheAllenChou/unity-ray-marching
unity-ray-marching/Assets/Script/Ray Marching/GameObjectRayMarcher.cs
12,500
C#
// // Copyright 2012-2013, Xamarin 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 appli...
24.081395
108
0.683969
[ "MIT" ]
RepoForks/SalesforceSDK
external/Xamarin.Auth-old-copied-code/src/Xamarin.Auth.Android/WebAuthenticatorActivity.cs
4,142
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Re...
38.371429
77
0.756515
[ "BSD-2-Clause" ]
reignstudios/ReignSDK
Platforms/Xbox360/Reign.Input/Properties/AssemblyInfo.cs
1,346
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir & xuri 2021 // // 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 limitatio...
38.015385
156
0.679887
[ "MIT" ]
xuri02/SharpVk
src/SharpVk/Multivendor/PhysicalDeviceImageRobustnessFeatures.gen.cs
2,471
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
46.755274
126
0.592817
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Common/CloudService/JavaScriptPackageHelpers.cs
10,847
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
41.601905
194
0.615814
[ "MIT" ]
Azkel/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ComputeManagementClient.cs
21,841
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> //--...
48.767206
244
0.636047
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RetailReplenishmentRuleLine.cs
24,093
C#
// Copyright 2016-2019, Pulumi Corporation namespace Pulumi { /// <summary> /// Options to help control the behavior of <see cref="IDeployment.InvokeAsync{T}(string, /// ResourceArgs, InvokeOptions)"/>. /// </summary> public class InvokeOptions { /// <summary> /// An optional p...
33.466667
100
0.603586
[ "Apache-2.0" ]
geekflyer/pulumi
sdk/dotnet/Pulumi/Deployment/InvokeOptions.cs
1,006
C#
// ReSharper disable InconsistentNaming using System.Collections.Generic; using System; using System.Threading.Tasks; using EasyNetQ.AutoSubscribe; using EasyNetQ.Tests.Mocking; using NUnit.Framework; using RabbitMQ.Client; using Rhino.Mocks; namespace EasyNetQ.Tests.AutoSubscriberTests { [TestFixture] public...
34.945578
134
0.584777
[ "MIT" ]
CrimpyMcDoogles/EasyNetQ
Source/EasyNetQ.Tests/AutoSubscriberTests/When_autosubscribing.cs
5,139
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 Microsoft.CodeAnalysis.Editor { internal class NavigationBarSelectedTypeAndMember : IE...
38.959184
112
0.675223
[ "MIT" ]
AlexanderSemenyak/roslyn
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarSelectedItems.cs
1,911
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; using Microsoft.Extensions.Logging; using Tehk.Sourcers.Meetup.Svc.Models; namespace Tehk.Sourcers.Meetup.Svc.Services { public class Meetu...
35.985075
112
0.58482
[ "MIT" ]
bgever/techeventshk
src/sourcers/meetup/svc/Services/MeetupApiClient.cs
2,411
C#
using Microsoft.AspNetCore.Http; using System.Threading.Tasks; namespace Masuit.MyBlogs.Core.Extensions.UEditor { /// <summary> /// NotSupportedHandler 的摘要说明 /// </summary> public class NotSupportedHandler : Handler { public NotSupportedHandler(HttpContext context) : base(context) ...
23.478261
71
0.583333
[ "MIT" ]
5653325/Masuit.MyBlogs
src/Masuit.MyBlogs.Core/Extensions/UEditor/NotSupportedHandler.cs
574
C#
using FluentValidation; using HomeCinema.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HomeCinema.Web.Infrastructure.Validators { public class StockViewModelValidator : AbstractValidator<StockViewModel> { public StockViewModelValidator() ...
26.380952
76
0.66065
[ "MIT" ]
Gitesss/RentCar
HomeCinema.Web/Infrastructure/Validators/StockViewModelValidator.cs
556
C#
namespace Kasp.Panel.EntityManager.Tests.Controllers { // [Route("api/entity-manager/test-entity")] // public class TestEntityManagerController : EntityManagerControllerBase<TestModel, IModelService, TestModel, TestModel, TestModel, FilterBase> { // public TestEntityManagerController(IModelService repository, IObj...
45.586957
160
0.740582
[ "MIT" ]
Kican/Kasp
tests/Kasp.Panel.EntityManager.Tests/Controllers/TestEntityManagerController.cs
2,099
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.Xml; IKeyInfoEncryptedKey namespace Org.BouncyCastle.Crypto.Xml { public interface IKeyInfoEncryp...
32.625
71
0.747126
[ "MIT" ]
EdoardoLenzi9/bc-xml-security
relatedness/IKeyInfoEncryptedKey.cs
524
C#
using System; using System.Windows.Forms; using EWSEditor.Logging; using Microsoft.Exchange.WebServices.Data; namespace EWSEditor.Forms { /// <summary> /// This base form makes it really easy to implement new, specialized content /// forms for different types of content. The steps to implement a new form...
32.475083
118
0.521432
[ "MIT" ]
manoj75/o365-EWS-Editor
EWSEditor/Forms/BaseContentForm.cs
9,777
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Buffers; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Threading; using Sys...
41.988437
171
0.553284
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/storage/Azure.Storage.Files.DataLake/src/DataLakeFileClient.cs
174,296
C#
using System; using System.Collections.Generic; using System.Linq; using Merchello.Core.Gateways.Shipping.FixedRate; using Merchello.Core.Models; using NUnit.Framework; namespace Merchello.Tests.UnitTests.Shipping { [TestFixture] public class ShipRateTableTests { private ShippingFixedRateTable _s...
35.293103
150
0.601856
[ "MIT" ]
bowserm/Merchello
test/Merchello.Tests.UnitTests/Shipping/ShipRateTableTests.cs
4,096
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using SignService.Models; using SignService.Services; namespace SignService.Controllers { [Authorize(Roles = "admin_signservice")] [Require...
26.414634
72
0.671283
[ "MIT" ]
SabotageAndi/SignService
src/SignService/Controllers/AdminController.cs
1,085
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
26.205479
84
0.598536
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
common/ASC.Common/Security/Authorizing/Domain/Role.cs
1,913
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; namespace Luis { public class LUISStockClient { public static async Task<StockLUIS> ParseUserInput(string strInput) { str...
29.381818
183
0.587252
[ "MIT" ]
Aaron-Strong/BotBuilder
CSharp/Samples/Stock_Bot/Basic_Luis_StockBot/Luis.cs
1,618
C#