content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
/* Copyright (c) Citrix Systems 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 notice, this li... | 44.37234 | 170 | 0.65428 | [
"BSD-2-Clause"
] | wdxgy136/xenadmin-yeesan | XenAdminTests/XenModelTests/DestroyPolicyActionTests.cs | 4,173 | C# |
namespace Antlr4CodeCompletion.CoreUnitTest.Grammar
{
public partial class ExprLexer
{
}
public partial class ANTLRv4Lexer { }
public partial class ANTLRv4Parser { }
}
| 19 | 52 | 0.715789 | [
"MIT"
] | kaby76/antlr4-c3 | ports/c#/test/Antlr4CodeCompletion.CoreUnitTest/Grammar/Expr.g4.lexer.cs | 192 | C# |
using System.Diagnostics.CodeAnalysis;
using Content.Shared.Physics;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
using Robust.Shared.Maths;
using Robust.Shared.Physics;
using Robust.Shared.Physics.Broadphase;
namespace Content.Shared.Spawning
{
public static class EntitySystemExtensions
{
... | 35.104651 | 121 | 0.613117 | [
"MIT"
] | A-Box-12/space-station-14 | Content.Shared/Spawning/EntitySystemExtensions.cs | 3,021 | C# |
using System;
using UnityEditor;
using UnityEngine;
namespace UnityStandardAssets.ImageEffects
{
[CustomEditor(typeof(Tonemapping))]
class TonemappingEditor : Editor
{
SerializedObject serObj;
SerializedProperty type;
// CURVE specific parameter
SerializedProperty remapCur... | 44.375 | 127 | 0.608853 | [
"BSD-3-Clause"
] | dudemancart456/HedgePhysics | HedgePhysics/Assets/Editor/ImageEffects/TonemappingEditor.cs | 4,970 | C# |
using VocaDb.Model.Domain.Songs;
namespace VocaDb.Model.DataContracts.Songs {
public class ArchivedSongVersionContract : ArchivedObjectVersionContract {
public ArchivedSongVersionContract() { }
public ArchivedSongVersionContract(ArchivedSongVersion archivedVersion)
: base(archivedVersion) {
ChangedFiel... | 24.041667 | 116 | 0.778163 | [
"MIT"
] | cazzar/VocaDbTagger | VocaDbModel/DataContracts/Songs/ArchivedSongVersionContract.cs | 579 | C# |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using System.Net;
using Tesseract;
using System.IO;
using ElasticsearchOCRServiceExample.Services;
namespace ElasticsearchOCRServiceExample.Controllers
{
[ApiController]
[Route("[co... | 29.288889 | 97 | 0.663885 | [
"MIT"
] | GalenHealthcare/Elasticsearch-OCR-Service-Example | ElasticsearchOCRServiceExample/Controllers/UploadController.cs | 1,320 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AngleSharp.Dom;
using AngleSharp.Html;
using AngleSharp.Html.Dom;
using AngleSharp.Html.Parser;
using Statiq.Common;
namespace Statiq.Html
{
/// <summary>
/// Queries HTML... | 38.511811 | 149 | 0.527908 | [
"MIT"
] | JoshClose/Statiq.Framework | src/extensions/Statiq.Html/GatherHeadings.cs | 9,784 | C# |
/*
* Copyright 2018 Sage Intacct, 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
*
* or in the "LICENSE" file accompanying t... | 29.4 | 80 | 0.653061 | [
"Apache-2.0"
] | ILya-Lev/intacct-sdk-net | Intacct.SDK.Tests/Functions/AccountsReceivable/InvoiceSummaryCreateTest.cs | 1,619 | C# |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.ChangeFeed.FeedManagement
{
using System;
using System.Collections.Generic;
u... | 40.842424 | 169 | 0.58985 | [
"MIT"
] | JohnLTaylor/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/FeedManagement/EqualPartitionsBalancingStrategy.cs | 6,741 | C# |
public class Direction
{
} | 8 | 23 | 0.625 | [
"MIT"
] | harjup/ChillTreasureTime | src/ChillTeasureTime/Assets/src/scripts/Interaction/Direction.cs | 34 | C# |
using System;
using System.Collections.Generic;
using Golconda.Models;
using Golconda.Services.Contracts;
using Microsoft.Xna.Framework;
namespace Golconda.Services
{
/// <summary>
/// Contains the list of projections used to project nested local coordinates onto the screen.
/// </summary>
... | 35.128834 | 210 | 0.564792 | [
"MIT"
] | lionel-panhaleux/yawp-court | Monogame/Golconda/Services/Projector.cs | 5,728 | 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... | 26.448276 | 81 | 0.647979 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Media/V20190501Preview/Inputs/HlsArgs.cs | 767 | C# |
// Copyright 2018 Niklas K.
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRA... | 42.71 | 150 | 0.497006 | [
"MIT"
] | drdaxxy/ffxvDitherPatch | Craf/CrafArchive.cs | 29,899 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Prism.Mvvm;
#if HAS_UWP
using Windows.UI.Xaml;
#elif HAS_WINUI
using Microsoft.UI.Xaml;
#else
using System.Windows;
#endif
namespace Prism.Common
{
/// <summary>
/// Helper class for MVVM.
/// </summary>
... | 40.146341 | 143 | 0.603483 | [
"MIT"
] | bennoremec/PrismWinUi | src/Wpf/Prism.Wpf/Common/MvvmHelpers.cs | 4,940 | C# |
namespace Ultraviolet.Presentation.Animations
{
partial class StoryboardInstance
{
/// <summary>
/// Represents a dependency property which has been enlisted into the storyboard.
/// </summary>
private struct Enlistment
{
/// <summary>
/// Initial... | 34.232558 | 98 | 0.550272 | [
"Apache-2.0",
"MIT"
] | MicroWorldwide/ultraviolet | Source/Ultraviolet.Presentation/Shared/Animations/StoryboardInstance.Enlistment.cs | 1,474 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace messanger.Server.Data.Migrations
{
public partial class modified_file_relations_to_non_mandatory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
... | 33.357143 | 77 | 0.501071 | [
"Apache-2.0"
] | xlegodroit/blazor-messanger | Server/Data/Migrations/20210811184208_modified_file_relations_to_non_mandatory.cs | 4,672 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.Model;
namespace TygaSoft.IDAL
{
public partial interface IFeatureUser
{
#region IFeatureUser Member
FeatureUserInfo GetModel(Guid userId, strin... | 18.05 | 63 | 0.725762 | [
"MIT"
] | 64075898/Asset | src/TygaSoft/IDAL/IFeatureUser.cs | 363 | C# |
using System;
using System.Collections.Generic;
namespace Jannesen.Language.TypedTSql.Node
{
//https://msdn.microsoft.com/en-us/library/ms187373.aspx
// Data_TableHints ::=
// WITH ( tablehint [ [, ]...n ] )
public class Node_TableHints: Core.AstParseNode
{
[Flags]
public enu... | 57.142857 | 142 | 0.398824 | [
"Apache-2.0"
] | jannesen/TypedTSql | Jannesen.Language.TypedTSql/Node/Node/Node_TableHints.cs | 6,802 | C# |
using System;
using System.Drawing;
using System.Globalization;
using System.Text;
using System.Windows.Forms;
using PluginCore.Managers;
namespace PluginCore.Utilities
{
public class DataConverter
{
/// <summary>
/// Converts text to another encoding
/// </summary>
... | 32.52 | 130 | 0.487577 | [
"MIT"
] | gvhung/flashdevelop | PluginCore/PluginCore/Utilities/DataConverter.cs | 3,941 | C# |
using GitIssue.Fields;
using GitIssue.Issues.Json;
using GitIssue.Values;
namespace GitIssue.Tests.IntegrationTests.Bug
{
/// <summary>
/// A defect configuration
/// </summary>
public class BugConfiguration : IssueConfiguration
{
/// <summary>
/// Initializes a new instanc... | 33.8 | 105 | 0.608284 | [
"MIT"
] | lennoncork/GitIssue | src/GitIssue.Tests/IntegrationTests/Bug/BugConfiguration.cs | 847 | C# |
using System;
using AdaptiveCards;
using Microsoft.Bot.Builder.Solutions.Responses;
namespace RestaurantBooking.Shared.Resources.Cards
{
public class ReservationConfirmationData : ICardData
{
public string Title { get; set; }
public string ImageUrl { get; set; }
public AdaptiveImageS... | 24.34375 | 67 | 0.65982 | [
"MIT"
] | adamstephensen/AI | solutions/Virtual-Assistant/src/csharp/experimental/skills/restaurantbooking/Dialogs/BookingDialog/Resources/Cards/ReservationConfirmationData.cs | 781 | 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.283951 | 106 | 0.632991 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/VoiceID/Generated/Model/EvaluateSessionRequest.cs | 2,534 | C# |
namespace Oculus.Platform.Samples.VrHoops
{
using Oculus.Platform.Models;
public class RemotePlayer : Player
{
private User m_user;
private P2PNetworkGoal m_goal;
public User User
{
set { m_user = value; }
}
public ulong ID
{
get { return m_user.ID; }
}
public P2PNetworkGoal Goal
{
g... | 19.27907 | 86 | 0.676719 | [
"MIT"
] | 182719/Bachelor-Oppgave | BachelorScene/Assets/Oculus/Platform/Samples/VrHoops/Scripts/RemotePlayer.cs | 829 | 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... | 50.55102 | 193 | 0.656439 | [
"MIT"
] | AlanFlorance/azure-powershell | src/Functions/generated/api/Support/ManagedPipelineMode.cs | 4,857 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LiteCart_PageObject
{
public class Order
{
public int AmountGoogs { get; internal set; }
public string Size { get; internal set; }
}
}
| 19.4 | 53 | 0.697595 | [
"Apache-2.0"
] | dimichgml/LiteCartPageObject | LiteCartPageObject/model/Order.cs | 293 | C# |
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.painting;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
namespace Unity.UIWidgets.material {
public class CardTheme : Diagnosticable {
public CardTheme(
Clip? clipBehavior = null,
Color color = null,
... | 40.494382 | 115 | 0.561598 | [
"Apache-2.0"
] | Luciano-0/2048-Demo | Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.12/Runtime/material/card_theme.cs | 3,604 | 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("OpenInvoicePeru.Servicio")]
[assembly: As... | 38.388889 | 84 | 0.744573 | [
"Apache-2.0"
] | MrJmpl3-Forks/openinvoiceperu | OpenInvoicePeru/OpenInvoicePeru.Servicio/Properties/AssemblyInfo.cs | 1,385 | C# |
using Micser.App.Infrastructure.Localization;
using Micser.App.Infrastructure.Resources;
using Micser.App.Infrastructure.Themes;
using Micser.Common;
using Micser.Common.Extensions;
using System;
using System.Windows;
namespace Micser.App.Infrastructure
{
/// <summary>
/// UI module performing default initial... | 31.076923 | 156 | 0.672442 | [
"Apache-2.0"
] | loreggia/micser | src/Micser.App.Infrastructure/InfrastructureModule.cs | 1,214 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Net;
namespace Lefebvre.eLefebvreOnContainers.Services.Webhooks.API.Infrastructure
{
usi... | 34.714286 | 118 | 0.606173 | [
"MIT"
] | lefevbre-organization/eShopOnContainers | src/Services/Webhooks/Webhooks.API/Infrastructure/HttpGlobalExceptionFilter.cs | 2,432 | C# |
//Copyright (c) Microsoft Corporation. All rights reserved.
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace Microsoft.WindowsAPICodePack.Taskbar
{
/// <summary>
/// Represents a collection of jump list items.
/// </summary>
/// <typeparam n... | 32.740157 | 115 | 0.553151 | [
"BSD-3-Clause"
] | KimJeongnam/Log2Console-ko-version | src/External/WindowsAPICodePack/Shell/Taskbar/JumpListItemCollection.cs | 4,160 | C# |
using BlazorAuthorization.Shared;
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.... | 35.622449 | 123 | 0.620166 | [
"MIT"
] | chrissainty/PolicyBasedAuthWithBlazor | src/ClientSideBlazor.Client/ApiAuthenticationStateProvider.cs | 3,493 | 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 ... | 38.978261 | 92 | 0.684328 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/dialogflow/v2beta1/google-cloud-dialogflow-v2beta1-csharp/Google.Cloud.Dialogflow.V2beta1.StandaloneSnippets/EnvironmentsClient.UpdateEnvironmentRequestObjectAsyncSnippet.g.cs | 1,793 | C# |
using AndroidInteropLib.android.content;
using AndroidInteropLib.android.util;
using AndroidInteropLib.android.view;
using AndroidInteropLib.org.xmlpull.v1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.C... | 25.625 | 100 | 0.582578 | [
"Apache-2.0"
] | Ticomware/AstoriaUWP | AndroidUILib/android/widget/TextView.cs | 1,437 | C# |
using System.Linq;
using BrightstarDB.Storage.BPlusTreeStore.RelatedResourceIndex;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BrightstarDB.Tests.BPlusTreeTests
{
[TestClass]
public class RelatedResourceIndexTests
{
[TestMethod]
public void TestInsertRelatedResource()
... | 56.398693 | 116 | 0.643296 | [
"MIT"
] | smkgeekfreak/BrightstarDB | src/core/BrightstarDB.InternalTests/BPlusTreeTests/RelatedResourceIndexTests.cs | 8,631 | C# |
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
namespace EventStoreSample.Application.Commands
{
public class DirectPaymentCommand : IRequest<bool>
{
public decimal? Amount { get; set; }
public int? CurrencyCode { get; set; }
public string Msisdn {... | 20.315789 | 54 | 0.660622 | [
"MIT"
] | eyazici90/Galaxy | samples/eventStoreSample/EventStoreSample.Application/Commands/DirectPaymentCommand.cs | 388 | C# |
using System.IO;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.Core.Entities;
using OfficeDevPnP.Core.Utilities;
using PnP.PowerShell.CmdletHelpAttributes;
using File = System.IO.File;
namespace PnP.PowerShell.Commands.WebParts
{
[Cmdlet(VerbsCommon.Add, "PnPWebPartToWe... | 45.461538 | 184 | 0.627186 | [
"MIT"
] | FPotrafky/PnP-PowerShell | Commands/WebParts/AddWebPartToWebPartPage.cs | 3,548 | C# |
/*************************************************************************
* Copyright (c) 2010 Hu Fei(xiaotie@geblab.com; geblab, www.geblab.com)
************************************************************************/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Runtime.Int... | 30.801802 | 150 | 0.468461 | [
"MIT"
] | ProximaMonkey/GebImage | src/Geb.Image/UnmanagedImage/ImageArgb32.cs | 10,259 | C# |
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... | 35.405882 | 217 | 0.592623 | [
"BSD-3-Clause"
] | Krypton-Suite/Standard-Toolk | Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonDataGridViewDateTimePickerEditingControl.cs | 6,022 | C# |
using System;
using Spike.AggregateRepository.Lib.Base;
namespace Spike.AggregateRepository.Lib.Vacancies
{
public class VacancyRepository : BaseRepository<Vacancy>, IVacancyRepository
{
public VacancyRepository(IRepositoryStore<Vacancy> store) : base(store) { }
protected override vo... | 33.791667 | 84 | 0.657213 | [
"MIT"
] | mgwilliam/Spike.AggregateRepository | Spike.AggregateRepository.Lib/Vacancies/VacancyRepository.cs | 813 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StackIndex : MonoBehaviour
{
public int indexNumber;
}
| 17 | 39 | 0.79085 | [
"MIT"
] | ZedCrome/TheTaleoftheGreenhouse | TheTaleofTheGreenhouse/Assets/Scripts/Objects/StackIndex.cs | 155 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit.Abstractions;
namespace NeodymiumDotNet.Optimizations.Test
{
internal sealed class TestHelperWriter : System.IO.TextWriter
{
private readonly ITestOutputHelper _helper;
private StringBuilder _buffer;
public ... | 26.575 | 76 | 0.585136 | [
"Apache-2.0"
] | aka-nd1220/NeodymiumDotNet | NeodymiumDotNet.Optimizations.Test/TestHelperWriter.cs | 1,065 | C# |
using Microsoft.EntityFrameworkCore;
namespace OpenBudgeteer.Core.Common.Database;
public class SqliteDatabaseContext : DatabaseContext
{
public SqliteDatabaseContext(DbContextOptions<DatabaseContext> options) : base(options)
{
}
}
| 19.769231 | 91 | 0.762646 | [
"Apache-2.0",
"MIT"
] | Hazy87/OpenBudgeteer | OpenBudgeteer.Core/Common/Database/SqliteDatabaseContext.cs | 259 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Core.Services;
using NadekoBot.Core.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Ser... | 35.121359 | 136 | 0.459572 | [
"MIT"
] | Gibstick/nadekobot_fork | NadekoBot.Core/Modules/Utility/RemindCommands.cs | 7,239 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SirJosh3917 {
/// <summary>
/// Up to the test for V 232
/// </summary>
public class BlockPacket {
/// <summary>
/// Deserialize ANY message, ranging from 'block' to 'b', 'br', 'bs', e.... | 24.936146 | 226 | 0.553706 | [
"MIT"
] | SirJosh3917/BlockPacket | BlockPacket/BlockPacket.cs | 21,869 | C# |
//#define ASTAR_NO_POOLING //Disable pooling for some reason. Could be debugging or just for measuring the difference.
using System;
using System.Collections.Generic;
namespace Pathfinding
{
public static class PathPool<T> where T : Path, new()
{
private static Stack<T> pool;
private static int totalCreated;
... | 29 | 139 | 0.654725 | [
"MIT"
] | Brackeys/WaveIncoming | Assets/AstarPathfindingProject/Core/Misc/PathPool.cs | 2,233 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("BasicSpa.Data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: ... | 29.27027 | 57 | 0.743306 | [
"MIT"
] | surviveplus/SPA-Sample | vs2015ja/BasicSpa-3-Database/BasicSpa.Data/Properties/AssemblyInfo.cs | 1,652 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 34.639344 | 116 | 0.474207 | [
"MIT"
] | BtrJay/squidex | src/Squidex.Domain.Apps.Entities/Apps/Guards/GuardApp.cs | 2,116 | C# |
using UnityEngine;
// Represents a visual piece, gives different accesses to a piece's GameObject
namespace GameView
{
public class PieceScript : MonoBehaviour
{
private Sprite m_sprite1; // Black square
private Sprite m_sprite2; // White square
private Sprite m_spriteGlow1; // Black s... | 33.105263 | 119 | 0.563593 | [
"MIT"
] | ZyriabDsgn/Plankton-Synapse | src/view/PieceScript.cs | 5,034 | 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... | 42.081967 | 128 | 0.636151 | [
"Apache-2.0"
] | tmajest/incubator-reef | lang/cs/Org.Apache.REEF.Tang/Interface/ICsConfigurationBuilder.cs | 5,136 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace HelloEmpty
{
public... | 31.439024 | 122 | 0.639255 | [
"MIT"
] | syneffort/Server_Web | 0.Sources/HelloAspNet/HelloEmpty/Startup.cs | 1,289 | C# |
#region License
//
// Copyright 2002-2017 Drew Noakes
// Ported from Java to C# by Yakov Danilov for Imazen LLC in 2014
//
// 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
//
// ... | 36.967213 | 97 | 0.691353 | [
"Apache-2.0"
] | AkosLukacs/metadata-extractor-dotnet | MetadataExtractor/Formats/Exif/makernotes/RicohMakernoteDirectory.cs | 2,255 | C# |
namespace Adnc.Infra.Core.DependencyInjection;
public sealed class ServiceLocator
{
private ServiceLocator()
{
}
static ServiceLocator()
{
}
/// <summary>
/// 只能获取Singleton/Transient,获取Scoped周期的对象会存与构造函数获取的不是相同对象
/// </summary>
public static IServiceProvider? Provider { get; ... | 19.294118 | 61 | 0.670732 | [
"MIT"
] | Jiayg/Adnc | src/ServerApi/Infrastructures/Adnc.Infra.Core/Adnc/DependencyInjection/ServiceLocator.cs | 386 | C# |
//-----------------------------------------------------------------------
// <copyright file="Bootstrapper.cs" company="James Chaldecott">
// Copyright (c) 2012-2013 James Chaldecott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
us... | 40.75576 | 153 | 0.573948 | [
"MIT"
] | swythan/showlist-tivo | Src/TivoAhoy.Phone/Bootstrapper.cs | 8,846 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AspNetCore.Identity.LiteDB.Models;
using EmbyStat.Common;
using EmbyStat.Common.Helpers;
using EmbyStat.Common.Models.Account;
using EmbyStat.Common.Models.En... | 38.401042 | 185 | 0.609114 | [
"MIT"
] | mregni/EmbyStat | EmbyStat.Services/AccountService.cs | 7,375 | C# |
using Newtonsoft.Json;
namespace SFA.DAS.CourseDelivery.Domain.ImportTypes
{
public class Address
{
[JsonProperty("address1")]
public string Address1 { get; set; }
[JsonProperty("address2")]
public string Address2 { get; set; }
[JsonProperty("town")]
public strin... | 25.96 | 51 | 0.577812 | [
"MIT"
] | SkillsFundingAgency/das-coursedelivery-api | src/SFA.DAS.CourseDelivery.Domain/ImportTypes/Address.cs | 649 | C# |
using System;
using UnityEditor;
using UnityEngine;
namespace ETEditor
{
[TypeDrawer]
public class Vector2TypeDrawer: ITypeDrawer
{
public bool HandlesType(Type type)
{
return type == typeof (Vector2);
}
public object DrawAndGetNewValue(Type member... | 24.2 | 106 | 0.617769 | [
"MIT"
] | naivetang/2019MiniGame22 | Unity/Assets/Editor/ComponentViewEditor/TypeDrawer/Vector2TypeDrawer.cs | 484 | C# |
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayCommerceSportsVenueModifyResponse.
/// </summary>
public class AlipayCommerceSportsVenueModifyResponse : AlipayResponse
... | 26.662252 | 153 | 0.51391 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Response/AlipayCommerceSportsVenueModifyResponse.cs | 4,464 | C# |
using Fishie.Behaviour;
using SFML.Graphics;
using SFML.System;
using System;
using System.Collections.Generic;
using System.Text;
namespace Fishie.Entities
{
public class MyCursor : Entity
{
public MyCursor(RenderWindow window, FloatRect gameArea) : base()
{
Character... | 30.671233 | 114 | 0.554712 | [
"MIT"
] | LazyPride/Fishie | Fishie/Entities/MyCursor.cs | 2,241 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace MultiModalSpeechDetection
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Psi;
using Microsoft.Psi.Audio;
using Microsoft.Psi.Imaging;
using Micros... | 49.77095 | 181 | 0.588506 | [
"MIT"
] | DeCatNiels/psi | Samples/KinectSample/Program.cs | 8,911 | C# |
using System.Reflection;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Npgsql;
using SiteWatcher.Application.Interfaces;
using SiteWatcher.Domain.Exceptions;
using SiteWatcher.Domain.Models;
using SiteWatcher.Infra.Extensions;
namespace SiteWatcher.Infra;
public class SiteWatcherContext : DbContext, IUni... | 31.485294 | 109 | 0.696871 | [
"MIT"
] | xilapa/SiteWatcher | src/Infra/Persistence/SiteWatcherContext.cs | 2,143 | C# |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Configuration;
using Abp.Domain.Uow;
using YMApp.Authorization.Roles;
using YMApp.Authorization.User... | 30.025641 | 69 | 0.64731 | [
"MIT"
] | yannis123/YMApp | src/ymapp-aspnet-core/src/YMApp.Core/Identity/SignInManager.cs | 1,171 | 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... | 35.957895 | 147 | 0.633782 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Neptune/Generated/Model/Internal/MarshallTransformations/DeleteDBInstanceRequestMarshaller.cs | 3,416 | C# |
using NExpect.Exceptions;
using NExpect.Interfaces;
using NExpect.MatcherLogic;
using NUnit.Framework;
namespace NExpect.Tests.DanglingPrepositions
{
[TestFixture]
public class A
{
[Test]
public void ShouldProvideExtensionPoint()
{
// Arrange
// Pre-Assert
... | 25.192982 | 81 | 0.442897 | [
"BSD-3-Clause"
] | tammylotter/NExpect | src/NExpect.Tests/DanglingPrepositions/A.cs | 1,438 | C# |
using System;
using System.Collections.Generic;
namespace WebApi.Models
{
public partial class Scientist
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime DateAdded { get; set; }
}
}
| 19.230769 | 47 | 0.624 | [
"MIT"
] | DaveSkender/angular-seed-dotnet-sql | src/server/WebApi/Models/Scientist.cs | 252 | 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... | 29.625 | 210 | 0.603759 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Resources/GetDeploymentAtTenantScope.cs | 2,607 | 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("MyL... | 37.297297 | 84 | 0.745652 | [
"MIT"
] | kamentr/University_Exams | MyList/MyList/Properties/AssemblyInfo.cs | 1,383 | C# |
using Dust.ORM.Core.Models;
using Dust.ORM.UnitTest;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace Dust.ORM.CoreTest.Models
{
public class ModelDescriptorTest
{
private readonly TestLogger Log;
public ModelDescriptorTest(ITe... | 28.538462 | 123 | 0.574663 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Natlink/Dust.ORM | Dust.Orm.CoreTest/Models/ModelDescriptorTest.cs | 1,857 | C# |
namespace GCBM.tools
{
partial class frmManageApp
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | 51.05814 | 144 | 0.633341 | [
"MIT"
] | AxionDrak/GameCube-Backup-Manager | GCBM/tools/frmManageApp.Designer.cs | 8,784 | C# |
using System;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Topshelf;
namespace EventStoreWinServiceWrapper
{
class Program
{
public static void Main()
{
var configuration = (EventStoreServiceConfiguration)ConfigurationManager.GetS... | 28.026316 | 110 | 0.551174 | [
"MIT"
] | mastoj/EventStoreWinServiceWrapper | src/EventStoreWinServiceWrapper/Program.cs | 1,067 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Gildemeister.Cliente360.Transport;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NLog;
namespace Gildemeister.Cliente360.WebAPI.Controllers
{
[Produces("application/json")]
[Route("a... | 24.380952 | 97 | 0.53125 | [
"MIT"
] | pSharpX/customer360-api | src/Gildemeister.Cliente360.WebAPI/Controllers/LoggerController.cs | 1,538 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IUpdatePermission.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the proj... | 47.714286 | 128 | 0.560878 | [
"MIT"
] | kephas-software/kephas | src/Kephas.Data/Security/Permissions/IUpdatePermission.cs | 1,004 | C# |
/* Copyright (c) Citrix Systems, 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 notice... | 39.569106 | 128 | 0.524348 | [
"BSD-2-Clause"
] | GaborApatiNagy/xenadmin | XenModel/Actions/SR/ISCSIPopulateIQNsAction.cs | 9,736 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using System.Runtime.CompilerServices;
using UnityEngine.Events;
public class flightcontol : NetworkBehaviour
{
public float rotateSpeed = 3f;
// Use this for initialization
void Start()
{... | 25.577465 | 95 | 0.514868 | [
"BSD-2-Clause"
] | PretDB/CrazyBooble | Assets/script/control/flightcontol.cs | 1,818 | C# |
namespace Alex.Blocks.Minecraft
{
public class LilyPad : Block
{
public LilyPad() : base()
{
Solid = true;
Transparent = true;
IsReplacible = false;
IsFullBlock = false;
IsFullCube = false;
BlockMaterial = Material.Plants.Clone().SetTranslucent();
}
}
}
| 16.588235 | 60 | 0.659574 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | lvyitian1/Alex | src/Alex/Blocks/Minecraft/LilyPad.cs | 282 | C# |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2014 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Simple script that lets you localize a UIWidget.
/// </summary>
name... | 30.09434 | 106 | 0.45674 | [
"MIT"
] | tenvick/hugula | Client/Assets/Hugula/Language/UGUILocalize.cs | 3,201 | C# |
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
namespace MrMeeseeks.ResXTranslationCombinator.Translation
{
internal interface ITranslator
{
bool TranslationsShouldBeCached { get; }
Task<HashSet<CultureInfo>> GetSupportedCultureInfos();
Task<... | 28.133333 | 62 | 0.7109 | [
"MIT"
] | Yeah69/MrMeeseeks.ResXTranslationCombinator | Main/Translation/ITranslator.cs | 422 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public partial class NewUnitTest
{
public static void Ado()
{
var task1 = Db.Ado.GetScalarAsync("select 1");
task1.Wait();
... | 28.87931 | 118 | 0.551045 | [
"Apache-2.0"
] | 1093439315/SqlSugar | Src/Asp.Net/PgSqlTest/UnitTest/UAdo.cs | 1,677 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Acme.BookStore.Migrations
{
public partial class Created_Book_Entity : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Books",
... | 30.790123 | 71 | 0.495589 | [
"MIT"
] | 271943794/abp-samples | BookStore-Blazor-EfCore/src/Acme.BookStore.EntityFrameworkCore/Migrations/20210712064054_Created_Book_Entity.cs | 2,496 | C# |
/******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install, execute, ... | 36.888525 | 226 | 0.724202 | [
"MIT"
] | lantis-of-china/UnityFramework | ClientFramework/QiPai/Assets/OtherCompoments/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/SkeletonGraphic.cs | 11,251 | C# |
using Microsoft.AppCenter.Ingestion;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Microsoft.AppCenter.Test.Windows.Ingestion
{
[TestClass]
public class IngestionExceptionTest
{
/// <summary>
/// Validate that exception message is saving
/// </summary>... | 32.972973 | 88 | 0.662295 | [
"MIT"
] | ManjuBP/.net | Tests/Microsoft.AppCenter.Test.Windows/Ingestion/IngestionExceptionTest.cs | 1,222 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | 33.881356 | 205 | 0.631816 | [
"Apache-2.0"
] | AENotFound/Lean | Brokerages/InteractiveBrokers/Client/TimeInForce.cs | 2,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using SMLimitless.Extensions;
using SMLimitless.Interfaces;
using SMLimitless.Physics;
namespace SMLimitless.Collections
{
/// <summary>
/// Represents a single cell in a <see cref="SparseCellGrid{T}" /> instance.
/... | 36.359155 | 482 | 0.678094 | [
"MIT"
] | smldev/smlimitless | MonoGame/SMLimitless/SMLimitless/Collections/SparseCell.cs | 5,165 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Microsoft.Teams.App.KronosWfc.Models.ResponseEntities.JobAssignment
{
[XmlRoot]
public class Response
{
[XmlElement("JobAssignment")]
... | 21.70229 | 77 | 0.619416 | [
"MIT"
] | OfficeDev/Kronos-Workforce-Central-Bot | Microsoft.Teams.App.KronosWfc/Microsoft.Teams.App.KronosWfc.Models/ResponseEntities/JobAssignment/Response.cs | 2,845 | C# |
using AutoMapper;
using StudentsFirst.Common.Dtos.Groups;
using StudentsFirst.Common.Dtos.Users;
using StudentsFirst.Common.Models;
namespace StudentsFirst.Api.Monolithic.Infrastructure.Mapping
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<... | 24.294118 | 62 | 0.658596 | [
"MIT"
] | saraetx/studentsfirst | StudentsFirst.Api.Monolithic/Infrastructure/Mapping/MappingProfile.cs | 413 | C# |
/*
* DocuSign REST API
*
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
*
* OpenAPI spec version: v2
* Contact: devcenter@docusign.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.... | 37.401042 | 240 | 0.556468 | [
"MIT"
] | MaxMood96/docusign-esign-csharp-client | sdk/src/DocuSign.eSign/Model/ConciergeQueryRequest.cs | 7,181 | 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... | 35.227273 | 147 | 0.622968 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CodeStar/Generated/Model/Internal/MarshallTransformations/ListUserProfilesRequestMarshaller.cs | 3,875 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 33.632653 | 136 | 0.640777 | [
"BSD-3-Clause"
] | x-xing/Quantlib-SWIG | CSharp/csharp/DKKCurrency.cs | 1,648 | 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>
//---... | 41.333333 | 80 | 0.645161 | [
"MIT"
] | TheTommyTwitch/my-recipe-book | obj/Debug/netcoreapp2.0/my-recipe-book.AssemblyInfo.cs | 992 | C# |
#region Copyright
/***************************************************************************************
******Copyright (C) 2016 Pritam Zope*****
<copyright file="SampleProject_Form.cs" company="">
{- Program Name = Silver-J
An Integrated Development Environment(IDE) for Java Programming
Langu... | 51.009091 | 170 | 0.407473 | [
"MIT"
] | kaitoujokercodes/ThinkJava | ThinkJava/SampleProject_Form.cs | 67,334 | C# |
using AIProgrammer.Fitness.Base;
using AIProgrammer.GeneticAlgorithm;
using AIProgrammer.Managers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIProgrammer.Fitness.Concrete
{
/// <summary>
/// Calculates the Fibonacci sequence, ... | 32.588235 | 137 | 0.395307 | [
"MIT"
] | Abhinav23/Automatic-Self-Modifying-Program | AIProgrammer.Fitness/Concrete/FibonacciFitness.cs | 7,204 | C# |
using CQELight.Bootstrapping.Notifications;
using CQELight.TestFramework;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace CQELight.Tests
{
public class BootstrapperNotificationTests : BaseUnitTestClass
{
#region Ctor & members
... | 26.538462 | 122 | 0.710145 | [
"MIT"
] | Thanouz/CQELight | tests/CQELight.Tests/Bootstrapper/BootstrapperNotification.Tests.cs | 1,037 | C# |
using Discount.API.Entities;
using Discount.API.Repositories;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Net;
using System.Threading.Tasks;
namespace Discount.API.Controllers
{
[ApiController]
[Route("api/v1/[controller]")]
public class DiscountController : ControllerBase
{
pri... | 34.423077 | 99 | 0.663687 | [
"MIT"
] | sebash1992/MicroservicesNet6 | src/Discount/Discount.API/Controllers/DiscountController.cs | 1,792 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenNetLinkApp.Data.SGQuery
{
class MailApproveParam : BaseParam
{
public string SearchFromDay { get; set; }//on
public string SearchToDay { get; set; }//on
public string ApprKind { get; set; } //on
pub... | 36.72 | 80 | 0.59695 | [
"Apache-2.0"
] | angellos12/OpenNetLink | src/OpenNetLinkApp/Data/SGQuery/MailApproveParam.cs | 958 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 33.894309 | 110 | 0.620053 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/CodePipeline/Generated/Model/PutJobSuccessResultRequest.cs | 4,169 | 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... | 47.233871 | 178 | 0.680895 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/RAM/Generated/Model/TagPolicyViolationException.cs | 5,857 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Sql.Models
{
/// <summary> A list of subscription usage metrics in a location. </summary>
... | 33.945946 | 101 | 0.661624 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SubscriptionUsageListResult.cs | 1,256 | C# |
using System;
using EventStore.Core.Bus;
using EventStore.Core.Messaging;
using EventStore.Transport.Http;
using EventStore.Transport.Http.EntityManagement;
namespace EventStore.Core.Services.Transport.Http {
public class SendToHttpWithConversionEnvelope<TExpectedResponseMessage, TExpectedHttpFormattedResponseMessage... | 40.777778 | 113 | 0.822888 | [
"Apache-2.0",
"CC0-1.0"
] | 01100010011001010110010101110000/EventStore | src/EventStore.Core/Services/Transport/Http/SendToHttpWithConversionEnvelope.cs | 1,835 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Inbox2.Framework.UI
{
/// <summary>
/// From: http://serialseb.blogspot.com/2007/09/wpf-tips-6-preventing-scrollviewer-from.html... | 32.034884 | 170 | 0.711434 | [
"BSD-3-Clause"
] | Klaudit/inbox2_desktop | Code/Client/Inbox2/Framework/UI/ScrollViewerCorrector.cs | 2,757 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rounding_Numbers_Away_from_Zero
{
class Program
{
static void Main(string[] args)
{
double[] arry = Console.ReadLine().Split(' ').Select(double.Parse).ToArr... | 21.814815 | 89 | 0.561969 | [
"MIT"
] | SvetlaYordanova/Programming-Fundamentals | 12. Arrays/Rounding Numbers Away from Zero/Rounding Numbers Away from Zero/Program.cs | 591 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.DnsResolver;
namespace Azure.ResourceManager.DnsResolver.Models
{
interna... | 33.6875 | 99 | 0.550402 | [
"MIT"
] | ChenTanyi/azure-sdk-for-net | sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/Generated/Models/DnsResolverListResult.Serialization.cs | 1,617 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.