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.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskSailorDismountBoat : IBehTreeTask
{
[Ordinal(1)] [RED("rider... | 32.4 | 137 | 0.740741 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/CBTTaskSailorDismountBoat.cs | 786 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using Cooke.GraphQL.Annotations;
using Cooke.GraphQL.Introspection;
using GraphQLParser.AST;
using Newtonsoft.Json.Linq;
namespace Cooke.GraphQL.Types
{
public class EnumValue
{
public EnumValue(string value)
{
... | 28.348837 | 119 | 0.566858 | [
"MIT"
] | Cooke/graphql-plain-dotnet | src/Cooke.GraphQL/Types/EnumType.cs | 2,438 | C# |
using System;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
namespace AspNetCore.Jwt.Sample.Config
{
public static class SwaggerConfig
{
public static void AddSwaggerConfiguration... | 36.633333 | 120 | 0.466788 | [
"MIT"
] | NetDevPack/NetDevPack.Identity | src/Samples/AspNetCore.Jwt.Sample/Config/SwaggerConfig.cs | 2,200 | C# |
using System;
using System.Linq;
namespace DXVisualTestFixer.UI.Common {
static class InitialsExtractor {
public static string Extract(string fullName) {
if(fullName == "XpfDutyService")
return "XD";
var initials = fullName
.Replace(" ", string.Empty)
.Split(new[] {'.'}, StringSplitOptions.RemoveE... | 26.333333 | 62 | 0.685654 | [
"MIT"
] | maksimLebedevDevEx/DXVisualTestFixer | DXVisualTestFixer.UI/Common/InitialsExtractor.cs | 474 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace BankingApp.Migrations
{
public partial class foreign_key_table : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
... | 18.777778 | 71 | 0.674556 | [
"MIT"
] | pachecoder/banking-app | BankingApp/Migrations/20211116220548_foreign_key_table.cs | 340 | C# |
namespace CheatSheetViewerApp.Services
{
public class SheetSettings
{
public bool FontSizeLock { get; set; }
public int BaseFontSize { get; set; } = 12;
}
} | 23.125 | 51 | 0.632432 | [
"MIT"
] | emilborowiec/cheatsheetviewer | CheatSheetViewer/CheatSheetViewer/Services/SheetSettings.cs | 187 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Synt... | 40.922241 | 161 | 0.570051 | [
"Apache-2.0"
] | HaloFour/roslyn | src/Workspaces/CSharp/Portable/Extensions/SyntaxNodeExtensions.cs | 48,945 | C# |
using System;
namespace Hqv.Thermostat.Api.Domain.Entities
{
public class ClientAuthentication
{
public ClientAuthentication(
string appApiKey, string appAuthorizationCode,
string refreshToken = null, DateTime? refreshTokenExpiration = null,
string accessToken = n... | 36.45 | 89 | 0.652949 | [
"Apache-2.0"
] | hqv1/home_automation | Thermostat/src/Api.Domain/Entities/ClientAuthentication.cs | 1,460 | C# |
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.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.apa... | 48.448669 | 511 | 0.600691 | [
"Apache-2.0"
] | AhmerRaza/Google-Dotnet-Samples | Samples/DCM/DFA Reporting And Trafficking API/v2.8/RemarketingListsSample.cs | 12,744 | C# |
using BepuUtilities;
using BepuUtilities.Memory;
using DemoContentLoader;
using DemoRenderer;
using DemoRenderer.UI;
using Demos.UI;
using DemoUtilities;
using System;
using System.Numerics;
using Quaternion = BepuUtilities.Quaternion;
namespace Demos
{
public class DemoHarness : IDisposable
{
Window ... | 43.92217 | 185 | 0.547012 | [
"Apache-2.0"
] | ValtoLibraries/BepuPhysics-2 | Demos/DemoHarness.cs | 18,625 | C# |
using System.Runtime.Serialization;
namespace LogicMonitor.Api.LogicModules
{
/// <summary>
/// An SNMP SysOID Map ID and Name for import
/// </summary>
[DataContract]
public class SnmpSysOidMapImportItem
{
/// <summary>
/// The Local ID
/// </summary>
[DataMember(Name = "id")]
public int Id { get; se... | 18.375 | 46 | 0.623583 | [
"MIT"
] | tdicks/LogicMonitor.Api | LogicMonitor.Api/LogicModules/SnmpSysOidMapImportItem.cs | 443 | C# |
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TPV
{
public partial class Form1 : Form
{
privat... | 27.178899 | 136 | 0.515949 | [
"MIT"
] | gabygarcia98/General-TPV | TPV/Form1.cs | 5,927 | C# |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Shiny
{
public interface IPlatformBuilder
{
void Register(IServiceCollection services);
}
}
| 16.909091 | 51 | 0.736559 | [
"MIT"
] | Codelisk/shiny | src/Shiny.Core/IPlatformBuilder.cs | 188 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VEF.Interfaces.Base
{
public interface IToolBarTray
{
}
}
| 15.230769 | 33 | 0.747475 | [
"MIT"
] | devxkh/FrankE | Editor/VEF/VEF.Shared/PCL/Interfaces/Base/IToolBarTray.cs | 200 | C# |
namespace Wolf
{
partial class GUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="dis... | 58.413378 | 180 | 0.616933 | [
"MIT"
] | Nomenator/WOLF | WolfSpec/MainGUI/GUI.Designer.cs | 432,261 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CalendarSkill;
using Microsoft.Graph;
namespace CalendarSkillTest.Flow.Fakes
{
public class MockCalendarService : ICalendar
{
public MockCalendarService()
{
this.UpcomingEvents = FakeGetUpcomingEven... | 31.025424 | 111 | 0.547391 | [
"MIT"
] | ClintFrancis/AI | solutions/Virtual-Assistant/src/csharp/skills/tests/calendarskilltest/Flow/Fakes/MockCalendarService.cs | 3,663 | C# |
namespace Be.Vlaanderen.Basisregisters.Shaperon
{
using System;
using System.IO;
public class DbaseString : DbaseFieldValue
{
private string _value;
public DbaseString(DbaseField field, string value = null) : base(field)
{
if (field == null)
throw ne... | 29.19697 | 131 | 0.555267 | [
"MIT"
] | Informatievlaanderen/shaperon | src/Be.Vlaanderen.Basisregisters.Shaperon/DbaseString.cs | 1,927 | 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... | 43.627049 | 452 | 0.598591 | [
"ECL-2.0",
"Apache-2.0"
] | roderik/pulumi-azure | sdk/dotnet/Storage/ObjectReplication.cs | 10,645 | C# |
using Catalog.API.Entities;
using Catalog.API.Repositories.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace Catalog.API.Controllers
{
[Route("api/v1/[controller]")]
[ApiCont... | 35 | 99 | 0.639721 | [
"MIT"
] | AJMalik007/run-aspnetcore-microservices | src/Catalog/Catalog.API/Controllers/CatalogController.cs | 2,872 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Shared;
namespace PickUpCounter
{
// ReSharper disable once ClassNeverInstantiated.Global
public class Worker : IHostedService, IConsumer<Order>
... | 32.414634 | 142 | 0.647856 | [
"MIT"
] | myarichuk/Samples.MSA | PickUpCounter/Worker.cs | 1,329 | C# |
/****************************************************************************
* Copyright (c) 2017 liangxie
*
* http://qframework.io
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation fil... | 37.113924 | 89 | 0.597885 | [
"MIT"
] | 963148894/QFramework | Unity2017/Assets/QFramework/Framework/Examples/1.CoreExample/ActionKitExample/2.SequenceNode/SequenceNodeExample.cs | 3,006 | C# |
using System.Threading.Tasks;
using Dynamic.Json;
using Netezos.Rpc;
using Xunit;
namespace Netezos.Tests.Rpc
{
public class TestVotesQueries : IClassFixture<SettingsFixture>
{
readonly TezosRpc Rpc;
public TestVotesQueries(SettingsFixture settings)
{
Rpc = settings.Rpc;
... | 30.170455 | 97 | 0.582674 | [
"MIT"
] | dmirgaleev/netezos | Netezos.Tests/Rpc/TestVotesQueries.cs | 2,657 | C# |
using System;
using System.Diagnostics.Contracts;
using System.Web;
using Lpp.Auth;
using Lpp.Composition;
using Lpp.Mvc;
namespace Lpp.Auth.Basic
{
public static class AuthenticationExtensions
{
public static bool IsInRole<TUser, TRolesEnum>( this TUser user, TRolesEnum role )
where TUser... | 30.153846 | 90 | 0.632653 | [
"Apache-2.0"
] | Missouri-BMI/popmednet | Lpp.Mvc.Composition/Lpp.Auth.UI/Basic/AuthenticationExtensions.cs | 786 | C# |
namespace nyom.pushsender
{
public interface IEnviarMensagensPush
{
bool Envia(string campanha);
}
} | 15.142857 | 38 | 0.764151 | [
"MIT"
] | hdrezei/dotnetcore-rabbitmq | nyom/nyom.pushsender/IEnviarMensagensPush.cs | 108 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mailjet.SimpleClient;
using Mailjet.SimpleClient.Core.Models.Emailing;
using Mailjet.SimpleClient.Core.Models.Options;
namespace MailjetEmailClientSample
{
class Program
{
private static async Task Main()
{
... | 44.06383 | 107 | 0.631096 | [
"MIT"
] | maxstralin/mailjet-simple-client | sample/MailjetEmailClientSample/Program.cs | 2,075 | C# |
using UnityEditor;
using UnityEngine;
namespace CustomUnityEffects.Editor
{
[CustomEditor(typeof(VisualEffectBase), true)]
public class SimpleVisualEffectEditor : UnityEditor.Editor
{
private Transform _previewPoint;
private Vector3 _previewPosition;
private Vector3 _previewDirection;
private ... | 30.897959 | 121 | 0.732497 | [
"MIT"
] | AlexanderYakshin/unityeffects | Sources/UnityEffects/Assets/CustomUnityEffects/Scripts/Visual/Editor/SimpleVisualEffectEditor.cs | 1,516 | C# |
using System;
namespace FluentCommand.Entities
{
public class UserRole
{
public Guid UserId { get; set; }
public Guid RoleId { get; set; }
public virtual User User { get; set; }
public virtual Role Role { get; set; }
}
} | 20.538462 | 46 | 0.59176 | [
"MIT"
] | loresoft/FluentCommand | test/FluentCommand.Entities/UserRole.cs | 269 | C# |
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using System.Text.RegularExpressions;
using Debug = UnityEngine.Debug;
namespace Ink.UnityIntegration {
[InitializeOnLoad]
public static class InkCompiler {
... | 41.503049 | 310 | 0.730405 | [
"Unlicense"
] | SandGardeners/Between-Stations | Assets/Plugins/Ink/Editor/Compiler/InkCompiler.cs | 13,615 | C# |
// <copyright file="WaitingSteps.cs">
// Copyright © 2013 Dan Piessens. All rights reserved.
// </copyright>
namespace SpecBind
{
using System;
using System.Threading;
using SpecBind.ActionPipeline;
using SpecBind.Actions;
using SpecBind.BrowserSupport;
using SpecBind.Helpers;
... | 48.726651 | 139 | 0.638259 | [
"MIT"
] | icnocop/specbind | src/SpecBind/WaitingSteps.cs | 21,394 | C# |
using Clr2Ts.Transpiler.Configuration;
using Clr2Ts.Transpiler.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Clr2Ts.Transpiler.Input
{
/// <summary>
/// Allows scanning of an assembly file for types that should be transpiled.
... | 42.425743 | 133 | 0.641774 | [
"MIT"
] | Chips100/clr2ts | src/Clr2Ts.Transpiler/Input/AssemblyScanner.cs | 4,287 | C# |
#pragma checksum "C:\Users\mtwil\source\repos\DebugSquadApp\DebugSquadApp\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8a6a0ec05d078ff454b183455bc6611d549990a1"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(ty... | 82.206349 | 384 | 0.724928 | [
"MIT"
] | 210215-USF-NET/MichaelTate-code | DebugSquadApp/DebugSquadApp/obj/Debug/net5.0/Razor/Views/Shared/_Layout.cshtml.g.cs | 25,895 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Lpp.Dns.DTO.Enums
{
/// <summary>
/// Types of Query composer operators
/// </summary>
[DataContract]
publ... | 20.425 | 44 | 0.52142 | [
"Apache-2.0"
] | Missouri-BMI/popmednet | Lpp.Dns.DTO/Enums/QueryComposerOperators.cs | 819 | C# |
namespace Rocket
{
public enum RemoteUpdatePlayerResult
{
DoNotUpdate,
UpdateAll,
UpdateOthers,
UpdateSelf,
Failed
}
}
| 14.333333 | 40 | 0.563953 | [
"MIT"
] | JanneMattila/Rocket | src/Rocket/RemoteUpdatePlayerResult.cs | 174 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using TreeNodeSystem.System;
using TreeNodeSystem.NodeUtilities;
using TreeNodeSystem.NodeUtilities.Impl;
namespace NodeSystemTests
{
class UnitySetup
{
... | 29.043478 | 116 | 0.748503 | [
"MIT"
] | zeeshanejaz/NodeSystemIoCExample | TreeNodeSystem/NodeSystemTests/UnitySetup.cs | 670 | C# |
using PolymorphicWebAPI.Persistence.Repositories;
using PolymorphicWebAPI.Service.Features.CommandQuerySegregation.Requests;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
namespace PolymorphicWebAPI.Service.Configs
{
public static class DependencyInjection
{
p... | 22.166667 | 76 | 0.727444 | [
"MIT"
] | ifeanyinwodo/PolymorphicWebAPI.OnionArchitecture.Template | PolymorphicWebAPI/PolymorphicWebAPI/PolymorphicWebAPI.Service/Configs/DependencyInjection.cs | 534 | 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... | 40.345588 | 180 | 0.605613 | [
"Apache-2.0"
] | samritchie/aws-sdk-net | AWSSDK_DotNet35/Amazon.IdentityManagement/Model/Internal/MarshallTransformations/GetSAMLProviderResponseUnmarshaller.cs | 5,487 | C# |
using System.Text;
using Newtonsoft.Json;
using Thalus.Forma.Formatter.Contracts;
namespace Thalus.Forma.Formatter.Json
{
/// <summary>
/// Implements the <see cref="CharFormatter"/> functionality
/// </summary>
public class CharFormatter : IFormatter<CharParam>
{
/// <inheritdoc>
... | 25 | 64 | 0.564286 | [
"MIT"
] | ThalusUlysses/Forma | src/Thalus.Forma/Formatter/Json/CharFormatter.cs | 702 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace E... | 37.173077 | 190 | 0.560269 | [
"MIT"
] | Kritsu/ExtractorSharp | ExtractorSharp.Component/Properties/Resources.Designer.cs | 4,300 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... | 46.673267 | 188 | 0.694739 | [
"Apache-2.0"
] | PolitovArtyom/Exceptionless.Net | src/Exceptionless/Newtonsoft.Json/JsonSerializationException.cs | 4,714 | C# |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 29.193548 | 166 | 0.656906 | [
"ECL-2.0",
"Apache-2.0"
] | AdrianaDJ/dotnet-docs-samples | kms/api/Kms.Samples/UpdateKeyUpdateLabels.cs | 1,810 | C# |
using System.Threading.Tasks;
namespace Orleans.Indexing.Tests.MultiInterface
{
public interface IJobGrain
{
Task<string> GetTitle();
Task SetTitle(string value);
Task<string> GetDepartment();
Task SetDepartment(string value);
// For testing
Task WriteState();
... | 19.722222 | 47 | 0.625352 | [
"MIT"
] | KSemenenko/Orleans.Indexing | test/Orleans.Indexing.Tests/Grains/MultiInterface/IJobGrain.cs | 355 | C# |
namespace ShcIssuer.Models
{
using System;
using System.Collections.Generic;
public interface IPatient
{
public string FamilyName { get; set; }
public IList<string> GivenNames { get; set; }
public DateTime Birthdate { get; set; }
}
} | 25.181818 | 53 | 0.638989 | [
"Apache-2.0"
] | bradhead/shc-issuer | Services/ShcIssuer/src/Models/IPatient.cs | 277 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 43.561404 | 156 | 0.649215 | [
"MIT"
] | JKeddo95/azure-powershell | src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs | 2,429 | C# |
using System;
namespace Assets.UBindr.Bindings
{
public abstract class SourcedBinding : BindingWithBindingSources
{
public string SourceExpression;
public virtual string GetSourceExpression()
{
return SourceExpression;
}
public object GetSourceValue()
... | 21.911765 | 68 | 0.531544 | [
"MIT"
] | Anatoliy-Lejud/sound-designer-check | Assets/UBindr/Bindings/SourcedBinding.cs | 745 | C# |
// Copyright © 2012-2021 VLINGO LABS. All rights reserved.
//
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL
// was not distributed with this file, You can obtain
// one at https://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
usi... | 31.315789 | 111 | 0.758824 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Luteceo/vlingo-net-xoom | src/Vlingo.Xoom.Turbo/Annotation/Initializer/ContentLoader/ProjectionContentLoader.cs | 1,191 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Wind... | 39.80198 | 100 | 0.598756 | [
"MIT"
] | nozzlegear/uwp-playground | XamlBoys/App.xaml.cs | 4,022 | C# |
// Decompiled with JetBrains decompiler
// Type: CocoStudio.ToolKit.UndoEntryIntEx
// Assembly: CocoStudio.ToolKit, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 1DF66ED6-34A9-42A1-B332-161EEDB05F29
// Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.ToolKit.dll
using CocoStu... | 26.47619 | 88 | 0.758993 | [
"MIT"
] | gdbobu/CocoStudio2.0.6 | CocoStudio.ToolKit/UndoEntryIntEx.cs | 558 | C# |
using System;
using Server;
using Server.Prompts;
namespace Server.Multis
{
public class RenameBoatPrompt : Prompt
{
private BaseBoat m_Boat;
public RenameBoatPrompt( BaseBoat boat )
{
m_Boat = boat;
}
public override void OnResponse( Mobile from, string text )
{
m_Boat.EndRename( from, text );
... | 15.571429 | 61 | 0.703364 | [
"BSD-2-Clause"
] | greeduomacro/vivre-uo | Scripts/Multis/Boats/RenameBoatPrompt.cs | 327 | C# |
using System.Web;
using System.Web.Mvc;
namespace NBCZ.Web.Api
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| 19.857143 | 81 | 0.618705 | [
"MIT"
] | chi8708/NBCZ_Admin_Vue | NBCZ.Web.Api/App_Start/FilterConfig.cs | 280 | 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... | 40.691667 | 198 | 0.636904 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/DescribeProductViewResponseUnmarshaller.cs | 4,883 | C# |
using Newtonsoft.Json;
using SharpOfClans.Models.Common;
using SharpOfClans.Models.Locations;
namespace SharpOfClans.Models.Rankings
{
public class ClanVersusRanking
{
/// <summary>
/// The clan's tag.
/// </summary>
[JsonProperty("tag")]
public string Tag { get; set; }... | 25.5 | 49 | 0.512868 | [
"MIT"
] | Matcheryt/SharpOfClans | SharpOfClans/Models/Rankings/ClanVersusRanking.cs | 1,634 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace ModIO.UI
{
[Obsolete("No longer supported. Use TagContainer instead.")]
[RequireComponent(typeof(ModTagCollectionDisplayComponent))]
public class ModTagCategoryDisplay : MonoBehaviour
{... | 29.724138 | 94 | 0.566705 | [
"MIT"
] | DBolical/modioUNITY | Runtime/_Obsolete/UI/ModTagCategoryDisplay.cs | 1,724 | 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("4.... | 38.243243 | 84 | 0.746996 | [
"MIT"
] | madbadPi/TelerikAcademy | CSharpPartTwo/UsingClassesAndObjects/4.CalcSurfaceTriangle/Properties/AssemblyInfo.cs | 1,418 | C# |
#region License
//
// Match.cs March 2002
//
// Copyright (C) 2001, Niall Gallagher <niallg@users.sf.net>
//
// 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/l... | 38.306122 | 70 | 0.681406 | [
"Apache-2.0"
] | AMCON-GmbH/simplexml | port/src/main/Xml/Util/Match.cs | 1,877 | C# |
using System;
using System.Collections;
using System.IO;
using My2C2P.Org.BouncyCastle.Asn1;
using My2C2P.Org.BouncyCastle.Asn1.Ocsp;
using My2C2P.Org.BouncyCastle.Asn1.X509;
using My2C2P.Org.BouncyCastle.Crypto;
using My2C2P.Org.BouncyCastle.Crypto.Parameters;
using My2C2P.Org.BouncyCastle.Security;
using My2C2P.Org.... | 23.512295 | 99 | 0.681367 | [
"MIT"
] | 2C2P/My2C2PPKCS7 | My2C2PPKCS7/ocsp/OCSPReqGenerator.cs | 5,737 | C# |
// MIT License
//
// Copyright (c) 2019 Stormancer
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, ... | 38.302326 | 81 | 0.714026 | [
"MIT"
] | Stormancer/plugins | src/Stormancer.Plugins/Leaderboards/Stormancer.Server.Plugins.Leaderboards/LeaderboardExtensions.cs | 1,647 | C# |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... | 30.179775 | 194 | 0.660834 | [
"MIT"
] | xlxCLUxlx/BungieNetPlatform | src/BungieNetPlatform.Test/Model/DestinyMilestonesDestinyMilestoneRewardCategoryTests.cs | 2,686 | 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.Build.Engine
{
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Mi... | 37.573333 | 144 | 0.579489 | [
"MIT"
] | Algorithman/docfx | src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs | 2,744 | C# |
using System.Windows.Input;
namespace ModernFlyouts
{
public class LockKeysHelper : HelperBase
{
private LockKeysControl lockKeysControl;
public override event ShowFlyoutEventHandler ShowFlyoutRequested;
public LockKeysHelper()
{
Initialize();
}
p... | 26.446809 | 74 | 0.51971 | [
"MIT"
] | Cyberdroid1/ModernFlyouts | ModernFlyouts/Helpers/LockKeysHelper.cs | 2,488 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 27.333333 | 94 | 0.722838 | [
"Apache-2.0"
] | NoleHealth/xamarin-forms-book-preview-2 | Chapter22/BezierLoop/BezierLoop/BezierLoop.WinApp/MainPage.xaml.cs | 904 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using LightPlayer.Core.Models;
namespace LightPlayer.Core.Facades
{
public interface IVideoProvider
{
string ProviderId { get; }
Task<IEnumerable<Episode>> GetEpisodesAsync(string word);
Task<IEnumerable<PlayList>> GetPla... | 24.176471 | 71 | 0.725061 | [
"MIT"
] | aguang-xyz/light-player | LightPlayer.Core/Facades/IVideoProvider.cs | 411 | C# |
/* =========================================================================
ISimpleLogger.cs
Copyright(c) R-Koubou
======================================================================== */
using System.Runtime.CompilerServices;
namespace RKoubou.SimpleLogging
{
/// <summary>
/// Interface for ... | 37.4 | 148 | 0.56638 | [
"MIT"
] | r-koubou/unity-simple-logger | Assets/RKoubou/SimpleLogging/Scripts/ISimpleLogger.cs | 4,301 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Adapters.Facebook.FacebookEvents.Handover
{
/// <summary>A Facebook thread control message, including app ID of requested thread owner and an option... | 40.592593 | 245 | 0.681569 | [
"MIT"
] | Arsh-Kashyap/botbuilder-dotnet | libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/Handover/FacebookRequestThreadControl.cs | 1,098 | C# |
#if UNITY_EDITOR
using UnityEditor;
using System;
namespace UnityToolbox.EditorTools
{
public class IndentBlock : IDisposable
{
public IndentBlock()
{
EditorGUI.indentLevel++;
}
public void Dispose()
{
EditorGUI.indentLevel--;
}
}
}
#endif
| 12.571429 | 39 | 0.700758 | [
"MIT"
] | Fishrock123/UnityToolbox | Types/EditorTypes/IndentBlock.cs | 266 | C# |
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using DestinyMod.Common.Projectiles.ProjectileType;
using Terraria.ModLoader;
using DestinyMod.Content.Buffs.Debuffs;
namespace DestinyMod.Content.Projectiles.Weapons.Ranged
{
public class RiskrunnerBullet : Bullet
{
public override stri... | 32.09375 | 141 | 0.642648 | [
"MIT"
] | MikhailMCraft/DestinyMod | Content/Projectiles/Weapons/Ranged/RiskrunnerBullet.cs | 1,027 | C# |
using System;
using NUnit.Framework;
using ServiceStack.Common;
using ServiceStack.DataAnnotations;
using ServiceStack.Logging;
using ServiceStack.Text;
namespace ServiceStack.Common.Tests.Models
{
public class ModelWithFieldsOfDifferentTypesAsNullables
{
private static readonly ILog Log = L... | 34.882979 | 134 | 0.522873 | [
"Apache-2.0"
] | BruceCowan-AI/ServiceStack | tests/ServiceStack.Common.Tests/Models/ModelWithFieldsOfDifferentTypes.cs | 6,371 | 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... | 46.516129 | 178 | 0.676318 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IoTEvents/Generated/Model/ThrottlingException.cs | 5,768 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BlazorWASMHosted_CRUD_B2C.API.Utility;
using BlazorWASMHosted_CRUD_B2C.Data;
using BlazorWASMHosted_CRUD_... | 31.350746 | 112 | 0.573673 | [
"Unlicense"
] | dahln/BlazorWASMHosted_CRUD_B2C | BlazorWASMHosted_CRUD_B2C.Server/Controllers/CustomerController.cs | 4,203 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class FlyingEnemy1 : MonoBehaviour
{
[SerializeField] float moveSpeed;
Vector2[] wayPoint;
private Vector2 currentWayPoint;
int wayPointIndex = 0;
private void Awake()
{
... | 29.489796 | 126 | 0.6 | [
"Apache-2.0"
] | RagulPrasadG/2D_Platformer | Cheese Tales/Assets/Scripts/FlyingEnemy1.cs | 1,445 | C# |
using System.Collections.Generic;
namespace Ocelot.Configuration.File
{
public class FileConfiguration
{
public FileConfiguration()
{
ReRoutes = new List<FileReRoute>();
GlobalConfiguration = new FileGlobalConfiguration();
Aggregates = new List<FileAggregate... | 34.347826 | 102 | 0.659494 | [
"MIT"
] | Ivony/Ocelot | src/Ocelot/Configuration/File/FileConfiguration.cs | 792 | 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.
#if XMLSERIALIZERGENERATOR
namespace Microsoft.XmlSerializer.Generator
#else
namespace System.Xml.Serialization
#end... | 35.625 | 134 | 0.598051 | [
"MIT"
] | ERROR-FAILS-NewData-News/corefx | src/System.Private.Xml/src/System/Xml/Serialization/SoapAttributeAttribute.cs | 2,565 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 50.3125 | 175 | 0.630701 | [
"MIT"
] | SnehaGunda/azure-powershell | src/ResourceManager/Network/Commands.Network/Common/NetworkClient.cs | 11,049 | C# |
#region Copyright and License
// Copyright 2010..2017 Alexander Reinert
//
// This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (http://arsofttoolsnet.codeplex.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | 31.282353 | 121 | 0.694622 | [
"MIT"
] | zjccwboy/DnsServer | ARSoft.Tools.Dotnet/Dns/EDns/CookieOption.cs | 2,659 | C# |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json.Serialization;
namespace Plotly.Blazor.Traces.HistogramLib... | 42.804281 | 175 | 0.515253 | [
"MIT"
] | HansenBerlin/PlanspielWebapp | Plotly.Blazor/Traces/HistogramLib/Marker.cs | 13,997 | C# |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using Syst... | 27.340909 | 121 | 0.650457 | [
"MIT"
] | Plankankul/SharpDevelop-w-Framework | src/AddIns/BackendBindings/Python/PythonBinding/Test/Designer/LoadInheritedPublicPanelFormTestFixture.cs | 2,408 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Wi... | 22.428571 | 55 | 0.708599 | [
"MIT"
] | kawasawa/MyPad | MyPad/Views/Regions/ScriptRunnerView.xaml.cs | 648 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using GovUk.Education.ManageCourses.Api.Model;
using GovUk.Education.ManageCourses.Domain.Models;
using GovUk.Education.ManageCourses.Ui.Helpers;
using GovUk.Education.ManageCourses.Ui.ViewModels.Enums;
namespace GovUk.Educati... | 41.828283 | 153 | 0.635112 | [
"MIT"
] | DFE-Digital/manage-courses-ui | src/ui/ViewModels/CourseFeesEnrichmentViewModel.cs | 4,143 | C# |
using System.Collections.Generic;
using System;
using System.Linq;
namespace lib
{
public static class ListExtension
{
public static void Populate(this int[] distanceScale, int distance)
{
for (var i = 0; i < distanceScale.Length; i++)
{
distanceScale[i]... | 27.204545 | 111 | 0.506266 | [
"MIT"
] | deanagan/checkio-csharp | Source/LongestIncreasingSubsequence.cs | 1,197 | C# |
using Newtonsoft.Json;
using System;
namespace WeyhdBot.Core.Connector
{
/// <summary>
/// Additional data to attach on activities
/// </summary>
[Serializable]
public class ChannelData
{
[JsonProperty("subchannel_id")]
public string Subchannel { get; set; }
[JsonProper... | 21.444444 | 47 | 0.61658 | [
"MIT"
] | fanslead/WeyhdBot | Framework/WeyhdBot.Core/Connector/ChannelData.cs | 388 | 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("H3... | 38.405405 | 84 | 0.748065 | [
"MIT"
] | devizer/h3control | H3Control.Tests/Properties/AssemblyInfo.cs | 1,424 | 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... | 31.050847 | 103 | 0.676856 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Chime/Generated/Model/GetVoiceConnectorTerminationRequest.cs | 1,832 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel
{
public class SocialHistory
{
[Key]
public int SocialHistoryId { get; set; }
public int Pati... | 31.5 | 57 | 0.64059 | [
"MIT"
] | MenkaChaugule/hospital-management-emr | Code/Components/DanpheEMR.ServerModel/ClinicalModels/SocialHistoryModel.cs | 884 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 34.358696 | 108 | 0.588421 | [
"Apache-2.0"
] | miltador-forks/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/AliasesUnmarshaller.cs | 3,161 | C# |
namespace Cake.Web.Core.Content
{
public sealed class ContentProcessorResult
{
private readonly string _body;
public string Body
{
get { return _body; }
}
public ContentProcessorResult(string body)
{
_body = body;
}
}
}
| 17.5 | 50 | 0.536508 | [
"MIT"
] | mgnslndh/website | src/Cake.Web.Core/Content/ContentProcessorResult.cs | 317 | C# |
using System;
namespace Demo.File.Consommateur
{
class Program
{
static void Main(string[] args)
{
var consomateur = new Consomateur();
consomateur.RecevoirAsync();
Console.ReadLine();
}
}
}
| 15.705882 | 48 | 0.535581 | [
"Apache-2.0"
] | jean-claudeparent/Demo.MessageBroker.Core | Demo.File.Consommateur/Program.cs | 269 | C# |
//
// Copyright (c) 2018 deltaDNA Ltd. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 43.898477 | 158 | 0.586378 | [
"Apache-2.0"
] | RandolfKlemola/tutorial-dynamic-ad-placement | Assets/DeltaDNA/EngageFactory.cs | 8,650 | 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("Sof... | 37.837838 | 84 | 0.749286 | [
"MIT"
] | maio246/CSharp-OOP-Advanced | SoftUniAttribute/Properties/AssemblyInfo.cs | 1,403 | C# |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Xpand.Extensions.Threading {
public static class SingleThreadedSynchronizationContextExtenions {
public static void AwaitTask(this Task invoker) => SingleThreadedSynchronizationContext.Await(... | 36.111111 | 117 | 0.641538 | [
"Apache-2.0"
] | eXpandFramework/Packages | src/Extensions/Xpand.Extensions/Threading/SingleThreadedSynchronizationContext.cs | 1,302 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 37.939394 | 176 | 0.549216 | [
"MIT"
] | belav/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/MultiplyDoublingWideningSaturateUpperBySelectedScalar.Vector128.Int16.Vector128.Int16.7.cs | 26,292 | C# |
using System;
using NUnit.Framework;
namespace ObjectLayoutInspector.Tests
{
[TestFixture]
public class InstanceSizeTests
{
class Empty { }
[Test]
public void SizeForEmptyClassIs3PtrSizes()
{
var layout = TypeLayout.GetLayout<Empty>();
Assert.That(l... | 22.76 | 70 | 0.579965 | [
"MIT"
] | jawn/ObjectLayoutInspector | src/ObjectLayoutInspector.Tests/InstanceSizeTests.cs | 571 | C# |
using System;
using System.Windows;
using System.Windows.Threading;
namespace LedMatrix.Client
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private MainViewModel _ViewModel;
private DispatcherTimer _Timer;
public ... | 25.605263 | 72 | 0.605858 | [
"ISC"
] | tmcg/LEDMatrix | LedMatrix.Client/MainWindow.xaml.cs | 1,948 | 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>
//--... | 35.064516 | 151 | 0.589696 | [
"MIT"
] | TheEletricboy/2019-09-C-sharp-Labs | Labs/Just_Do_It_12_Rabbit_Explosion_2/Properties/Settings.Designer.cs | 1,089 | C# |
// This file was originally taken from https://github.com/aneshas/tactical-ddd
using System.Collections.Generic;
using System.Linq;
namespace Framework.DDD
{
/// <summary>
/// ValueObject represents value object tactical DDD pattern.
/// Main properties of value objects is their immutability
/// and ... | 32.138889 | 134 | 0.577787 | [
"Apache-2.0"
] | SebastianSoendergaard/simple-eventsourcing-and-cqrs | Framework.EventSourcing/ValueObject.cs | 2,316 | C# |
#region Copyright
// Copyright © EPiServer AB. All rights reserved.
//
// This code is released by EPiServer AB under the Source Code File - Specific License Conditions, published August 20, 2007.
// See http://www.episerver.com/Specific_License_Conditions for details.
#endregion
using EPiServer.Core;
namespace EPi... | 31.568182 | 126 | 0.62059 | [
"MIT"
] | Episerver-trainning/episerver6r2_sso | Templates/Advanced/Workroom/Core/Notification/ExistingUserInvitationCreator.cs | 1,392 | C# |
using DragonSpark.Model.Selection;
using System;
using System.Threading.Tasks;
namespace DragonSpark.Model.Operations;
sealed class Configure<T> : ISelect<ValueTask<T>, ValueTask<T>>
{
readonly Action<T> _configure;
readonly bool _capture;
public Configure(Action<T> configure, bool capture = false)
{
_co... | 20.090909 | 63 | 0.719457 | [
"MIT"
] | DragonSpark/Framework | DragonSpark/Model/Operations/Configure.cs | 665 | 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;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.At... | 29.051282 | 80 | 0.56546 | [
"MIT"
] | Ar37-rs/Silk.NET | src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecoderHeapDesc.gen.cs | 3,399 | C# |
using System;
using System.Linq;
namespace _03.SquareWithMaximumSum
{
class Program
{
static void Main(string[] args)
{
int[] dimensions = ParseArrayFromConsole(' ', ',');
var rows = dimensions[0];
var cols = dimensions[1];
var maxSum = int.MinVa... | 32.963636 | 91 | 0.433536 | [
"MIT"
] | DeyanDanailov/SoftUniCSharpAdvanced | tasks/03.SquareWithMaximumSum/Program.cs | 1,815 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Microsoft.CodeAnalysis.... | 41.963542 | 145 | 0.629515 | [
"MIT"
] | workgroupengineering/format | tests/Analyzers/FilterDiagnosticsTests.cs | 8,059 | C# |
using NetTopologySuite.Geometries;
using static HotChocolate.Types.Spatial.WellKnownFields;
using static HotChocolate.Types.Spatial.Properties.Resources;
using static HotChocolate.Types.Spatial.WellKnownTypeNames;
namespace HotChocolate.Types.Spatial
{
public sealed class GeoJsonPointType
: ObjectType<Poin... | 33.263158 | 82 | 0.630538 | [
"MIT"
] | AccountTechnologies/hotchocolate | src/HotChocolate/Spatial/src/Types/GeoJsonPointType.cs | 1,264 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.InMemory.Internal;
using ExpressionExtensions = Microsoft.EntityFrameworkCore.Infrastructure.ExpressionExtensions;
namespace Microsoft.EntityFram... | 49.040593 | 135 | 0.636905 | [
"MIT"
] | Applesauce314/efcore | src/EFCore.InMemory/Query/Internal/InMemoryQueryExpression.cs | 62,821 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.