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.Windows.Controls;
namespace BlankApp.Contracts.Views
{
public interface IShellDialogWindow
{
Frame GetDialogFrame();
}
}
| 15.6 | 39 | 0.698718 | [
"MIT"
] | sibille/WTS.WPF.GeneratedApps | BlankApp/BlankApp/Contracts/Views/IShellDialogWindow.cs | 158 | C# |
using System;
namespace Spring.Expressions.Parser.antlr
{
/*ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/license.html
*
* $Id:$
*/
//
// ANTLR C# Code Generator by Micheal Jordan
// Kunle Odutola : ku... | 25 | 96 | 0.664516 | [
"Apache-2.0"
] | 18502079446/cusss | Sys.Expression/Expressions/Parser/antlr/TokenStreamRetryException.cs | 775 | C# |
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Extensions.Logging;
namespace Cratis.Events.Projections.Pipelines.JobSteps
{
/// <summary>
/// Holds log messages for <see cref="Rewind"/>.
//... | 38.882353 | 145 | 0.738275 | [
"MIT"
] | Cratis/cratis | Source/Kernel/Projections/Engine/Pipelines/JobSteps/RewindLogMessages.cs | 661 | C# |
namespace GDShrapt.Reader
{
public abstract class GDDataToken : GDSimpleSyntaxToken
{
}
}
| 14.714286 | 59 | 0.699029 | [
"MIT"
] | elamaunt/GDShrapt | src/GDShrapt.Reader/Basics/GDDataToken.cs | 105 | C# |
// NPP plugin platform for .Net v0.93.96 by Kasper B. Graversen etc.
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using NppPlugin.DllExport;
namespace NppNetInf
{
class UnmanagedExports
{
private static IntPtr _ptrPluginName = IntPtr.Zero;
p... | 32.845238 | 117 | 0.614353 | [
"Apache-2.0"
] | KvanTTT/NppNetInf | src/UnmanagedExports.cs | 2,761 | 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... | 35.150685 | 111 | 0.642245 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Pinpoint/Generated/Model/Internal/MarshallTransformations/AttributeDimensionMarshaller.cs | 2,566 | 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... | 36 | 140 | 0.674797 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/KeyVault/V20210401Preview/Inputs/PrivateLinkServiceConnectionStateArgs.cs | 1,476 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Interop.Serialization
{
using System;
/// <summary>
/// Format deserializer interface.
/// </summary>
public interface IFormatDeserializer
{
/// <summary>
//... | 38.272727 | 128 | 0.662708 | [
"MIT"
] | DANCEcollaborative/PSI | Sources/Runtime/Microsoft.Psi.Interop/Serialization/IFormatDeserializer.cs | 844 | 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.IO;
using System.Threading;
namespace System.Net.WebSockets
{
public static class WebSocketProtocol
{
public static WebSocket CreateFromStream(
... | 32.046512 | 124 | 0.599419 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Net.WebSockets.WebSocketProtocol/src/System/Net/WebSockets/WebSocketProtocol.cs | 1,378 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Eve.Collections
{
/// <description> Unstable </description>
public class NamedList<T> : IEnumerable<KeyValuePair<string, T>>
{
public NamedList()
{
Data = new DynamicArray<KeyValuePair<string, T>>();
}
Dy... | 22.384615 | 82 | 0.541973 | [
"BSD-3-Clause"
] | Yeganloo/CommonLib | Eve.Collections/Collections/NamedList.cs | 2,039 | C# |
using EurekaAPI.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extension... | 27.847222 | 106 | 0.594514 | [
"MIT"
] | symalik/Eureka | EurekaAPI/Startup.cs | 2,005 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UpgradeItemPanel : MonoBehaviour
{
[Header("참조용")]
public GameObject materialItemSlotPanel;
public ItemSlotUI upgradeItemSlotUI;
public GameObject itemSlotUI;
[Header("읽기용")]
public List<ItemSlotData> ... | 30.37931 | 121 | 0.615588 | [
"MIT"
] | Bluebug404/MonsterBattleSimulator | Assets/Scripts/Instance/UI/UpgradeItemPanel.cs | 2,755 | C# |
using System;
namespace TensorSharp
{
[Serializable]
public abstract class Storage : RefCounted
{
public Storage(IAllocator allocator, DType elementType, long elementCount)
{
Allocator = allocator;
ElementType = elementType;
ElementCount = elementCount;
... | 31.659574 | 92 | 0.656586 | [
"BSD-3-Clause"
] | SciSharp/Seq2SeqSharp | TensorSharp/Storage.cs | 1,490 | C# |
using NSubstitute;
using NUnit.Framework;
using PullRequestMonitor.Model;
using PullRequestMonitor.ViewModel;
namespace PullRequestMonitor.UnitTest.ViewModel
{
[TestFixture]
public class RepositoryViewModelTest
{
[Test]
public void TestNameGetter_ReturnsModelName()
{
co... | 28.590909 | 70 | 0.677266 | [
"MIT"
] | jornletnes/pull-request-monitor | PullRequestMonitor.UnitTest/ViewModel/RepositoryViewModelTest.cs | 631 | C# |
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace MyCraft.UI
{
public class Hotbar : MonoBehaviour
{
[SerializeField] private RectTransform highlightTransform;
World world;
Player player;
Inventory inventory;
public HotbarItemSlot[] It... | 29.473684 | 100 | 0.560714 | [
"MIT"
] | curaai00/MyCraft | Assets/Scripts/UI/Hotbar.cs | 1,680 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEditor.ShaderGraph;
namespace UnityEditor.Graphing.UnitTests
{
[TestFixture]
public class BaseMaterialGraphTests
{
[OneTimeSetUp]
public void RunBeforeAnyTest... | 39.047486 | 148 | 0.580871 | [
"Apache-2.0"
] | DPRuin/LearnShader | LearnShader/Library/PackageCache/com.unity.shadergraph@6.9.2/Tests/Editor/UnitTests/SerializedGraphTests.cs | 27,958 | C# |
#if NET40
namespace System.Collections.Generic
{
/// <summary>
/// 表示可按照索引进行访问的元素的只读集合。
/// </summary>
/// <typeparam name="T">只读列表中元素的类型</typeparam>
public interface IReadOnlyList<out T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
{
/// <summary>
/// 获取位于只读列表中指定索引处的元素... | 27.777778 | 95 | 0.59 | [
"MIT"
] | lejiebianlidian/codearts | src/CodeArts/Collections/Generic/IReadOnlyList.cs | 660 | 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.Reflection;
public class Map<K,D> {}
public class C
{
public static int Main()
{
... | 21.7 | 71 | 0.705069 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/Loader/classloader/generics/regressions/433497/vsw433497.cs | 434 | C# |
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.StardewValley
{
public partial class Settings : UserControl
{
private const string RemoveSave_name = "RemoveSave";
public bool RemoveSave
{
get { return RemoveSave_box.Checked; }
set { RemoveSave_... | 36.874459 | 108 | 0.63043 | [
"MIT"
] | Underscore76/LiveSplit.StardewValley | Settings.cs | 8,520 | 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... | 47.666667 | 155 | 0.659674 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/test/Services/AWSHealth/UnitTests/Generated/Marshalling/AWSHealthMarshallingTests.cs | 10,296 | C# |
using System;
namespace NefitEasyDotNet
{
class NefitEasyHttpResponse
{
public int Code { get; }
public string[] HeaderData { get; }
public string Payload { get; }
public NefitEasyHttpResponse(string result)
{
var res = result.Split('\n');
... | 26.6 | 55 | 0.429825 | [
"MIT"
] | larscom/nefit-easy-dotnet | src/NefitEasyDotNet/NefitEasyHTTPResponse.cs | 798 | C# |
using System;
using System.Linq;
class C2
{
static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
static (int, int) Read2() { var a = Read(); return (a[0], a[1]); }
static void Main()
{
var (h, w) = Read2();
var s = Array.ConvertAll(new bool[h], _ => Console.ReadLine());
... | 28.15 | 102 | 0.538188 | [
"MIT"
] | sakapon/AtCoder-Contests | CSharp/Contests2021/ABC191/C2.cs | 565 | C# |
using Ray2Mod.Components.Types;
using Ray2Mod.Game.Functions;
using Ray2Mod.Game.Structs;
using System.Globalization;
namespace Ray2Mod.Utils
{
public static class TextUtils
{
#region Formatting
public static string Red(this string s) => "/O200:" + s + "/O0:";
public static string Yel... | 33.040816 | 101 | 0.569487 | [
"MIT"
] | raytools/Ray2Mod | Ray2Mod/Utils/TextUtils.cs | 1,621 | C# |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using Newtonsoft.Json.Linq;
namespace FineUI.Examples.grid
{
public partial class grid_lockcolumn_summary_scrollbar : PageBase
{
... | 24.92437 | 82 | 0.500674 | [
"Apache-2.0"
] | JesterWang/FineUI | FineUI.Examples/grid/grid_lockcolumn_summary_scrollbar.aspx.cs | 3,078 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 36.304924 | 1,358 | 0.562001 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V6301/Generated/PRPA_MT000002UK03AdviceAndGuidanceRequest.cs | 19,169 | C# |
//using Microsoft.Unity.VisualStudio.Editor;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Achivements : MonoBehaviour
{
public static Achivements instance;
private void Awake()
{
if (instance == null) { instance = this; }
}
[Se... | 30.33871 | 106 | 0.645933 | [
"Apache-2.0"
] | the-Nem/Fujion | C#/Achivements.cs | 1,901 | C# |
/*
MIT License
Copyright (c) 2017 Jeiel Aranal
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, merge, p... | 30.04754 | 134 | 0.675715 | [
"MIT"
] | Zionch/Psd2UnityImporter | Editor/PsdImportWindow.cs | 36,029 | C# |
/*
* Copyright (c) 2018, Firely (info@fire.ly) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://github.com/FirelyTeam/fhir-net-api/blob/master/LICENSE
*/
using Hl7.Fhir.ElementModel;
using Hl7.Fhir.Specification;
using H... | 39.986486 | 137 | 0.570688 | [
"BSD-3-Clause"
] | GinoCanessa/fhir-net-common | src/Hl7.Fhir.Serialization/FhirXmlBuilder.cs | 8,879 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using RecipeApp.Shared.Models;
namespace RecipeApp.Repository.Interfaces
{
public interface IRecipeRepository
{
Task<IEnumerable<Recipe>> GetRecipesAsync();
/// <summary>
... | 28.181818 | 83 | 0.690323 | [
"MIT"
] | godzillar/RecipeApp | RecipeApp.Repository/Interfaces/IRecipeRepository.cs | 622 | C# |
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace nanoFramework.Tools.Debugger
{
public class RuntimeValue_Internal : RuntimeValue
{
p... | 37.434783 | 126 | 0.684088 | [
"Apache-2.0"
] | CSAEngineeringAG/2g-nf-debugger | source/nanoFramework.Tools.DebugLibrary.Shared/Runtime/RuntimeValue_Internal.cs | 863 | 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("Si... | 38.648649 | 84 | 0.756643 | [
"Apache-2.0"
] | NPanday/npanday | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/SilverlightApplication1/SilverlightClassLibrary1/Properties/AssemblyInfo.cs | 1,433 | 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.IO;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using ... | 34.602349 | 176 | 0.503855 | [
"MIT"
] | OfficeDev/Vipr | src/ProxyExtensions/Microsoft.OData.ProxyExtensions/DataServiceContextWrapper.cs | 20,623 | C# |
using FastMember;
using GameEstate.Red.Formats.Red.CR2W;
using GameEstate.Red.Formats.Red.Types.Arrays;
using System.IO;
using System.Runtime.Serialization;
using static GameEstate.Red.Formats.Red.Types.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = ""), REDMeta]
public... | 65.590909 | 134 | 0.673943 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/Partial/CParticleEmitter.cs | 2,886 | C# |
using System;
using System.Collections.Generic;
using GeoAPI.Geometries;
namespace NetTopologySuite.Geometries.Implementation
{
/// <summary>
/// A coordinate sequence that follows the dotspatial shape range
/// </summary>
#if HAS_SYSTEM_SERIALIZABLEATTRIBUTE
[Serializable]
#endif
public class DotS... | 32.411616 | 150 | 0.47799 | [
"EPL-1.0"
] | ChaplinMarchais/NetTopologySuite | NetTopologySuite/Geometries/Implementation/DotSpatialAffineCoordinateSequence.cs | 12,835 | C# |
/*
* MIT License
*
* Copyright (c) 2022 Derek Goslin https://github.com/DerekGn
*
* 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... | 32.965964 | 206 | 0.512979 | [
"MIT"
] | DerekGn/MCP2221IO | MCP2221IO/Device.cs | 20,342 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... | 34.745968 | 121 | 0.511663 | [
"MIT"
] | saxtonjoshua1/CS-Intro-Game-Projects | Boys vs. Girls 2.0/Game1.cs | 8,617 | C# |
using System;
using System.IO;
namespace Pablo.Sauce
{
public class SauceStream : Stream
{
Stream stream;
public SauceStream(SauceInfo sauce, Stream stream)
{
this.Sauce = sauce;
this.stream = stream;
}
public SauceStream(Stream stream)
{
this.stream = stream;
if (SauceInfo.HasSauce(stream)... | 19.159091 | 98 | 0.649466 | [
"MIT"
] | blocktronics/pablodraw | Source/Pablo/Sauce/SauceStream.cs | 1,686 | C# |
using System;
using System.IO;
namespace Simple.ServiceBus.Logging
{
public class SimpleLogger
{
private const string TEXT_PREFIX_FORMAT = "yyyy-MM-dd HH:mm:ss>>";
protected static Object _thatObj;
protected static SimpleLogControl LogControl;
static SimpleLogger()
{
... | 28.653061 | 101 | 0.473647 | [
"Apache-2.0"
] | yuanrui/Examples | Simple.ServiceBus.Common/Logging/SimpleLogger.cs | 4,214 | C# |
using Microsoft.ML.OnnxRuntime.Tensors;
namespace PaintDotNet.Effects.ML.StyleTransfer
{
/// <summary>
/// Style extraction model.
/// </summary>
public interface IStyleModel : IEffectModel
{
/// <summary>
/// Run inference on style extraction model and return style vecto... | 33.166667 | 95 | 0.631491 | [
"MIT"
] | patlevin/pdn-styletransfer | StyleTransfer/StyleTransferEffect/IStyleModel.cs | 599 | C# |
using System;
using System.Numerics;
class DecimalToBinaryNumber
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
if (n == 0)
{
Console.WriteLine(0);
return;
}
BigInteger multiplier = 1;
BigInteger nBinary = 0;
int bi... | 21.28125 | 48 | 0.469897 | [
"MIT"
] | Javorov1103/SoftUni-Course | Programming Basics/07.Loops/Homework/14.Decimal to Binary Number/Decimal to Binary Number.cs | 683 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.KinesisFirehose")]
[assembly: Assem... | 47.9375 | 253 | 0.754889 | [
"Apache-2.0"
] | k0lpak/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/KinesisFirehose/Properties/AssemblyInfo.cs | 1,534 | C# |
namespace CopperSharp.Entity.Impl;
/// <summary>
/// Represents a salmon entity
/// </summary>
public class Salmon : LivingEntity
{
internal Salmon() : base(EntityType.Salmon)
{
}
/// <summary>
/// Whether this salmon was released from bucket
/// </summary>
/// <param name="from">M... | 21.954545 | 56 | 0.598344 | [
"MIT"
] | Maxuss/CopperSharp | CopperSharp/Entity/Impl/Salmon.cs | 483 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace PizzaLab.Data.Migrations
{
public partial class OrderProductModified : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_OrderProduct_Produ... | 33.217949 | 71 | 0.541876 | [
"MIT"
] | EmORz/Simple_Example_Projects | Pizza-Lab-master/PizzaLabWebAPI/Data/PizzaLab.Data/Migrations/20181231112314_OrderProductModified.cs | 2,593 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MDPlayer;
using MDPlayer.Driver;
namespace mdpc
{
public class mdpc
{
private string[] args;
private bool waveout = false;
... | 25.671642 | 119 | 0.386337 | [
"MIT"
] | HoppingTappy/MDPlayer | MDPlayer/mdpc/mdpc.cs | 7,078 | C# |
using System.Diagnostics;
namespace Obscur.Core.Cryptography.Support.Math.EllipticCurve.Custom.SEC
{
internal class SecP224K1Field
{
// 2^224 - 2^32 - 2^12 - 2^11 - 2^9 - 2^7 - 2^4 - 2 - 1
internal static readonly uint[] P = new uint[]{ 0xFFFFE56D, 0xFFFFFFFE, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFF... | 34.415493 | 127 | 0.452834 | [
"Apache-2.0"
] | xorxornop/ObscurCore | Obscur.Core/Cryptography/Support/Math/EllipticCurve/Custom/SEC/SecP224K1Field.cs | 4,889 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is... | 51.035874 | 445 | 0.617301 | [
"MIT"
] | Azure/azure-powershell-common | src/Network/Version2017_10_01/IPublicIPAddressesOperations.cs | 22,762 | C# |
namespace Root.Coding.Code.Models.E01D.Base.Cli.Metadata.Semantic.Elements
{
public interface SemanticStruct_I:SemanticReferenceOrValueType_I
{
}
}
| 23 | 75 | 0.776398 | [
"Apache-2.0"
] | E01D/Base | src/E01D.Base.Cli.Metadata.Semantic.Models/Coding/Code/Models/E01D/Base/Cli/Metadata/Semantic/Elements/SemanticStruct_I.cs | 163 | C# |
using System;
namespace Sogeti.Capstone.Api.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(string text)
... | 24.189189 | 140 | 0.535196 | [
"MIT"
] | DavidMGardner/sogeti.capstone | Sogeti.Capstone.Web/Sogeti.Capstone.Api/Areas/HelpPage/SampleGeneration/TextSample.cs | 895 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// TODO: Remove old namespace after migrating OSGTools
// https://microsoft.visualstudio.com/_git/OSGTools?path=%2Fsrc%2FMicrosoft%2FInternal%2FWindows%2FTools%2FMo... | 49.501754 | 191 | 0.660618 | [
"MIT"
] | MatisseHack/BuildXL | Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net/DScript/ParsingOptions.cs | 14,108 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Thrower : MonoBehaviour
{
public static Thrower instance;
public GameObject throwPrefab;
public Transform throwPoint;
public float rate;
public Vector3 throwForce;
public Vector3 ... | 22.156863 | 79 | 0.618584 | [
"BSD-3-Clause"
] | ValveSoftware/Moondust | Assets/Scripts/Throwing/Thrower.cs | 1,132 | C# |
using Microsoft.EntityFrameworkCore;
using Ordering.Application.Contracts.Persistence;
using Ordering.Domain.Entities;
using Ordering.Infrastructure.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.Infrastructure.Repositories
{
public... | 28.820513 | 78 | 0.625445 | [
"MIT"
] | Ninchuga/AspNetMicroservicesShop | Src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | 1,126 | C# |
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果要增加方法请在当前目录下Partial文件夹Hiiops_Shop_User_ExtractController编写
*/
using Microsoft.AspNetCore.Mvc;
using VOL.Core.Controllers.Basic;
using VOL.Entity.AttributeManager;
using Hiiops.Shop.IServices;
namespace Hiiops.Shop.Controllers
{
[Route("api/Hiiops_Shop_User_Extract")]
[Permiss... | 28.636364 | 113 | 0.77619 | [
"MIT"
] | Hiiops/Hiiops.Outside | Vue.Net/VOL.WebApi/Controllers/Shop/Hiiops_Shop_User_ExtractController.cs | 716 | 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... | 34.116667 | 205 | 0.612604 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/DataFactory/Outputs/ActivityPolicyResponse.cs | 2,047 | 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... | 31.561404 | 109 | 0.657588 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/LexModelBuildingService/Generated/Model/SlotTypeConfiguration.cs | 1,799 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
double width = double.Parse(Console.ReadLine());
double height = double.Parse(Console.ReadLine());
double area = CalculateArea(width... | 20.4 | 60 | 0.647059 | [
"MIT"
] | radoslavvv/Programming-Fundamentals-Extended-May-2017 | Labs/04.MethodsAndDebugging/05.CalculateTriangleArea/05.CalculateTriangleArea.cs | 512 | 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.Data;
using Microsoft.EntityFrameworkCore.Storage;
namespace Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal
{
/// <summary>
/// This is an interna... | 53.847458 | 113 | 0.67548 | [
"MIT"
] | CameronAavik/efcore | src/EFCore.SqlServer/Storage/Internal/SqlServerByteTypeMapping.cs | 3,177 | C# |
using System;
using Google.Protobuf;
using Kronos.Server.Storage;
using Xunit;
namespace Kronos.Server.Tests.Storage
{
public class ExpiringKeyTests
{
[Fact]
public void Ctor_AssignsValues_WithExpiry()
{
// Arrange
var key = new Key();
var expiry = D... | 26.820225 | 108 | 0.528907 | [
"MIT"
] | lukasz-pyrzyk/Kronos | Tests/Kronos.Server.Tests/Storage/ExpiringKeyTests.cs | 4,776 | C# |
using NUnit.Framework;
using PEG.SyntaxTree;
namespace PEG.Tests
{
[TestFixture]
public class CaptureTests
{
[Test]
public void CaptureInitializedProperly()
{
var grammar = TestGrammar.Create();
var parser = new PegParser<TestData>(grammar, grammar.Root());
... | 23.387755 | 91 | 0.461606 | [
"MIT"
] | andrew-boyarshin/npeg | PEG.Tests/CaptureTests.cs | 1,148 | C# |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
#if ANGLE
using OpenTK.Graphics... | 40.856809 | 247 | 0.567399 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | HarryFreeMyLand/FML-Rebase | Other/libs/FSOMonoGame/MonoGame.Framework/Graphics/GraphicsDevice.OpenGL.cs | 52,501 | 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... | 35.752941 | 138 | 0.65153 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/MediaStore/Generated/Model/Internal/MarshallTransformations/ContainerInUseExceptionUnmarshaller.cs | 3,039 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Spoj.Solver.UnitTests.Solutions._7___Immortal
{
[TestClass]
public sealed class ASSIGNTests : SolutionTestsBase
{
public override string SolutionSource => Solver.Solutio... | 21.59322 | 75 | 0.587127 | [
"MIT"
] | davghouse/Daves.SpojSpace | Spoj.Solver.UnitTests/Solutions/7 - Immortal/ASSIGNTests.cs | 1,276 | C# |
using UnityEngine;
namespace MazeObjects
{
class Start : FeatureObject
{
GameObject start;
Maze maze;
public GameObject StartPrefab { get; private set; }
public Start(int xCoord, int yCoord, Maze maze) : base(xCoord, yCoord)
{
this.maze = maze;
... | 22.615385 | 112 | 0.539683 | [
"MIT"
] | KevinLi3/GyroscopeMaze | SE101 Unity Physics/Assets/Scripts/MazeObjects/Start.cs | 882 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
public partial class BigDataPoolRe... | 46 | 595 | 0.476291 | [
"MIT"
] | ChenglongLiu/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/BigDataPoolResourceInfo.Serialization.cs | 14,720 | 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... | 39.11811 | 152 | 0.598229 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.ElasticMapReduce/Model/Internal/MarshallTransformations/InstanceGroupUnmarshaller.cs | 4,968 | C# |
using AutoMapper;
using Bogus;
using FluentAssertions;
using Kongres.Api.Application.Commands.Users;
using Kongres.Api.Application.Helpers;
using Kongres.Api.Application.Mappers.Profiles;
using Kongres.Api.Application.Services;
using Kongres.Api.Application.Services.Interfaces;
using Kongres.Api.Domain.DTOs;
using Kon... | 42.35102 | 158 | 0.62235 | [
"MIT"
] | WyimaginowaneKoniki/Kongres | Kongres.Api/Tests/Kongres.Api.Tests.Unit/Services/UserServiceTests.cs | 20,754 | C# |
using System;
using System.Linq;
using FizzWare.NBuilder;
using UrlBitlyClone.Core.Context;
namespace UrlBitlyClone.Tests.Infrastructure
{
public class ObjectMother
{
/// <summary>
/// Initializes a new instance of the <see cref="ObjectMother"/> class.
/// </summary>
public Obj... | 28.280702 | 178 | 0.555831 | [
"MIT"
] | DanScottNI/UrlShortener | UrlBitlyClone.Tests/Infrastructure/ObjectMother.cs | 1,614 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CarRentalSystem.Infrastructure.Persistence.Migrations
{
public partial class AddIndexes : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateIndex(
name: "IX_Ma... | 29.674419 | 71 | 0.545455 | [
"MIT"
] | SvetoslavIT/CarRentalSystemDDD | Server/CarRentalSystem.Infrastructure/Persistence/Migrations/20210522135607_AddIndexes.cs | 1,278 | C# |
namespace AnimaniaConsole.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class seedtest : DbMigration
{
public override void Up()
{
}
public override void Down()
{
}
}
}
| 17 | 47 | 0.550173 | [
"MIT"
] | theMoaningEchidnas/Database-Project | AnimaniaConsole/AnimaniaConsole.Data/Migrations/201803161405498_seed test.cs | 289 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Ball : MonoBehaviour
{
public float velocity_x;
public float velocity_y = -0.1f;
bool direction;
public Rigidbody2D rb;
int time = 0;
int cache_time = 0;
public Sp... | 20.265625 | 76 | 0.500386 | [
"MIT"
] | neripinata/Epic-Pong | EpicPongV/Assets/Scripts/Ball.cs | 2,596 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using UserStoryBoard.Interface;
using UserStoryBoard.Models;
using UserStoryBoard.Services;
namespace UserStoryBoard.Pages
{
public class UserS... | 28.298246 | 174 | 0.630502 | [
"Unlicense"
] | Pingel91/KanbanBoard | UserStoryBoard/UserStoryBoard/Pages/UserStories/UserStoryDetail.cshtml.cs | 1,613 | C# |
namespace Miningcore.Time;
public class StandardClock : IMasterClock
{
public DateTime Now => DateTime.UtcNow;
}
| 16.857143 | 43 | 0.762712 | [
"MIT"
] | BitWizJason/miningcore | src/Miningcore/Time/StandardClock.cs | 118 | C# |
namespace HermesSpa.Services
{
public partial class RailKaolinApiClient
{
public class CarPlace
{
public int Number { get; set; }
public string Gender { get; set; }
public Price Price { get; set; }
public bool IsFree { get; set; }
}
}
... | 23 | 46 | 0.531056 | [
"MIT"
] | svasorcery/rzd-ru-api | Clients/HermesSpa/Services/RailKaolinApiClient.CarPlace.cs | 324 | C# |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_Rendering_CommandBuffer : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBUG
... | 30.00841 | 194 | 0.714088 | [
"BSD-3-Clause"
] | HugoFang/LuaProfiler | SLua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Rendering_CommandBuffer.cs | 107,042 | C# |
using AAS.API.Models;
using AAS.API.Models.Interfaces;
using Azure;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using Syst... | 40.878866 | 175 | 0.577013 | [
"MIT"
] | JMayrbaeurl/opendigitaltwins-aas-azureservices | src/aas-aasxfile-service/AzureBlobImpl/AzureBlobAASXFileService.cs | 15,863 | C# |
using NHibernate.Cfg.MappingSchema;
using NHibernateHbmToFluent.Converter;
using NHibernateHbmToFluent.Converter.Methods;
using NUnit.Framework;
namespace ConverterTests.Methods
{
public class ColumnTests
{
[TestFixture]
public class When_asked_for_a_FluentNHibernate_name
{
[Test]
public void Should_retu... | 28.428571 | 112 | 0.730438 | [
"MIT"
] | burlhock/hbm-to-fnh | src/ConverterTests/Methods/ColumnTests.cs | 2,786 | C# |
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 TestSetup
{
public partial class Form1 : Form
{
public Form1()
{
... | 18.692308 | 62 | 0.641975 | [
"MIT"
] | wannaphongcom/TestGit | TestSetup/TestSetup/Form1.cs | 488 | C# |
using System;
using System.Runtime.InteropServices;
namespace MsRdpEx
{
public class RdpCoreApi
{
public IMsRdpExCoreApi iface;
public RdpCoreApi()
{
iface = Bindings.GetCoreApi();
}
public void Load()
{
iface.Load();
}
... | 19.016393 | 78 | 0.497414 | [
"MIT"
] | Devolutions/MsRdpEx | dotnet/Devolutions.MsRdpEx/RdpCoreApi.cs | 1,160 | C# |
namespace BankSystem.Client.Commands.BankAccountCommands
{
using System.Linq;
using BankSystem.Client.IO;
using BankSystem.Data;
public static class ListAccountsCommand
{
public static void ListAccounts(BankSystemDbContext db, OutputWriter writer)
{
var result = db
... | 31.4 | 84 | 0.435669 | [
"MIT"
] | mdamyanova/C-Sharp-Web-Development | 09.C# Web/09.01.C# Web Development Basics/02.Introduction to .NET Core and EF Core - Exercise - Complex Databases/04.BankSystem/BankSystem.Client/Commands/BankAccountCommands/ListAccountsCommand.cs | 1,572 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class package : MonoBehaviour {
panel package_panel;
//int selected_index = -1;
Image display;
Animator anim;
Text text_description;
Text text_name;
public Sprite nodisplay;
int ... | 26.488095 | 83 | 0.565393 | [
"MIT"
] | smjy/unity_game | Assets/LSN/Scripts_lsn/package.cs | 2,227 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using ... | 33.442623 | 144 | 0.611275 | [
"MIT"
] | 2011-nov02-net/david-code | 3-MVC/SimpleStore/SimpleStore.WebApp/Startup.cs | 2,040 | C# |
using System;
using Charlotte.Commons;
namespace Charlotte
{
// Token: 0x02000006 RID: 6
internal static class Program
{
// Token: 0x0600000A RID: 10 RVA: 0x00002297 File Offset: 0x00000497
[STAThread]
private static void Main()
{
ProcMain.GUIMain(() => new MainWin());
}
}
}
| 17.352941 | 70 | 0.688136 | [
"MIT"
] | soleil-taruto/Hatena | a20201226/Decompile/BeforeConfuse/Elsa20200001/Program.cs | 297 | C# |
using Verse;
#pragma warning disable IDE1006 // Naming Styles
namespace LoonyLadle.TFs
{
public class HediffCompProperties_Transformative : HediffCompProperties
{
public HediffCompProperties_Transformative() => compClass = typeof(HediffComp_Transformative);
// List of possible transformations.
public Transf... | 25.952381 | 96 | 0.765138 | [
"Unlicense"
] | LoonyLadle/TransformativeFramework | Source/TransformativeFramework/WaysToTransform/HediffCompProperties_Transformative.cs | 547 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 82.084746 | 373 | 0.715259 | [
"MIT"
] | Agazoth/azure-powershell | src/Synapse/Synapse.Autorest/generated/api/Support/ResourceProvisioningState.Completer.cs | 4,785 | C# |
namespace Shuhari.Framework.DomainModel
{
/// <summary>
/// Save authentication result
/// </summary>
public class AuthenticationResultDto : ResultDto
{
/// <summary>
/// User information, or null if auth failed.
/// </summary>
public UserInfo User { get; set; }
... | 23.142857 | 53 | 0.580247 | [
"Apache-2.0"
] | shuhari/Shuhari.Framework | Shuhari.Framework.Common/DomainModel/AuthenticationResultDTO.cs | 326 | C# |
namespace NuGet.ProjectModel
{
public enum ProjectStyle : ushort
{
/// <summary>
/// Unknown
/// </summary>
Unknown = 0,
/// <summary>
/// UAP style, project.lock.json is generated next to project.json
/// </summary>
ProjectJson = 1,
///... | 23.257143 | 91 | 0.501229 | [
"Apache-2.0"
] | Thomas06000/NuGet.Client | src/NuGet.Core/NuGet.ProjectModel/RestoreOutputType.cs | 816 | C# |
using System;
using System.IO;
using NLog;
namespace t4my
{
class Program
{
private static NLog.Logger log = NLog.LogManager.GetCurrentClassLogger();
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("CWD = " + Environment.CurrentDirectory);
// De... | 26.99359 | 123 | 0.632154 | [
"MIT"
] | sajidak/MySQL-Triggers | t4my/Program.cs | 4,213 | C# |
using Improbable.Gdk.Core;
using Unity.Entities;
using UnityEngine;
namespace Improbable.Gdk.TransformSynchronization
{
[DisableAutoCreation]
[UpdateAfter(typeof(DefaultUpdateLatestTransformSystem))]
[UpdateAfter(typeof(RateLimitedTransformSendSystem))]
[UpdateInGroup(typeof(SpatialOSUpdateGroup))]
... | 33.685185 | 112 | 0.611325 | [
"MIT"
] | 456-Ritwik/gdk-for-unity | workers/unity/Packages/io.improbable.gdk.transformsynchronization/Systems/RateLimitedPositionSendSystem.cs | 1,819 | 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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Mi... | 33.781818 | 99 | 0.649085 | [
"MIT"
] | belav/roslyn | src/Features/Core/Portable/AddPackage/InstallPackageDirectlyCodeAction.cs | 1,860 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHealth : Health
{
int tierRange; //How many value are in one tier
int CurrentTier => Mathf.CeilToInt((float)currentHealth / tierRange); //Get which tier the player is in
int currentTier;
protected overri... | 25.479167 | 107 | 0.619787 | [
"MIT"
] | SpeedyE1780/Light-Is-Your-Friend | Assets/Scripts/Player/PlayerHealth.cs | 1,225 | C# |
using System.Collections.Generic;
using System.Linq;
using Windows.Services.Maps;
namespace Microsoft.Maui.Essentials
{
public static partial class LocationExtensions
{
internal static IEnumerable<Placemark> ToPlacemarks(this IEnumerable<MapLocation> mapLocations)
{
return mapLocati... | 36.967742 | 103 | 0.6274 | [
"MIT"
] | Eilon/maui | src/Essentials/src/Types/PlacemarkExtensions.uwp.cs | 1,146 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web... | 51.470085 | 196 | 0.62309 | [
"MIT"
] | aesmailsparta/2019-09-c-sharp-labs | labs/lab_47_NET_API/Areas/HelpPage/HelpPageConfigurationExtensions.cs | 24,088 | C# |
//Lambda动态表达式
public static class LambdaDynamicExpressions
{
public static Expression<Func<T, bool>> True<T>() { return f => true; }
public static Expression<Func<T, bool>> False<T>() { return f => false; }
public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> expr1, Expression<Func... | 44.263158 | 121 | 0.687277 | [
"MIT"
] | colindcli/COLINBLOG | Net.Utility/LambdaDynamicExpressions.cs | 851 | C# |
using System.Collections.Generic;
using JetBrains.Annotations;
namespace System.Linq.Dynamic.Core.CustomTypeProviders
{
/// <summary>
/// Interface for providing functionality to find custom types for or resolve any type.
/// </summary>
public interface IDynamicLinkCustomTypeProvider
{
///... | 36.72 | 91 | 0.645969 | [
"Apache-2.0"
] | akrisiun/System.Linq.Dynamic.Core | src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs | 920 | C# |
// This file was modified by Kin Ecosystem (2019)
using System;
using System.Globalization;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kin.Base;
namespace kin_base_test
{
[TestClass]
public class OperationTest
{
[TestMethod]
public void... | 49.515625 | 347 | 0.680484 | [
"Apache-2.0"
] | kinecosystem/dotnet-stellar-sdk | kin-base-test/OperationTest.cs | 34,859 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/credentialprovider.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Inter... | 57.869565 | 162 | 0.783621 | [
"MIT"
] | reflectronic/terrafx.interop.windows | sources/Interop/Windows/Windows/um/credentialprovider/CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE.cs | 1,333 | 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 ... | 25.204545 | 105 | 0.688458 | [
"Apache-2.0"
] | fossabot/aliyun-openapi-net-sdk | aliyun-net-sdk-alidns/Alidns/Model/V20150109/DeleteGtmAddressPoolRequest.cs | 2,218 | C# |
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using SFA.DAS.NServiceBus.AzureFunction.Hosting;
using SFA.DAS.NServiceBus.AzureFunctionExample;
[assembly: WebJobsStartup(typeof(Startup))]
namespace SFA.DAS.NServiceBus.AzureFunctionExample
{
public class Startup :IWebJobsStartup
{
... | 31.428571 | 71 | 0.70303 | [
"MIT"
] | SkillsFundingAgency/das-shared-packages | SFA.DAS.NServiceBus/SFA.DAS.NServiceBus.AzureFunctionExample/Startup.cs | 662 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NEXCORE.Common.Data;
namespace NEXCORE.Interfaces
{
public interface IMenuRepository
{
void LoadMenu();
IList<Menu> GetMenus();
IList<Menu> GetMyMenuList(string userId);
void AddMenu(M... | 18.258065 | 49 | 0.64841 | [
"MIT"
] | hsi79/SK.WMS | 10.NEXCORE Framework/NEXCORE.Interfaces/Menu Manager/IMenuRepository.cs | 568 | C# |
// DragonFruit Link Copyright (C) DragonFruit Network <inbox@dragonfruit.network>
// Licensed under MIT. Please refer to the LICENCE file for more info
using System;
using Newtonsoft.Json;
namespace DragonFruit.Link.Store.Objects
{
public class SteamFeaturedAppListing
{
[JsonProperty("id")]
p... | 26.644737 | 112 | 0.627654 | [
"MIT"
] | dragonfruitnetwork/Link | DragonFruit.Link/Store/Objects/SteamFeaturedAppListing.cs | 2,027 | C# |
using Discord;
using Discord.Commands;
using Discord.Commands.Permissions.Levels;
using Discord.Modules;
using Discord.Net;
using DiscordBot.Services;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.T... | 44.860317 | 165 | 0.408181 | [
"MIT"
] | Asian-Demon-Blast/DemoBot | src/DiscordBot/Modules/Github/GithubModule.cs | 14,133 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.