content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using RepoDb.Contexts.Execution; using RepoDb.Exceptions; using RepoDb.Extensions; using RepoDb.Interfaces; using RepoDb.Requests; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace RepoDb { ...
44.593819
196
0.519677
[ "Apache-2.0" ]
davidskula/RepoDb
RepoDb.Core/RepoDb/Operations/DbConnection/MergeAll.cs
80,806
C#
using System.Collections; using System.Collections.Generic; public class pt_ret_hero_challenge_e117 : st.net.NetBase.Pt { public pt_ret_hero_challenge_e117() { Id = 0xE117; } public override st.net.NetBase.Pt createNew() { return new pt_ret_hero_challenge_e117(); } public uint mission; public uint hp; pub...
27.622642
89
0.728825
[ "BSD-3-Clause" ]
cheng219/tianyu
Assets/Protocol/pt_ret_hero_challenge_e117.cs
1,464
C#
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy ...
37.795455
139
0.562746
[ "MIT" ]
BME-MIT-IET/iet-hf2021-gitgud
Testing/unittest/Writing/CollectionCompressionTests.cs
21,619
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using HotChocolate.Configuration; using HotChocolate.Internal; using HotChocolate.Resolvers; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Descriptors.Definitions; #nullable enable namespace HotChocolate.Types...
34.533473
100
0.563458
[ "MIT" ]
chrisketelaar/hotchocolate
src/HotChocolate/Core/src/Types/Types/Interceptors/ResolverTypeInterceptor.cs
16,507
C#
//----------------------------------------------------------------------- // <copyright file="JsonDataWriter.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ...
38.367156
190
0.529109
[ "MIT" ]
JohnMurwin/NaturalSelectionSimulation
Assets/Plugins/TileWorldCreator/Code/TileWorldCreator.OdinSerializer/Core/DataReaderWriters/Json/JsonDataWriter.cs
28,739
C#
using System.Linq; using System.Web.Mvc; using Unity.AspNet.Mvc; [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(ZPO_Projekt.UnityMvcActivator), nameof(ZPO_Projekt.UnityMvcActivator.Start))] [assembly: WebActivatorEx.ApplicationShutdownMethod(typeof(ZPO_Projekt.UnityMvcActivator), nameof(ZPO_Projekt.UnityM...
38.342105
139
0.7035
[ "MIT" ]
mskrzypecka/ZPO_Project
ZPO_Projekt/App_Start/UnityMvcActivator.cs
1,457
C#
using System.IO; namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast { public class NoexceptSpec : ParentNode { public NoexceptSpec(BaseNode child) : base(NodeType.NoexceptSpec, child) { } public override void PrintLeft(TextWriter writer) { writer.Write("noexcept("); ...
23.294118
84
0.606061
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/NoexceptSpec.cs
396
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using AutoMapper.Internal; namespace AutoMapper { using AutoMapper.Extensions.ExpressionMapping; using static Expression; internal static class ExpressionExtensions { pub...
39.56962
113
0.674664
[ "MIT" ]
hasandogu/AutoMapper.Extensions.ExpressionMapping
src/AutoMapper.Extensions.ExpressionMapping/ExpressionExtensions.cs
3,128
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...
28.877193
109
0.647023
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/TrainingData.cs
1,646
C#
using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Enterprise Organization API /// </summary> /// <remarks> /// See the <a href="https://developer.github.com/v3/enterprise/orgs/">Enterprise Organization API documentation</a> for more information. ///</rem...
38.875
142
0.651661
[ "MIT" ]
3shape/octokit.net
Octokit/Clients/Enterprise/IEnterpriseOrganizationClient.cs
935
C#
// <copyright file="BrowserStackAttribute.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.apach...
44.977011
193
0.672502
[ "Apache-2.0" ]
TRabinVerisoft/BELLATRIX
src/Bellatrix.Web/plugins/execution/Attributes/BrowserStackAttribute.cs
7,828
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PhysicsSpawner : MonoBehaviour { public GameObject cubePrefab; public GameObject tank; // Use this for initialization void CreateWall(int width, int height) { int halfw = width / 2; f...
27.611111
114
0.554326
[ "MIT" ]
Stephen2697/OOP-2017-2018
Unity/UnityIdioms/Assets/PhysicsSpawner.cs
996
C#
namespace EA.Iws.RequestHandlers.Tests.Unit.Admin.FinancialGuarantee { using System; using System.Threading.Tasks; using Domain.FinancialGuarantee; using FakeItEasy; using RequestHandlers.Admin.FinancialGuarantee; using Requests.Admin.FinancialGuarantee; using Xunit; public class Refus...
35.183099
121
0.671337
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Iws.RequestHandlers.Tests.Unit/Admin/FinancialGuarantee/RefuseFinancialGuaranteeHandlerTests.cs
2,500
C#
using System.Security.Authentication; using ReactiveXComponent.Common; namespace ReactiveXComponent.Configuration { public class ConfigurationOverrides { public string Host { get; set; } public string VirtualHost { get; set; } public string Port { get; set; } public string U...
24.181818
69
0.649123
[ "Apache-2.0" ]
xcomponent/ReactiveXComponent.Net
ReactiveXComponent/Configuration/ConfigurationOverrides.cs
800
C#
using System; using System.IO; using System.Runtime.CompilerServices; namespace Datadog.Logging.Emission { internal struct LogSourceInfo { private static string s_assemblyName = null; public string LogSourceNamePart1 { get; } public string LogSourceNamePart2 { get; } public int...
35.916084
167
0.588396
[ "Apache-2.0" ]
DataDog/dd-trace-dotnet
shared/src/managed-src/Datadog.Logging.Emission/internal/LogSourceInfo.cs
5,136
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using System.Web.Security; using System.Web.SessionState; using System.Web.Http; namespace CadeMeuMedico { public class Global : HttpApplication { void Application_Start...
26.73913
70
0.687805
[ "MIT" ]
makampos/Aplicacao_mvc
CadeMeuMedico/Global.asax.cs
617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Collections.ObjectModel; namespace Microsoft.Scripting.Utils { /// <summary> /// Caches type member lookup. /// </summary> /// <remarks> /// When enumerat...
37.3125
133
0.60603
[ "Apache-2.0" ]
ufuomaoritsemone/ironpPython1
Src/Microsoft.Dynamic/Utils/TypeMemberCache.cs
2,987
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> //--...
39.592593
151
0.582788
[ "MIT" ]
visioforge/.Net-SDK-s-samples
Video Capture SDK/_CodeSnippets/webcam-preview/Properties/Settings.Designer.cs
1,071
C#
#if !NOT_UNITY3D namespace Zenject { // For some platforms, it's desirable to be able to add dependencies to Zenject before // Unity even starts up (eg. WSA as described here https://github.com/modesttree/Zenject/issues/118) // In those cases you can call StaticContext.Container.BindX to add dependencies ...
26.219512
104
0.573023
[ "MIT" ]
AdJion/Zenject
UnityProject/Assets/Plugins/Zenject/Source/Install/Contexts/StaticContext.cs
1,075
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.638889
142
0.682177
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/V20200601Preview/Outputs/TableGetPropertiesResponseOptions.cs
1,139
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("6Exercici...
39
95
0.758143
[ "MIT" ]
danielspositocoelho/DS-EtecAlbertEinstein-Programacao_e_Algoritmos
Condicionais/6ExercicioDesvioCondicional/Properties/AssemblyInfo.cs
1,468
C#
using System; using System.IO; using System.Collections; #if FEAT_IKVM using Type = IKVM.Reflection.Type; using IKVM.Reflection; #else using System.Reflection; #endif namespace ProtoBuf.Meta { /// <summary> /// Provides protobuf serialization support for a number of types /// </summary> public abstra...
44.906949
232
0.563192
[ "Apache-2.0" ]
inquick/rxzp
Assets/protobuf-net/Meta/TypeModel.cs
74,323
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Andorra.Commemoration { /// <summary> /// Escaldes–Engordany Annual Festival /// </summary> public class EscaldesEngordanyAnnualFestival : BaseFixedHolidayFunc ...
33.90625
96
0.634101
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Andorra/Commemoration/EscaldesEngordanyAnnualFestival.cs
1,087
C#
namespace Machete.X12Schema.V5010 { using X12; public interface L2330E_837P : X12Layout { Segment<NM1> FacilityLocation { get; } SegmentList<REF> SecondaryIdentification { get; } } }
18
57
0.606838
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.X12Schema/Generated/V5010/Layouts/L2330E_837P.cs
236
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace FishSpinDays.Data.Migrations { public partial class AddDateAndLikeToComments : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<DateTime>( n...
29.044444
91
0.525631
[ "MIT" ]
hrimar/MyFirstOwnWebProject-FishSpinDays
FishSpinDays/FishSpinDays.Data/Migrations/20180820185219_AddDateAndLikeToComments.cs
1,309
C#
using System; namespace Spring.Core { public class BeforePostConstruct : Attribute { } }
12.75
48
0.676471
[ "MIT" ]
Mu-L/Tank
Assets/Spring/Core/BeforePostConstruct.cs
104
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.HtmlToPdf { using System; using System.IO; using System.Text; public class HtmlToPdfOptions { pri...
36.014493
116
0.52495
[ "MIT" ]
Algorithman/docfx
src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfOptions.cs
4,835
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Payroll { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xml...
20.675325
136
0.728015
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Payroll/Submunicipality_Information_DataType.cs
1,592
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
34
87
0.524321
[ "MIT" ]
luizerico/Comp229-2016-Assignment-01
Assignment01/Assignment01/Site.Mobile.Master.designer.cs
1,768
C#
using System; using System.Xml.Serialization; namespace AllInOne.Logic { [Serializable] public class LangItem { [XmlAttribute] public string name; [XmlText] public string value; } }
12.3125
31
0.725888
[ "Apache-2.0" ]
MrIkso/AllInOne
Logic/LangItem.cs
199
C#
using System; using System.Linq; namespace P4MaximalSum { class MaximalSum { static void Main(string[] args) { int[] matrixSizes = Console.ReadLine().Split(' ', options: StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse).ToArray(); int[,] matrix =...
30.957143
135
0.399631
[ "MIT" ]
teodortenchev/C-Sharp-Advanced-Coursework
C# Advanced/MultidimensionalArraysExercises/P4MaximalSum/MaximalSum.cs
2,169
C#
namespace TechTalk.SpecFlow.Generator.Generation { public class GeneratorConstants { public const string DEFAULT_NAMESPACE = "SpecFlowTests"; public const string TEST_NAME_FORMAT = "{0}"; public const string SCENARIO_INITIALIZE_NAME = "ScenarioInitialize"; public const string SC...
57.454545
85
0.747627
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
NorekZ/SpecFlow
TechTalk.SpecFlow.Generator/Generation/GeneratorConstants.cs
1,266
C#
using System.Collections.Generic; using System.Threading.Tasks; using GRA.Domain.Model; using GRA.Domain.Model.Filters; namespace GRA.Domain.Repository { public interface IEventRepository : IRepository<Event> { Task<int> CountAsync(EventFilter filter); Task<ICollection<Event>> PageAsync(EventF...
46.133333
86
0.730491
[ "MIT" ]
MCLD/greatreadingadventure
src/GRA.Domain.Repository/IEventRepository.cs
1,386
C#
using System; namespace Anvil.Unity.DOTS.Data { /// <summary> /// Helper methods when working with <see cref="VirtualData{TKey,TInstance}"/> /// These make it more clear what is happening when operating on <see cref="VirtualData{TKey,TInstance}"/> instances /// in a job. /// </summary> public s...
55.178082
177
0.64573
[ "MIT" ]
decline-cookies/anvil-ecs-dots-core
Scripts/Runtime/Data/VirtualData/VirtualDataExtensions.cs
4,028
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; using System.Web.Routing; using System.Web.Security; using System.Web.SessionState; namespace ForecastTool { public class Global : HttpApplication { void Application_Start(object sender,...
25.52381
62
0.705224
[ "MIT" ]
raisaurabh777/ForecastingTool
ForecastTool/ForecastTool/Global.asax.cs
538
C#
 namespace DLLInjection { using System; [AttributeUsage(AttributeTargets.Assembly)] public class AssemblyInjectedAttribute : Attribute { } public abstract class ShouldBeInjectedAttribute : Attribute { } }
15.666667
65
0.714894
[ "MIT" ]
m1stm4o/Helloworld
Assets/DLLInjection/Scripts/InjectionAttributes.cs
237
C#
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System.Collections.ObjectModel; namespace Pixytech.Desktop.Presentation.DataVisualization.Charting { ...
31.75
72
0.680315
[ "Apache-2.0" ]
Pixytech/Frameworks
Pixytech.Desktop.Presentation/DataVisualization/Charting/Series/ISeries.cs
637
C#
using System; using System.Collections; using UnityEngine; using UnityEngine.EventSystems; public class SelectOtherWhenSelected : global::UnityEngine.MonoBehaviour, global::UnityEngine.EventSystems.ISelectHandler, global::UnityEngine.EventSystems.IEventSystemHandler { public void Select(global::UnityEngine.GameObjec...
27.222222
175
0.8
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/SelectOtherWhenSelected.cs
737
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...
41.448905
182
0.620146
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/Authorizer.cs
11,357
C#
using System; using System.Windows.Forms; namespace Calculator { static class Program { /// <summary> /// アプリケーションのメイン エントリ ポイントです。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Applicatio...
21.45
66
0.536131
[ "MIT" ]
soundofhorizon/LearnC
LearnC-GUI/WindowsFormsApp1/Calculator/Program.cs
477
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 TodoApi.Data; namespace TodoApi....
32.328125
75
0.517158
[ "MIT" ]
bjornvandewalle/todo-api
Migrations/20210209183836_test.Designer.cs
2,071
C#
using System; namespace Svelto.ECS { public interface IDisposingEngine: IDisposable { bool isDisposing { set; } } }
15.111111
50
0.654412
[ "MIT" ]
Ujinjinjin/Svelto.ECS
Svelto.ECS/Core/IDisposingEngine.cs
136
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Baseline; using Baseline.Dates; using Lamar; using Microsoft.Extensions.Hosting; namespace Jasper.Tracking { public class TrackedSession : ITrackedSession { private readonly ...
27.974453
184
0.538421
[ "MIT" ]
ejsmith/jasper
src/Jasper/Tracking/TrackedSession.cs
7,665
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Skoruba.IdentityServer4.Admin.BusinessLogic.Dtos.Configuration { public class ApiScopeDto { public ApiScopeDto() { UserClaims = new List<string>(); } public bool ShowInDiscoveryDocument { get; set; } = true; publ...
21.694444
72
0.690141
[ "MIT" ]
861191244/IdentityServer4.Admin
src/Skoruba.IdentityServer4.Admin.BusinessLogic/Dtos/Configuration/ApiScopeDto.cs
783
C#
using System; using System.IO; using GoldenLlama.Cnc.Test; namespace CNCTestBoard { class Program { static void Main(string[] args) { Console.WriteLine("Generating G-Code test!"); var tester = new BackAndForthRateTester { FeedRateInitial = ...
29.911111
81
0.481426
[ "MIT" ]
Kynreuten/CNCTestBoard
Program.cs
1,348
C#
using UnityEngine; public class LookAtCamera:MonoBehaviour{ public Camera lookAtCamera; public bool lookOnlyOnAwake; public void Start() { if(lookAtCamera == null){ lookAtCamera = Camera.main; } if(lookOnlyOnAwake){ LookCamera(); } } public void Update() { if(!l...
18.28
46
0.617068
[ "Apache-2.0" ]
BeatBender/ConoctiumGold
Assets/CustomAssets/3D Particles/Scripts/LookAtCamera.cs
457
C#
#region Header // // Copyright 2003-2021 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and ...
30.333333
73
0.680708
[ "MIT" ]
BobbyCJones/RevitLookup
CS/Snoop/Data/Angle.cs
1,638
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Audio; using UnityEngine.UI; using System.Linq; public class SettingsMenu : MonoBehaviour { public AudioMixer audioMixer; public Dropdown resolutionDropdown; Resolution[] resolutions; void Start() { ...
32.736111
156
0.670344
[ "MIT" ]
DannyT115/FYP-2020-2021
VR_Simulation/Assets/Project/Scripts/SettingsMenu.cs
2,359
C#
using Ametista.Core.Entity; using Ametista.Core.Interfaces; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Ametista.Infrastructure.Persistence.Repository { public class GemstoneWriteOnlyRepository : IWriteOnlyRepository<Gemstone> { private re...
26.108696
87
0.6403
[ "MIT" ]
ivanpaulovich/cqrs-clean-eventual-consistency
src/Ametista.Infrastructure/Persistence/Repository/GemstoneWriteOnlyRepository.cs
1,203
C#
using System; using System.Threading.Tasks; using NUnit.Framework; using Shouldly; using Statiq.Testing; namespace Statiq.Common.Tests.Config { [TestFixture] public class ConfigExtensionsFixture : BaseFixture { public class GetValueAsyncTests : ConfigExtensionsFixture { [Test] ...
29.189189
127
0.488194
[ "MIT" ]
JimBobSquarePants/Statiq.Framework
tests/core/Statiq.Common.Tests/Config/ConfigExtensionsFixture.cs
4,322
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("Com...
34.733333
84
0.742802
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Official Windows Platform Sample/Windows 8 app samples/[C#]-Windows 8 app samples/C#/Windows 8 app samples/Compression sample (Windows 8)/C#/Properties/AssemblyInfo.cs
1,042
C#
using System; using System.IO; namespace EditorTexto { class Program { static void Main(string[] args) { Menu(); } static void Menu() { Console.Clear(); Console.WriteLine("O que vamos fazer hoje? :)"); Con...
30.166667
92
0.445787
[ "MIT" ]
NatanAmurim/EditorTexto
Program.cs
2,899
C#
using System; using System.Linq; using Commerce.Services; namespace Commerce.Models; public record Cart(CartItem[] Items) { public string SubTotal => "$350,97"; public string Tax => "$15,75"; public string Total => "$405,29"; }
19.5
38
0.705128
[ "Apache-2.0" ]
AndreAbrantes/uno.extensions
samples/Commerce/Commerce.Shared/Models/Cart.cs
236
C#
// using System.Collections; // using System.Collections.Generic; // using UnityEngine; // using UnityEngine.Tilemaps; // public class HighlighterMouseTile : MonoBehaviour // { // public Tilemap highlightMap; // // public Tilemap tilemap; // public TileBase highlightTile; // void Start() // ...
32.392857
88
0.632304
[ "MIT" ]
aafishman/ACID
Assets/HighlighterMouseTile.cs
1,816
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Threading; using System.Xml; using System.Globalization; using System.IO; using DigitalPlatform; using DigitalPlatform.Xml; using DigitalPlatform.OPAC.Server; using D...
34.218837
179
0.470736
[ "Apache-2.0" ]
DigitalPlatform/dp2
dp2OPAC/UserInfo.aspx.cs
12,613
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
35.5
156
0.726977
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementAndStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleHeaderGetArgs.cs
923
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
28.444444
84
0.486979
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
OneCodeTeam/Get online users in ASP.NET (CSASPNETCurrentOnlineUserList) 2/[C#]-Get online users in ASP.NET (CSASPNETCurrentOnlineUserList)/C#/CSASPNETCurrentOnlineUserList/CheckUserOnlinePage.aspx.designer.cs
770
C#
/** * CCTask * * Copyright 2012 Konrad Kruczyński <konrad.kruczynski@gmail.com> * * 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...
38.805556
117
0.763064
[ "MIT" ]
UPBIoT/renode-iot
lib/cctask/CCTask/Compilers/ICompiler.cs
1,398
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.027778
85
0.730249
[ "Apache-2.0" ]
0xh4di/myrtille
Myrtille.Web/Properties/AssemblyInfo.cs
1,408
C#
using System; using System.Globalization; using System.Windows.Data; namespace ProductManager.WPF.Presentation.Converters { public class StringFormatConverter : IValueConverter { private static readonly StringFormatConverter defaultInstance = new StringFormatConverter(); public static StringF...
29.555556
103
0.689223
[ "ECL-2.0", "Apache-2.0" ]
6bee/ntieref
samples/ProductManager/ProductManager.WPF/ProductManager.WPF.Presentation/Converters/StringFormatConverter.cs
800
C#
namespace Core3.Recoverability.Delayed.CustomPolicies { using System; using NServiceBus.Management.Retries; using NServiceBus.Unicast.Transport; class ExceptionPolicy { ExceptionPolicy() { SecondLevelRetries.RetryPolicy = MyCustomRetryPolicy; } ...
27.125
89
0.571429
[ "Apache-2.0" ]
foz1284/docs.particular.net
Snippets/Core/Core_3/Recoverability/Delayed/CustomPolicies/ExceptionPolicy.cs
1,466
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Panda.Examples.Shooter { // Manages the AI vision. public class AIVision : MonoBehaviour { public float fieldOfView = 90.0f; // Object within this angle are seen. public float closeFi...
31.395349
131
0.494568
[ "MIT" ]
auxeon/katana-utility-ai
Assets/PandaBehaviour/Examples/03_Shooter/Assets/AIVision.cs
4,052
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MedicalClinic.Models.AccountViewModels { public class LoginViewModel { [Required(ErrorMessage = "Wymagany adres e-mail.")] [EmailAddress(Error...
28.333333
75
0.667647
[ "MIT" ]
kulisdominik/MedicalClinic
MedicalClinic/Models/AccountViewModels/LoginViewModel.cs
686
C#
using System; using System.Collections.Generic; using JustAssembly.Core.DiffItems; namespace JustAssembly.Core.Comparers { abstract class BaseDiffComparer<T> where T : class { public IEnumerable<IDiffItem> GetMultipleDifferences(IEnumerable<T> oldElements, IEnumerable<T> newElements) { ...
33.306122
120
0.481618
[ "Apache-2.0" ]
Acidburn0zzz/JustAssembly
Core/JustAssembly.Core/Comparers/BaseDiffComparer.cs
3,266
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; //using S...
37.601881
143
0.551313
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Korlib/System/Marvin.cs
11,997
C#
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com using System; using System.Collections.Generic; using System.Collections.Immutable; using NetExtender.Types.Dictionaries.Interfaces; namesp...
61.725352
191
0.666857
[ "MIT" ]
Rain0Ash/NetExtender
NetExtender.Core/Types/Immutable/Dictionaries/Interfaces/IImmutableMultiDictionary.cs
8,765
C#
 namespace LaunchProgramActivity.Design { using System.Activities.Presentation.Metadata; /// <summary> /// Designer Metadata registration support /// </summary> public sealed class MyActivityLibraryMetadata2 : IRegisterMetadata { #region Public Methods /// <summary> //...
24.171429
70
0.578014
[ "MIT" ]
Caduar/RobotsForEveryone
CustomActivitiesExamples/LaunchProgram/C#/Launch.Design/MyActivityLibraryMetadata.cs
848
C#
using UIKit; namespace StickyHeaderDemo { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. UIApplication.Main(args, null, "AppDel...
21.125
82
0.704142
[ "MIT" ]
szysz3/xamarin-ios-stickyheader
StickyHeader/Main.cs
340
C#
using System; using NetOffice; namespace NetOffice.OfficeApi.Enums { /// <summary> /// SupportByVersion Office 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff863128.aspx </remarks> [SupportByVersionAttribute("Office", 12,14,15,16)] ...
28.477778
119
0.639095
[ "MIT" ]
Engineerumair/NetOffice
Source/Office/Enums/XlDataLabelPosition.cs
2,563
C#
namespace Craftsman.Builders.Tests.UnitTests { using Craftsman.Exceptions; using Craftsman.Helpers; using Craftsman.Models; using System.IO; using System.IO.Abstractions; using System.Text; public class CurrentUserServiceTestBuilder { public static void CreateTests(string solut...
32.911765
141
0.703753
[ "MIT" ]
RolandTa/craftsman
Craftsman/Builders/Tests/UnitTests/CurrentUserServiceTestBuilder.cs
2,240
C#
using System; using System.Collections.Generic; using System.Linq; using Autodesk.Revit.DB; using System.Data.SQLite; using System.IO; using System.Globalization; using Autodesk.Revit.UI; namespace Metamorphosis { internal class SnapshotMaker { private Document _doc; private Dictionary<int, Pa...
40.165217
313
0.443949
[ "MIT" ]
giobel/MetamorphosisDesktop
src/RevitFingerPrint/SnapshotMaker.cs
23,097
C#
using GoogleTranslate.Common.Models; namespace GoogleTranslate.Common; /// <summary> /// Converting url for google translate /// </summary> public interface IConvertHtml { /// <summary> /// Converting html to another format, because Google translate begin translate html tags /// </summary> /// <para...
35.434783
103
0.699387
[ "Apache-2.0" ]
dmitry575/GoogleTranslate
src/Common/IConvertHtml.cs
817
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("13. Stateless")] [assembly: AssemblyDescri...
37.638889
84
0.741697
[ "MIT" ]
pirocorp/CSharp-Fundamentals
14. Strings and Text Processing - Exercises/13. Stateless/Properties/AssemblyInfo.cs
1,358
C#
using AutoPoco.Configuration; using AutoPoco.KCL.DataSources; namespace AutoPoco.KCL.Conventions { public class RandomNullableDateTimeConvention : ITypePropertyConvention { #region ITypePropertyConvention Members public void Apply(ITypePropertyConventionContext context) { context.SetSource<RandomNullableDa...
24
81
0.797348
[ "MIT" ]
KCL5South/KCLAutoPoco
AutoPoco.KCL/Conventions/RandomNullableDateTimeConvention.cs
528
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
28.807692
89
0.682243
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/Inputs/GetComputeInstanceSchedulingPolicyArgs.cs
749
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; #pragma warning disable CA1001 namespace CommunityToolkit.Common.Deferr...
35.655172
199
0.686654
[ "MIT" ]
Avid29/dotnet
CommunityToolkit.Common/Deferred/DeferredEventArgs.cs
2,068
C#
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; //옵션 중 사운드 관련 옵션 관리 namespace Kupa { public class Option_Sound : MonoBehaviourUI { //엔진에서 마우스로 끌어서 참조하는 부분을 최소화. 스크립트에서 대부분 처리하도록 [SerializeField] privat...
33.308108
242
0.588121
[ "MIT" ]
jab724/Kupa3DRPG
Kupa3DRPG_SRC/Assets/01. Scripts/Option/Option_Sound.cs
6,314
C#
using AElf.Contracts.Parliament; using AElf.Kernel.SmartContract.Application; using AElf.Kernel.SmartContract.ExecutionPluginForMethodFee.FreeFeeTransactions; using AElf.Types; namespace AElf.Kernel.SmartContract.ExecutionPluginForProposal { public class ParliamentContractChargeFeeStrategy : IChargeFeeStrategy ...
36.142857
115
0.761858
[ "MIT" ]
booggzen/AElf
src/AElf.Kernel.SmartContract.ExecutionPluginForProposal/ParliamentContractChargeFeeStrategy.cs
1,012
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. // Dummy implementations of non-portable interop methods that just throw PlatformNotSupportedException using System...
33.362445
115
0.661126
[ "MIT" ]
AlexejLiebenthal/coreclr
src/System.Private.CoreLib/src/System/Runtime/InteropServices/NonPortable.cs
7,640
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using PostgreKeyRotation.Models; using Refit; using System.Threading.Tasks; namespace PostgreKeyRotation.IntegrationTests { public interface IPostgreKeyRotationService { [Get("/postgresql/")] Task<PostgreSQLConnectResu...
21.875
55
0.737143
[ "MIT" ]
GreatHonda/aks-postgre-keyrotation
PostgreKeyRotation/PostgreKeyRotation.IntegrationTests/IPostgreKeyRotationService.cs
352
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using Bam.Net.Data; namespace Bam.Net.Services.DataReplication.Data.Dao { public class SaveOperationCollection: DaoCollection<SaveOperationColumns, SaveOperation> { public SaveOperationCollection(...
51.684211
148
0.755601
[ "MIT" ]
BryanApellanes/bam.net.shared
Services/DataReplication/Data/Generated_Dao/SaveOperationCollection.cs
982
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RedFolder.Blog.Markdown.Transformers { public interface ITransformer { string TransformMarkdown(JObject meta, string markdown); } }
20.533333
64
0.762987
[ "MIT" ]
Red-Folder/red-folder.com
src/Red-Folder.Blog.Markdown/Transformers/ITransformer.cs
310
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Internal.Messages.Core.Models.Domain; using Internal.Messages.Core.Models.ResourceParameters; using Internal.Messages.Repository.Data; using Internal.Messages.Repository.Repositories; using Internal.Messages.TestUtili...
35.241993
123
0.50409
[ "MIT" ]
DustinChristians/internal-messages-domain
Internal.Messages/Tests/Internal.Messages.UnitTests/Repositories/UserRepositoryTests.cs
9,903
C#
using System; using System.Collections.Generic; using System.Reflection; namespace NCop.Core.Runtime { public interface IRuntimeSettings { IEnumerable<Type> Types { get; } IEnumerable<Assembly> Assemblies { get; } } }
19.076923
49
0.689516
[ "MIT" ]
sagifogel/NCop
NCop.Core/Runtime/IRuntimeSettings.cs
250
C#
using System; using System.Collections.Generic; using FubuCore; using FubuMVC.Core.Behaviors.Conditional; using FubuMVC.Core.Registration.Diagnostics; using FubuMVC.Core.Registration.Nodes; using FubuMVC.Core.Registration.ObjectGraph; using FubuMVC.Core.Runtime.Conditionals; using FubuMVC.Core.Security; using ...
30.152866
87
0.583861
[ "Apache-2.0" ]
DovetailSoftware/fubumvc
src/FubuMVC.Tests/Registration/Diagnostics/BehaviorNodeTracingMechanicsTester.cs
4,734
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Content.Server.GameObjects.EntitySystems.DoAfter; using Content.Shared.Audio; using Content.Shared.GameObjects.Components.Interactable; using Content.Shared.GameObjects.EntitySystems; using Content.Shared.GameObjects.EntitySystems.Actio...
32.939597
160
0.569071
[ "MIT" ]
LetterN/space-station-14
Content.Server/GameObjects/Components/Interactable/ToolComponent.cs
4,908
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...
32.691057
165
0.611788
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/ImportInstanceRequest.cs
4,021
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OCM.API.Common.Model.Extended { public class GeocodingResult { public int AddressInfoID { get; set; } public bool ResultsAvailable { get; set; } public string S...
27.347826
50
0.6407
[ "MIT" ]
cybersol795/ocm-system
API/OCM.Net/OCM.API.Model/Extended/GeocodingResult.cs
631
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.Net.Test.Common; using System.Threading; using System.Threading.Tasks; using Xunit; using Xunit.Abstrac...
42.004866
158
0.559893
[ "MIT" ]
cydhaselton/cfx-android
src/System.Net.Sockets/tests/FunctionalTests/AcceptAsync.cs
17,264
C#
using System.Numerics; using Esprima.Ast; namespace Esprima { public enum TokenType { BooleanLiteral, EOF, Identifier, Keyword, NullLiteral, NumericLiteral, Punctuator, StringLiteral, RegularExpression, Template, BigIntLi...
22
44
0.521739
[ "BSD-3-Clause" ]
dungjk/esprima-dotnet
src/Esprima/Token.cs
1,520
C#
using AutoMapper; using supermarketapi.Domain.Models; using supermarketapi.Domain.Models.Queries; using supermarketapi.Extensions; using supermarketapi.Resources; namespace supermarketapi.Mapping { public class ModelToResourceProfile : Profile { public ModelToResourceProfile() { Cre...
29.958333
101
0.659249
[ "MIT" ]
ricardocosta21/deliveryAPI
Mapping/ModelToResourceProfile.cs
719
C#
using FestivalManager.Entities.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FestivalManager.Entities.Sets { public abstract class Set : ISet { private List<IPerformer> performers = new List<IPerformer>(); private List<ISong> songs ...
23.987179
126
0.519508
[ "MIT" ]
sevgin0954/SoftUni-Projects
C# OOP Advanced/Exam - 22 April 2018/FestivalManager/Entities/Sets/Set.cs
1,873
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AimScale : MonoBehaviour { public float minSize = 0.05f; public float maxSize = 1f; public float shrinkSpd = 0.5f; // Use this for initialization void Start () { } // Update is called once per frame void U...
27.333333
148
0.690549
[ "MIT" ]
Ashment/TetrisFall
Assets/Scripts/AimScale.cs
658
C#
using LibGit2Sharp; using System; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization.Formatters; using System.Text.RegularExpressions; namespace PRFinder { class Program { static readonly Regex IsMergePRCommit = new Regex(@"^Merge pull request #(\d+) from"); static...
36.354167
128
0.511175
[ "Apache-2.0" ]
RikkiGibson/roslyn-tools
src/RoslynInsertionTool/PRFinder/Program.cs
3,492
C#
/*Write a program that reads the coefficients a, b and c of a quadratic * equation ax2 + bx + c = 0 and solves it (prints its real roots).*/ using System; using System.Globalization; using System.Threading; class QuadraticEquation { static void Main() { Thread.CurrentThread.CurrentCulture = Culture...
28.75
79
0.517391
[ "MIT" ]
mimiem/CSharp-Part1
ConsoleInputOutput/QuadraticEquation/QuadraticEquation.cs
1,152
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...
36.914286
84
0.748452
[ "MIT" ]
Samples-Playgrounds/Samples.Xamarin.Forms
diverse/forum-samples/beta-users/Spin2Win/Spin2Win.Android/Properties/AssemblyInfo.cs
1,295
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FirstAid_Step12 : BasicStep { public GameObject mouthTrigger; public void Start() { mouthTrigger.SetActive(false); } void Update() { if (this.IsActivated && LiamInteraction.instance.mo...
19.205882
73
0.624809
[ "MIT" ]
y3lousso/UQAC_Int3D_VR
Assets/Scripts/FirstAids/Steps/FirstAid_Step12.cs
655
C#
namespace Affecto.AuditTrail.Interfaces.Model { public interface IAuditTrailTextFilterParameter { AuditTrailTextFilterOperator FilterOperator { get; set; } string FilterValue { get; set; } } }
27.625
65
0.710407
[ "MIT" ]
affecto/dotnet-AuditTrailService
AuditTrail.Interfaces/Model/IAuditTrailTextFilterParameter.cs
223
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SharpDX.Direct3D11; using SharpDX; using System.Diagnostics; namespace Capture.Hook.DX11 { public class DXImage : Component { Device _device; DeviceContext _deviceContext; Texture2D _tex; ...
30.736842
195
0.549658
[ "MIT" ]
Dwedit/NvidiaOptimusFixer
Capture/Hook/DX11/DXImage.cs
3,506
C#
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("tinyrowgame.Droid")] [assembly: AssemblyDescription("")] [assembly: AssemblyC...
36.428571
82
0.745098
[ "MIT" ]
matst80/TinyRowGame
src/xamarin-client/Droid/Properties/AssemblyInfo.cs
1,022
C#