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 Microsoft.CloudMine.Core.Collectors.Authentication; using System.Net.Http; using System.Threading.Tasks; namespace Microsoft.CloudMine.Core.Collectors.Web { public interface IRateLimiter { Task UpdateRetryAfterAsync(stri...
32.470588
101
0.778986
[ "MIT" ]
dorfire/CEDAR.Core.Collector
Core.Collectors/Web/IRateLimiter.cs
554
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using ufiles.Models; namespace ufiles.Controllers { public class HomeController : Controller { pri...
24.947368
113
0.611814
[ "MIT" ]
larryw3i/ufiles
ufiles/Controllers/HomeController.cs
950
C#
using addon365.FindMatch360.Models.Masters; using addon365.FindMatch360.Models.MatrimonyProfileModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace addon365.FindMatch360.ViewModels { public class ProfileViewModel { public Guid Matri...
35.923729
82
0.631989
[ "Apache-2.0" ]
addon365/FindMatch360
Src/Web/addon365.FindMatch360 - Copy/ViewModels/ProfileViewModel.cs
4,241
C#
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Square.Http.Client; using Square; using Square.Utilities; namespace Square.Mode...
32.038217
132
0.517495
[ "Apache-2.0" ]
HostMeApp/square-dotnet-sdk
Square/Models/SearchSubscriptionsResponse.cs
5,030
C#
namespace School.Data.Repositories { using School.Models; public interface ISubjectRepository : IDeletableEntityRepository<Subject> { } }
18.222222
78
0.695122
[ "MIT" ]
encounter12/AspNet-Mvc-School
School/School.Data/Repositories/ISubjectRepository.cs
166
C#
using System.Reflection; 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("AWSSDK.IoTJobsDataPlane")] [assembly: Asse...
47.625
245
0.75
[ "Apache-2.0" ]
awesomeunleashed/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/IoTJobsDataPlane/Properties/AssemblyInfo.cs
1,524
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace org.zugferd.reader.ui { /// <summary> /// Interaktionslogik für "App.xaml" /// </summary> public partial class App : Applicati...
18.722222
42
0.703264
[ "Apache-2.0" ]
mygit-steffen/ZUGFeRD-Reader
org.zugferd.reader.ui/App.xaml.cs
340
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...
39.486486
85
0.731691
[ "Apache-2.0" ]
4-FLOSS-Free-Libre-Open-Source-Software/readablepassphrasegenerator
trunk/RandomiseWordList/Properties/AssemblyInfo.cs
1,464
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
39.116667
463
0.758841
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/Sources/System.Runtime.InteropServices.UnknownWrapper.cs
2,347
C#
using Classifiers; using System.Collections.Generic; namespace SnaffCore.Config { public partial class Options { private void BuildFileContentRules() { /* // TEST RULE for doc parsing this.ClassifierRules.Add(new ClassifierRule() { ...
47.548023
139
0.448135
[ "MIT" ]
MalwareExploit/Snaffler
SnaffCore/Config/DefaultRules/FileContentRules.cs
33,664
C#
/** * ************************************************* * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT * ************************************************** */ using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namesp...
30.931818
121
0.547392
[ "MIT" ]
paulvancoller/A3S
src/za.co.grindrodbank.a3s/Repositories/PaginatedRepository.cs
1,363
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class UMG : ModuleRules { public UMG(TargetInfo Target) { PrivateIncludePaths.AddRange( new string[] { "Runtime/UMG/Private" // For PCH includes (because they don't work with relative paths...
19.733333
108
0.540541
[ "BSD-2-Clause" ]
PopCap/GameIdea
Engine/Source/Runtime/UMG/UMG.Build.cs
1,184
C#
// Copyright (c) 2021 Salim Mayaleh. All Rights Reserved // Licensed under the BSD-3-Clause License // Generated at 28.11.2021 14:05:29 by RaynetApiDocToDotnet.ApiDocParser, created by Salim Mayaleh. using System; using Newtonsoft.Json; using System.Collections.Generic; namespace Maya.Raynet.Crm.Response.Put { p...
26.611111
100
0.730689
[ "BSD-3-Clause" ]
mayaleh/Maya.Raynet.Crm
src/Maya.Raynet.Crm/Response/Put/StartACurrency.cs
479
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
35.967742
77
0.765919
[ "MIT" ]
AnaLauraFeltrim/Projeto2Semestre
WSTowers/WSTowers.Android/Properties/AssemblyInfo.cs
1,118
C#
using System.Drawing; using CustomerRecognition.Forms; using CustomerRecognition.Forms.Models; using Xamarin.Forms; namespace CustomerRecognition { public partial class App : Application { public static int ScreenWidth; public static int ScreenHeight; public static int CameraRatio...
23.15
82
0.593952
[ "MIT" ]
ClintFrancis/AzureSearchBot
Projects/CustomerRecognition/src/CustomerRecognition.Forms/App.xaml.cs
928
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Roslynator.CSharp.CodeFixes; using Roslynator.Testing.CSharp; using Xunit; namespace Roslyn...
22.521531
160
0.632037
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/Tests/Analyzers.Tests/RCS1163UnusedParameterTests.cs
4,709
C#
using System; using System.Collections.Generic; namespace bellyful_proj.Models { public partial class MealInstock { public byte MealTypeId { get; set; } public int InstockAmount { get; set; } public MealType MealType { get; set; } } }
19.571429
46
0.653285
[ "MIT" ]
PandasSIT/bellyful_proj
bellyful_proj_v.0.2/Models/MealInstock.cs
276
C#
using System; using Skewworks.NETMF; namespace Skewworks.Gadgeteer.CP7Helper { public class CP7TouchHelper { #region Variables private point _ptLast; private point _ptDownAt; private long _lgDownAt; private TouchType _tt; private bool _tDown; private bool ...
23.711538
70
0.42356
[ "Apache-2.0" ]
osre77/Tinkr
Tinkr2/4.2/AphelionCore/AphelionCP7Helper/CP7TouchHelper.cs
4,932
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIBruxaNpcDeath : CAIDeathTree { [Ordinal(1)] [RED("params")] pu...
31.2
128
0.730769
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CAIBruxaNpcDeath.cs
756
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace S...
36.313725
151
0.557235
[ "Apache-2.0" ]
TruthOriginem/Starsector-L.Tool
Properties/Settings.Designer.cs
1,960
C#
using System; using Agiil.Domain.Tickets; using Agiil.Domain.Tickets.Specs; using Agiil.Domain.TicketSearch; using Agiil.Tests.Attributes; using CSF.Specifications; using NUnit.Framework; namespace Agiil.Tests.Tickets.Specs { [TestFixture, Parallelizable] public class StoryPointsComparedToConstantValueSpecFac...
37.972222
150
0.653621
[ "MIT" ]
csf-dev/agiil
Tests/Agiil.Tests.Domain/Tickets/Specs/StoryPointsComparedToConstantValueSpecFactoryTests.cs
2,736
C#
using DTORepository.Common; using System; namespace DTORepository.Attributes { [AttributeUsage(AttributeTargets.Property, Inherited = true)] public class IgnoreRetrievingForAttribute : Attribute { public ActionFlags actions = ActionFlags.None; public IgnoreRetrievingForAttribute(ActionFl...
22.055556
65
0.692695
[ "MIT" ]
theerapatcha/DTORepository
DTORepository/Attributes/IgnoreRetrievingForAttribute.cs
399
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion: 4.0.30319.42000 // // Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn // der Code neu gen...
41.152778
174
0.624705
[ "MIT" ]
bastisk/Folder-To-Iso
IsoMaker/IsoMaker/Properties/Resources.Designer.cs
2,973
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 * "Lice...
29.555556
69
0.656642
[ "Apache-2.0" ]
Anomalous-Software/Lucene.NET
test/contrib/FastVectorHighlighter/Support.cs
1,598
C#
using LeetCode.Data; namespace LeetCode { public class OddEvenLinkedList { public ListNode OddEvenList(ListNode head) { if (head == null) { return head; } ListNode odd = head; ListNode oddEnd = odd; ListNo...
20.72
50
0.350386
[ "MIT" ]
sergioescalera/LeetCode-Exercises
src/LeetCode/0328-OddEvenLinkedList.cs
1,038
C#
using System; using StatsdClient.Bufferize; namespace StatsdClient { internal class MetricsSender { private readonly Telemetry _optionalTelemetry; private readonly StatsBufferize _statsBufferize; private readonly Serializers _serializers; private readonly bool _trunca...
44.325301
266
0.620549
[ "MIT" ]
jdasilva-olo/dogstatsd-csharp-client
src/StatsdClient/MetricsSender.cs
3,681
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; ...
27.211538
106
0.652297
[ "MIT" ]
fossabot/open-tms
src/OpenTMS.Server/Startup.cs
1,415
C#
using Engine; using Microsoft.Xna.Framework; class Cloud : SpriteGameObject { Level level; public Cloud(Level level) : base(null, TickTick.Depth_Background) { this.level = level; Reset(); } public override void Reset() { Randomize(); // give the cloud a start...
28.339286
107
0.591682
[ "MIT" ]
egges/csharpgames
Code and Assets/26_FinishingGame/TickTickFinal/LevelObjects/Cloud.cs
1,589
C#
#region Using directives using System; using System.Reflection; using System.Runtime.InteropServices; #endregion // 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...
34.25
79
0.763686
[ "MIT" ]
Stevie-O/SharpLua
OLD.SharpLua/CryptoLib/Properties/AssemblyInfo.cs
1,098
C#
using System; using Alex.Interfaces; using Alex.Networking.Java.Util; namespace Alex.Networking.Java.Packets.Play { public class PlayerBlockPlacementPacket : Packet<PlayerBlockPlacementPacket> { public IVector3I Location; public BlockFace Face; public int Hand; public IVector3 CursorPosition; public bool ...
17.364865
77
0.692607
[ "MPL-2.0" ]
ConcreteMC/Alex
src/Networking/Alex.Networking.Java/Packets/Play/PlayerBlockPlacement.cs
1,287
C#
using System; using System.Linq; using System.Net; using System.Web.Mvc; using EPiServer.Shell.Services.Rest; using Forte.EpiserverRedirects.Mapper; using Forte.EpiserverRedirects.Model.RedirectRule; using Forte.EpiserverRedirects.Repository; namespace Forte.EpiserverRedirects.Menu { [RestStore("RedirectRuleStore"...
33.164835
120
0.628231
[ "MIT" ]
fortedigital/EPiAutoAlias
EpiserverRedirects/Menu/RedirectRuleStore.cs
3,018
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using AoC2021.utils; using AoCHelper; namespace AoC2021.Days { public sealed class Day14 : BaseDay { private readonly List<string> _stringInput; private LinkedList<char> _polymer;...
27.185185
90
0.45543
[ "MIT" ]
ketkev/AoC2021
Days/Day14.cs
5,140
C#
namespace Bloom.Browser.Modules.LibraryModule.ViewModels { /// <summary> /// View model for GridView.xaml /// </summary> public class GridViewModel { } }
17.9
57
0.631285
[ "Apache-2.0" ]
RobDixonIII/Bloom
Browser/Bloom.Browser.Modules/Bloom.Browser.Modules.LibraryModule/ViewModels/GridViewModel.cs
181
C#
using System; using System.IO; using System.Threading.Tasks; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; namespace Fakebook.Posts.RestApi.Services { public class BlobService : IBlobService { private readonly BlobServiceClient _blobServiceClient; public BlobService(BlobServic...
35.369565
129
0.674862
[ "MIT" ]
2011-fakebook-project3/posts
Fakebook.Posts/Fakebook.Posts.RestApi/Services/BlobService.cs
1,629
C#
using System; using Xunit; namespace DistributedDistributionSketch.Tests { public class DDSketchTests { [Fact] public void DistributedDistributionSketchDefaultConstructorDoesNotThrow() { var sketch = new DistributedDistributionSketch(); Assert.Equal(sk...
33.528125
110
0.563147
[ "BSD-3-Clause" ]
alexandre-lecoq/DDSketch
DistributedDistributionSketch.Tests/DDSketchTests.cs
10,729
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Contracts { [DataContract] public class SwitchReport { [DataMember] public DateTime Date { get; set; } [DataMember] ...
19.157895
42
0.67033
[ "MIT" ]
e11en/WFDemo
WF 4.5 Demo/Contracts/SwitchReport.cs
366
C#
// <copyright file="Post.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> namespace Stacker.Cli.Domain.WordPress { using System; using System.Collections.Generic; using System.Linq; public class Post { public Post() { t...
26.057692
83
0.609594
[ "Apache-2.0" ]
endjin/Endjin.Stacker
Solutions/Stacker.Cli/Domain/WordPress/Post.cs
1,355
C#
using System.Reflection; [assembly: AssemblyTitle("Composable.CQRS.Testing")] [assembly: AssemblyProduct("Composable.CQRS.Testing")]
27
54
0.792593
[ "Apache-2.0" ]
ManpowerNordic/Composable
Composable.CQRS.Testing/Properties/AssemblyInfo.cs
137
C#
using System; using FluentAssertions; using WinTenDev.Zizi.Utils; using Xunit; namespace WinTenDev.Zizi.Tests; public class TimeUtilTest { [Fact] public void ConvertTimeZoneTest() { var currentDateUtc = DateTime.UtcNow; var tzAsia = currentDateUtc.ConvertUtcTimeToTimeZone("SE Asia Standa...
24.277778
95
0.729977
[ "MIT" ]
WinTenDev/ZiziBot.NET
src/WinTenDev.Zizi.Tests/TimeUtilTest.cs
439
C#
using System; using System.Globalization; using Avalonia.Data.Converters; using Avalonia.Layout; namespace WalletWasabi.Fluent.Converters { public class NavBarItemsListBoxAlignmentConverter : IValueConverter { public static readonly NavBarItemsListBoxAlignmentConverter Instance = new(); private NavBarItemsListB...
24.258065
106
0.769947
[ "MIT" ]
alexseres/WalletWasabi
WalletWasabi.Fluent/Converters/NavBarItemsListBoxAlignmentConverter.cs
752
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace SpeedifyG19Applet { /// <summary> /// Logique d'interaction pour App.xaml /// </summary> public partial class App : Applicatio...
18.666667
43
0.71131
[ "MIT" ]
sidewinder94/SpeedifyG19Applet
SpeedifyG19Applet/App.xaml.cs
338
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtaining ...
41.514877
195
0.544047
[ "MIT" ]
TaviTruman/dotnetrdf
Libraries/dotNetRDF/Writing/WriterUtilities.cs
32,091
C#
using MediatR; namespace Plannoy.Application.CommonInterfaces { public interface ICommandHandler<TCommand> : IRequestHandler<TCommand, bool> where TCommand : class, ICommand { } }
24.125
113
0.756477
[ "MIT" ]
douglasramos/plannoy
src/Application/CommonInterfaces/ICommandHandler.cs
195
C#
// IPixelOperation.cs // // Copyright (C) BEditor // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. namespace BEditor.Drawing.PixelOperation { /// <summary> /// Represents a pixels operation. /// </summary> public interface IPi...
25.857143
75
0.622468
[ "MIT" ]
b-editor/BEditor
src/libraries/BEditor.Drawing/PixelOperation/IPixelOperation.cs
545
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #if NETFX_CORE using Windows.Foundation; using Windows.UI.Xaml.Controls; namespace HelixToolkit.UWP #else using System.Windows; using System.Windows.Controls; namespace HelixToolkit.Wpf.SharpDX #endif {...
23.543478
80
0.602955
[ "MIT" ]
B3zaleel/helix-toolkit
Source/HelixToolkit.SharpDX.SharedModel/Controls/HelixItemsControl.cs
1,085
C#
///////////////////////////////////////// // // // "lol why do u have so many unused // // references that's dum." // // -JT // ///////////////////////////////////////// using System; // using System.Collections...
48.330986
201
0.557774
[ "MIT" ]
yacklebeam/ludumdare36
ld36Game/ld36Game/GameStates/PlayingState.cs
6,865
C#
using System; namespace Eventos1 { class Program { public static void NotificarCambioNombre(string msg) { //imprimos mensaje aviso. Console.WriteLine("¡El nombre del empleado a cambiado!"); Console.WriteLine(msg); } public static void Main(s...
27.307692
77
0.58169
[ "MIT" ]
cmontellanob/programacionIII
Eventos1/Eventos1/Program.cs
713
C#
using System.Text.Json.Serialization; namespace DotNetBungieAPI.Generated.Models.Destiny.Milestones; /// <summary> /// Part of our dynamic, localized Milestone content is arbitrary categories of items. These are built in our content management system, and thus aren't the same as programmatically generated rewards...
34.647059
204
0.762309
[ "MIT" ]
EndGameGl/.NetBungieAPI
DotNetBungieAPI.Generated/Models/Destiny/Milestones/DestinyMilestoneContentItemCategory.cs
589
C#
// ITrigger.cs in bukkitgui2/bukkitgui2 // Created 2014/08/10 // // 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://mozilla.org/MPL/2.0/. // // ©Bertware, visit http://bertware.net namesp...
23.84375
87
0.629096
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Bertware/bukkitgui2
bukkitgui2/AddOn/Tasker/Trigger/ITrigger.cs
1,529
C#
using System; using XFExpandableListView.Abstractions; using XFExpandableListView.Models; namespace XFExpandableListViewSample.Models { public class FruitGroup : ExpandableGroup<Fruit>, IExpandableGroup { public string Title { get; set; } public string ShortName { get; set; } public F...
27.4
102
0.633577
[ "Apache-2.0" ]
Jouna77/XFExpandableListView
src/Sample/XFExpandableListViewSample/Models/Fruits/FruitGroup.cs
687
C#
namespace GF.UCenter.SDK.AppClient { using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using Common.Portable.Models.AppClient; using Common.Portable.Models.Ip; using Common.SDK; /// <summary> /// Provide a UCenter client class. ...
36.578947
120
0.574964
[ "MIT" ]
lichunlincn/GF.UCenter
GF.UCenter.SDK.AppClient/UCenterClient.cs
6,952
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Northwind.Entity.Base; using Northwind.Entity.Dto; using Northwind.Entity.IBase; using Northwind.Entity.Models; using Northwind.Interface; using Northwind.WebApi.Base; using System; using System.Collections...
29.020833
96
0.63173
[ "MIT" ]
142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-corskaya
Northwind.WebApi/Controllers/CustomerController.cs
1,395
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Xml; namespace ILR { public class LearnerContact : ChildEntity, IDataErrorInfo { #region Accessors public override bool IsComplete { get ...
34.991803
235
0.587491
[ "MIT" ]
SkillsFundingAgency/ILR-Learner-Entry
ILR Learner Entry 1516/ILR/LearnerContact.cs
4,271
C#
namespace Yorozu.ComponentTween { public enum EaseType { Linear, InSine, OutSine, InOutSine, InQuad, OutQuad, InOutQuad, InCubic, OutCubic, InOutCubic, InQuart, OutQuart, InOutQuart, InQuint, OutQuint, InOutQuint, InExpo, OutExpo, InOutExpo, InCirc, OutCirc, InOutCirc, In...
11.487179
31
0.676339
[ "MIT" ]
yayorozu/UnityComponentTween
Script/Ease/EaseType.cs
448
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...
34.228261
167
0.647825
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/Internal/MarshallTransformations/ActivityTaskStatusUnmarshaller.cs
3,149
C#
using Microsoft.AspNetCore.Mvc.ModelBinding; namespace AspNetCoreHero.Boilerplate.Web.ViewModels.Authorization { public class LogoutViewModel { [BindNever] public string RequestId { get; set; } } }
20.727273
65
0.70614
[ "MIT" ]
dbriman/openiddict
AspNetCoreHero.Boilerplate.Web/ViewModels/Authorization/LogoutViewModel.cs
230
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("Un...
37.648649
84
0.743001
[ "MIT" ]
bedasa/UnoCustomer
Uno/Uno.Domain/Properties/AssemblyInfo.cs
1,396
C#
namespace MassTransit.GrpcTransport { using System.Collections.Generic; using Fabric; public interface IGrpcHostNode : IGrpcNode { TopologyHandle AddTopology(Contracts.Topology topology, TopologyHandle handle = default); IEnumerable<Contracts.Topology> GetTopology(); } }
21.266667
97
0.708464
[ "ECL-2.0", "Apache-2.0" ]
sinch/MassTransit
src/Transports/MassTransit.GrpcTransport/GrpcTransport/IGrpcHostNode.cs
319
C#
namespace TestApp.Migrations { using System; using System.Data.Entity.Migrations; public partial class _4 : DbMigration { public override void Up() { AddColumn("dbo.Categories", "Coef", c => c.Double(nullable: false)); } public override void Down...
21.105263
80
0.53616
[ "MIT" ]
Legendar11/AdaptiveDifficultyTest
TestApp/Migrations/201803201040167_4.cs
401
C#
// ZipDirEntry.cs // ------------------------------------------------------------------ // // Copyright (c) 2006-2011 Dino Chiesa . // All rights reserved. // // This code module is part of DotNetZip, a zipfile class library. // // ------------------------------------------------------------------ // // This code is li...
42.282116
145
0.486358
[ "Apache-2.0" ]
Acidburn0zzz/DotNetZip.Semverd
src/Zip.Shared/ZipDirEntry.cs
16,786
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.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; using Microsoft...
42.261682
188
0.629589
[ "Apache-2.0" ]
JensYvanDeCraecker/Extensions
src/Logging/Logging.Testing/src/LoggedTest/LoggedTestBase.cs
4,522
C#
using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.STUN.Client { /// <summary> /// Specifies UDP network type. /// </summary> public enum STUN_NetType { /// <summary> /// UDP is always blocked. /// </summary> UdpBlocked, ...
39.05
106
0.618011
[ "MIT" ]
garakutanokiseki/Join.NET
LumiSoftNet/Net/STUN/Client/STUN_NetType.cs
2,343
C#
using System; using System.Collections.Generic; namespace WeShare.Web.Data { public partial class User { public User() { CanalUser = new HashSet<CanalUser>(); ComunidadeVideo = new HashSet<ComunidadeVideo>(); InscritosCanal = new HashSet<InscritosCanal>(); ...
43
81
0.627907
[ "MIT" ]
xEvilCorp/We.Share
Data/User.cs
2,238
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Shopers.API.Classes; using Shopers.API.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Shopers.API.Controllers { [ApiVersion("1.0")] [R...
29.353448
107
0.544787
[ "MIT" ]
aravind666/aspdotnet_versioning
Shopers.API/Controllers/ProductsV1_0Controller.cs
3,407
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class I410Map : X12LayoutMap<I410, X12Entity> { public I410Map() { Id = "I410"; Name = "410 Rail Carrier Freight Details and Invoice"; Segment(x ...
23.65
66
0.541226
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/Maps/I410Map.cs
473
C#
using System; using System.Linq; class Altitude { static void Main() { string[] inputCommand = Console.ReadLine().Split(' ').ToArray(); double altitude = double.Parse(inputCommand[0]); for (int i = 1; i < inputCommand.Length - 1; i += 2) { if (inputCommand[i].Equa...
22.973684
84
0.451317
[ "MIT" ]
Peter-Georgiev/Programming.Fundamentals
ArraysAndMethods-Exercises/17.Altitude/Altitude.cs
875
C#
using System; namespace WebApplication1.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
20.272727
71
0.64574
[ "MIT" ]
Bhaskers-Blu-Org2/MLFlow.NET
samples/web/WebApplication1/Models/ErrorViewModel.cs
223
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Diagnostics.CodeAnalysis; namespace DotVVM.Framework.Configuration { static class FreezableList { public static void Freeze<T>([AllowNull] ref IList<T> list) { if (list is Free...
27.457447
95
0.534289
[ "Apache-2.0" ]
AlexanderSemenyak/dotvvm
src/Framework/Framework/Configuration/FreezableList.cs
2,581
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerStats : MonoBehaviour { public HUDManager hud; public GameManager manager; private Animator anim; private PlayerMovement movement; void Awake() { anim = gameObject.t...
27.25974
87
0.572177
[ "MIT" ]
ronyaguilar09/Ghost-Labyrinth
Ghost Labyrinth/Assets/Scripts/Player/PlayerStats.cs
2,101
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Debugger.Evaluation; using Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation; using System.Collections.ObjectModel; using...
41.449074
200
0.57746
[ "Apache-2.0" ]
AArnott/roslyn
src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/DebuggerTypeProxyExpansion.cs
8,953
C#
using System.Collections.Generic; using Bytes2you.Validation; using MAutoSS.Data.Repositories.Contracts; using MAutoSS.DataModels; using MAutoSS.Services.Contracts; namespace MAutoSS.Services { public class CarFeaturesService : ICarFeaturesService { private readonly IGenericRepository<CarFeature> ca...
25.034483
84
0.695592
[ "MIT" ]
transactionCompleteDB/MAutoSS
MAutoSS/MAutoSS.Services/CarFeaturesService.cs
728
C#
using System; using System.Windows.Markup; using mathview.Expressions; using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using mathview.Parsers.LaTeX; namespace mathview.View { public class MathView : UserControl { #region Source Prope...
25.182927
78
0.610169
[ "Unlicense" ]
yanzixiang/YZX.RTA
YZX.RTA/mathview/wpf/bak/mathview.xaml.cs
2,067
C#
// Copyright (c) Giovanni Lafratta. All rights reserved. // Licensed under the MIT license. // See the LICENSE file in the project root for more information. using Novacta.Analytics.Infrastructure; using Novacta.Analytics.Tests.TestableItems.Matrices; using Novacta.Analytics.Tests.Tools; using System; namespace Nov...
36.568182
98
0.620261
[ "MIT" ]
Novacta/analytics
tests/Novacta.Analytics.Tests/TestableItems/Covariance/OnRowsUnadjustableCovariance.cs
1,611
C#
using System.Threading.Tasks; using Splitnab.Model; namespace Splitnab { /// <summary> /// Interface to get the required information from YNAB for Splitnab /// </summary> public interface IGetYnabInfoOperation { /// <summary> /// Invoke the operation to fetch the necessary YNAB inf...
31
96
0.648557
[ "MIT" ]
chriskopher/splitnab
src/Splitnab/IGetYnabInfoOperation.cs
591
C#
using Armut.Iterable.Client; using Armut.Iterable.Client.Contracts; using Armut.Iterable.Client.Core; using Microsoft.Extensions.DependencyInjection; using System; using System.Net.Http; namespace Sample.Client.DependencyInjection { public class DependencyFactory { public static readonly DependencyFac...
31.454545
84
0.536416
[ "MIT" ]
akselarzuman/iterable-client-dotnet
sample/Sample.Client/DependencyFactory.cs
1,732
C#
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
41.279412
153
0.620591
[ "MIT" ]
azurechamp/UWPCommunityToolkit
Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.Placeholder.cs
2,813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using cadastrocidades.Repository.Data.Persistencia; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.E...
28.764706
82
0.658487
[ "MIT" ]
Rafael-Prado/GrifonBrasil
CadastroCidades.Api/CadastroCidades.Api/Program.cs
978
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Trainsys { class Program { static void Main(string[] args) { dbdata dbgps = new dbdata(); dbgps.gpsdata(0, 0); dbgps.gpsdata(69, 69); } } }
15.75
40
0.549206
[ "BSD-3-Clause" ]
jpnevrones/GPS-GSM-based-Real-time-Train-Tracking-System
Trainsys/Program.cs
317
C#
using System; using System.Linq; using System.ComponentModel.Composition; using System.Waf.Applications; using System.Windows; using System.Windows.Controls; using Waf.InformationManager.EmailClient.Modules.Applications.Views; using Waf.InformationManager.EmailClient.Modules.Applications.ViewModels; using Syst...
35.777778
132
0.624224
[ "MIT" ]
DotNetUz/waf
src/System.Waf/Samples/InformationManager/EmailClient.Modules.Presentation/Views/EmailListView.xaml.cs
1,934
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.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; usi...
43.275096
155
0.57754
[ "Apache-2.0" ]
Wrank/EntityFrameworkCore
src/EFCore/Query/Internal/ExpressionPrinter.cs
56,474
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.DotNet.Interactive.Telemetry { public class Applicat...
36.705882
128
0.668269
[ "MIT" ]
AngelusGi/interactive
src/Microsoft.DotNet.Interactive.Telemetry/ApplicationInsightsEntryFormat.cs
1,250
C#
using OpenQA.Selenium; using SeleniumDotNetTemplate.Shared; namespace SeleniumDotNetTemplate.HCC.Pages { public abstract class HCCBasePage : BasePage { #region elements private static readonly By Logo = By.XPath("//a[@class='title']/b[text()='Home Cost Calculators']"); #endregion ...
23.125
108
0.627027
[ "MIT" ]
jordnkr/SeleniumDotNetTemplate
HCC/Pages/HCCBasePage.cs
557
C#
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either versi...
35.862857
106
0.445188
[ "Apache-2.0" ]
WPG/Cube.Pdf
Libraries/Itext/Sources/Details/ReaderFactory.cs
6,278
C#
using System; using UnityEngine; namespace UniRx.Examples { public class Sample04_ConvertFromUnityCallback : MonoBehaviour { // This is about log but more reliable log sample => Sample11_Logger private class LogCallback { public string Condition; pub...
34.80303
145
0.538093
[ "Apache-2.0" ]
lorenchorley/StrangeIoC-Updated
Assets/Examples/Scripts/Rx/UniRx/Sample04_ConvertFromUnityCallback.cs
2,297
C#
using PipBenchmark.Runner.Execution; using PipBenchmark.Utilities; namespace PipBenchmark.Runner.Config { public class NumberOfThreadsParameter : Parameter { private BenchmarkProcess _process; public NumberOfThreadsParameter(BenchmarkProcess process) : base( "Gener...
27.222222
83
0.612245
[ "MIT" ]
pip-benchmark/pip-benchmark-dotnet
src/PipBenchmark.NetStandard16/Runner/Config/NumberOfThreadsParameter.cs
737
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 06.12.2021. using System; using System.Data; using System.Globalization; using System.Threading; using System.Compon...
25.10625
126
0.528504
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Add/Complete/DateOnly/String/TestSet_504__param.cs
4,019
C#
using P01_HospitalDatabase.Data; using P01_HospitalDatabase.Data.Models; using System; namespace HospitalStartUp { public class Program { static void Main() { //Installed Microsoft.EntityFrameworkCore.Tools var dbContext = new HospitalContext(); using (dbCon...
21.2
59
0.582547
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
06.Code First/P01,P02_HospitalDatabase/HospitalStartUp/StartUp.cs
426
C#
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2013 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the camera's field of view. /// </summary> [RequireComponent(typeof(Camera))] [AddComponent...
22.389831
104
0.60863
[ "MIT" ]
Camiloasc1/UnityPinball
Assets/NGUI/Scripts/Tweening/TweenFOV.cs
1,323
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Net; namespace Leaf.xNet { internal delegate void ProgressDelegate(long bytes, long totalBytes, long totalBytesExpected); // ReSharper disable once UnusedMember.Global internal class ProgressStreamContent : ...
31.676923
128
0.576493
[ "MIT" ]
YungSamzy/SimpsLib
Web/~Internal/ProgressStreamContent.cs
6,179
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...
31.833333
131
0.644561
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/trafficmanager/Microsoft.Azure.Management.TrafficManager/src/Generated/Models/MonitorProtocolConverter.cs
1,719
C#
using System; using System.IO; using System.Linq; using System.Xml.Linq; using Mono.Cecil; using NUnit.Framework; using Xamarin.Android.Tasks; using Xamarin.ProjectTools; using Xamarin.Tools.Zip; using Microsoft.Android.Build.Tasks; namespace Xamarin.Android.Build.Tests { [TestFixture] [NonParallelizable] // On MacO...
42.033784
349
0.684906
[ "MIT" ]
azyobuzin/xamarin-android
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/XASdkTests.cs
31,105
C#
// // Photo.cs // // Author: // Scott Peterson <lunchtimemama@gmail.com> // // Copyright (c) 2009 Scott Peterson // // 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 restr...
32.738095
86
0.664364
[ "MIT" ]
Silvenga/Mono.Upnp
src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.AV/Photo.cs
2,750
C#
using IdentityServer4.Events; using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer4.Services; using IdentityServer4.Stores; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using OpenPerpetuum.Core.Foundation.Processing; using...
32.957143
232
0.749747
[ "Apache-2.0" ]
OpenPerpetuum/APIv2
src/OpenPerpetuum.IdentityServer/Controllers/ConsentController.cs
6,923
C#
using System.Reflection; 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("awesomeapp.spaf")] [assembly: AssemblyDes...
38.942857
84
0.741746
[ "MIT" ]
markjackmilian/spaf101
spaf101/awesomeapp.spaf/Properties/AssemblyInfo.cs
1,366
C#
// <copyright file="GuildMember.Generated.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> //------------------------------------------------------------------------------ // <auto-generated> // This source code was auto-ge...
24.350877
124
0.560519
[ "MIT" ]
ADMTec/OpenMU
src/Persistence/BasicModel/GuildMember.Generated.cs
1,388
C#
namespace ContactsSync { public static class GraphConstants { // Defines the permission scopes used by the app public readonly static string[] Scopes = { "User.Read", "MailboxSettings.Read", "Calendars.ReadWrite", "Contacts.ReadWrite" ...
22.333333
56
0.549254
[ "Apache-2.0" ]
Corliss-Dukes/ContactsSync
ContactsSync/ContactsSync/Graph/GraphConstants.cs
337
C#
using System; using System.Linq; using System.Xml.Linq; using System.Collections.Generic; using TextMining.Core; using TextMining.Service; namespace OpinionMining { using OpinionMining.DirectIndirectSpeechExtensions; /* separator1 ::= < <U> - </U> > */ internal static class se...
24.519231
111
0.564706
[ "MIT" ]
elzin/SentimentAnalysisService
Sources/TextMining/OpinionMining/Implementation/OpinionMining.WcfService/OpinionMining/separators.cs
1,281
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClaLibFwork { public class Class1 { } }
14.769231
34
0.6875
[ "MIT" ]
byrne8783/controlled
someComparisons/ClaLibFwork/Class1.cs
194
C#
/* ********************************************************************* * This Source Code Form is copyright of 51Degrees Mobile Experts Limited. * Copyright © 2017 51Degrees Mobile Experts Limited, 5 Charlotte Close, * Caversham, Reading, Berkshire, United Kingdom RG4 7BY * * This Source Code Form is the...
33.429907
106
0.506011
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
51Degrees/.NET-Device-Detection
FoundationV3/Mobile/Detection/Entities/NodeIndex.cs
7,161
C#
using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; namespace FeedBuilder { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> pr...
51.458861
163
0.625023
[ "MIT" ]
Apprentice-doa/result_and_transcript_system
desktop_src/result_and_transcript_system/eUpdater/NAppUpdate-0.5.1.0/NAppUpdate-0.5.1.0/FeedBuilder/frmMain.Designer.cs
32,522
C#