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) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
40.925969
136
0.582491
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Tat/V20201028/TatClient.cs
37,240
C#
// -------------------------------------------------------------------------------------------------- // <copyright file="PropertyImagesController.cs" company="InmoIT"> // Copyright (c) InmoIT. All rights reserved. // Developer: Vladimir P. CHibás (vladperchi). // Licensed under the MIT license. See LICENSE file in th...
47.75
126
0.637435
[ "MIT" ]
DevCrafts/InmoIT
src/server/Modules/Inmo/Modules.Inmo.Api/Controllers/PropertyImagesController.cs
5,351
C#
// // EndpointAddressMessageFilter.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005 Novell, Inc. http://www.novell.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 ...
30.252874
92
0.737462
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/EndpointAddressMessageFilter.cs
2,632
C#
using System; using System.IO; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { using IndexExistConverter = Func<IElasticsearchResponse, Stream, IndexExistsResponse>; public partial class ElasticClient { /// <inheritdoc /> public IIndexExistsResponse IndexExists(Func<IndexExistsDescript...
31.804878
125
0.782975
[ "MIT" ]
amitstefen/elasticsearch-net
src/Nest/ElasticClient-IndexExists.cs
1,306
C#
namespace Handlebars.Core.Compiler.Lexer.Tokens { internal class PartialToken : Token { public override TokenType Type => TokenType.Partial; public override string Value => ">"; public override string ToString() { return Value; } } }
21.428571
60
0.596667
[ "MIT" ]
esskar/Handlebars
source/Handlebars.Core/Compiler/Lexer/Tokens/PartialToken.cs
302
C#
using System.Threading.Tasks; namespace NetModular.Lib.Cache.Abstractions { /// <summary> /// 缓存处理器 /// </summary> public interface ICacheHandler { /// <summary> /// 获取 /// </summary> /// <param name="key">键</param> /// <returns></returns> string Get...
26.882813
65
0.452775
[ "MIT" ]
380138129/NetModular
src/Framework/Cache/Cache.Abstractions/ICacheHandler.cs
3,615
C#
// ReSharper disable BuiltInTypeReferenceStyle // ReSharper disable RedundantNameQualifier // ReSharper disable ArrangeObjectCreationWhenTypeEvident // ReSharper disable UnusedType.Global // ReSharper disable PartialTypeWithSinglePart // ReSharper disable UnusedMethodReturnValue.Local // ReSharper disable ConvertToAut...
59.020457
1,723
0.722872
[ "MIT" ]
petli/hotchocolate
src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetHeroTest.Client.cs
49,048
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/errors/audience_error.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.C...
38.579832
294
0.701154
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V10/Services/AudienceError.g.cs
9,182
C#
using NUnit.Framework; using System; using System.Drawing; using System.Text; namespace ScottPlotTests { [TestFixture] public class Cookbook { readonly int width = 600; readonly int height = 400; public readonly string outputPath; public Cookbook() { ou...
46.546379
131
0.599954
[ "MIT" ]
PracplayLLC/ScottPlot
tests/Cookbook.cs
73,266
C#
using DomainFramework.Core; using System; using System.Collections.Generic; using Utilities.Validation; namespace SimpleEntityWithAutoGeneratedKey.SimpleEntityWithAutoGeneratedKeyBoundedContext { public class SaveTestEntityInputDto : IInputDataTransferObject { public int TestEntityId { get; set; } ...
26.173913
89
0.666113
[ "MIT" ]
jgonte/DomainFramework
DomainFramework.Tests/SimpleEntityWithAutoGeneratedKey/SimpleEntityWithAutoGeneratedKeyBoundedContext/InputDataTransferObjects/SaveTestEntityInputDto.cs
1,204
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.418803
190
0.661164
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/Internal/MarshallTransformations/UploadMultipartPartResponseUnmarshaller.cs
4,846
C#
using System; using System.Threading.Tasks; using Melville.IOC.IocContainers; using Melville.IOC.TypeResolutionPolicy; using Xunit; namespace Melville.IOC.Test.TypeResolutionPolicy { public class FunctionFactoryBindingTest { private readonly IocContainer sut = new IocContainer(); public class ...
29.930818
105
0.50851
[ "MIT" ]
DrJohnMelville/Melville
src/Melville.IOC.Test/TypeResolutionPolicy/FunctionFactoryBindingTest.cs
4,761
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> //--...
32.592014
424
0.53529
[ "MIT" ]
dogukanalan/Sultanlar
Sultanlar/Sultanlar.UI/Web References/getcustomersC/Reference.cs
18,775
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2015 Ingo Herbote * http://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file ...
37.962775
118
0.532983
[ "Apache-2.0" ]
TristanTong/bbsWirelessTag
yafsrc/YAF.Providers/Membership/DB.cs
21,847
C#
using System.Collections; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace Tenlastic { public class DefaultSelectable : MonoBehaviour { public Selectable selectable; private void OnEnable() { StartCoroutine(Select()); } private IEnum...
22.045455
77
0.663918
[ "MIT" ]
tenlastic/open-platform
projects/unity/Tenlastic SDK/Assets/Tenlastic/Scripts/UI/DefaultSelectable.cs
487
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.23913
88
0.624326
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-aiven
sdk/dotnet/Inputs/ServiceGrafanaUserConfigAuthGitlabArgs.cs
1,299
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 Microsoft.Data.DataView; using Microsoft.ML; using Microsoft.ML.CommandLine; using Microsoft.ML.Data; using Mi...
42.028037
150
0.616411
[ "MIT" ]
taleebanwar/machinelearning
src/Microsoft.ML.EntryPoints/TrainTestSplit.cs
4,497
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Graph.Rbac.Models; ...
48.161184
166
0.602964
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestOperations.cs
14,641
C#
 using ETModel; using UnityEngine.UI; using UnityEngine; namespace ETHotfix { public class InputBtnItem : InitBaseItem { public Text mInpuText; public Button mInputBtn; public override void Init(GameObject go) { base.Init(go); mInpuText = gameObject.Find...
30.5
118
0.56
[ "MIT" ]
594270461/fivestar
Unity/Assets/Hotfix/GameGather/Common/FiveStarUI/JoinRoomPanel/InputBtnItem.cs
1,527
C#
#region << 版 本 注 释 >> /*---------------------------------------------------------------- * 项目名称 :QueryPage * 项目描述 : * 类 名 称 :CacheEntity * 类 描 述 : * 命名空间 :QueryPage * CLR 版本 :4.0.30319.42000 * 作 者 :jinyu * 创建时间 :2018 * 更新时间 :2018 * 版 本 号 :v1.0.0.0 ******************************************************************* ...
23.671053
86
0.381879
[ "MIT" ]
jinyuttt/DBAcessSrv
QueryPage/CacheEntity.cs
1,975
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace SharpSvn.MSBuild.FileParsers { sealed class CSharpParser : LanguageParser { public override void WriteComment(System.IO.StreamWriter sw, string text) { sw.Write("// ")...
29.560748
122
0.513753
[ "Apache-2.0" ]
AmpScm/SharpSvn
src/SharpSvn.MSBuild/FileParsers/CSharpParser.cs
3,166
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 may not u...
40.270588
77
0.653812
[ "Apache-2.0" ]
Arch/Npoi.Core
test/Npoi.Core.TestCases/HSSF/Model/TestDrawingManager2.cs
3,423
C#
/* * Copyright 2018 JDCLOUD.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 required by applicable law or agreed to in...
26.193182
76
0.562256
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Mps/Apis/UpdateTranscodeTemplateRequest.cs
2,517
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MachineBox.Core.Models { public class ApiResponse<T> : ApiResponse { public T Data { get; set; } } public class ApiResponse { public string Message { get; ...
18.95
45
0.641161
[ "MIT" ]
vkural/machinebox
MachineBox.Core/Models/ApiResponse.cs
381
C#
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using CompanyName.MyMeetings.BuildingBlocks.Application; using CompanyName.MyMeetings.Modules.Payments.Application.Configuration.Commands; using CompanyName.MyMeetings.Modules.Payments.Applicat...
35.511628
104
0.669286
[ "MIT" ]
Ahmetcanb/modular-monolith-with-ddd
src/Modules/Payments/Infrastructure/Configuration/Processing/ValidationCommandHandlerWithResultDecorator.cs
1,529
C#
#if WITH_GAME #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { public partial class ACameraActor { static readonly int AutoActivateForPlayer__Offset; public EAutoReceiveInput AutoActivateForPlayer { get{ CheckIsValid();ret...
39.272727
218
0.779803
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/ACameraActor_FixSize.cs
3,456
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...
37.146199
133
0.578401
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/DirectConnect/Generated/Model/Internal/MarshallTransformations/CreateLagRequestMarshaller.cs
6,352
C#
namespace MODEXngine.lib.Common { public static class Constants { public const string NAME_APP = "MODEXngine"; public const string ASSEMBLY_MASK_GAME_LIBS = "MODEXngine.lib.*.dll"; public const string ASSEMBLY_MASK_RENDER_LIBS = "MODEXngine.renderlib.*.dll"; public const stri...
29.4
85
0.702948
[ "MIT" ]
jcapellman/MODEXngine
src/MODEXngine.lib/Common/Constants.cs
443
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.commerce.transport.offlinepay.record.verify /// </summary> public class AlipayCommerceTransportOfflinepayRecordVerifyRequest : IAlipayRequest<AlipayCommerceT...
23.104839
141
0.555672
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AlipayCommerceTransportOfflinepayRecordVerifyRequest.cs
2,889
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 k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using Sys...
53.872928
1,481
0.620244
[ "Apache-2.0" ]
xinyanmsft/csharp
src/KubernetesClient/generated/Models/V1PodSpec.cs
29,253
C#
// Disable warnings about XML documentation #pragma warning disable 1591 using lua_Integer = System.Int32; namespace MoonSharp.Interpreter.Interop.LuaStateInterop { public partial class LuaBase { protected static int memcmp(CharPtr ptr1, CharPtr ptr2, uint size) { return memcmp(p...
23.911392
93
0.438857
[ "MIT" ]
blakepell/AvalonMudClient
src/Avalon.MoonSharp/Interop/LuaStateInterop/LuaBase_CLib.cs
5,669
C#
using UnityEngine; using System.Collections.Generic; namespace UMA { /// <summary> /// Utility class for aligning meshes with the same rig but different binds. /// </summary> public static class SkinnedMeshAligner { public static void AlignBindPose(SkinnedMeshRenderer template, SkinnedMeshRenderer data) ...
34.993151
171
0.620082
[ "MIT" ]
Arlorean/UMA
UMAProject/Assets/UMA/Core/StandardAssets/UMA/Scripts/SkinnedMeshAligner.cs
5,109
C#
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster; using Akka.Cluster.Management; using Akka.Cluster.Sharding; using Akka.Configuration; using Akka.Util.Internal; using Microsoft.Extensions.Hosting; namespace HostCore { publ...
31.701149
141
0.607324
[ "Apache-2.0" ]
ismaelhamed/akka-cluster-management
src/examples/HostCore/Startup.cs
2,758
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Naveego.DataQuality { public class RunTrend { public string Type { get; set; } public Decimal[] Data { get; set; } public string[] Categories { ...
19.818182
49
0.598624
[ "Apache-2.0" ]
Naveego/naveego-net
src/Naveego/DataQuality/RunTrend.cs
438
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Laser.Orchard.CommunicationGateway.ViewModels { public enum SearchFieldEnum { Name, Mail, Phone } }
19
57
0.692982
[ "Apache-2.0" ]
INVA-Spa/Laser.Orchard.Platform
src/Modules/Laser.Orchard.CommunicationGateway/ViewModels/SearchFieldEnum.cs
230
C#
using System; using System.Collections.Generic; using System.Text; //http://ee-api.lrussell.net/online namespace EEApi.JSONWrapper { /// <summary> /// A class for the online players, retreivable by /online. /// </summary> public class Online : Wrapper { internal Online() { } /// <summary> /// A dictionar...
22.333333
91
0.686567
[ "MIT" ]
SirJosh3917/EEApi
src/EEApi/Public/JSONWrapper/Online.cs
471
C#
#region --- License --- /* Copyright (c) 2006 - 2008 The Open Toolkit library. 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, ...
33.411153
145
0.54044
[ "Apache-2.0" ]
objuan/picodex
old/picodex.unity/UnityEngine/Math1/Vector2d.cs
35,349
C#
#region Imports... using System; using System.Data; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.Htm...
29.746154
82
0.66227
[ "MIT" ]
aqua88hn/netTiers
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Web/UI/MultiBindableTemplate.cs
3,869
C#
using System.Collections.Generic; namespace NeoBus.Abstraction { public interface IConsumer<T> { IEnumerable<T> Consume(bool autoCommit = true); void Commit(); T ConsumeOne(bool autoCommit); } }
16.785714
55
0.646809
[ "MIT" ]
omid-ahmadpour/NeoBus
NeoBus/Abstraction/IConsumer.cs
237
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SolarSystemSpawner : MonoBehaviour { public CelestialBodyGenerator.ResolutionSettings resolutionSettings; void Awake () { Spawn (0); } public void Spawn (int seed) { var sw = System.Diagnostics.Stopwatch.StartNew (...
27.652174
92
0.745283
[ "MIT" ]
12090113/Solar-System
Assets/Scripts/Game/SolarSystemSpawner.cs
1,274
C#
public enum DisplayStyle // TypeDefIndex: 4130 { // Fields public int value__; // 0x0 public const DisplayStyle Flex = 0; public const DisplayStyle None = 1; }
18.333333
46
0.721212
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityEngine/UIElements/DisplayStyle.cs
165
C#
namespace NxBRE.FlowEngine.Rules { using System; using System.Collections; using NxBRE.FlowEngine; /// <summary> This rule will always return true. /// </summary> /// <author> Sloan Seaman /// </author> public sealed class True : IBRERuleFactory { /// <summary> Always returns true //...
22.454545
82
0.604588
[ "MIT" ]
Peidyen/NxBRE
NxBRE3/Source/FlowEngine/Rules/True.cs
741
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 "li...
28.07971
107
0.52929
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkDocs/Generated/Model/UserMetadata.cs
3,875
C#
using Kxnrl; using System; using System.IO; namespace DNF_Utils { class Settings { private static readonly string configFile = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Kxnrl", "DNF", "dnf.conf"); public static string lastRunningVersion {...
31.064516
168
0.623053
[ "MIT" ]
Kxnrl/DNF-Utils
DNF-Utils/Settings.cs
965
C#
using System; using System.Threading.Tasks; using ProtoBuf.Grpc.Client; using Service.BonusRewards.Client; using Service.BonusRewards.Grpc.Models; namespace TestApp { class Program { static async Task Main(string[] args) { GrpcClientFactory.AllowUnencryptedHttp2 = true; ...
26.4
89
0.589646
[ "MIT" ]
MyJetWallet/Service.Bonus.PaidProcess
test/TestApp/Program.cs
794
C#
using Comet.Skia.WPF; namespace Comet.Skia { public static class UI { static bool _hasInitialized; public static void Init() { if (_hasInitialized) return; _hasInitialized = true; Comet.WPF.UI.Init(); // Controls Registrar.Handlers.Register<DrawableControl, DrawableControlHandler>(); Regist...
21.304348
74
0.730612
[ "MIT" ]
Clancey/Comet
src/Comet.Skia.WPF/UI.cs
492
C#
using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using Util.Ui.Angular.Base; using Util.Ui.Configs; using Util.Ui.Renders; using Util.Ui.TagHelpers; using Util.Ui.Zorro.Forms.Renders; namespace Util.Ui.Zorro.Forms { /// <summary> /// 开关 /// </summary> [HtmlTarg...
28.188406
65
0.507455
[ "MIT" ]
xljiulang/Util
src/Util.Ui.Angular.AntDesign/Zorro/Forms/SwitchTagHelper.cs
2,101
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Beta3_WS_PROYECTO_FINAL.GUI.MainAdmin; namespace Beta3_WS_PROYECTO_FINAL.GUI.UC { public parti...
26.6
73
0.669173
[ "MIT" ]
SnakeCorporationTecno/papa
Beta3_WS_PROYECTO_FINAL/GUI/MainAdmin/UC_cuenta_administrador.cs
1,066
C#
// ************************************************************************** // Copyright 2020 VMware, Inc. // SPDX-License-Identifier: Apache-2.0 // ************************************************************************** using System; using System.Collections.Generic; using System.Linq; using System.Threading....
35.526316
98
0.613333
[ "Apache-2.0" ]
dmilov/script-runtime-service-for-vsphere
src/Endpoint/VMware.ScriptRuntimeService.APIGateway/Runspace/Impl/RetentionPolicy/RemoveExpiredActiveRunspaceRuleFactory.cs
677
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Security.Permissions { #if NETCOREAPP [Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletio...
45.588235
147
0.766452
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Security.Permissions/src/System/Security/Permissions/UrlIdentityPermissionAttribute.cs
775
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using UnityEngine; /// <summary> /// A collection of helper functions for Texture2D /// </summary> public static class Texture2DExtensions { /// <summary> /// Fills the pixels. You will need to call Apply on the texture ...
40.369048
117
0.63875
[ "MIT" ]
Alliance-DJ/project-adj-client
Assets/Scripts/Core/Microsoft/Extensions/Texture2DExtensions.cs
3,393
C#
/******************************************************************************* * Copyright 2009-2017 Amazon Services. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * You may obtain a copy of the Licens...
44.727273
196
0.67184
[ "MIT" ]
ECourant/AmazonAPI
Products/MarketplaceWebServiceProductsClient.cs
10,824
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Mono.Cecil; namespace BuildTool { public static class Publicizer { public static IEnumerable<string> Execute(IEnumerable<string> files, string outputSuffix = "", string outputPath = null)...
36.669565
128
0.558928
[ "MIT" ]
Measurity/MethodCallCommand-Valheim
BuildTool/Publicizer.cs
4,219
C#
using System; using System.Threading.Tasks; using dev.codingWombat.Vombatidae.business; using dev.codingWombat.Vombatidae.store; using Microsoft.Extensions.Logging; namespace dev.codingWombat.Vombatidae.core { public interface IBurrowUpdater { Task<Burrow> Update(Guid guid, Burrow burrow); ...
29.738095
89
0.614091
[ "MIT" ]
codingWombat/Vombatidae
dev.codingWombat.Vombatidae.core/BurrowUpdater.cs
1,251
C#
using LeetCode.Attributes; using System; using System.Collections.Generic; using System.Linq; namespace LeetCode.Exercises { [Exercise] public class WordBreakII { public static void Run() { var ex = new WordBreakII(); do { Console.WriteL...
24.466667
95
0.43188
[ "MIT" ]
sergioescalera/LeetCode-Exercises
src/LeetCode-Exercises/Exercises/140-WordBreakII.cs
2,938
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AddressBook.Helpers { class GuiTools { public static void ClearControls(Control ctrl) { if (ctrl is TextBox && ctrl.Text!=strin...
20.891304
67
0.514048
[ "MIT" ]
rcdosado/addressbook
AddressBook/Helpers/GuiTools.cs
963
C#
using System.Windows; using MyMediaRenamer.Gui.ViewModels; using MyMediaRenamer.Gui.Views; namespace MyMediaRenamer.Gui { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private void App_OnStartup(object sender, StartupEventArgs e) ...
25.111111
69
0.538348
[ "MIT" ]
alisterpineda/MyMediaRenamer
MyMediaRenamer.Gui/App.xaml.cs
680
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.ServiceModel.Channels; using System.Xml; using System.Xml.Serialization; using BizWTF.Core.Utilities; using BizWTF.Core; using BizWTF.Core.Entities; using BizWTF.Core.Entities.M...
41.329609
185
0.530684
[ "MIT" ]
MiddleWayGroup/BizWTF
BizWTF.Core/Tests/ActionSteps/Messaging/SubmitMockMessage2WayStep.cs
7,400
C#
using System; using System.Windows; using System.Windows.Data; using System.Windows.Media.Imaging; namespace SIGame.Converters { public sealed class MainBackgroundConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultu...
32.073171
152
0.602281
[ "MIT" ]
wurunduk/SI
src/SIGame/SIGame/Converters/MainBackgroundConverter.cs
1,317
C#
// ============================================================================ // FileName: RecordA.cs // // Description: // // // Author(s): // Alphons van der Heijden // // History: // 28 Mar 2008 Aaron Clauson Added to sipswitch code base based on http://www.codeproject.com/KB/library/DNS.NET_Resolver....
25.568966
146
0.480782
[ "BSD-3-Clause" ]
SubportBE/sipsorcery
src/net/DNS/Records/RecordA.cs
1,483
C#
using System.Collections.Generic; using System.Threading.Tasks; using Duber.Infrastructure.Repository.Abstractions; namespace Duber.Domain.User.Repository { public interface IUserRepository : IRepository<Model.User> { Model.User GetUser(int userId); Task<IList<Model.User>> GetUsersAsync(); ...
23.166667
62
0.71223
[ "MIT" ]
ahmadezzeir/microservices-dotnetcore-docker-servicefabric
src/Domain/User/Duber.Domain.User/Repository/IUserRepository.cs
419
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; namespace System.Drawing { using System.Collections.Generic; using System.Diagnostics; using System.Drawing.Imaging; using Sys...
39.632941
183
0.527606
[ "MIT" ]
Alex-ABPerson/runtime
src/libraries/System.Drawing.Common/src/System/Drawing/ImageAnimator.cs
16,844
C#
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Sebastian Stehle // All rights reserved. Licensed under the MIT license. // ======================================================...
31.901408
106
0.569978
[ "MIT" ]
anhgeeky/notifo
backend/src/Notifo.Domain/Channels/WebPush/WebPushPayload.cs
2,267
C#
using System.Collections.Generic; using System.IO.Abstractions; using Raven.Abstractions.Data; using Raven.Abstractions.FileSystem; using Raven.Assure.ResourceDocument; using Xunit; namespace Raven.Assure.Test.ResourceDocument { public class FileSystemDocumentServiceTests { public class TryRemoveEncryptio...
36.322581
113
0.573712
[ "MIT" ]
absynce/Raven.Assure
test/Raven.Assure.Test/ResourceDocument/FileSystemDocumentServiceTests.cs
2,254
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NnCase.Designer.Modules.MainMenu.Models; namespace NnCase.Designer.Modules.MainMenu.ViewModels { public class MainMenuViewModel : MenuModel { private readonly IMenuBuilder _menuBui...
25.190476
74
0.724008
[ "Apache-2.0" ]
svija/nncase
src/NnCase.Designer.Shell/Modules/MainMenu/ViewModels/MainMenuViewModel.cs
531
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.  namespace System.Windows.Shell { using System; using System.Diagnostics; using System.Windows; us...
33.087464
108
0.563662
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Shell/ThumbButtonInfo.cs
11,351
C#
using System.Collections.Generic; namespace ScrabbleScorer.Models { public class ScrabbleChecker { public string Word { get;set; } public static Dictionary<char, int> ScoreDictionary = new Dictionary<char, int>() { {'A', 1}, {'E', 1}, {'I', 1}, {'O', 1}, {'U', 1}, {'L', 1...
18.294118
87
0.392283
[ "MIT" ]
Patrick-Dolan/scrabble-scorer
ScrabbleScorer.Solution/ScrabbleScorer/Models/ScrabbleChecker.cs
933
C#
#region using System.Data.Entity; using System.Diagnostics; using Iam.Common; using Iam.Common.Contracts; using Iam.Identity; using Iam.Web.Migrations.Clients; using Iam.Web.Migrations.Scopes; using Iam.Web.Migrations.TenantMappings; using IdentityServer3.Core.Configuration; using IdentityServer3.Core.Services; using...
32.803738
117
0.641026
[ "Apache-2.0" ]
HTT323/IAM
source/Iam/Iam.Web/Services/Configurations.cs
3,512
C#
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Get id name of device. /// </summary> [LibVlcFunction("libvlc_audio_output_device_id")] [UnmanagedFunctionPointer(CallingConvention.Cdecl)] [Obsolete("Use GetAudioOutputDevice...
32.928571
122
0.761388
[ "MIT" ]
CrookedFingerGuy/Vlc.DotNet
src/Vlc.DotNet.Core.Interops/Signatures/libvlc_media_player.h/libvlc_audio_output_device_id.cs
463
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using JetBrains.Annotations; using Newtonsof...
28.716312
93
0.504075
[ "MIT" ]
Tauron1990/Project-Manager-Akka
Src/Apps/DevTools/SeriLogViewer/MainWindowModel.cs
4,051
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class CarManager { private Dictionary<int, Car> cars; private Dictionary<int, Race> races; private Garage garage; private List<int> closedRaces; public CarManager() { ...
25.771429
161
0.558389
[ "MIT" ]
vasilchavdarov/SoftUniHomework
Exam Preparation OOPBasic/Exam Preparation OOPBasic/Cors/CarManager.cs
2,708
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 Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.CodeAnalysis.CodeActions { #pragma warning disable C...
46.285714
119
0.660494
[ "MIT" ]
AlFasGD/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/CodeActions/CodeActionRequestPriority.cs
1,622
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using FeatureFlags.APIs.Controllers.Base; using FeatureFlags.APIs.Models; using FeatureFlags.APIs.Services; using FeatureFlags.APIs.ViewModels.Project; using Microsoft.AspNetCore.Mvc; namespa...
33.339623
82
0.657612
[ "Apache-2.0" ]
thunderstroke325/feature-flags-co
FeatureFlagsCo.APIs/FeatureFlags.APIs/Controllers/EnvironmentSettingV2Controller.cs
1,767
C#
using System; using System.Collections.Generic; using System.Linq; namespace BirthdayCelebration { class Program { static List<IBirthable> birthed = new List<IBirthable>(); static void Main(string[] args) { while (true) { var input = Console.Read...
26.773333
70
0.426295
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/04. C# OOP/04. Interfaces and Abstraction/Exercise/06. Birthday Celebrations/Program.cs
2,010
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema { using System; using Newtonsoft.Json; /// <summary> /// An update to a payment request. /// </summary> [Obsolete("Bot Framework no longer supports payments.")] p...
35.493151
165
0.594751
[ "MIT" ]
Arsh-Kashyap/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/PaymentRequestUpdate.cs
2,593
C#
using System.Linq; using System.Threading.Tasks; using AElf.Contracts.TestKit; using AElf.CSharp.Core.Extension; using AElf.Kernel; using AElf.Sdk.CSharp; using AElf.Types; using Shouldly; using Xunit; namespace AElf.Contracts.Vote { public partial class VoteTests { [Fact] public async Task Vot...
40.752294
118
0.581495
[ "MIT" ]
ezaruba/AElf
test/AElf.Contracts.Vote.Tests/GQL/BasicTests.cs
4,442
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.MultiTenancy; using DA.ProjectManagement.Editions; using DA.ProjectManagement.MultiTenancy; namespace DA.ProjectManagement.EntityFrameworkCore.Seed.Tenants { public class DefaultTenantBuilder { private readonly ProjectManagementDbContex...
30.568182
141
0.627509
[ "MIT" ]
anthonynguyen92/DoAn
aspnet-core/src/DA.ProjectManagement.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/DefaultTenantBuilder.cs
1,347
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("Op...
37.588235
84
0.755869
[ "BSD-3-Clause" ]
Michelle-Argus/ArribasimExtract
OpenSim/Region/ClientStack/Properties/AssemblyInfo.cs
1,280
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using System.Collections; public class MainMenu : MonoBehaviour { // public Canvas mainMenuCanvas; public RectTransform creditPanel; // Use this for initialization void Start() { creditPanel.gameObject.SetActive(fa...
17.528302
53
0.636168
[ "Apache-2.0" ]
DaffyNinja/Experimental-Game
Experimental Game/Assets/Music Flow Game/Scripts/MainMenu.cs
931
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Kujikatsu022.Algorithms; using Kujikatsu022.Collections; using Kujikatsu022.Extensions; using Kujikatsu022.Numerics; using Kujikatsu0...
29.694915
117
0.493721
[ "MIT" ]
terry-u16/AtCoder
Kujikatsu022/Kujikatsu022/Kujikatsu022/Questions/QuestionC.cs
1,754
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DFBSimulatorWrapper.GraphViz { public enum Shape { // Polygon box, polygon, ellipse, oval, circle, point, egg, triangle, plaintext, plain, diamond, trapezium, par...
12.090909
38
0.680988
[ "MIT" ]
paphillips/DFB
DFBSimulatorWrapper/GraphViz/Shape.cs
933
C#
/* * Selling Partner API for Merchant Fulfillment * * The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services. * * OpenAPI spec version: v0 * * Generated by: https://github.com/swagger-a...
30.737864
184
0.594125
[ "MIT" ]
KristopherMackowiak/Amazon-SP-API-CSharp
Source/AmazonSpApiSDK/Models/MerchantFulfillment/StateOrProvinceCode.cs
3,168
C#
using System.Threading.Tasks; using EDziekanat.Application.Permissions; using Microsoft.AspNetCore.Authorization; namespace EDziekanat.Web.Core.Authentication { public class PermissionHandler : AuthorizationHandler<PermissionRequirement> { private readonly IPermissionAppService _permissionApp; ...
31.9375
141
0.662427
[ "MIT" ]
jendruss/EDziekanatAPI
src/EDziekanat.Web.Core/Authentication/PermissionHandler.cs
1,024
C#
// <copyright file="WebServices.asmx.cs" company="Engage Software"> // Engage: Locator - http://www.engagemodules.com // Copyright (c) 2004-2009 // by Engage Software ( http://www.engagesoftware.com ) // </copyright> // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING ...
44.5
174
0.692203
[ "MIT" ]
mattekelly/Engage-Locator
Services/WebServices.asmx.cs
2,939
C#
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license ...
30.869565
126
0.652582
[ "MIT" ]
BenInCOSprings/WpfDockingWindowsApplicationTemplate
wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/RowValidationErrorRoutedEvent.cs
2,132
C#
namespace DarnTheLuck.Models { public class UserGroup { public string UserId { get; set; } public string UserEmail { get; set; } public string GrantId { get; set; } public string GrantEmail { get; set; } public bool Authorized { get; set; } public UserGroup() ...
23.625
46
0.544974
[ "MIT" ]
git-gd/DarnTheLuck
Models/UserGroup.cs
380
C#
namespace JenkinsClient.Net.Models { public class Job : HasClass { public string Name { get; set; } public string Url { get; set; } public string Color { get; set; } } }
19.888889
35
0.664804
[ "MIT" ]
lvermeulen/JenkinsClient.Net
src/JenkinsClient.Net/Models/Job.cs
181
C#
/* * Sector conversion code borrowed from bizhawk: http://code.google.com/p/bizhawk/ * */ using System; using System.Linq; using System.Text; using System.Collections.Generic; namespace GDImageBuilder.DiscUtils.Raw { /// <summary> /// Used for converting sectors from 2048 byte size to 2352 /// </summary...
32.555556
85
0.529498
[ "MIT" ]
sizious/gdi-builder
GDImageBuilder/DiscUtils/Raw/SectorConversion.cs
2,053
C#
using System; using System.Diagnostics; using Lucene.Net.Randomized.Generators; using NUnit.Framework; namespace Lucene.Net.Facet { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additi...
37.904255
164
0.565348
[ "Apache-2.0" ]
CerebralMischief/lucenenet
src/Lucene.Net.Tests.Facet/TestDrillDownQuery.cs
10,691
C#
using Membrane = membrane; namespace Bulb { public class RigidBodyComponentViewModel : ComponentViewModel { public string Mass { get => mass; set { mass = value; massNum = EditorPropertyHelper.InputStringToFloat(mass); OnRigidBodyChan...
30.083333
93
0.592798
[ "MIT" ]
AGarlicMonkey/Clove
bulb/source/ViewModels/Components/RigidBodyComponentViewModel.cs
1,083
C#
using System; namespace Promitor.Core.Infrastructure { public class FeatureFlag { /// <summary> /// Determine if a feature flag is active or not /// </summary> /// <param name="toggleName">Name of the feature flag</param> /// <param name="defaultFlagState">Default s...
32.36
107
0.608158
[ "MIT" ]
brandonh-msft/promitor
src/Promitor.Core/Infrastructure/FeatureFlag.cs
811
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using GPMDP.Release.Services; using EmbeddedBlazorContent; namespace GPMDP.Release { public class Startup { ...
33.75
143
0.60305
[ "MIT" ]
agc93/gpmdp-release
src/GPMDP.Release/Startup.cs
2,295
C#
//#define USE_ARFOUNDATION using System; using System.Collections; using System.Collections.Generic; using UnityEngine; #if USE_ARFOUNDATION using UnityEngine.XR.ARFoundation; using UnityEngine.XR.ARSubsystems; #endif namespace GarageKit.ARFoundationExtention { [Serializable] public class ARImageAnchorOrigin...
34.010204
130
0.608011
[ "MIT" ]
sharkattack51/GarageKit_for_Unity
UnityProject/Assets/__ProjectName__/Scripts/Utils/ARFoundationExtention/ARTrackedImageAnchorManager.cs
7,118
C#
using Abp.Application.Services.Dto; using AppFramework.Common; using AppFramework.Common.Models; using AppFramework.Organizations; using AppFramework.Organizations.Dto; using Prism.Commands; using Prism.Services.Dialogs; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using P...
36.690411
130
0.574074
[ "MIT" ]
Muzsor/WPF-Examples
src/AppFramework/ViewModels/Organizations/OrganizationsViewModel.cs
13,674
C#
using FastMember; using GameEstate.Formats.Red.CR2W; using System.IO; using System.Linq; namespace GameEstate.Formats.Red.Types.Complex { public partial class CBitmapTexture : ITexture, IByteSource { [Ordinal(1000), REDBuffer] public CUInt32 unk { get; set; } [Ordinal(1001), REDBuffe...
40.356164
108
0.549898
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/Types/Complex/CBitmapTexture.cs
2,948
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using EventDemo; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EventDemo.Tests { [TestClass()] public class RoomTests { [TestMethod()] public void 게임을_시작하고_정답...
22.5
63
0.504444
[ "MIT" ]
smingscript/4Way_Path_Finding_Test
EventDemo/EventDemoTests/ClassCase/RoomTests.cs
1,464
C#
using System; using System.Threading; namespace kwd.ConsoleAssist.BasicConsole { /// <summary> /// Standard console input stream. /// </summary> public interface IConsoleRead { /// <summary> /// A cancellable ReadKey. /// </summary> ConsoleKeyInfo ReadKey(Cancellati...
26.269231
81
0.598829
[ "MIT" ]
Dkowald/kwd.ConsoleAssist
src/kwd.ConsoleAssist/BasicConsole/IConsoleRead.cs
685
C#
#region License // Copyright (c) Amos Voron. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE in the project root for license information. #endregion namespace QueryTalk.Wall { /// <summary> /// This interface is not intended for public use. /// </summary> public interface IR...
24.571429
98
0.697674
[ "MIT" ]
amosvoron/QueryTalk
lib/Wall/interfaces/ranking/IRankingOrderBy.cs
346
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ITextViewNavigator.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license inf...
46.666667
143
0.612812
[ "MIT" ]
hugener/Sundew.TextView.ApplicationFramework
Source/Sundew.TextView.ApplicationFramework/Navigation/ITextViewNavigator.cs
8,822
C#
using System; using backend.v2.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; using Type = backend.v2.Models.Type; namespace backend.v2.tests.Models { [TestClass] public class BookTests { private Book model; [TestInitialize] public void BeforeEach() { ...
36.193798
70
0.527094
[ "MIT" ]
afferenslucem/bookolog
backend.v2/backend.v2.tests/Models/BookTests.cs
4,671
C#