content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过下列特性集 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("HttpInterface")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assem...
25.861111
56
0.727175
[ "MIT" ]
lfpei/PersonalWeb
PersonalWeb/HttpInterface/Properties/AssemblyInfo.cs
1,311
C#
using Flunt.Notifications; using Flunt.Validations; namespace BaltaStore.Domain.StoreContext.ValueObjects { public class Email : Notifiable { public Email(string address) { Address = address; AddNotifications(new Contract() .Requires() ....
22.04
71
0.553539
[ "MIT" ]
renebentes/BaltaStore
BaltaStore.Domain/StoreContext/ValueObjects/Email.cs
555
C#
using System.Threading.Tasks; using OrchardCore.ContentManagement.Metadata.Models; using OrchardCore.ContentTypes.Editors; using OrchardCore.DisplayManagement.Views; using OrchardCore.Spatial.Fields; using OrchardCore.Spatial.Settings; namespace OrchardCore.Spatial.Drivers { public class GeoPointFieldSettingsDrive...
35.7
148
0.745098
[ "BSD-3-Clause" ]
CityofSantaMonica/OrchardCore
src/OrchardCore.Modules/OrchardCore.Spatial/Drivers/GeoPointFieldSettingsDriver.cs
1,071
C#
// ChooseKeyProviderForm.cs // Copyright (C) 2018 Kinsey Roberts (@kinzdesign), Weatherhead School of Management (@wsomweb) // 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 Softwa...
39.45679
172
0.682728
[ "MIT" ]
wsomweb/WebConfigEncrypt
WebConfigEncrypt/ChooseKeyProviderForm.cs
3,198
C#
using System; using UnityEngine; namespace WizardsCode.Controller { /// <summary> /// Camera Controller interface used to ensure that camera controllers are interchangeable across /// proejects. Pull all common method descriptors up into this interface to make them available /// across all camera con...
41.954545
102
0.657638
[ "Apache-2.0" ]
3dtbd/Common
Assets/OpenSourceCommon/Scripts/Controller/AbstractCameraController.cs
1,848
C#
using System; using System.Net; namespace KcpSharp.ThroughputBanchmarks { internal abstract class UdpSocketDispatcherOptions<T> where T : class, IUdpService { public virtual TimeSpan KeepAliveInterval => TimeSpan.FromMinutes(1); public virtual TimeSpan ScanInterval => TimeSpan.FromMinutes(2); ...
31
88
0.739785
[ "MIT" ]
yigolden/KcpSharp
tests/KcpSharp.ThroughputBanchmarks/UdpServerDispatcherOptions.cs
467
C#
using OrchardCore.Modules.Manifest; [assembly: Module( Name = "Tubumu.Modules.Admin", Author = "Alby", Website = "https://blog.tubumu.com", Version = "1.0.0", Description = "Tubumu admin module." )]
22.1
40
0.633484
[ "MIT" ]
albyho/Tubumu
src/Tubumu.Modules.Admin/Manifest.cs
223
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using NetOffice; using NetOffice.Attributes; using NetOffice.Exceptions; namespace NetOffice.VisioApi.Behind.EventContracts { /// <summary> /// Default implementation of <see cr...
30.011765
141
0.647981
[ "MIT" ]
igoreksiz/NetOffice
Source/Visio/Behind/Events/ERow.cs
2,553
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. #nullable disable using Roslyn.Test.Utilities; using Xunit; using Xunit.Abstractions; namespace Microsoft.CodeAna...
49.697793
112
0.287305
[ "MIT" ]
Acidburn0zzz/roslyn
src/Compilers/CSharp/Test/Syntax/Parsing/LambdaParameterParsingTests.cs
29,274
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("Arr...
38.27027
84
0.749294
[ "MIT" ]
IvanVillani/Coding
C#/coding/ListsExercises/ArrayManipulation/Properties/AssemblyInfo.cs
1,419
C#
using System; using System.Management.Automation; using Microsoft.SharePoint.Client; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; using OfficeDevPnP.PowerShell.Commands.Base.PipeBinds; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommon.Add, "SPOFieldToContentType")] [CmdletHelp("Adds an ...
33.666667
160
0.525133
[ "Apache-2.0" ]
iratherscribble/OfficeDevPnP
Solutions/PowerShell.Commands/Commands/ContentTypes/AddFieldToContentType.cs
2,628
C#
using System; namespace ConsoleApp { class Program { static void Main(string[] args) { Console.WriteLine("Gra za Duzo za Malo"); //1. Komputer losuje #region losowanie var los = new Random(); // Tworze obiekt tupu random int wylosowa...
26.095238
91
0.453467
[ "MIT" ]
Damiancie24/zgadywanka
Zgadywanka/ConsoleApp/Program.cs
2,202
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Slb { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::SLB::DomainExtension`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-slb.DomainExtensionProps")] publ...
39.86
184
0.596588
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Slb/AlibabaCloud/SDK/ROS/CDK/Slb/DomainExtensionProps.cs
1,993
C#
namespace ClassLib005 { public class Class010 { public static string Property => "ClassLib005"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib005/Class010.cs
120
C#
using advent.Enums._2020; using advent.Extensions; using System.Collections.Generic; using System.Linq; namespace advent.Models._2020 { public class TicketReader { public TrainRuleset Ruleset { get; } public IList<TrainTicket> Tickets { get; } public TrainTicket MyTicket { get; } ...
27.154545
71
0.429528
[ "MIT" ]
aethercowboy/advent
advent/Models/2020/TicketReader.cs
2,989
C#
using System; using System.Numerics; using CoreEngine.Collections; namespace CoreEngine.Rendering.Components { public partial struct CameraComponent : IComponentData { public Vector3 EyePosition { get; set; } public Vector3 LookAtPosition { get; set; } public ItemIdentifier Camera { ge...
20.947368
58
0.660804
[ "MIT" ]
tdecroyere/CoreEngine
src/CoreEngine/Rendering/Components/CameraComponent.cs
398
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using Parquet.Data; using Parquet.Data.Rows; using Xunit; namespace Parquet.Test.Rows { public class RowsModelTest : TestBase { #region [ Flat Tables ] [Fact] public void Flat_add_valid_...
30.93311
543
0.520705
[ "MIT" ]
AiimiLtd/parquet-dotnet
src/Parquet.Test/Rows/RowsModelTest.cs
18,500
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Transactions; using Abp.Auditing; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Dependency; usi...
42.306011
183
0.578985
[ "MIT" ]
12321/aspnetboilerplate
src/Abp.ZeroCore/Authorization/AbpLoginManager.cs
15,486
C#
using CloudinaryDotNet.Actions; using NUnit.Framework; using System.Threading.Tasks; namespace CloudinaryDotNet.IntegrationTest.UploadApi { public class DestroyMethodsTest : IntegrationTestBase { [Test] public void TestDestroyRaw() { var uploadResult = UploadTestRawResource...
29.622222
118
0.648912
[ "MIT" ]
jordansjones/CloudinaryDotNet
Shared.IntegrationTests/UploadApi/DestroyMethodsTest.cs
1,335
C#
using System; using System.Collections; using System.Collections.Generic; using Xunit; using System.Linq; using System.Linq.Expressions; using Marten.Services; using Marten.Linq; using Marten.Schema; namespace Marten.Testing.Linq { public class SimpleNotEqualsParserTests : DocumentSessionFixture<NulloIdentityMap> {...
33.1133
133
0.690717
[ "MIT" ]
Crown0815/marten
src/Marten.Testing/Linq/SimpleNotEqualsParserTests.cs
6,724
C#
using System; using Microsoft.AspNet.Identity; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.OAuth; using Owin; using FreeBird.Infrastructure.Core; using FreeBird.Infrastructure.OAuth; using SimpleSSO.Code.OAuth; using static SimpleSSO.Setting; namespace SimpleSSO { pu...
31.452381
92
0.678274
[ "Apache-2.0" ]
stonysong/SimpleSSO
src/SimpleSSO/App_Start/Startup.Auth.cs
1,575
C#
using esencialAdmin.Data.Models; using System; using System.Linq; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Identity; using esencialAdmin.Data; using esencialAdmin.Models.EmployeeViewModels; using System.Collections.Generic; namespace esencialAdmin.Services { publ...
38.612069
206
0.524671
[ "Apache-2.0" ]
Che4ter/PAWI
src/esencialAdmin/Services/EmployeeService.cs
8,960
C#
using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; using Timeline.Models; namespace Timeline.Formatters { /// <summary> /// Formatter that reads body as byte data. /// </summa...
36.482759
126
0.594833
[ "MIT" ]
crupest/Timeline
BackEnd/Timeline/Formatters/ByteDataInputFormatter.cs
3,176
C#
using AnnoSavegameViewer.Serialization.Core; using System.Collections.Generic; namespace AnnoSavegameViewer.Structures.Savegame.Generated { public class LogisticNodeTransporters { [BinaryContent(Name = "None", NodeType = BinaryContentTypes.Attribute)] public List<object> None { get; set; } [BinaryCont...
31.4
88
0.770701
[ "MIT" ]
brumiros/AnnoSavegameViewer
AnnoSavegameViewer/Structures/Savegame/Generated/Content/LogisticNodeTransporters.cs
471
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; // ======================================================= /// <author> /// Simon-Pierre Plante (sp.plante@gmail.com) /// </author> // ======================================================= namespace PNP.Deployer.ExtensibilityProviders....
22.473684
109
0.575332
[ "MIT" ]
AnouckF/PnP
Samples/Provisioning.PnPDeployer.Console/PNP.Deployer.ExtensibilityProviders.SSOM/Classes/Serialization/SiteFieldsConfigurationData.cs
1,283
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
40.5
149
0.712522
[ "ECL-2.0", "Apache-2.0" ]
biohazard999/Relinq
Core/Clauses/IFromClause.cs
1,701
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace IOT_Sensors { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void...
22.26087
65
0.613281
[ "MIT" ]
yashen97/IOT
IOT_Sensors/IOT_Sensors/Program.cs
514
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. // // To add a suppression to this file, right-click the message in the...
207.04918
309
0.808076
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/mbf/Source/Tools/ConsensusUtil/GlobalSuppressions.cs
12,632
C#
// lookup.cs // // Copyright 2010 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://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
33.198895
125
0.530205
[ "Apache-2.0" ]
DogBitesMe/NUglify
src/NUglify/JavaScript/Syntax/LookupExpression.cs
6,009
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("Ta...
37.432432
84
0.74296
[ "MIT" ]
SHAMMY1/Telerik-Academy-2016
CSharp-Advanced/Exam/Exam/Task04/Properties/AssemblyInfo.cs
1,388
C#
using System; namespace PM.BO.Exceptions { public class TKSFILE_INVALID_RECORD_ERR : Exception { private const string _message = "An invalid S Record type was found."; private const short Code = -10305; public TKSFILE_INVALID_RECORD_ERR() : base(_message) { } public TKSFILE_INVALID_RECORD_ERR(string messa...
26.133333
114
0.739796
[ "BSD-2-Clause" ]
addixon/ErgCompetePM
PM.BO/Exceptions/TKSFILE_INVALID_RECORD_ERR.cs
394
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* EmbeddedField.cs -- работа со встроенными полями * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Sta...
25.756579
84
0.440358
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/ManagedIrbis/Source/EmbeddedField.cs
4,075
C#
using Laser.Orchard.NwazetIntegration.Models; using Laser.Orchard.Policy.Models; using Nwazet.Commerce.Models; using Nwazet.Commerce.Services; using Orchard.ContentManagement; using Orchard.Localization; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Web; us...
41.411765
106
0.628551
[ "Apache-2.0" ]
INVA-Spa/Laser.Orchard.Platform
src/Modules/Laser.Orchard.NwazetIntegration/Services/CheckoutPoliciesOrderAdditionalInformationProvider.cs
2,818
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AoC.Advent2018.Test { [TestCategory("2018")] [TestClass] public class Day02Test { string input = Util.GetInput<Day02>(); [TestCategory("Test")] [DataRow("abcdef,bababc,abbcde,abcccd,aabcdd,abcdee,ababab", 12)] ...
27.534884
77
0.611486
[ "MIT" ]
benjymous/AdventOfCode
test/Advent2018/Day02Test.cs
1,184
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...
33.032787
252
0.603474
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20180801/GetExpressRouteCrossConnectionPeering.cs
6,045
C#
using RestEase.SampleWebApi.Contracts; using System.Net.Http; using System.Net.Http.Headers; namespace RestEase.SampleWebApi.Infrastructure { public class FileContentRequestBodySerializer : JsonRequestBodySerializer { public override HttpContent SerializeBody<T>(T body, RequestBodySerializerInfo info) { if (...
32.545455
135
0.768156
[ "MIT" ]
BelyaevEvgeny/RestEase.Controllers.SourceGenerator
tests/RestEase.SampleWebApi/Infrastructure/FileContentRequestBodySerializer.cs
718
C#
/* Copyright 2015-2016 MongoDB 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 applicable law or agreed to in writi...
37.931818
123
0.715099
[ "Apache-2.0" ]
joeenzminger/mongo-csharp-driver
tests/MongoDB.Driver.Legacy.Tests/Operations/CurrentOpUsingCommandOperation.cs
3,340
C#
//------------------------------------------------------------------------------ // <copyright file="OleDbStruct.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> // <owner current="true" primary="false">[.....
30.294248
138
0.640108
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/data/System/Data/OleDb/OleDbStruct.cs
13,693
C#
#region License // MIT License // // Copyright (c) 2022 Joerg Frank // // // 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 ...
38.707317
81
0.727788
[ "MIT" ]
DiagProf/ISO22900.II
WrapISO22900.II.OdxLikeComParamSets/TransportOrDataLinkLayer/ISO_14230_2.IUniqueComParams.cs
1,589
C#
using System.Collections.Generic; using System.IO; using System.Linq; using Ultima5Redux.Data; namespace Ultima5Redux.Maps { public class Signs { /// <summary> /// Total number of expected signs in file /// </summary> private const short TOTAL_SIGNS = 0x21; /// <su...
46.328947
138
0.591309
[ "MIT" ]
bradhannah/Ultima5Redux
Ultima5Redux/Maps/Signs.cs
3,523
C#
// Copyright (c) MarinAtanasov. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the project root for license information. // using System; namespace AppBrix.Events.Impl { internal abstract class EventWrapper { public abstract object Handler { get; } public abs...
25.172414
101
0.654795
[ "MIT" ]
MarinAtanasov/AppBrix.NetCore
Modules/AppBrix.Events/Impl/EventWrapper.cs
732
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Ryujinx.Graphics.GAL { [StructLayout(LayoutKind.Sequential, Size = 8)] public struct BufferHandle : IEquatable<BufferHandle> { private readonly ulong _value; public static BufferHandle Nul...
37.695652
100
0.701269
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.Graphics.GAL/BufferHandle.cs
869
C#
using System; using System.IO; namespace O3DConverter { class D3DXVECTOR3 { public float x,y,z; public D3DXVECTOR3(BinaryReader binaryReader) { this.x = binaryReader.ReadSingle(); this.y = binaryReader.ReadSingle(); this.z = binaryReader.ReadSingle...
32.15
85
0.52535
[ "Apache-2.0" ]
electriZer/O3D-Converter
O3DConverter/RawD3D.cs
6,444
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.Text; namespace S22.Imap.Provider.Auth.Sasl.Mechanisms.Ntlm { /// <summary> /// Represents an NTLM Type 2 Message. /// </summary> internal class Type2Message { /// <summary> /// The NT...
31.685841
75
0.645999
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard.Web/Modules/S22.IMAP/Provider/Auth/Sasl/Mechanisms/Ntlm/Type2Message.cs
7,163
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.GamerServices; n...
27.913043
132
0.563863
[ "MIT" ]
maegico/Monster-Swap
MonsterSwap/MenuState.cs
1,928
C#
using System.Collections; using System.Collections.Generic; using UniRx.Triggers; using UnityEngine; using UniRx; using PsycthoMothers.Battle.Inputs; using PsycthoMothers.Battle.Manager; using Zenject; namespace PsycthoMothers.Battle.Players { /// <summary> /// PlayerAnimator /// アニメーション管理 /// </summa...
26.648148
85
0.577484
[ "MIT" ]
TORISOUP/PsychoMothers
Assets/PsycthoMothers/Scripts/Battle/Players/PlayerAnimator.cs
1,463
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.IO; using System.Reflection; namespace Panteon.Host.Infrastructure { public sealed class CatalogConfigurator { private readonly object _lock...
30.505376
92
0.59993
[ "MIT" ]
PanteonProject/Panteon.Host
Panteon.Host/Infrastructure/CatalogConfigurator.cs
2,839
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; namespace Meziantou.Framework { public static partial class ProcessExtensions { public static void Kill(this Process process, bool entir...
33.429658
146
0.549704
[ "MIT" ]
LePtitDev/Meziantou.Framework
src/Meziantou.Framework/ProcessExtensions.cs
8,794
C#
using VRTK; using UnityEngine; using System; namespace com.EvolveVR.BonejanglesVR { public class SkeletonHanger : InteractableSlide { [Range(0, 1)] public float rotationSmoothFactor = 0.2f; float lastHandRotationY = 0; protected override void OnInitialTriggerInteraction(Collid...
38.114286
104
0.667166
[ "MIT" ]
RJ45toCerebrum/BoneJanglesVR
BonejanglesVR/Assets/Scripts/SkeletonHanger.cs
1,336
C#
using System.Threading.Tasks; using kinema.Messaging; namespace kinema.Actors { public delegate Task<IActorResult> MessageHandler(IMessage message); }
22.285714
72
0.801282
[ "MIT" ]
iiwaasnet/kinema
src/kinema/Actors/MessageHandler.cs
158
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.Azure.RemoteRendering; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using UnityEngin...
27.228956
137
0.58254
[ "MIT" ]
ForrestTrepte/azure-remote-rendering
Unity/AzureRemoteRenderingShowcase/arr-showcase-app/Assets/App/Utilities/ProgressStatus.cs
8,089
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using Microsoft.AspNetCore.Components; using System; using System.Collect...
26.950617
111
0.539166
[ "Apache-2.0" ]
5118234/BootstrapBlazor
src/BootstrapBlazor/Components/Timeline/TimelineBase.cs
2,315
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> //---...
56.469758
355
0.660431
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/Test/Desktop/OpenRiaServices.Common.DomainServices.Test/Baselines/FullTypeNames/Scenarios/GlobalNamespace.g.cs
28,009
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using osuTK; namespace osu.Game.IO.Serialization.Converters { /// <summary> /// A typ...
34.823529
150
0.633446
[ "MIT" ]
MATRIX-feather/osu
osu.Game/IO/Serialization/Converters/Vector2Converter.cs
1,151
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data.SqlClient; using System.Data; public partial class FunctionAnouncement_Default : System.Web.UI.Page { protected void Page_Load(ob...
31.441315
173
0.440346
[ "MIT" ]
Ran-ying/JNFLS-IT-Dept
SAIMS/FunctionAttendanceManaging/class.aspx.cs
7,413
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.712644
153
0.579139
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsRoundRequest.cs
3,020
C#
namespace YAMP { [Description("ArccosFunctionDescription")] [Kind(PopularKinds.Trigonometric)] [Link("ArccosFunctionLink")] sealed class ArccosFunction : StandardFunction { protected override ScalarValue GetValue(ScalarValue z) { return z.Arccos(); } } }
22.571429
62
0.639241
[ "BSD-3-Clause" ]
FlorianRappl/YAMP
YAMP.Core/Functions/Trigonometric/ArccosFunction.cs
318
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014 Ingo Herbote * http://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * ...
36.590909
92
0.67205
[ "Apache-2.0" ]
azarbara/YAFNET
yafsrc/YAF.Types/Exceptions/NoTopicRowException.cs
1,570
C#
using System; using System.Collections.Generic; using System.Linq; namespace zad_6 { class Program { static void Main() { var usNameIpCount = new SortedDictionary<string, Dictionary<string, int>>(); while (true) { string[] input = Console.Rea...
35.425926
112
0.384736
[ "MIT" ]
StackSmack007/Programing-Fundamentals-September-2018
Dictionaries, Lambda and LINQ-Excersises/zad_6/Program.cs
2,013
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V25.Segment; using NHapi.Model.V25.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V25.Group { ///<summary> ///Represents the NMQ_N01_CLOCK_AND_STATISTICS Group. A Group is an ord...
30.659091
166
0.683469
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V25/Group/NMQ_N01_CLOCK_AND_STATISTICS.cs
2,698
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions...
41.25
156
0.749697
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Analyzers.CodeFixes/CSharp/CodeFixes/VariableDeclarationCodeFixProvider.cs
1,652
C#
using Xamarin.Forms; using XLabs.Forms.Controls; [assembly: ExportRenderer(typeof(ExtendedEntry), typeof(ExtendedEntryRenderer))] namespace XLabs.Forms.Controls { using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; ...
35.546875
135
0.53641
[ "Apache-2.0" ]
alemarko/Xamarin-Forms-Labs
src/Forms/XLabs.Forms.WP8/Controls/ExtendedEntry/ExtendedEntryRenderer.cs
6,827
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; using System.ServiceModel.Channels; using System.Text; using System.Text.RegularExpressions; using System.Xml.Linq; namespace WcfCoreMtomEncoder { public...
37.57554
140
0.613441
[ "MIT" ]
LokiMidgard/WcfCoreMtomEncoder
src/WcfCoreMtomEncoder/MtomMessageEncoder.cs
5,225
C#
// //AutoBlinkforSD.cs //SDユニティちゃん用オート目パチスクリプト //2014/12/10 N.Kobayashi // using UnityEngine; using System.Collections; namespace UnityChan { public class AutoBlinkforSD : MonoBehaviour { public bool isActive = true; //オート目パチ有効 public SkinnedMeshRenderer ref_face; //_faceへの参照 public float r...
21.479167
114
0.61623
[ "MIT" ]
flybirdQAQ/MyGenshinDemo
MyGenshin/Client/Assets/Import/UnityChan/Scripts/AutoBlinkforSD.cs
3,591
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license or other governing licenses that can be found in the LICENSE.md file or at * https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE */ #endregion using Krypton.Toolkit.Suite.Extended.Utilities.SystemInte...
35.977273
108
0.640556
[ "BSD-3-Clause" ]
Krypton-Suite/Extended-Toolk
Source/Krypton Toolkit/Shared/Krypton.Toolkit.Suite.Extended.Utilities/Classes/System/SAPI/SAPI Interop/Classes/SapiConstants.cs
1,585
C#
namespace Apex.ConnectApi { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// /// </summary> public class SocialPostIntents { // infrastructure public SocialPostIntents(dynamic self) ...
18.721805
80
0.38755
[ "MIT" ]
apexsharp/apexsharp
Apex/ConnectApi/SocialPostIntents.cs
2,490
C#
namespace SalesWebMvc.Models { public class ErrorViewModel { public string RequestId { get; set; } public string Message { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
23.8
70
0.647059
[ "MIT" ]
RenatoSSouza/SalesWebMVC
SalesWebMvc/Models/ViewModels/ErrorViewModel.cs
238
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace Elders.Cronus.Projections { public interface IProjectionStore { IEnumerable<ProjectionCommit> Load(ProjectionVersion version, IBlobId projectionId, int snapshotMarker); Task<IEnumerable<ProjectionCommit>> LoadAsync(Proj...
32.947368
123
0.782748
[ "Apache-2.0" ]
mynkow/Cronus
src/Elders.Cronus/Projections/IProjectionStore.cs
628
C#
using System; namespace Vehicles { class Sportscar : Car { } }
7.8
25
0.576923
[ "MIT" ]
rohithbodagala/Aptean_BootCamp
Assignments/30-03-2021 - 05-04-2021/6/Vehicles/Sportscar.cs
80
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
48.647059
305
0.692563
[ "MIT" ]
Grimace1975/bclcontrib-web
System.Web.MvcEx/Web/Mvc+IndirectView/IndirectWebFormViewEngine.cs
3,308
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ConsumeAndMultiOutputPublisherWithRabbitMQ.Model; using Motor.Extensions.Hosting.Abstractions; namespace ConsumeAndMultiOutputPublisherWithRabbitMQ { public class MultiOutputService : IMul...
35.641509
120
0.605082
[ "MIT" ]
rageagainsthepc/motornet
examples/ConsumeAndMultiOutputPublisherWithRabbitMQ/MultiOutputService.cs
1,889
C#
using System; namespace JenkinsTryOut.Net.MimeTypes { /* Copied from: * http://stackoverflow.com/questions/10362140/asp-mvc-are-there-any-constants-for-the-default-content-types */ /// <summary> /// Common mime types. /// </summary> public static class MimeTypeNames { ///<summar...
51.580128
493
0.698875
[ "MIT" ]
kgamab/jenkins-demo
aspnet-core/src/JenkinsTryOut.Application/Net/MimeTypes/MimeTypeNames.cs
16,095
C#
// Keep this file CodeMaid organised and cleaned using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.IO; namespace ClosedXML.Excel { public interface IXLWorkbook : IXLProtectable<IXLWorkbookProtection, XLWorkbookProtectionElements>, IDisposable ...
33.361446
144
0.609245
[ "MIT" ]
0xced/ClosedXML
ClosedXML/Excel/IXLWorkbook.cs
8,307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IAGrim.UI.Misc { class RequestCharacterDownloadUrlEventArg : EventArgs { public string Character { get; set; } public string Url { get; set; } } }
23
59
0.712375
[ "MIT" ]
211847750/iagd
IAGrim/UI/Misc/RequestCharacterDownloadUrlEventArgs.cs
301
C#
using System.Collections.Generic; using Steam.Models.SteamCommunity; namespace GameFinder { public class GameEqualityComparer : IEqualityComparer<OwnedGameModel> { public bool Equals(OwnedGameModel x, OwnedGameModel y) => x?.AppId == y?.AppId; public int GetHashCode(OwnedGameModel obj) => obj...
30
89
0.727778
[ "MIT" ]
mrousavy/GameFinder
GameFinder/GameEqualityComparer.cs
362
C#
/******************************************************************************* * * * Author : Angus Johnson * * Version : 6.4.2 ...
37.657019
117
0.405035
[ "MIT" ]
AI3SW/ai_job_teacher_unity
AiJobTeacherUnity/Library/PackageCache/com.unity.2d.spriteshape@5.1.4/Samples~/Extras/Scripts/Clipper.cs
191,322
C#
using RimWorld; using Verse; namespace Ice { [DefOf] public class DesignationCategories { public static DesignationCategoryDef Orders; } }
12.166667
46
0.767123
[ "MIT" ]
OgamLab/Rimedieval-Ice-add-on
1.3/Source/Ice/DesignationCategories.cs
146
C#
using Encountify.Views; using System; using Xamarin.Forms; namespace Encountify { public partial class AdminShell : Shell { public AdminShell() { InitializeComponent(); Routing.RegisterRoute("LocationDetailPage", typeof(LocationDetailPage)); Routing.Registe...
34.148148
90
0.650759
[ "MIT" ]
medikornov/Encountify
Encountify/AdminShell.xaml.cs
924
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
53.267176
203
0.664302
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/OrganizationalBrandingRequest.cs
13,956
C#
using System; using System.ComponentModel; using System.Windows; using System.Windows.Controls; namespace Betting.View { /// <summary> /// Using this behavior on a dataGRid will ensure to display only columns with "Browsable Attributes" /// Eric Ouellet /// </summary> public static class DataGridB...
35.972222
146
0.574903
[ "MIT" ]
dt-bet/Betting
Betting.View/Behavior/DataGridBehavior.cs
2,592
C#
using Microsoft.EntityFrameworkCore; using Order.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Order.Data { public class OrderContext : DbContext { public OrderContext(DbContextOptions<OrderContext> options) : base(options) {...
32.265306
94
0.581278
[ "MIT" ]
minimac911/HonoursProject
src/Services/Order/Data/OrderContext.cs
1,583
C#
using System; using System.Linq; using System.Reflection; using Autofac; using Autofac.Extensions.DependencyInjection; using Kaftar.Core.Cqrs; using Kaftar.Core.Cqrs.CommandStack; using Kaftar.Core.CQRS.QueryStack.QueryHandler; using Kaftar.Core.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Host...
38.163636
121
0.648563
[ "MIT" ]
CESEL/Sofia
src/Sofia/Startup.cs
6,299
C#
using Microsoft.EntityFrameworkCore; using TimeTracker.Domain; namespace TimeTracker.Data { public class TimeTrackerDbContext : DbContext { public TimeTrackerDbContext(DbContextOptions<TimeTrackerDbContext> options) : base (options) { } public DbSet<User> Users { g...
31.6
83
0.557753
[ "MIT" ]
toprek95/TimeTracker
src/TimeTracker/Data/TimeTrackerDbContext.cs
1,266
C#
using EasyConsoleCore; namespace DemoCore.Pages { class Page1A : MenuPage { public Page1A(Program program) : base("Page 1A", program, new Option("Page 1Ai", () => program.NavigateTo<Page1Ai>())) { } } }
19.357143
78
0.531365
[ "MIT" ]
JamieMair/EasyConsoleCore
DemoCore/Pages/Page1A.cs
273
C#
using System; using System.Collections.Generic; namespace OmniSharp.Extensions.LanguageServer.Protocol { public struct Supports<T> : ISupports { private readonly bool? _isSupported; public Supports(bool? isSupported, T value) { _isSupported = isSupported; Value ...
28.195652
151
0.609098
[ "MIT" ]
Devils-Knight/csharp-language-server-protocol
src/Protocol/Supports.cs
1,297
C#
namespace x42.Feature.X42Client.RestClient.Responses { public class GetSpendableTXResponse { public GetSpendableTXResponseTransaction[] transactions { get; set; } } public class GetSpendableTXResponseTransaction { public string id { get; set; } public int index { get; set; ...
30.722222
77
0.632911
[ "MIT" ]
psavva/XServer
xServer.D/Feature/X42Client/RestClient/Responses/GetSpendableTXResponse.cs
555
C#
 using UnityEngine; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; namespace Csv { public static class CsvImporter { static readonly ConstructorInfo _csvAsset = null; static CsvImporter() { var f...
28.222222
86
0.661024
[ "Apache-2.0" ]
tom10987/Unity.Extension.CsvEditor
Assets/Scripts/CSV/CsvImporter.cs
3,096
C#
#region using System; using System.Collections.Generic; using System.Linq; using System.Text; using WinterLeaf.Engine; using WinterLeaf.Engine.Classes; using WinterLeaf.Engine.Containers; using WinterLeaf.Engine.Enums; using System.ComponentModel; using System.Threading; using WinterLeaf.Engine.Classe...
31.063725
375
0.551891
[ "MIT", "Unlicense" ]
RichardRanft/OmniEngine.Net
Templates/C#-Full-Ded/WinterLeaf.Demo.Full.Dedicated/Models.Base/Precipitation_Base.cs
18,400
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
27
134
0.674897
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudesl/Cloudesl/Model/V20200201/DeleteApDeviceRequest.cs
2,673
C#
/* Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a> 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, ...
39.306452
242
0.572097
[ "MIT" ]
sealong/Craig-s-Utility-Library
Utilities.IO/IO/FileSystem/Default/FtpDirectory.cs
12,187
C#
using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows.Controls; using DistrictEnergy.Annotations; using DistrictEnergy.ViewModels; namespace DistrictEnergy.Views.ResultViews { /// <summary> /// Interaction logic for Costs.xaml /// </summary> public partial class Cost...
23.75
47
0.667368
[ "MIT" ]
MITSustainableDesignLab/DistrictEnergyPlugIn
DistrictEnergy/Views/ResultViews/Costs.xaml.cs
477
C#
using System; namespace Built.Grpc { /// <summary> /// Settings specifying a service endpoint in the form of a host name and port. /// This class is immutable and thread-safe. /// </summary> public sealed class ServiceEndpoint : IEquatable<ServiceEndpoint> { /// <summary> /// T...
46.148649
111
0.60205
[ "MIT" ]
BuiltCloud/Built
src/Built.Grpc/GrpcPool/ServiceEndpoint.cs
3,417
C#
/* * Doto-Content-Unlocker, tool for unlocking custom dota2 content. * * Copyright (c) 2014 Teq, https://github.com/Teq2/Doto-Content-Unlocker * * 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 ...
34.940299
89
0.659974
[ "MIT" ]
Teq2/Doto-Content-Unlocker
Model/Utils.cs
2,343
C#
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Mike Krüger" email="mike@icsharpcode.net"/> // <version>$Revision$</version> // </file> using System; using System.Collections.Generic; namespace ICSharpCode.TextEditor.Undo { /// <...
28.338403
127
0.504226
[ "MIT" ]
BarisYildiz/LiteDB.Studio
LiteDB.Studio/ICSharpCode.TextEditor/Undo/UndoStack.cs
7,456
C#
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
18.786458
83
0.606876
[ "MIT" ]
alesliehughes/monoDX
Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput/Key.cs
3,607
C#
using System; using System.IO; using System.Linq; using System.Xml.XPath; using System.Xml.Linq; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Xamarin.Android.Tasks { public static class XDocumentExtensions { const string PathsElementName = "Paths"; public static ITaskItem[] GetPa...
26.683333
91
0.710181
[ "MIT" ]
brendanzagaeski/xamarin-android
src/Xamarin.Android.Build.Tasks/Utilities/XDocumentExtensions.cs
1,603
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...
33.489362
179
0.594536
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/KinesisFirehose/Generated/Model/ElasticsearchDestinationUpdate.cs
7,873
C#
/* Copyright (c) 2008-2010 by the President and Fellows of Harvard College. All rights reserved. Profiles Research Networking Software was developed under the supervision of Griffin M Weber, MD, PhD., and Harvard Catalyst: The Harvard Clinical and Translational Science Center, with support from t...
27.350649
108
0.546059
[ "BSD-3-Clause" ]
CTSIatUCSF/ProfilesRNS
Website/SourceCode/ProfilesBetaAPI/Connects.Profiles.Service.DataContracts/InternalId.cs
2,108
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.Management.ResourceManager { using System; using System.Collections.Generic; using System.Linq; ...
27.517241
94
0.620301
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_FeatureClient.cs
798
C#
#region License /** * Copyright (c) 2015, 何志祥 (strangecity@qq.com). * * 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 re...
35.576355
98
0.601911
[ "Artistic-2.0" ]
cnark/Expression2Sql
Expression2Sql/Expression2SqlProvider.cs
7,230
C#