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 Furiza.AspNetCore.WebApp.Configuration;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SESMTTech.Gestor.RazorPages.RestClients.PlanosDeAcao.PlanosDeAcao;
using System;
using System.Threading.Tasks;
namespace SESMTTech.Gestor.RazorPages.... | 32.196078 | 120 | 0.665652 | [
"MIT"
] | sesmt-tecnologico/gestor | src/SESMTTech.Gestor.RazorPages/Pages/Reunioes/PlanosDeAcao/Itens/Concluir.cshtml.cs | 1,644 | 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... | 31.521739 | 85 | 0.664828 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/RecoveryServices/V20161201/Outputs/GenericContainerExtendedInfoResponse.cs | 1,450 | C# |
using UnityEngine;
namespace Unit
{
[RequireComponent(typeof(SphereCollider))]
public class Sensor : MonoBehaviour
{
public float range;
private void Awake()
{
GetComponent<SphereCollider>().isTrigger = true;
}
private void OnTriggerEnter(Collider othe... | 23.833333 | 92 | 0.527972 | [
"MIT"
] | qreenify/NeonARPG | Assets/Scripts/Unit/Sensor.cs | 1,146 | C# |
// WARNING
//
// This file has been generated automatically by Visual Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace MenuBarCodeReader
{
[Reg... | 21.518519 | 83 | 0.712565 | [
"MIT"
] | msioen/MenuBarCodeReader | MenuBarCodeReader/ScanWindowController.designer.cs | 581 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Iot.Device.Ssd13xx.Commands;
using Iot.Device.Ssd13xx.Commands.Ssd1306Commands;
using Xunit;
namespace Iot.Device.Ssd13xx.Tests
{
public class NoOperationTests
... | 27.809524 | 72 | 0.635274 | [
"MIT"
] | gukoff/nanoFramework.IoT.Device | src/devices_generated/Ssd13xx/tests/Commands/NoOperationTests.cs | 584 | C# |
using System;
using System.Runtime.Serialization;
using WebArticleLibrary.Model;
namespace WebArticleLibrary.Models
{
[DataContract]
public class CommentStatusUpdate
{
[DataMember(Name = "id")]
public Int32 CommentId { get; set; }
[DataMember(Name = "status")]
public CommentStatus Status { get; s... | 19.470588 | 43 | 0.712991 | [
"MIT"
] | Jahn08/WEB-ARTICLE-CORE | WebArticleLibrary/Models/CommentStatusUpdate.cs | 331 | C# |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Response
{
/// <summary>
/// ZhimaCreditScoreBriefGetResponse.
/// </summary>
public class ZhimaCreditScoreBriefGetResponse : AopResponse
{
/// <summary>
/// 芝麻信用对于每一次请求返回的业务号。后续可以通过此业务号进行对账
/// </summary>... | 26.291667 | 95 | 0.614897 | [
"MIT"
] | ArcherTrister/LeXun.Alipay.AopSdk | src/Alipay.AopSdk/Response/ZhimaCreditScoreBriefGetResponse.cs | 841 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace XfHappySad
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new XfHappySad.MainPage();
... | 19.171429 | 50 | 0.52161 | [
"MIT"
] | bennoffsinger/xfhappysad | XfHappySad/XfHappySad/XfHappySad/App.xaml.cs | 673 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using Cats.Areas.Procurement.Models;
using Cats.Helpers;
using Cats.Models.Constant;
using Cats.Models.Hubs;
using Cats.Models.ViewModels.Bid;
using Cats.Services.EarlyWarning;
using Cats.Services.Procurement;
using Ca... | 50.130094 | 193 | 0.562205 | [
"Apache-2.0"
] | IYoni/cats | Web/App_Start/Areas/Procurement/Controllers/BidController.cs | 31,985 | C# |
using System;
using MSK.Core.Module.Domain;
namespace MSK.Samples.BiMonetary.Module.Social.Models
{
public class UserId : IdentityBase
{
private UserId()
{
}
public UserId(Guid authorId) : base(authorId)
{
}
}
}
| 16.176471 | 53 | 0.581818 | [
"MIT"
] | thangchung/modular-starter-kit | samples/bimonetary/MSK.Samples.BiMonetary.Module.Social/Models/UserId.cs | 277 | C# |
using System.Threading;
using System.Threading.Tasks;
namespace Synchronizzer.Implementation
{
internal interface IDestinationWriter : IObjectSource, IObjectWriter
{
string Address { get; }
Task TryLock(CancellationToken cancellationToken);
Task Unlock();
}
}
| 20 | 72 | 0.71 | [
"BSD-2-Clause"
] | drivenet/gridfs-sync-service | Synchronizzer/Implementation/IDestinationWriter.cs | 302 | C# |
using Celeste.Mod.Core;
using Ionic.Zip;
using MonoMod.Utils;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Celeste.Mod {
public static partial class Everest {
public st... | 49.965071 | 214 | 0.497579 | [
"MIT"
] | JaThePlayer/Everest | Celeste.Mod.mm/Mod/Everest/Everest.Loader.cs | 38,625 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoggerConfigurationAmazonS3Extensions.cs" company="Hämmer Electronics">
// The project is licensed under the MIT license.
// </copyright>
// <summary>
// This class contains the... | 40.534866 | 136 | 0.574001 | [
"MIT"
] | profet23/Serilog.Sinks.AmazonS3 | src/Serilog.Sinks.AmazonS3/LoggerConfigurationAmazonS3Extensions.cs | 54,644 | C# |
using System;
using Microsoft.Extensions.Logging;
using SummerBoot.Core;
namespace Example.Models
{
[Serializable]
public class WheelA : IWheel
{
public string Name { get; set; } = "A";
[Autowired]
private ILogger<Car> Logger { set; get; }
public void Scroll()
{
... | 20.833333 | 49 | 0.581333 | [
"MIT"
] | sososu/SummerBoot | Example/Models/WheelA.cs | 395 | C# |
// Copyright 2007-2008 The Apache Software Foundation.
//
// 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 b... | 33.482759 | 83 | 0.743563 | [
"Apache-2.0"
] | DavidChristiansen/MassTransit | src/MassTransit/Serialization/Custom/TypeDeserializers/CharDeserializer.cs | 971 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using QP8.Infrastructure.Extensions;
using QP8.Infrastructure.Web.Enums;
using QP8.Infrastructure.Web.Responses;
using Quantumart.QP8.BLL.Enums.Csv;
using Quantumart.QP8.BLL.Services.MultistepActions;
using Quantumart.QP8.BLL.Services.Mult... | 39.106796 | 118 | 0.678997 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | QuantumArt/QP | siteMvc/Controllers/ExportSelectedArticlesController.cs | 4,028 | C# |
using System;
using System.Collections;
using Server.Network;
using Server.Items;
using Server.Mobiles;
using Server.Targeting;
namespace Server.Spells.Bushido
{
public class CounterAttack : SamuraiSpell
{
private static SpellInfo m_Info = new SpellInfo(
"CounterAttack", null,
-1,
9002
);
public ... | 20.810345 | 110 | 0.662386 | [
"BSD-2-Clause"
] | greeduomacro/vivre-uo | Scripts/Spells/Bushido/CounterAttack.cs | 2,414 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections;
using System.Diagnostics;
namespace System.DirectoryServices.AccountManagement
{
//
// A collection of individual property filters
... | 43.145251 | 135 | 0.725042 | [
"MIT"
] | Jacksondr5/runtime | src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/QbeFilterDescription.cs | 15,446 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using Demo.Core.Domain.Heroes;
namespace Demo.Core.Repositories
{
public interface IHeroRepository
{
Task<IEnumerable<Hero>> FindAllAsync();
}
}
| 19.25 | 47 | 0.731602 | [
"MIT"
] | thecodereaper/architecture-governance-unit-tests | src/Demo.Core/Repositories/IHeroRepository.cs | 233 | C# |
using System;
using System.Text.RegularExpressions;
using UCLouvain.KAOSTools.Core;
using UCLouvain.KAOSTools.Core.Agents;
using UCLouvain.KAOSTools.Parsing.Parsers;
namespace UCLouvain.KAOSTools.Parsing.Builders.Attributes
{
public class LinkAttributeBuilder : AttributeBuilder<Relation, ParsedLinkAttribute>
{
... | 30.971429 | 110 | 0.656827 | [
"Unlicense",
"MIT"
] | ancailliau/KAOSTools | Parsing/Builders/Attributes/LinkAttributeBuilder.cs | 1,086 | 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: AssemblyTi... | 38.648649 | 85 | 0.725175 | [
"Apache-2.0"
] | frannkkiiee/SplunkCare | AssemblyInfo.cs | 1,433 | C# |
using NUnit.Framework;
using Opten.Core.Helpers;
using System;
namespace Opten.Core.Test.Helpers
{
[TestFixture]
public class DisplayTests
{
[Test]
public void AsCentimeters()
{
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-CH");
Assert.AreEqual("10... | 40.571429 | 113 | 0.707746 | [
"MIT"
] | OPTEN/Opten.Core | tests/Opten.Core.Test/Helpers/DisplayTests.cs | 3,694 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEngine.UI;
//Handles the click events by the player e.g. for planting flowers. Attach this to the Character game object
public class Planting : MonoBehaviour
{
public List<GameObject> plantPrefabs... | 34.118644 | 117 | 0.599851 | [
"MIT"
] | Liktoria/Anoixi | Assets/Scripts/Planting.cs | 4,028 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
public static class Tools
{
public static char ToUpper(char c)
{
if('a' <= c && c <= 'z')
c = (char)(c & ~0x20);
retu... | 24.533333 | 63 | 0.429891 | [
"MIT"
] | YaoYilin/LeetCode | LeetCode/Tools.cs | 1,842 | C# |
// <copyright file="FirefoxExtension.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
/... | 45.322785 | 121 | 0.628543 | [
"Apache-2.0"
] | BlackSmith/selenium | dotnet/src/webdriver/Firefox/FirefoxExtension.cs | 7,163 | C# |
using Api.Domain.Interfaces.Services.User;
using Api.Service.Services;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace Api.CrossCutting.DependencyInjection
{
public class ConfigureService
{
public static void ConfigureDepende... | 28.789474 | 93 | 0.753199 | [
"MIT"
] | ronaldokz33/DDD | Api.CrossCutting/DependencyInjection/ConfigureService.cs | 549 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace StreamJsonRpc
{
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft;
using StreamJsonRpc.P... | 42.6375 | 139 | 0.635884 | [
"MIT"
] | Microsoft/vs-streamjsonrpc | src/StreamJsonRpc/StreamMessageHandler.cs | 3,413 | C# |
using System;
using System.IO;
using System.Security.Principal;
using System.Threading;
namespace Leayal.PSO2Launcher.AdminProcess
{
public static class AdminProcess
{
private const string UniqueName = "pso2lealauncher-v4-elevate";
public static readonly bool IsCurrentProcessAdmin;
st... | 29.907692 | 167 | 0.439815 | [
"MIT"
] | Leayal/PSO2-Launcher-CSharp | AdminProcess/AdminProcess.cs | 1,946 | C# |
using SF.Data.Models;
using SF.Metadata;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SF.Bizness.Accounting
{
public class BalanceNotEnough : PublicInvalidOperationException
{
... | 24.373134 | 83 | 0.583588 | [
"Apache-2.0"
] | etechi/ServiceFramework | Projects/Server/Common/SF.Common.Abstractions/Bizness/Accounting/Account.cs | 1,689 | C# |
using System;
using System.IO;
using System.Windows.Media.Imaging;
namespace Image.Import
{
class Metadata
{
public Metadata(FileInfo file)
{
using (var fs = new FileStream(file.FullName, FileMode.Open, FileAccess.Read, FileShare.Read))
{
var... | 24.652174 | 107 | 0.559083 | [
"MIT"
] | Calteo/Image.Import | src/Image.Import/Metadata.cs | 569 | C# |
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | 42.238095 | 150 | 0.677565 | [
"Apache-2.0"
] | aallfredo/MassTransitPHP | src/MassTransit/Configuration/EndpointSpecifications/EndpointConfiguration.cs | 2,663 | C# |
using System.Collections.Generic;
namespace ClojureExtension.Repl
{
public class ReplState
{
private readonly int _promptPosition;
private readonly LinkedList<string> _history;
public ReplState() : this(0, new LinkedList<string>())
{
}
public ReplState(int promptPosition, LinkedList<... | 20.268293 | 67 | 0.684717 | [
"MIT"
] | ragnard/vsClojure | ClojureExtension.Repl/ReplState.cs | 833 | C# |
namespace BookATable.GUI
{
using System;
using System.Globalization;
using System.Windows.Forms;
using BookATable.Common;
using Entities;
public partial class FormAddEditRestaurant : Form
{
private Restaurant restaurant;
private const string AddEditRestaurantDisplay = "Add... | 37.265823 | 157 | 0.596128 | [
"MIT"
] | PhilShishov/BookATable | BookATable/GUI/FormAddEditRestaurant.cs | 2,946 | C# |
namespace Poof.Snaps
{
/// <summary>
/// Snaps specific demands to specific tasks.
/// </summary>
public interface ISnap<TResult>
{
IOutcome<TResult> Convert(IDemand demand);
}
}
| 19.272727 | 50 | 0.608491 | [
"MIT"
] | g00fy88/Poof | src/Snaps/ISnap.cs | 214 | C# |
using EasyAbp.Abp.WeChat.MiniProgram.Infrastructure.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyAbp.Abp.WeChat.MiniProgram.Services.Broadcast.Request
{
public class GetApprovedRequest : MiniProgramCommonRequest
{
[JsonProperty("offset... | 24.666667 | 67 | 0.683398 | [
"MIT"
] | Jy1233456/Abp.WeChat | src/MiniProgram/EasyAbp.Abp.WeChat.MiniProgram/Services/Broadcast/Request/GetApprovedRequest.cs | 520 | C# |
namespace Fabric.Terminology.API
{
using System;
using Catalyst.DosApi.Authorization;
using Catalyst.DosApi.Common;
using Catalyst.DosApi.Identity.Models;
using Fabric.Terminology.API.Configuration;
using Fabric.Terminology.Domain.DependencyInjection;
using Nancy.TinyIoc;
/// <summar... | 39.533333 | 138 | 0.684092 | [
"Apache-2.0"
] | HealthCatalyst/Fabric.Terminology | Fabric.Terminology.API/ApiExtensions.TinyIoCContainer.cs | 1,779 | C# |
using System.Diagnostics;
using System.IO;
using System.Threading;
using Xunit;
namespace System.Tests
{
public class UnloadingAndProcessExitTests : RemoteExecutorTestBase
{
[Fact]
public void UnloadingEventMustHappenBeforeProcessExitEvent()
{
string fileName = GetTestFileP... | 33.236842 | 101 | 0.602534 | [
"MIT"
] | cydhaselton/cfx-android | src/System.Runtime.Extensions/tests/System/UnloadingAndProcessExitTests.netcoreapp.cs | 1,265 | C# |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Serilog.Sinks.Queuing.Redis.ElasticHook.Extensions;
public static class ElasticExtensions
{
public static IServiceCollection AddElasticRedisStreamHook(this IServiceCollection services, Action<IServ... | 35.043478 | 152 | 0.617866 | [
"MIT"
] | arenchen/Serilog.Sinks.Queuing.Redis | src/Serilog.Sinks.Queuing.Redis.ElasticHook/Extensions/ElasticExtensions.cs | 806 | C# |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.TestData.DatapointFixture;
using NUnit.TestUtilities;
namespace NUnit.Framework.Attributes
{
public class DatapointTests
{
... | 28.487805 | 91 | 0.636558 | [
"MIT"
] | 304NotModified/nunit | src/NUnitFramework/tests/Attributes/DatapointTests.cs | 2,338 | C# |
using System.Windows.Forms;
using GuiLabs.Canvas.Events;
namespace GuiLabs.Canvas.Shapes
{
public class ShapeWithEvents : Shape, IShapeWithEvents
{
public ShapeWithEvents()
: base()
{
}
#region Events
public event MouseWithKeysEventHandler Click;
public event MouseWithKeysEventHandl... | 17.898396 | 63 | 0.651031 | [
"MIT"
] | KirillOsenkov/LiveGeometry | Reference/VB.NET/Canvas/Shapes/ShapeWithEvents.cs | 3,347 | C# |
namespace SqlStreamStore
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
using static Streams.Deleted;
public partial class AcceptanceTests
{
[Fact, Trait("Category", "DeleteEvent")]
public ... | 44.233577 | 119 | 0.666832 | [
"MIT"
] | ArneSchoonvliet/SQLStreamStore | tests/SqlStreamStore.AcceptanceTests/AcceptanceTests.DeleteEvent.cs | 6,062 | C# |
namespace ExaLearn.Dal.Entities
{
public class UserAnswer
{
public int Id { get; set; }
public int PassedTestId { get; set; }
public PassedTest PassedTest { get; set; }
public int QuestionId { get; set; }
public Question Question { get; set; }
public string ... | 20.681818 | 59 | 0.571429 | [
"MIT"
] | ExadelSandbox/project | exalearn-api/ExaLearn.Dal/Entities/UserAnswer.cs | 457 | C# |
using System;
using Ministry;
using Umbraco.Core.Models;
using Umbraco.Pylon.Models;
using Umbraco.Web;
namespace Umbraco.Pylon
{
#region | Interface |
/// <summary>
/// Repository to access non-relative site content elements and collections.
/// </summary>
public interface IPublishedContentRepos... | 34.736842 | 144 | 0.551178 | [
"MIT"
] | ministryotech/Umbraco.Pylon | Umbraco.Pylon/PublishedContentRepository.cs | 5,942 | C# |
// Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x6B892D91, 8)]
public class STUUXObject : STUInstance
{
}
}
| 15.272727 | 42 | 0.678571 | [
"MIT"
] | Pandaaa2507/OWLib | TankLib/STU/Types/STUUXObject.cs | 168 | C# |
namespace UglyToad.PdfPig.Tests
{
using System.Collections.Generic;
using PdfPig.Filters;
using PdfPig.Tokens;
internal class TestFilterProvider : IFilterProvider
{
public IReadOnlyList<IFilter> GetFilters(DictionaryToken dictionary)
{
return new List<IFilter>();
... | 23.473684 | 76 | 0.623318 | [
"Apache-2.0"
] | BenyErnest/PdfPig | src/UglyToad.PdfPig.Tests/TestFilterProvider.cs | 448 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 26.096154 | 76 | 0.670597 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Containerregistry/Apis/DescribeRepositoriesResult.cs | 1,393 | 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... | 34.601942 | 173 | 0.62991 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/AttachInstancesToLoadBalancerRequest.cs | 3,564 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using RunChallenge.MVC.Models;
using RunChallenge.Models... | 36.431915 | 173 | 0.559832 | [
"MIT"
] | bstaykov/RunChallenge | RunChallenge.MVC/Controllers/AccountController.cs | 17,125 | C# |
using MP.SimpleTokens.Token.Contracts;
using Refit;
namespace MP.SimpleTokens.Token.Clients
{
public interface IBasicDetailsClient
{
[Get("/basicdetails/{id}")]
Task<PublicTokenSummary> GetSummary(string id);
}
} | 22 | 55 | 0.698347 | [
"MIT-0"
] | mparker42/MP.SimpleTokens.Token | MP.SimpleTokens.Token.Clients/IBasicDetailsClient.cs | 244 | C# |
using DevelopmentInProgress.TradeView.Wpf.Common.Cache;
using DevelopmentInProgress.TradeView.Wpf.Common.Model;
using DevelopmentInProgress.TradeView.Wpf.Common.Services;
using DevelopmentInProgress.TradeView.Wpf.Common.ViewModel;
using DevelopmentInProgress.TradeView.Wpf.Controls.Messaging;
using DevelopmentInProgres... | 37.737705 | 181 | 0.579713 | [
"Apache-2.0"
] | CasparsTools/tradeview | src/DevelopmentInProgress.TradeView.Wpf.Dashboard/ViewModel/AccountsViewModel.cs | 4,606 | C# |
using System.Collections.Generic;
using NFluent;
using NUnit.Framework;
namespace Diverse.Tests
{
/// <summary>
/// All about the deterministic capabilities of the <see cref="Fuzzer"/>.
/// <remarks>
/// This test fixture has lot of tests using a specific seed provided to
/// the Fuzzer in... | 40.2625 | 170 | 0.654455 | [
"Apache-2.0"
] | 42skillz/Diverse | Diverse.Tests/FuzzerWithItsOwnDeterministicCapabilitiesShould.cs | 3,223 | C# |
using System.Collections.Generic;
using System.Linq;
using CentralBackup.Core.Entities;
using CentralBackup.Core.Interfaces.Repositories;
namespace CentralBackup.Core.Repositories
{
public class ConfigurationRepository : IConfigurationRepository
{
private readonly BackupContext _backupContext;
... | 30.92 | 78 | 0.653299 | [
"MIT"
] | curcas/CentralBackup | src/CentralBackup.Core/Repositories/ConfigurationRepository.cs | 775 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChildDeparenter : MonoBehaviour {
// Start is called before the first frame update
void Start() {
foreach (Transform child in transform) {
child.SetParent(null);
}
}
}
| 21.642857 | 52 | 0.669967 | [
"MIT"
] | kivik-beep/farmasia-vr | Assets/Scripts/ChildDeparenter.cs | 305 | C# |
#if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
/// <summary>
/// Helper struct, since UnrealScript doesn't allow arrays of arrays, but
/// arrays of structs of arrays are okay.
/// </summary>
[StructLayout(Layo... | 19.571429 | 74 | 0.751825 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FDelegateArray.cs | 411 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace AuthServer.Host.Migrations
{
public partial class Added_Feature_Management : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AbpF... | 36.552632 | 87 | 0.557955 | [
"MIT"
] | AbdallahYahyia/abp-samples | MicroserviceDemo/applications/AuthServer.Host/Migrations/20200304155131_Added_Feature_Management.cs | 1,391 | C# |
using UnityEngine;
namespace RogueLike.Inventory
{
public static class MouseData
{
public static UserInterface interfaceMouseIsOver;
public static GameObject tempItemBeingDragged;
public static GameObject slotHoverOver;
}
} | 23.636364 | 57 | 0.734615 | [
"MIT"
] | Westtly25/RPG-Inventory-Test | Assets/Scripts/Inventory/MouseData.cs | 260 | C# |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace TressFX
{
public class MaterialCreator : MonoBehaviour
{
/*[MenuItem("Assets/CreateMaterial")]
public static void CreateMat()
{
Material m = new Material(Shader.Find("Hidden/TressFX/ShadowMapTextureWr... | 25.222222 | 92 | 0.643172 | [
"Unlicense"
] | TagsRocks/TressFXUnity | Assets/TressFX/EditorExtension/Editor/MaterialCreator.cs | 456 | C# |
/*
Copyright © 2002, The KPD-Team
All rights reserved.
http://www.mentalis.org/
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
... | 36.607843 | 127 | 0.560525 | [
"MIT"
] | AkisKK/GMap.NET | GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/AuthUserPass.cs | 7,471 | C# |
using NBitcoin;
using Purple.Bitcoin.Base;
using Purple.Bitcoin.Configuration;
using Purple.Bitcoin.Configuration.Logging;
using Purple.Bitcoin.Utilities;
using Xunit;
namespace Purple.Bitcoin.Features.Consensus.Tests
{
public class InitialBlockDownloadTest
{
private readonly ConsensusSettings consens... | 41.661017 | 141 | 0.695281 | [
"MIT"
] | glasgowdev/purple | src/Purple.Bitcoin.Features.Consensus.Tests/InitialBlockDownloadTest.cs | 2,460 | 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 ... | 43.725 | 150 | 0.70669 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/bigquery/reservation/v1/google-cloud-bigquery-reservation-v1-csharp/Google.Cloud.BigQuery.Reservation.V1.StandaloneSnippets/ReservationServiceClient.MoveAssignmentResourceNamesSnippet.g.cs | 1,749 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using GW2EIParser.EIData;
using GW2EIParser.Parser.ParsedData.CombatEvents;
namespace GW2EIParser.Parser.ParsedData
{
public class CombatData
{
public bool HasMovementData { get; }
//private List<CombatItem> _healingData;
... | 39.652557 | 224 | 0.542543 | [
"MIT"
] | Flomix/GW2-Elite-Insights-Parser | GW2EIParser/Parser/ParsedData/CombatData.cs | 22,485 | C# |
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MyJetWallet.Sdk.Authorization.Http;
using NSwag.Annotations;
using Service.Core.Client.Services;
using Servi... | 34.197802 | 136 | 0.779563 | [
"MIT"
] | MyJetEducation/Service.EducationMarketsApi | src/Service.WalletApi.EducationMarketsApi/Controllers/BaseController.cs | 3,114 | C# |
/* Copyright (c) 2010 Michael Lidgren
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, publish,
distr... | 30.958333 | 128 | 0.666322 | [
"MIT"
] | FengYunHuanYu/lidgren-network-gen3 | Lidgren.Network/NetPeer.LatencySimulation.cs | 9,661 | 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Thre... | 41.788835 | 214 | 0.61689 | [
"MIT"
] | BillWagner/roslyn | src/EditorFeatures/Core.Cocoa/Snippets/AbstractSnippetExpansionClient.cs | 17,219 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.ApplicationSettings
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public enum ... | 26.551724 | 62 | 0.687013 | [
"Apache-2.0"
] | AlexTrepanier/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.UI.ApplicationSettings/WebAccountAction.cs | 770 | C# |
using System;
namespace _10_F
{
public class M2
{
//Pq MainWindow funcionou?
static void MainWindow(string[] args)
{
Console.WriteLine("Digite o valor de M ");
var M = int.Parse(Console.ReadLine());
Console.WriteLine("Digite o valor de R ");
... | 23.214286 | 58 | 0.48 | [
"MIT"
] | jonataspiazzi/Aula | genesis/exercicios/10 F/M2.cs | 651 | C# |
namespace DapperPlayground.MsSql
{
using System.Data;
using System.Data.SqlClient;
public static class SqlServerConnectionFactory
{
public static IDbConnection OpenNew()
{
const string connectionString = "Data Source=localhost,1434;Initial Catalog=Northwind;User Id=SA;Passw... | 30.125 | 130 | 0.657676 | [
"Apache-2.0"
] | bbv-mmarkovic/DapperPlayground | src/DapperPlayground.MsSql.FullFrameworkTest/SqlServerConnectionFactory.cs | 484 | C# |
using GameCommands;
using GameModes;
using Ship;
using System;
using System.Linq;
using UnityEngine;
namespace SubPhases
{
public class SelectTargetForSecondAttackSubPhase : SelectShipSubPhase
{
public override void Prepare()
{
Selection.ThisShip.IsAttackPerformed = false;
... | 30.64 | 144 | 0.587794 | [
"MIT"
] | GeneralVryth/FlyCasual | Assets/Scripts/Model/Phases/SubPhases/Temporary/SelectTargetForSecondAttackSubPhase.cs | 3,066 | C# |
/* Problem 2. Concatenate text files
Write a program that concatenates two text files into another text file.
*/
namespace ConcatenateTextFiles
{
using System;
using System.IO;
class ConcatenateTextFiles
{
static void Main()
{
using (var output = File.Create("../../R... | 23.125 | 76 | 0.412613 | [
"MIT"
] | KaloyanchoSt/Telerik-Academy-HW | 1. Programming C#/2. CSharp-Part-2/08. Text-Files/02. ConcatenateTextFiles/ConcatenateTextFiles .cs | 1,112 | 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.Models;
namespace Azure.ResourceManager.CosmosDB.Models
{
public partial ... | 38.811475 | 125 | 0.497782 | [
"MIT"
] | damodaravadhani/azure-sdk-for-net | sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CosmosTableCreateOrUpdateContent.Serialization.cs | 4,735 | C# |
#region License
// Procedural planet generator.
//
// Copyright (C) 2015-2018 Denis Ovchinnikov [zameran]
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of sourc... | 44.179775 | 154 | 0.65056 | [
"BSD-3-Clause"
] | CyberSys/SpaceW | Assets/Project/SpaceEngine/Code/Core/Producers/Color/ColorCoreProducer.cs | 7,866 | C# |
using System.Data.CRUD;
using MySql.Data.MySqlClient;
namespace GG.SSO.Entity.Table.Sso
{
[DataClassCRUD("sso","userclaims")]
public class UserClaims : Entity<UserClaims>
{
[DataMemberCRUD("Id", MySqlDbType.Int32, 10, true, true)]
public int Id { get; set; }
[DataMemberCRUD("Users_Id", MySqlDbType.VarChar... | 23.756757 | 85 | 0.691695 | [
"MIT"
] | guillermo-galvan/portafolio | src/GG.SSO.Entity/Table/Sso/Userclaims.cs | 879 | C# |
using Microsoft.Extensions.Logging;
using Phonebook.Common.Commands;
using Phonebook.Common.Events;
using Phonebook.Common.Exceptions;
using Phonebook.Services.Entry.Domain.Services;
using RawRabbit;
using System;
using System.Threading.Tasks;
namespace Phonebook.Services.Entry.Handlers
{
public class InsertEntryH... | 29.463768 | 106 | 0.526808 | [
"MIT"
] | brentwhittaker/react-asp-net-core-phonebook | Phonebook.Services.Entry/Handlers/InsertEntryHandler.cs | 2,033 | 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("Win... | 37.837838 | 84 | 0.749286 | [
"MIT"
] | PedroVillacreces/PersonalOCR | WindowsFormsApp2/Properties/AssemblyInfo.cs | 1,403 | C# |
namespace AssetMonitoring.API.Controllers
{
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using System.Web.Http.Results;
using AssetMonitoring.Contracts;
using AssetMonit... | 33.480519 | 111 | 0.560512 | [
"Apache-2.0"
] | MobiliyaTechnologies/AMSRESTServer | AssetMonitoring/AssetMonitoring.API/Controllers/SensorRuleController.cs | 5,158 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Doorway : MonoBehaviour {
public Animator anim;
public bool isOpen;
public bool showNotice;
public GameObject notice;
public bool unlocked = false;
private void Start()
{
anim = transform... | 20.405797 | 100 | 0.522727 | [
"Apache-2.0"
] | 12Cylinder/Darkfloor | Assets/Code/Doorway.cs | 1,410 | C# |
using Microsoft.AspNetCore.SignalR;
using System.Threading.Tasks;
namespace FamilyTree.WebUI.Hubs
{
public class PrivacyHub : Hub
{
public async Task SendPrivacyChangedNotification(int privacyId, string userId)
{
await Clients.User(userId)
.SendAsync("Re... | 25.6 | 86 | 0.651042 | [
"MIT"
] | VuacheslavSichkarenko/FamilyTree | FamilyTree.WebUI/Hubs/PrivacyHub.cs | 386 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIManager : MonoBehaviourSingleton<UIManager>
{
public enum eScreens
{
Title = 0,
Gameover,
Win,
HUD,
MAX = HUD
}
[SerializeField]
private List<UIBaseScreen> m_ScreenPrefabs;
[SerializeField]
private Camera ... | 18.622642 | 125 | 0.743668 | [
"MIT"
] | KXue/LDJam46 | Assets/Scripts/Systems/UIManager.cs | 989 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ejercicio6 : MonoBehaviour
{
//6. Realizá un programa que permita el ingreso por Inspector de
//un valor entero mayor que 0 en una variable llamada num1 y muestre
//un mensaje por pantalla indicando "el número es... | 24.3 | 73 | 0.576132 | [
"MIT"
] | OctavioSpano/Guia-de-Programacion-1 | Assets/Scripts/Ejercicio6.cs | 742 | C# |
using System;
namespace FritzBoxAPI.Model.Constants
{
public class XPathConstants
{
public const String PHONEBOOKTABLENODEID = "td/button[@class =\"icon edit\"]";
public const String PHONEBOOKTABLENODENAME = "td[@class =\"tname\"]";
public const String PHONEBOOKTABLENODENUMBER = "td[@c... | 36.8 | 86 | 0.666667 | [
"MIT"
] | MagicMango/dotnetfrizboxapi | Model/Constants/XPathConstants.cs | 554 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Gigya.Common.Contracts.Exceptions;
using Gigya.Microdot.ServiceProxy;
using Metrics;
using Metrics.MetricData;
using NUnit.Framework;
using RichardSzalay.MockHttp;
// ReSharper disable Unus... | 33.808219 | 170 | 0.55443 | [
"Apache-2.0"
] | dinavinter/microdot | tests/Gigya.Microdot.UnitTests/ServiceProxyTests/MetricsTests.cs | 7,406 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class BTests
{
const int TimeLimit = 2000;
const double RelativeError = 1e-9;
[TestMethod, Timeout(TimeLimit)]
public void Test1()
{
const string input = @"4
";
... | 19.297872 | 59 | 0.527012 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | AGC-Like/CF16-FINAL/Tests/BTests.cs | 907 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace BuildXL.Cache.ContentStore.Distributed.Stores
{
/// <nodoc />
public enum CopyReason
{
/// <nodoc />
None,
/// <nodoc />
Pin,
/// <nodoc />
Put,
... | 16.117647 | 56 | 0.417883 | [
"MIT"
] | RobJellinghaus/BuildXL | Public/Src/Cache/ContentStore/Distributed/Stores/CopyReason.cs | 550 | C# |
namespace Bodoconsult.Core.Windows.Network.Dhcp.Native
{
/// <summary>
/// The DHCP_FAILOVER_MODE enumeration defines the DHCPv4 server mode operation in a failover relationship.
/// </summary>
internal enum DHCP_FAILOVER_MODE
{
/// <summary>
/// The DHCPv4 server failover relations... | 30.166667 | 111 | 0.626151 | [
"MIT"
] | RobertLeisner/Bodoconsult.Core.Windows | Bodoconsult.Core.Windows/Network/Dhcp/Native/DHCP_FAILOVER_MODE.cs | 545 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace CrocCSharpBot
{
/// <summary>
/// Пользователь бота
/// </summary>
public class User
{ /// <summary>
/// Индетифекатор пользователя... | 24.113636 | 47 | 0.540999 | [
"MIT"
] | marik1822/crocBot | CrocCSharpBot1/CrocCSharpBot/User.cs | 1,174 | C# |
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* 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... | 39.725 | 118 | 0.747011 | [
"MIT"
] | Archish27/playwright-dotnet | src/tools/Playwright.Tooling/Program.cs | 1,589 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace IL.Library.Amazon.SPAPI.Finances.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// A... | 41.323529 | 497 | 0.625623 | [
"Apache-2.0"
] | InventoryLab/selling-partner-api-models | clients/IL/Finances/Models/SolutionProviderCreditEvent.cs | 5,620 | 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.Net.Test.Common;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.DotNet.XUnitExtensions;
using... | 41.089474 | 151 | 0.519918 | [
"MIT"
] | AlexanderSemenyak/runtime | src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.MaxResponseHeadersLength.cs | 7,807 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tamago
{
public static class MathHelper
{
public static float ToRadians(float degrees)
{
return NormalizeAngle((float)(degrees * Math.PI / 180))... | 25.75 | 69 | 0.524272 | [
"MIT"
] | echojc/Tamago | Tamago/MathHelper.cs | 723 | C# |
using System;
using Castle.Facilities.Logging;
using Abp;
using Abp.Castle.Logging.Log4Net;
using Abp.Collections.Extensions;
using Abp.Dependency;
namespace MetroStation.Migrator
{
public class Program
{
private static bool _quietMode;
public static void Main(string[] args)
{
... | 29.138462 | 119 | 0.463569 | [
"MIT"
] | poxiaoqiu-px/metrostation | aspnet-core/src/MetroStation.Migrator/Program.cs | 1,896 | 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>
//--... | 42.747475 | 151 | 0.619802 | [
"MIT"
] | Z3Prover/PerformanceTest | src/AzurePerformanceTest/AzureWorker/Properties/Settings.Designer.cs | 4,234 | C# |
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Components;
using BootstrapBlazor.Shared.Common;
us... | 30.782609 | 111 | 0.464124 | [
"Apache-2.0"
] | 5118234/BootstrapBlazor | src/BootstrapBlazor.Shared/Pages/EditDialogs.razor.cs | 3,712 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 41.086667 | 162 | 0.622586 | [
"Apache-2.0"
] | Melvinerall/aws-sdk-net | sdk/src/Services/Route53/Generated/Model/Internal/MarshallTransformations/AssociateVPCWithHostedZoneResponseUnmarshaller.cs | 6,163 | C# |
using System.Text.Json;
using System.Text.Json.Serialization;
using Elsa.Management.Contracts;
namespace Elsa.Management.Serialization.Converters;
/// <summary>
/// Serializes <see cref="Type"/> objects to a simple alias representing said type.
/// </summary>
public class TypeJsonConverter : JsonConverter<Type>
{
... | 38.415094 | 154 | 0.685658 | [
"MIT"
] | elsa-workflows/experimental | src/core/Elsa.Management/Serialization/Converters/TypeJsonConverter.cs | 2,036 | C# |
using System;
using System.Linq.Expressions;
using StandardRepository.Models.Entities;
namespace StandardRepository.Models
{
public class OrderByInfo<T> where T : BaseEntity
{
public Expression<Func<T, object>> OrderByColumn { get; }
public bool IsAscending { get; }
public OrderByInf... | 26.263158 | 94 | 0.663327 | [
"MIT"
] | anatolia/standard-repository | Sources/StandardRepository/Models/OrderByInfo.cs | 501 | C# |
#region Using Statements
using System;
using WaveEngine.Common;
using WaveEngine.Common.Graphics;
using WaveEngine.Common.Math;
using WaveEngine.Common.Media;
using WaveEngine.Components.Cameras;
using WaveEngine.Components.Graphics2D;
using WaveEngine.Components.Graphics3D;
using WaveEngine.Framework;
using WaveEngine... | 28.290323 | 75 | 0.72634 | [
"MIT"
] | starostin13/Samples | Media/Music/Music/MusicProject/MyScene.cs | 877 | C# |
using System;
namespace Yuniql.PlatformTests.Setup
{
public class BulkTestDataRow
{
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime? BirthDate { get; set; }
}
} | 17.428571 | 48 | 0.622951 | [
"Apache-2.0"
] | MariemKharrat/yuniql | yuniql-tests/platform-tests/Setup/BulkTestDataRow.cs | 246 | 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/xaudio2.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerServi... | 56.852071 | 274 | 0.699105 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/xaudio2/IXAudio2MasteringVoice.cs | 9,610 | C# |
namespace RpgMapEditor.Modules.Utilities
{
public class Coordinates
{
public int X { get; set; }
public int Y { get; set; }
public int Z { get; set; }
public const int Step = 16;
public Coordinates Parent { get; set; }
public Coordinates() { X = 0; Y = -1; Z =... | 23 | 74 | 0.478261 | [
"MIT"
] | Szune/RpgMapEditor | Modules/Utilities/Coordinates.cs | 853 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using System.Diagnostics.CodeAnalysis;
namespace CatsListingDemo.PetOwner.Service
{
/// <summary>
/// Defines the contracts for generic HTTP GET and... | 30.928571 | 113 | 0.668206 | [
"MIT"
] | mendezgabriel/cats-listing-demo-dotnet-core | CatsListingDemo.PetOwner.Service/HttpHandler.cs | 1,301 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.