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 |
|---|---|---|---|---|---|---|---|---|
namespace QA.Core.DPC.UI.Controls
{
public enum TextOverflow
{
None, Ellipsis, Clip
}
}
| 13.625 | 34 | 0.605505 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | QuantumArt/QA.DPC | QA.Core.DPC.UI/Controls/QP/TextOverflow.cs | 111 | C# |
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
namespace Community.VisualStudio.Toolkit
{
/// <summary>
... | 42.765306 | 207 | 0.600931 | [
"Apache-2.0"
] | Nirmal4G/visual-studio-toolkit | src/toolkit/Community.VisualStudio.Toolkit.Shared/Themes/Themes.cs | 8,382 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace TechTalk.SpecFlow.Assist.ValueRetrievers
{
public class LongValueRetriever : IValueRetriever
{
public virtual long GetValue(string value)
{
long.TryParse(value, NumberStyles.Any, CultureInfo.CurrentCulture... | 30.32 | 110 | 0.6781 | [
"Apache-2.0",
"MIT"
] | ImanMesgaran/SpecFlow | TechTalk.SpecFlow/Assist/ValueRetrievers/LongValueRetriever.cs | 760 | C# |
namespace Skight.eLiteWeb.Presentation.Web.FrontControllers
{
public interface WebRequest
{
WebInput Input { get; }
WebOutput Output { get; }
}
} | 20.333333 | 60 | 0.617486 | [
"BSD-3-Clause"
] | SkightTeam/eLiteWeb | Skight.eLiteWeb.Presentation/Web/FrontControllers/WebRequest.cs | 185 | C# |
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using Minax.Collections;
using Minax.Domain.Translation;
using Minax.Web.Translation;
using MinaxWebTranslator.Desktop.Commands;
using MinaxWebTranslator.Desktop.Models;
using System.Collections.Generic;
using System.Collections.Specialized;
using Syst... | 33.200617 | 163 | 0.715859 | [
"MIT"
] | nuthrash/Minax | MinaxWebTranslator/MinaxWebTranslator.Desktop/Views/MappingDockingPanel.xaml.cs | 21,514 | C# |
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Orleans.Configuration;
using Orleans.Configuration.Internal;
using Orleans.LeaseProviders;
namespace Orleans.Hosting
{
public static class SiloBuilderExtensions
{
/// <summary>
/// Configure ... | 46.530612 | 177 | 0.691447 | [
"MIT"
] | alexanderfedin/orleans | src/Azure/Orleans.Streaming.AzureStorage/Hosting/SiloBuilderExtensions.cs | 4,560 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Cadastro.Cliente
{
public class Program
{
publ... | 25.851852 | 70 | 0.646132 | [
"MIT"
] | dfcallili/CadastroClientes | Cadastro.Cliente/Program.cs | 698 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
public class ReindexNode
{
[JsonProperty("name")]
public string Name { get; internal set; }
[JsonProperty("transport_address")]
public string TransportAddress { get; internal set; }
[JsonProperty("host")]
public st... | 26.152 | 118 | 0.720098 | [
"Apache-2.0"
] | BedeGaming/elasticsearch-net | src/Nest/Document/Multiple/ReindexRethrottle/ReindexNode.cs | 3,271 | C# |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class HUD : MonoBehaviour {
public Sprite[] HealthSprites;
public Image HealthUI;
private Player plr;
// Use this for initialization
void Start () {
plr = GameObject.FindGameObjectWithTag ("Player").GetComponent<Player>();
}
// Upd... | 21.904762 | 75 | 0.706522 | [
"MIT"
] | marcelofg55/UnityOAMLdemo | Assets/Scripts/HUD.cs | 462 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using HUDEditor.Models;
namespace HUDEditor.Classes
{
/// <summary>
/// Sample Animation Script
/// Commands:
/// Animate (panel name) (variable) (target value)... | 43.199324 | 220 | 0.459529 | [
"MIT"
] | Zeesastrous/TF2HUD.Editor | src/TF2HUD.Editor/Classes/HUD/HUDAnimations.cs | 12,787 | C# |
using Newtonsoft.Json;
namespace Tfl.Api.Presentation.Entities
{
public class NetworkStatus
{
[JsonProperty(PropertyName = "operator")]
public string Operator { get; set; }
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
[JsonProperty(Propert... | 25.842105 | 52 | 0.625255 | [
"MIT"
] | tnc1997/dotnet-multi-objective-shortest-path | Tfl.Api.Presentation.Entities/NetworkStatus.cs | 491 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.World_in_plural
{
class Program
{
static void Main(string[] args)
{
string word = Console.ReadLine();
if (word.EndsWith("y"))
{
word = word.Remove(word.Length - 1);
... | 18.69697 | 75 | 0.614263 | [
"MIT"
] | stanislaviv/Programming-Fundamentals-May-2017 | 02_Conditional-Statements-and-Loops/Conditional State-s Loops/05. World in plural/05. World in plural.cs | 619 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
int contador = 1;
do
{
Console.WriteL... | 22 | 95 | 0.507905 | [
"MIT"
] | mauriciomejiae/do-while | do while/Program.cs | 508 | 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("Old... | 38.054054 | 84 | 0.75071 | [
"MIT"
] | kekyo/VS2019Migration | OldMSBuildConsoleApp/Properties/AssemblyInfo.cs | 1,411 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Delimited text read settings. </summary>
public partial class DelimitedT... | 46.538462 | 209 | 0.698623 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/DelimitedTextReadSettings.cs | 1,815 | C# |
using System;
using System.Collections.Generic;
using Disqord.Models;
namespace Disqord
{
/// <inheritdoc cref="IBearerAuthorization"/>
public class TransientBearerAuthorization : TransientEntity<AuthorizationJsonModel>, IBearerAuthorization
{
/// <inheritdoc/>
public IApplicatio... | 28.815789 | 113 | 0.588128 | [
"MIT"
] | Neuheit/Diqnod | src/Disqord.Core/Entities/Shared/Transient/TransientBearerAuthorization.cs | 1,097 | C# |
// This file was generated based on Library/Core/UnoCore/Source/Uno/Rect.uno.
// WARNING: Changes might be lost if you edit this file directly.
namespace Uno
{
[global::Uno.Compiler.ExportTargetInterop.DotNetTypeAttribute(null)]
public struct Rect
{
public float Left;
public float Top;
... | 31.684932 | 154 | 0.50209 | [
"MIT"
] | devadiab/uno | src/runtime/Uno.Runtime.Core/Uno/Rect.cs | 6,939 | C# |
using UnityEngine;
namespace LunaClient.Windows.Locks
{
public partial class LocksWindow
{
public override void DrawWindowContent(int windowId)
{
GUILayout.BeginVertical();
GUI.DragWindow(MoveRect);
GUILayout.BeginHorizontal();
GUILayout.EndHori... | 35.150943 | 133 | 0.587225 | [
"MIT"
] | Sladernimo/LunaMultiplayer | Client/Windows/Locks/LocksDrawer.cs | 1,865 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Ryooka.Scripts.General {
public static class QuaternionR {
public static Quaternion Average(IEnumerable<Quaternion> qs) {
int length = qs.Count();
if (length == 0) return Quaternion.ident... | 33.358974 | 93 | 0.681015 | [
"MIT"
] | ryo0ka/Sightsync | Assets/Ryooka/Scripts/General/QuaternionR.cs | 1,303 | 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("DI... | 39.333333 | 84 | 0.747881 | [
"Apache-2.0"
] | huaweicloud/huaweicloud-sdk-net-dis | DotNet/DISClient_4.5/Properties/AssemblyInfo.cs | 1,419 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace GPUImageViewer
{
/// <summary>
/// Логика взаимодействия для App.xaml
/// </summary>
public partial class App : Application
... | 18.444444 | 42 | 0.710843 | [
"MIT"
] | Boris-Barboris/GPUImageViewer | App.xaml.cs | 357 | 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>
//---... | 24.176 | 80 | 0.463269 | [
"Unlicense"
] | SpicyGarlicAlbacoreRoll/AK_ATV | AK_ATV_Simulator/Assets/SteamVR_Input/ActionSetClasses/SteamVR_Input_ActionSet_default.cs | 3,022 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Reflection.Core.Execution;
// This file contains System.Private.TypeLoader dep... | 24.425532 | 102 | 0.669861 | [
"MIT"
] | ZZHGit/corert | src/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/TypeLoaderDependencies.cs | 1,148 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace DTFiniteGraphMachine {
public partial class GraphAssetEditorWindow : EditorWindow {
private enum TransitionViewStyle {
NORMAL = 1,
SEMI_HIGHLIGHTED = 2,
HIGHLIGHTED = ... | 30.714286 | 71 | 0.668217 | [
"MIT"
] | DarrenTsung/finite-graph-machine | FiniteGraphMachine/Editor/EditorWindow/GraphAssetEditorWindow.TransitionViewStyle.cs | 1,290 | C# |
using System.Text;
using Uno.Compiler.API.Domain.IL.Types;
namespace Uno.Compiler.API.Domain.IL.Expressions
{
public sealed class CallDelegate : CallExpression
{
public Expression[] Arguments;
public CallDelegate(Source src, Expression obj, params Expression[] args)
: base(src)
... | 29.844828 | 97 | 0.577123 | [
"MIT"
] | Nicero/uno | src/compiler/api/Domain/IL/Expressions/CallDelegate.cs | 1,731 | C# |
using DadSimulator.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace DadSimulator.Tests
{
public class GraphicsLoader
{
private static readonly ITemplateLoader m_loader;
static GraphicsLoader()
{
var sim = new DadSimulator();
... | 23.464286 | 66 | 0.611872 | [
"MIT"
] | BYTEzel/DadSimulator | DadSimulator.Tests/GraphicsLoader.cs | 659 | C# |
/*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System.ComponentMo... | 40.005814 | 251 | 0.596425 | [
"MIT"
] | wildbook/LeagueClientApi | Model/LolMatchmakingMatchmakingLowPriorityData.cs | 6,881 | 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... | 33.184466 | 110 | 0.601229 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Personalize/Generated/Model/ListSolutionsRequest.cs | 3,418 | C# |
namespace Telerik.UI.Xaml.Controls.Chart
{
internal abstract class HighLowIndicatorDataSourceBase : CategoricalSeriesDataSource
{
private DataPointBinding highBinding;
private DataPointBinding lowBinding;
public DataPointBinding HighBinding
{
get
{
... | 24.672727 | 88 | 0.43552 | [
"Apache-2.0"
] | ChristianGutman/UI-For-UWP | Controls/Chart/Chart.UWP/Visualization/DataBinding/DataSources/Financial/HighLowIndicatorDataSourceBase.cs | 1,359 | 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... | 43.15411 | 190 | 0.607571 | [
"MIT"
] | 333fred/runtime | src/tests/JIT/HardwareIntrinsics/General/Vector128_1/op_Inequality.Double.cs | 12,601 | C# |
using System;
using Android.Runtime;
using Com.Mapbox.Android.Core.Location;
using Java.Lang;
namespace Com.Mapbox.Mapboxsdk.Annotations
{
public partial class Marker
{
public override int CompareTo(Java.Lang.Object obj)
{
return CompareTo((Marker)obj);
}
}
public ... | 29.197368 | 309 | 0.592835 | [
"MIT"
] | jploo/mapbox-android-binding | Naxam.Mapbox.Droid/Additions/Classes.cs | 4,440 | C# |
/* Copyright 2010-present 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 ... | 28.627119 | 75 | 0.5672 | [
"MIT"
] | naivetang/2019MiniGame22 | Server/ThirdParty/MongoDBDriver/MongoDB.Bson/ObjectModel/BsonBinarySubType.cs | 1,691 | C# |
// -----------------------------------------------------------------------
// <copyright file="Program.cs" company="Asynkron HB">
// Copyright (C) 2015-2017 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using Syst... | 30.492308 | 90 | 0.447528 | [
"Apache-2.0"
] | amccool/protoactor-dotnet | examples/ReceiveTimeout/Program.cs | 1,984 | C# |
#if iOS
using OpenTK.Graphics.ES11;
using Foundation;
using ObjCRuntime;
using OpenGLES;
using TextureTarget = OpenTK.Graphics.ES11.All;
using TextureParameterName = OpenTK.Graphics.ES11.All;
using EnableCap = OpenTK.Graphics.ES11.All;
using ArrayCap = OpenTK.Graphics.ES11.All;
using BlendingFactorSrc = Open... | 34.760726 | 222 | 0.59136 | [
"MIT"
] | Beyley/osu-stream | osu!stream/GameBase.cs | 21,065 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UserInterface;
public enum WindowBuilderCanvas
{
Screen,
World
}
public static class WindowBuilder
{
public static readonly Dictionary<string, GameObject> OpenWindowDictionary = new Dictionary<string, GameObjec... | 32.485294 | 246 | 0.669534 | [
"MIT"
] | palmelund/prototype-rpg | Assets/Scripts/UserInterface/WindowBuilder.cs | 2,211 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Linq;
namespace CombatSystemComponent
{
//Manages common helper methods and helper functions that can be used by each character in the game
abstract class HelperBase : CharacterBase
{
//Action ... | 38.679775 | 182 | 0.598112 | [
"MIT"
] | geodreamalpha/geodreamalpha | desktop/Unity/Assets/CombatSystem/Scripts/Model/Model 2/HelperBase.cs | 6,885 | C# |
using System;
namespace InsertionSort
{
class Program
{
static void PrintArray(int[] arr)
{
for (int i = 0; i < arr.Length; i++)
{
System.Console.WriteLine(arr[i]);
}
}
static void InsertionSort(int[] nums)
... | 32.192982 | 90 | 0.434877 | [
"MIT"
] | TitanX1503/insertion-sort | insertionsort.cs | 1,847 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.E... | 42.548387 | 157 | 0.802881 | [
"MIT"
] | 06needhamt/roslyn | src/VisualStudio/CSharp/Impl/LanguageService/HACK_CSharpCreateServicesOnUIThread.cs | 1,321 | C# |
// Code generated by a template
// Project: Remember
// LastUpadteTime: 2019-12-03 10:32:23
using Domain.Entities;
using Repositories.Core;
using Repositories.Interface;
namespace Repositories.Implement
{
public partial class SettingRepository : BaseRepository<Setting>, ISettingRepository
{
private rea... | 24.3 | 88 | 0.707819 | [
"Apache-2.0"
] | fossabot/remember | src/Libraries/Repositories/Auto/Implement/SettingRepository.cs | 486 | C# |
namespace _00.Practice
{
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
}
}
}
| 12.642857 | 37 | 0.553672 | [
"MIT"
] | Pazzobg/02.01.Programming-Fundamentals-SelfStudy | 06.Advanced-Collections/05.Dictionaries-Extended-1-Advanced-Collections_Lab/00.Practice/Program.cs | 179 | C# |
using System.Collections;
using UnityEngine;
public class Shot : MonoBehaviour {
void Start() {
var rb = GetComponent<Rigidbody>();
rb.AddForce(transform.forward * 30, ForceMode.Impulse);
StartCoroutine(DestroyAfterDelay());
}
IEnumerator DestroyAfterDelay() {
yield retur... | 24.125 | 63 | 0.623489 | [
"MIT"
] | OneManMonkeySquad/SandboxAI | Example/Robot/Shot.cs | 581 | 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... | 32.272727 | 255 | 0.622887 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Devices/V20191104/GetIotHubResourceEventHubConsumerGroup.cs | 2,840 | 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... | 30.346154 | 179 | 0.577693 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-alicloud | sdk/dotnet/Nas/GetAccessRules.cs | 3,945 | C# |
using System;
using Microsoft.Extensions.Logging;
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.Shapes;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Controls
{
/// <include file="../../docs/Microsoft.Maui.Controls/RadioButton.xml" path="Type[@FullName='Microsoft.Maui.Controls.Radio... | 38.388704 | 307 | 0.744526 | [
"MIT"
] | Xero-9/maui | src/Controls/src/Core/RadioButton.cs | 23,110 | C# |
/*
Copyright 2014 Alex Dyachenko
This file is part of the MPIR Library.
The MPIR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 3 of the License, or (at
your option) any later ver... | 43.322314 | 162 | 0.540824 | [
"Apache-2.0"
] | CrypToolProject/CrypTool-2 | LibSource/mpir/mpir.net/mpir.net-tests/HugeFloatTests/ExpressionTests.cs | 5,244 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;... | 22.241379 | 45 | 0.71938 | [
"MIT"
] | mota-b/Business-Management | Business-Management_WPF/MainWindow.xaml.cs | 647 | 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.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using System... | 40.549943 | 158 | 0.620091 | [
"MIT"
] | szilvaa-adsk/runtime | src/libraries/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.cs | 35,319 | C# |
namespace BlizzardApiReader.Diablo.Models
{
public class Skill
{
public string Slug { get; set; }
public string Name { get; set; }
public string Icon { get; set; }
public long Level { get; set; }
public string TooltipUrl { get; set; }
public string Description { ... | 28 | 51 | 0.589286 | [
"MIT"
] | avivbiton/BlizzardApiReader | BlizzardApiReader.Diablo/Models/Skill.cs | 394 | C# |
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Text;
namespace AOTMapper.Benchmark.Data
{
public class UserEntity
{
public UserEntity()
{
}
public UserEntity(Guid id, string firstName, string lastName)
{
this.Id = id;
... | 20.342857 | 69 | 0.566011 | [
"MIT"
] | byme8/AOTMapper | AOTMapper.Benchmark/Data/User.cs | 714 | C# |
namespace SampleCoinigy
{
using System.Windows;
using System.Windows.Threading;
public partial class App
{
private void ApplicationDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
{
MessageBox.Show(MainWindow, e.Exception.ToString());
e.Handled = true;
}
}
} | 22.285714 | 110 | 0.775641 | [
"Apache-2.0"
] | DimTrdr/StockSharp | Samples/Coinigy/SampleCoinigy/App.xaml.cs | 312 | C# |
using System;
using System.Web;
using EPiServer.Cms.UI.AspNetIdentity;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
[assembly: OwinStartup(typeof(TimeProperty.AlloySample.Startup))]
namespace TimeProperty.AlloySample
{
... | 41.877551 | 170 | 0.652534 | [
"Apache-2.0"
] | advanced-cms/time-property | src/TimeProperty.AlloySample/Startup.cs | 2,052 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Squircle
{
public class InputHandler
{
KeyboardState _currentKeyboardState;
KeyboardState _previousKeyboardState;
... | 31.444444 | 142 | 0.639183 | [
"MIT"
] | GretelF/squircle | source/Squircle/Squircle/InputHandler.cs | 2,549 | C# |
using System;
public static partial class Extension
{
/// <summary>
/// An object extension method that converts the @this to a nullable character.
/// </summary>
/// <param name="this">The @this to act on.</param>
/// <returns>@this as a char?</returns>
public static char? ToNullableChar(... | 31.785714 | 92 | 0.617978 | [
"MIT"
] | Cactus-Blade/Cactus.Blade.Core | Core/System.Object/Convert/ToValueType/Object.ToNullableChar.cs | 447 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace MyHeritage.App.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser :... | 24.857143 | 95 | 0.784483 | [
"MIT"
] | nimeshvaghasiya/MyHeritage | src/MyHeritage.App/Models/ApplicationUser.cs | 350 | C# |
using System.Collections.Generic;
using FootballApp.Services.Dtos.Standings;
namespace FootballApp.Services.DataServices.Contracts
{
public interface IStandingService
{
ICollection<StandingDto> GetByCountry(string country);
}
}
| 22.727273 | 62 | 0.772 | [
"MIT"
] | VanGog06/FootballApp | Services/FootballApp.Services.DataServices/Contracts/IStandingService.cs | 252 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Grasshopper.Kernel;
namespace Objectivism
{
class AccessChecker
{
private Dictionary<string, PropertyAccess> accessRecorder;
private HashSet<string> warningsToThrow;
private IGH_Component hostRef;
public ... | 29.039474 | 170 | 0.469869 | [
"MIT"
] | DominicBeer/Objectivism | Components/ComponentUtil/AccessChecker.cs | 2,209 | C# |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Refle... | 29.1 | 79 | 0.417526 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/clr/src/services/enums/numeric.cs | 582 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioSwitch : MonoBehaviour {
public AudioSource source;
public AudioClip switchTo;
void OnTriggerEnter2D(Collider2D other) {
switchAudio ();
}
void switchAudio() {
source.Stop();
source.loop = true;
source.Pla... | 17.3 | 42 | 0.745665 | [
"MIT"
] | chenvictor/lumohacks-2018 | Assets/MyAssets/MainCharacter/Controller/AudioSwitch.cs | 348 | C# |
using MIRI.Serialization;
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.IO;
using System.Runtime.Serialization.Json;
n... | 30.913514 | 136 | 0.543976 | [
"BSD-3-Clause"
] | JedBurke/MIRI | MIRI/MangaUpdatesSearch.cs | 5,721 | C# |
// ReSharper disable InconsistentNaming
namespace AlphaVantage.Net.Core
{
/// <summary>
/// Possible functions of Alpha Vantage API
/// </summary>
public enum ApiFunction
{
// Stock Time Series Data
TIME_SERIES_INTRADAY,
TIME_SERIES_DAILY,
TIME_SERIES_DAILY_ADJUSTED,... | 18.816092 | 47 | 0.485644 | [
"MIT"
] | infine8/AlphaVantage.Net | AlphaVantage.Net/src/AlphaVantage.Net.Core/ApiFunction.cs | 1,639 | C# |
#if ENABLE_PLAYFABPLAYSTREAM_API && ENABLE_PLAYFABSERVER_API
using System;
using System.IO;
using System.Net;
namespace SignalR.Client._20.Http
{
public class HttpWebResponseWrapper : IResponse
{
private readonly HttpWebResponse m_response;
public HttpWebResponseWrapper(HttpWebResponse respon... | 21.447368 | 63 | 0.61227 | [
"MIT"
] | BrianPeek/Scavenger | src/Unity/Assets/PlayFabSdk/Shared/SignalR.NET20/Http/HttpWebResponseWrapper.cs | 817 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK Github:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
/... | 37.329787 | 106 | 0.62126 | [
"MIT"
] | KenichiKawamura/MS-BotBuilder | CSharp/Library/Microsoft.Bot.Builder.History/ReplayTranscript.cs | 3,511 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HallOfBeorn.Models.LotR.Scenarios.Haradrim
{
public class BeneathTheSandsScenario : Scenarios.TheSandsOfHarad.TheSandsOfHaradScenario
{
public BeneathTheSandsScenario()
{
Title... | 37.066667 | 161 | 0.618106 | [
"MIT"
] | danpoage/hall-of-beorn | src/HallOfBeorn/Models/LotR/Scenarios/Haradrim/BeneathTheSandsScenario.cs | 1,671 | C# |
// WinterLeaf Entertainment
// Copyright (c) 2014, WinterLeaf Entertainment LLC
//
// All rights reserved.
//
// The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement").
//
// These license terms are an agreement between WinterLeaf Entertainmen... | 44.832192 | 819 | 0.598656 | [
"MIT",
"Unlicense"
] | RichardRanft/OmniEngine.Net | Templates/C#-Empty/Winterleaf.Demo.Full/Models.User/GameCode/Tools/GuiEditor/gui/CodeBehind/GuiEditorGroup.ed.cs | 12,804 | C# |
#if UNITY_2020_1_OR_NEWER
using System.Collections.Generic;
using UnityEngine;
namespace Unity.MLAgents.Extensions.Sensors
{
/// <summary>
/// Utility class to track a hierarchy of ArticulationBodies.
/// </summary>
public class ArticulationBodyPoseExtractor : PoseExtractor
{
ArticulationB... | 31.205128 | 96 | 0.55341 | [
"Apache-2.0"
] | CYBER-CROP/ml-agents | com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodyPoseExtractor.cs | 2,434 | C# |
using System;
using MachinaTrader.Globals.Structure.Enums;
namespace MachinaTrader.Globals.Structure.Models
{
public class ExchangeOptions
{
public Exchange Exchange { get; set; }
public string ApiKey { get; set; }
public string ApiSecret { get; set; }
public string PassPhrase {... | 29.181818 | 69 | 0.652648 | [
"MIT"
] | Binkus/MachinaTrader | MachinaTrader.Globals.Structure/Models/ExchangeOptions.cs | 642 | C# |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KbAdvertAdvChannelResponse Data Structure.
/// </summary>
[Serializable]
public class KbAdvertAdvChannelResponse : AopObject
{
/// <summary>
//... | 24.644444 | 76 | 0.550947 | [
"MIT"
] | leixf2005/Alipay.AopSdk.Core | Alipay.AopSdk.Core/Domain/KbAdvertAdvChannelResponse.cs | 1,145 | C# |
using System;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.Logging;
using Nier.ACME.Core;
namespace Nier.ACME.AspNetCore.Kestrel
{
public class AutoRefreshServerCertificateSelector : IServerCertificateSelector,... | 35.183486 | 117 | 0.491265 | [
"MIT"
] | bladepan/Nier.ACME | Nier.ACME.AspNetCore/Kestrel/AutoRefreshServerCertificateSelector.cs | 3,835 | C# |
using System;
using System.Collections.Generic;
using Simpler.Core.Tasks;
namespace Simpler.Core
{
public class InjectTasksAttribute : EventsAttribute
{
readonly List<string> _injectedSubTaskPropertyNames = new List<string>();
public override void BeforeExecute(Task task)
{
... | 31.259259 | 130 | 0.658768 | [
"MIT"
] | gregoryjscott/Simpler | api/Simpler/Core/InjectTasksAttribute.cs | 844 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Dbg = System.Management.Automation;
using System.Management.Automation.Internal;
namespace System.Management.Automation
{
/// <summary>
/// Exposes the Cmdlet Family Providers to the Cmdlet base class. The me... | 35.443478 | 138 | 0.622669 | [
"Apache-2.0",
"MIT-0"
] | Lolle2000la/PowerShell | src/System.Management.Automation/engine/CmdletFamilyProviderInterfaces.cs | 4,076 | C# |
// Copyright 2021 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 in ... | 41.92 | 126 | 0.631997 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/notebooks/v1/google-cloud-notebooks-v1-csharp/Google.Cloud.Notebooks.V1.StandaloneSnippets/NotebookServiceClient.ListSchedulesResourceNamesAsyncSnippet.g.cs | 3,144 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 60.893855 | 354 | 0.679266 | [
"MIT"
] | danielortega-msft/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringCollection.cs | 21,800 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using DG.Tweening;
using UnityEngine;
namespace Gamespace.UI
{
public enum CompositeMode
{
Join = 0,
Sequence
};
[Serializable]
public class CompositeAnimation : UIAnimation
{
... | 30.642857 | 84 | 0.421911 | [
"MIT"
] | MagicalMontra/Narrative | Assets/DOTweenUIAnimation/Script/CompositeAnimation.cs | 3,434 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Resources;
using RoseByte.AdoSession.Interfaces;
using RoseByte.AdoSession.Internals;
namespace RoseByte.AdoSession
{
... | 33.37037 | 131 | 0.54495 | [
"MIT"
] | mezitrny/DbSession | AdoSession/AdoSession/Session.cs | 9,913 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using BuildXL.Cache.ContentStore.FileSystem;
using BuildXL.Cache.ContentStore.Interfaces.FileSystem;
using BuildXL.Cache.ContentStore.InterfacesTest.Time;
using ContentStoreTest.Test;
using BuildXL.Cache.MemoizationStore.Interfaces.Stor... | 42 | 141 | 0.671981 | [
"MIT"
] | Microsoft/BuildXL | Public/Src/Cache/MemoizationStore/DistributedTest/RedisMemoizationSessionTests.cs | 4,706 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SilupostWeb.Domain.ViewModel
{
public class SystemWebAdminModuleViewModel
{
public long? SystemWebAdminModuleId { get; set; }
public string SystemWebAdminModuleName { g... | 22.6 | 60 | 0.737463 | [
"Apache-2.0"
] | erwin-io/Silupost | SilupostWebApp/SilupostWeb.Domain/ViewModel/SystemWebAdminModuleViewModel.cs | 341 | C# |
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... | 37 | 121 | 0.607043 | [
"Apache-2.0"
] | econmed/ImageServer20 | ImageServer/Rules/Specifications/DicomExpression.cs | 6,107 | C# |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace L2PNewsTicker.Droid
{
[Activity (Label = "L²P NewsTicker", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize... | 26.08 | 162 | 0.731595 | [
"BSD-2-Clause"
] | auxua/L2PNewsTicker | L2PNewsTicker/L2PNewsTicker.Droid/MainActivity.cs | 655 | C# |
using DCL.Controllers;
using System.Collections;
using System.Collections.Generic;
using DCL;
using DCL.Builder;
using UnityEngine;
public class BuilderInWorldAudioHandler : MonoBehaviour
{
const float MUSIC_DELAY_TIME_ON_START = 4f;
const float MUSIC_FADE_OUT_TIME_ON_EXIT = 5f;
const float MUSIC_FADE_OUT_... | 31.174905 | 124 | 0.671911 | [
"Apache-2.0"
] | JuanMartinSalice/unity-renderer | unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/BuilderInWorldAudioHandler.cs | 8,199 | C# |
using AmazonSpApiSDK.Api.Orders;
using AmazonSpApiSDK.Clients;
using AmazonSpApiSDK.Models;
using AmazonSpApiSDK.Models.Orders;
using FikaAmazonAPI.Parameter.Order;
using FikaAmazonAPI.Utils;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace FikaAmazonAPI.Services
{
pub... | 39.929825 | 122 | 0.66652 | [
"MIT"
] | KristopherMackowiak/Amazon-SP-API-CSharp | Source/FikaAmazonAPI/Services/OrderService.cs | 4,554 | C# |
namespace SharpVk.Glfw
{
/// <summary>
/// Events that may be raised from a monitor callback.
/// </summary>
public enum MonitorEvent
{
/// <summary>
/// The monitor was connected.
/// </summary>
Connected = 0x00040001,
/// <summary>
/// The monitor ... | 22.388889 | 58 | 0.528536 | [
"MIT"
] | FacticiusVir/SharpVk | src/SharpVk.Glfw/MonitorEvent.cs | 405 | 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | 56.647691 | 212 | 0.621988 | [
"MIT"
] | BrianFreemanAtlanta/roslyn | src/Analyzers/Core/CodeFixes/RemoveUnusedParametersAndValues/AbstractRemoveUnusedValuesCodeFixProvider.cs | 52,741 | C# |
using System.Collections.Generic;
namespace LiteDB
{
internal static class DictionaryExtensions
{
public static ushort NextIndex<T>(this Dictionary<ushort, T> dict)
{
ushort next = 0;
while (dict.ContainsKey(next))
{
next++;
}
... | 21.193548 | 107 | 0.493151 | [
"MIT"
] | negue/LiteDB | LiteDB/Utils/DictionaryExtensions.cs | 659 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Apollo.Data
{
public interface ITableModel
{
int id { get; set; }
}
public abstract class BaseDataService
{
protected readonly IConnectionFactory connectionFactory;
... | 31.363636 | 113 | 0.523478 | [
"MIT"
] | charlesj/Apollo | server/Apollo/Data/BaseDataService.cs | 3,452 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
namespace EasyAbp.EShop.Orders.Orders.Dtos
{
[Serializable]
public class GetOrderListDto : PagedAndSortedResultRequestDto
{
public Guid? StoreId { get; set; }
public Guid? CustomerUserId { ... | 26.235294 | 81 | 0.679372 | [
"MIT"
] | EasyAbp/EShop | modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Application.Contracts/EasyAbp/EShop/Orders/Orders/Dtos/GetOrderListDto.cs | 448 | 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("Ass... | 37.567568 | 84 | 0.747482 | [
"MIT"
] | anhminh10a2hoa/Window-programming | Assignment9/Assignment9/Properties/AssemblyInfo.cs | 1,393 | C# |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Content.Server.NodeContainer.NodeGroups;
using Content.Server.NodeContainer.Nodes;
using Content.Shared.Examine;
using Robust.Shared.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Serialization.Manager.Attributes;
using R... | 34.428571 | 116 | 0.560996 | [
"MIT"
] | AzzyIsNotHere/space-station-14 | Content.Server/NodeContainer/NodeContainerComponent.cs | 2,410 | C# |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using DotSpatial.Data;
using NetTopologySuite.Geometries;
using NUnit.Framework;
namespace DotSpatial.Symbology.Tests
{
/// <summary>
/// ... | 33.027778 | 106 | 0.608915 | [
"MIT"
] | AlexanderSemenyak/DotSpatial | Source/DotSpatial.Symbology.Tests/IndexSelectionTests.cs | 1,191 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Seed
{
[UsedImplicitly]
public class SeedSe... | 38.386364 | 106 | 0.568384 | [
"MIT"
] | DandelionSprout/FilterLists | src/FilterLists.Services/Seed/SeedService.cs | 1,691 | C# |
#pragma warning disable 109, 114, 219, 429, 168, 162
namespace haxe.lang
{
public class HaxeException : global::System.Exception
{
public HaxeException(object obj) : base()
{
unchecked
{
#line 34 "C:\\HaxeToolkit\\haxe\\std/cs/internal/Exceptions.hx"
if (( obj is global::haxe.lang.HaxeExcepti... | 21.74359 | 95 | 0.622052 | [
"MIT"
] | AxGord/TicTacToe | unity3d/bin/Assets/src/cs/internal/Exceptions.cs | 1,696 | C# |
using Xamarin.Forms;
namespace XamarinFormsSample.Views
{
/// <summary>
/// This class is a ViewCell that will be displayed for each employee.
/// </summary>
class EmployeeCell : ViewCell
{
public EmployeeCell()
{
StackLayout nameLayout = CreateNameLayout();
... | 36.894737 | 90 | 0.473252 | [
"Apache-2.0"
] | 4qu3l3c4r4/xamarin-forms-samples | GettingStarted/CSSample/CSSample/XamarinFormsSample/Views/EmployeeCell.cs | 2,806 | C# |
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct Duration
{
public uint Value;
}
| 16 | 38 | 0.78125 | [
"MIT"
] | Qibbi/BinaryAssetBuilder | source/BinaryAssetBuilder.Utility/Duration.cs | 130 | C# |
using System;
using Newtonsoft.Json;
namespace InventorConfig
{
public class ConfigLoader : ConfigEngine
{
public ConfigLoader(string path)
{
ConfigFileReadOnly configFile = new ConfigFileReadOnly(path);
Config = DeserializeConfiguration(configFile.Contents);
... | 30.967742 | 162 | 0.611458 | [
"MIT"
] | jordanrobot/InventorConf | src/InventorConfig/ConfigLoader.cs | 962 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using OpenSleigh.Core;
using OpenSleigh.Core.Messaging;
namespace OpenSleigh.Samples.Sample3.Worker.Sagas
{
public class ChildSagaState : SagaState
{
public ChildSagaState(Guid id) : base(id) { }
... | 35.016949 | 125 | 0.684898 | [
"Apache-2.0"
] | PhilboLaggins/OpenSleigh | samples/Sample3/OpenSleigh.Samples.Sample3.Worker/Sagas/ChildSaga.cs | 2,066 | C# |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
using SkbKontur.Cassandra.Primitives.EventLog.Sharding;
namespace CassandraPrimitives.Tests.Tests.EventLog.Sharding
{
[TestFixture]
public class KeyDistributorTests
{
[Test]
public void Test... | 35.655172 | 117 | 0.544487 | [
"MIT"
] | skbkontur/cassandra-primitives | CassandraPrimitives.Tests/Tests/EventLog/Sharding/KeyDistributorTests.cs | 2,068 | C# |
using System.Web;
using System.Web.Optimization;
namespace Aurora
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBund... | 49.418605 | 112 | 0.554824 | [
"MIT"
] | nkanish2002/Aurora | Aurora/App_Start/BundleConfig.cs | 2,127 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Problem03
{
public class StartUp
{
public static void Main()
{
string encoded = Console.ReadLine();
string placeholders = Console.ReadLi... | 30.552941 | 85 | 0.461687 | [
"MIT"
] | KonstantinRupchanski/softUni-homeworks | 30.PRACTICAL EXAM/Problem03/StartUp.cs | 2,599 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace helloworldapi
{
public class Program
{
... | 23.192308 | 61 | 0.66335 | [
"MIT"
] | shailensukul/Kubernetes-Introduction | code/helloworldapi/Program.cs | 605 | C# |
using NullReferencesDemo.Presentation.Interfaces;
namespace NullReferencesDemo.Presentation.PurchaseReports
{
public class FailedPurchase: IPurchaseReport
{
private static FailedPurchase instance;
private FailedPurchase()
{
}
public static FailedPurchase Ins... | 20.88 | 57 | 0.545977 | [
"CC0-1.0"
] | rajeeshckr/managing-responsibility | tactical-design-patterns-dot-net-control-flow/7-exercise-files/02 DynamicViewsDemo Before/NullReferencesDemo/Presentation/PurchaseReports/FailedPurchase.cs | 524 | C# |
using Newtonsoft.Json;
using System;
namespace DevOpsLittleHelper
{
public class WebhookRequestEntity
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("subscriptionId")]
public string SubscriptionId { get; set; }
[JsonProperty("notifica... | 26.6 | 73 | 0.536967 | [
"MIT"
] | vijayraavi/DevOpsLittleHelper | DevOpsLittleHelper/Common/WebhookRequestEntity.cs | 1,598 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.