content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
namespace AddressLoader.Mongo
{
using System;
using MongoDB.Bson.Serialization.Attributes;
[BsonIgnoreExtraElements]
public class MongoAddress
{
[BsonElement("property")]
public string AddressLine1 { get; set; }
[BsonElement("street")]
public string AddressLine2 { g... | 23.16 | 48 | 0.611399 | [
"MIT"
] | BugsUK/FindApprenticeship | tools/AddressLoader/AddressLoader/Mongo/MongoAddress.cs | 579 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace NServiceKit.IntegrationTests.ServiceModel
{
[DataContract]
public class RequestInfo
{
}
[DataContract]
public class RequestInfoResponse
{
public RequestInfoResponse()
{
this.EnpointAttributes = new List<string... | 22.738095 | 64 | 0.687958 | [
"BSD-3-Clause"
] | NServiceKit/NServiceKit | tests/NServiceKit.IntegrationTests/NServiceKit.IntegrationTests.ServiceModel/RequestInfo.cs | 914 | C# |
ο»Ώusing FluentValidation;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ValidationException = Ordering.Application.Exceptions.ValidationException;
namespace Ordering.Application.Behaviours
{
public class ValidationBehavi... | 35.184211 | 138 | 0.676889 | [
"MIT"
] | bmartens88/AspnetMicroservices | src/Services/Ordering/Ordering.Application/Behaviours/ValidationBehaviour.cs | 1,339 | C# |
ο»Ώusing Peedroca.DesignPattern.Exercise.Interfaces;
namespace Peedroca.DesignPattern.Exercise.Impostos
{
internal sealed class ICPP : Imposto
{
public ICPP()
{
}
public ICPP(IImposto outroImposto) : base(outroImposto)
{
}
protected override double Calc... | 23.484848 | 76 | 0.624516 | [
"MIT"
] | peedroca/alura-courses-exercises | source/design-patterns-I/Peedroca.DesignPattern.Exercise/Impostos/ICPP.cs | 777 | C# |
ο»Ώusing IIASA.FloodCitiSense.Security;
namespace IIASA.FloodCitiSense.Authorization.Users.Profile.Dto
{
public class GetPasswordComplexitySettingOutput
{
public PasswordComplexitySetting Setting { get; set; }
}
}
| 23.3 | 62 | 0.759657 | [
"MIT"
] | FloodCitiSense/FloodCitiSense | aspnet-core/src/IIASA.FloodCitiSense.Application.Shared/Authorization/Users/Profile/Dto/GetPasswordComplexitySettingOutput.cs | 235 | C# |
ο»Ώusing System;
using GTA;
using System.Collections.Generic;
namespace ChaosMod.Commands
{
/// <summary>
/// Cause the character to leave the current vehicle.
/// </summary>
public class Eject : Command
{
public void Handle(Chaos mod, String from, IEnumerable<String> rest)
{
var player = Game.P... | 22.321429 | 71 | 0.6384 | [
"Apache-2.0",
"MIT"
] | udoprog/ChaosMod | ChaosMod/Commands/Eject.cs | 627 | C# |
ο»Ώusing System.Windows;
using System.Windows.Controls;
namespace TLRPResourceEditor.Views
{
/// <summary>
/// Interaktionslogik fΓΌr MapView.xaml
/// </summary>
public partial class MapView
{
public MapView()
{
InitializeComponent();
}
priva... | 27.764706 | 82 | 0.610169 | [
"MIT"
] | enceler/TLRPResourceEditor | TLRPResourceEditor/Views/MapView.xaml.cs | 947 | C# |
ο»Ώusing UnityEngine;
//https://docs.unity3d.com/2018.3/Documentation/Manual/StyledText.html
public class LoggerTool
{
public static void LogMessage(string _msg)
{
Debug.Log("<color=lime>" + _msg + "</color>");
}
public static void LogError(string _msg)
{
Debug.Log("<color=red>" + _... | 22.961538 | 70 | 0.59799 | [
"MIT"
] | Arthur-Delacroix/Tutorial-HexMap | UnitySourceCode/Assets/__Temp/LoggerTool.cs | 599 | C# |
ο»Ώusing System.Web;
using System.Web.Mvc;
namespace _400_VideoGioco.MVC {
public class FilterConfig {
public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
filters.Add(new HandleErrorAttribute());
}
}
}
| 24.545455 | 83 | 0.666667 | [
"MIT"
] | giuliobosco/CsharpSAMT | 04-VideoGioco/400-VideoGioco.MVC/App_Start/FilterConfig.cs | 272 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Decia.Business.Domain.Reporting.Dimensionality;
namespace Decia.Business.Domain.Reporting
{
internal class RepeatGroupData
{
private Guid m_GroupId;
private string m_GroupName;
private int m_Gro... | 34.026549 | 148 | 0.620676 | [
"MIT"
] | 1Schema/Open-Source | Decia.Business.Domain.Reporting/Elements/DimensionalTable/Containers/VariableTitleContainer/RepeatGroupData.cs | 7,692 | C# |
ο»Ώusing Loupedeck.PowerToysPlugin.Models.Awake;
namespace Loupedeck.PowerToysPlugin.Services
{
public class AwakeService : BaseSettingsService<AwakeSettings>
{
public AwakeService()
: base("Awake")
{
//
}
}
}
| 19.214286 | 66 | 0.605948 | [
"MIT"
] | oddbear/Loupedeck.PowerToys.Plugin | PowerToysPlugin/Services/AwakeService.cs | 271 | C# |
ο»Ώusing GW2Api.NET.V1.Recipes.Dto;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
namespace GW2Api.NET.V1
{
public partial class Gw2ApiV1
{
private static readonly string _recipesResource = "recipes.json";
private st... | 35.375 | 129 | 0.580389 | [
"MIT"
] | RyanClementsHax/GW2Api.NET | GW2Api.NET/V1/Recipes/Gw2ApiV1.Recipes.cs | 1,134 | C# |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ββββ βββ βββββββ ββββββββββββ βββββββββββββββ
// βββββ ββββββββββββββββββββββββββββββββββββββββ
// ββββββ... | 43.101266 | 162 | 0.694273 | [
"Apache-2.0"
] | SimonCropp/elasticsearch-net | src/Elastic.Clients.Elasticsearch/_Generated/Api/Ilm/IlmPutLifecycleRequest.g.cs | 3,851 | C# |
ο»Ώusing System;
using System.Collections.Generic;
namespace PAXSchedule.Models.Gudebook
{
public partial class GuidebookTourstopPoint
{
public GuidebookTourstopPoint()
{
GuidebookTourMedia = new HashSet<GuidebookTourMedium>();
}
public long Id { get; set; }
p... | 28 | 88 | 0.638199 | [
"MIT"
] | remyjette/PAXSchedule | Models/Guidebook/GuidebookTourstopPoint.cs | 646 | C# |
using System;
using System.Runtime.InteropServices;
namespace Toe
{
/// <summary>
/// Represents a 4D vector using four integer numbers.
/// </summary>
/// <remarks>
/// The Vector4i structure is suitable for interoperation with unmanaged code requiring three consecutive ints.
/// </rem... | 26.737113 | 119 | 0.412763 | [
"MIT"
] | gleblebedev/Toe.Math | src/Toe.Math/Vector4i.cs | 5,187 | C# |
ο»Ώ// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
namespace osu.Game.Screens.OnlinePlay
{
public abstract class On... | 28.690909 | 80 | 0.621673 | [
"MIT"
] | TheBicPen/osu | osu.Game/Screens/OnlinePlay/OnlinePlaySubScreen.cs | 1,526 | C# |
/*
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Co... | 37.66875 | 205 | 0.593828 | [
"Apache-2.0"
] | Cloudmersive/Cloudmersive.APIClient.NET.DocumentAndDataConvert | client/src/Cloudmersive.APIClient.NET.DocumentAndDataConvert/Model/HtmlTemplateApplicationRequest.cs | 6,027 | C# |
ο»Ώusing FubuMVC.Core.ServiceBus.Configuration;
using TestMessages.ScenarioSupport;
namespace FubuMVC.IntegrationTesting.Fixtures.ServiceBus.Subscriptions
{
public class HasGlobalSubscriptionsRegistry : FubuTransportRegistry<HarnessSettings>
{
public HasGlobalSubscriptionsRegistry()
{
... | 30.5 | 88 | 0.655738 | [
"Apache-2.0"
] | DarthFubuMVC/fubumvc | src/FubuMVC.IntegrationTesting/Fixtures/ServiceBus/Subscriptions/HasGlobalSubscriptionsRegistry.cs | 551 | C# |
ο»Ώ// -----------------------------------------------------------------------------------
// Copyright (C) Riccardo De Agostini and Buildvana contributors. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
//
// Part of this file may be third-par... | 32.210526 | 87 | 0.522059 | [
"MIT"
] | Buildvana/Buildvana.Sdk | src/Buildvana.Sdk.Tasks/Base/BuildvanaSdkIsolatedTask.cs | 1,226 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Pchp.Core.Reflection
{
/// <summary>
/// Runtime information about a function.
/// </summary>
... | 34.967033 | 183 | 0.596245 | [
"Apache-2.0"
] | JiaFeiX/peachpie | src/Peachpie.Runtime/Reflection/PhpRoutineInfo.cs | 12,730 | C# |
ο»Ώusing UnityEngine;
using System.Collections;
public class FT_LineHitPoint : MonoBehaviour {
public bool freezeHeightPosition = true;
public float heightValue = 1.5f;
public Transform target;
void Update () {
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
if (Physics.Raycast (... | 27 | 77 | 0.709877 | [
"Unlicense"
] | Avatarchik/rail-hunter | Assets/Packages/FT_Infinity_lite/Scripts/FT_LineHitPoint.cs | 650 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Http;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
{
... | 41.178571 | 146 | 0.694709 | [
"Apache-2.0"
] | 1175169074/aspnetcore | src/Security/Authentication/OpenIdConnect/src/Events/RemoteSignoutContext.cs | 1,153 | C# |
ο»Ώusing System.Collections.Generic;
using AllReady.Areas.Admin.ViewModels.Campaign;
using MediatR;
namespace AllReady.Areas.Admin.Features.Campaigns
{
public class IndexQuery : IAsyncRequest<IEnumerable<IndexViewModel>>
{
public int? OrganizationId { get; set; }
}
} | 26 | 72 | 0.748252 | [
"MIT"
] | 7as8ydh/allReady | AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Campaigns/IndexQuery.cs | 288 | C# |
ο»Ώnamespace _02._Command.Interfaces
{
public interface IExecutor
{
void ExecuteCommand(ICommand command);
}
} | 18.285714 | 46 | 0.679688 | [
"MIT"
] | thelad43/CSharp-OOP-Advanced-SoftUni | 11. Object Communication and Events - Lab/02. Command/Interfaces/IExecutor.cs | 130 | C# |
ο»Ώusing System.Linq;
using UAlbion.Core;
using UAlbion.Core.Events;
using UAlbion.Formats.Config;
using UAlbion.Game.Events;
using UAlbion.Game.Gui;
using Veldrid;
namespace UAlbion.Game.Input
{
public class ExclusiveMouseMode : Component
{
static readonly HandlerSet Handlers = new HandlerSet(
... | 34.039216 | 110 | 0.60023 | [
"MIT"
] | mrwillbarnz/ualbion | Game/Input/ExclusiveMouseMode.cs | 1,738 | 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.Runtime.CompilerServices;
using System.Diagnostics.Tracing;
using Internal.Runtime.CompilerServices;
namespace System.Threading.Tasks
{
/// <summary>Provides an eve... | 48.917976 | 179 | 0.592009 | [
"MIT"
] | AntonLapounov/corert | src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs | 28,030 | C# |
ο»Ώnamespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Text;
public sealed class CefVersionMismatchException : CefRuntimeException
{
public CefVersionMismatchException(string message)
: base(message)
{
}
}
}
| 20.2 | 73 | 0.650165 | [
"MIT"
] | 00aj99/Chromely | src/CefGlue/Chromely.Unofficial.CefGlue.NetStd/Exceptions/CefVersionMismatchException.cs | 305 | C# |
// NVNC - .NET VNC Server Library
// Copyright (C) 2014 T!T@N
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
... | 34.333333 | 127 | 0.617198 | [
"BSD-3-Clause"
] | 0xe7/Empire | empire/server/csharp/Covenant/Data/ReferenceSourceLibraries/NVNC/Encodings/RawRectangle.cs | 2,163 | 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... | 52.29179 | 578 | 0.598948 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/WAF/Generated/_bcl35/IAmazonWAF.cs | 617,200 | C# |
ο»Ώusing System;
using System.IO;
using Wave.Platform.Messaging;
using Wave.Services;
namespace Wave.Platform
{
public abstract class BlockDefinition : DefinitionBase, ICacheable
{
public HintsDictionary RenderingHints { get; protected set; }
public UIHintedType HintedType { get { retur... | 26.433333 | 85 | 0.580706 | [
"MIT"
] | futurix/cms-cli | Explorer/Phone/Client/Platform/Definitions/Infrastructure/BlockDefinition.cs | 1,588 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using Uno.Extensions;
using Uno.UI;
#if XAMARIN_ANDROID
using View = Android.Views.View;
#elif XAMARIN_IOS_UNIFIED
using View = UIKit.UIView;
#elif __MACOS__
using View = AppKit.NSView;
#elif XAMARIN_IOS
using View = MonoTouch.UIKit.UIView;
#else
using View = Windows.UI... | 28.795775 | 129 | 0.718513 | [
"Apache-2.0"
] | AnshSSonkhia/uno | src/Uno.UI/UI/Xaml/FrameworkTemplate.cs | 4,091 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Text;
namespace CSharpComplete
{
class StudentEncapsulation
{
private int _id;
private string _name;
private int _passmarks = 35;
public string Email { get; set; }
public int Id
{
get
... | 21.75 | 67 | 0.39272 | [
"Apache-2.0"
] | manas1803/CSharp | Code/CSharpComplete/StudentEncapsulation.cs | 1,046 | C# |
ο»Ώ//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: ... | 55.235294 | 384 | 0.705005 | [
"MIT"
] | splnkit/splunk-tracer-csharp | src/SplunkTracing/Properties/AssemblyInfo.cs | 941 | C# |
ο»Ώnamespace AcmeCorp.EventSourcingExampleApp.Payments.MessageHandlers
{
using AcmeCorp.EventSourcingExampleApp.Payments.Contracts.Messages.Commands;
public class SubmitPaymentDetailsV1Handler : IHandleMessage<SubmitPaymentDetailsV1>
{
private readonly IPaymentsDataStore paymentsDataStore;
pr... | 37.956522 | 120 | 0.744559 | [
"MIT"
] | AcmeCorp/EventSourcingExampleApp | Source/AcmeCorp.EventSourcingExampleApp.Payments/MessageHandlers/SubmitPaymentDetailsV1Handler.cs | 875 | 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.Runtime.InteropServices;
internal static partial class Interop
{
/// <summary>Common... | 50.720379 | 173 | 0.546253 | [
"MIT"
] | AArnott/runtime | src/libraries/Common/src/Interop/Unix/Interop.Errors.cs | 10,702 | C# |
ο»Ώ// Copyright (c) 2012-2017 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using Dicom.Imaging.LUT;
namespace Dicom.Imaging.Render
{
/// <summary>
/// Pipeline interface
/// </summary>
public interface IPipeline
{
/// <summary>
/// Get the LUT of the... | 20.421053 | 55 | 0.585052 | [
"BSD-3-Clause"
] | aerik/fo-dicom | DICOM/Imaging/Render/IPipeline.cs | 390 | C# |
//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "EF Domain Objects" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//--------------------------------------------------------------------... | 29.528571 | 119 | 0.518626 | [
"MIT"
] | Xomega-Net/Xomega.Examples | AdventureWorks/AdventureWorks.Services.Entities/Entities/Purchasing/Vendor.cs | 2,067 | 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... | 37.291925 | 159 | 0.600433 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/PinpointEmail/Generated/Model/Internal/MarshallTransformations/CreateConfigurationSetRequestMarshaller.cs | 6,004 | C# |
ο»Ώusing System;
using System.Collections.Generic;
#nullable disable
namespace Desafio.Net.Models
{
public partial class Customer
{
public Customer()
{
CustomerCustomerDemos = new HashSet<CustomerCustomerDemo>();
Orders = new HashSet<Order>();
}
public st... | 30.03125 | 92 | 0.611863 | [
"MIT"
] | thiagoraheem/Desafio-DotNet | Backend/Desafio.Net/Desafio.Net/Models/Customer.cs | 963 | C# |
ο»Ώ#region References
using System;
using System.Linq;
using System.Linq.Expressions;
using Speedy.Collections;
#endregion
namespace Speedy.Extensions
{
/// <summary>
/// Extensions for queryable
/// </summary>
public static class QueryableExtensions
{
#region Methods
/// <summary>
/// Gets paged results.
... | 35.323529 | 178 | 0.677213 | [
"MIT"
] | BobbyCannon/Speedy | Speedy/Extensions/QueryableExtensions.cs | 3,605 | C# |
using CoreWiki.Configuration.Settings;
using CoreWiki.Configuration.Startup;
using CoreWiki.Data.EntityFramework.Security;
using CoreWiki.FirstStart;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Micro... | 32.4 | 192 | 0.765907 | [
"MIT"
] | danielmpetrov/CoreWiki | CoreWiki/Startup.cs | 2,042 | C# |
/****************************************************************************
* Copyright (c) 2017 snowcold
* Copyright (c) 2017 liangxie
*
* http://liangxiegame.com
* https://github.com/liangxiegame/QFramework
* https://github.com/liangxiegame/QSingleton
* https://github.com/liangxiegame/QChain
*
* Permissio... | 33.101563 | 94 | 0.561954 | [
"MIT"
] | UniPM/UniPM | Core/CSharp/Utils/DataStructure/List/Test/LinkedListTest.cs | 4,237 | C# |
ο»Ώusing CommonCore.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace UITestScene
{
public class UITestSceneController : MonoBehaviour
{
public Text TestText;
public TextAnimation TextAnim;
public void OnClickStart()
... | 19.612903 | 86 | 0.600329 | [
"MIT"
] | XCVG/californium_dr | Assets/Scenes/Other/UITestScene/UITestSceneController.cs | 610 | C# |
ο»Ώnamespace BCKFreightTMS.Web.ViewModels
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId);
}
}
| 21.1 | 75 | 0.672986 | [
"MIT"
] | MMSlavov/BCKFreight | src/Web/BCKFreightTMS.Web.ViewModels/ErrorViewModel.cs | 213 | C# |
namespace GeneXus.Application
{
using System;
using System.Collections;
using System.IO;
using GeneXus.Configuration;
using log4net;
using System.Collections.Generic;
using System.Web;
using System.Threading;
#if NETCORE
using Microsoft.AspNetCore.Http;
#else
using System.Web.Configuration;
#endif
using Syst... | 25.347403 | 148 | 0.63379 | [
"Apache-2.0"
] | genexuslabs/DotNetClasses | dotnet/src/dotnetframework/GxClasses/Helpers/GXFileWatcher.cs | 7,807 | C# |
ο»Ώusing Cofoundry.Core.MessageAggregator;
using Cofoundry.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Cofoundry.BasicTestSite
{
public class BlogPostMessageSubscriptionRegistration : IMessageSubscriptionRegistration
{
public void Reg... | 27.111111 | 98 | 0.770492 | [
"MIT"
] | BOBO41/cofoundry | src/Cofoundry.BasicTestSite/Cofoundry/CustomEntities/BlogPosts/MessageHandlers/BlogPostMessageSubscriptionRegistration.cs | 490 | C# |
ο»Ώ// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using DurableTask.AzureStorage;
using Microsoft.Azu... | 64.590965 | 270 | 0.642476 | [
"MIT"
] | Fabian-Schmidt/azure-functions-durable-extension | test/Common/TestHelpers.cs | 52,903 | C# |
ο»Ώusing UnityEngine;
namespace RPGCore.Inventories
{
[CreateAssetMenu (menuName = "RPGCore/Equipment/Info")]
public class EquipmentInformation : ScriptableObject
{
[Header ("General")]
public string Name;
public Slot AllowedItems;
[Header ("Render")]
#if ASSET_ICONS
[AssetIcon]
#endif
public Sprite Slo... | 20.368421 | 95 | 0.736434 | [
"Apache-2.0"
] | li5414/RPGCore | RPGCore/Assets/RPGCore/Scripts/Inventory/Equipment/EquipmentInformation.cs | 776 | C# |
ο»Ώ// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using NuGet.DependencyResolve... | 39.742268 | 172 | 0.593515 | [
"Apache-2.0"
] | david-driscoll/NuGet3 | src/NuGet.ProjectModel/ExternalProjectReferenceDependencyProvider.cs | 3,857 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Linq;
using FlixOne.Web.Common;
using FlixOne.Web.Models;
using FlixOne.Web.Persistence;
using Microsoft.AspNetCore.Mvc;
namespace FlixOne.Web.Controllers
{
public class ProductController : Controller
{
private readonly IInventoryRepository ... | 31.602941 | 104 | 0.567706 | [
"MIT"
] | BarbFlegel/Hands-On-Design-Patterns-with-C-and-.NET-Core | Chapter10/FlixOneWebExtended/FlixOne.Web/Controllers/ProductController.cs | 4,300 | C# |
ο»Ώusing SeniorBlockchain.Tests.Common.TestFramework;
using Xunit;
namespace SeniorBlockchain.IntegrationTests.BlockStore
{
public partial class ReorgToLongestChainSpecification : BddSpecification
{
[Fact]
public void A_cut_off_miner_advanced_ahead_of_network_causes_reorg_on_reconnect()
{... | 41.24 | 89 | 0.731329 | [
"MIT"
] | seniorblockchain/blockchain | src/Tests/SeniorBlockchain.IntegrationTests/BlockStore/ReorgToLongestChainSpecification.cs | 1,033 | C# |
ο»Ώnamespace DiegoRangel.CleanArchitecture.Infra.IoC.Common
{
/// <summary>
/// It's just an empty class used to reference this Project's assembly.
/// </summary>
public class ProjectIdentifier
{
}
} | 23 | 75 | 0.63913 | [
"MIT"
] | diego-rangel/DiegoRangel.CleanArchitecture.Template | src/DiegoRangel.CleanArchitecture.Infra.IoC/Common/ProjectIdentifier.cs | 232 | C# |
using BLD;
using System.Collections;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Assert = UnityEngine.Assertions.Assert;
namespace AssetPromiseKeeper_Tests
{
public abstract class APKWithPoolableAssetShouldWorkWhen_Base<APKType, AssetPromiseType, AssetType, AssetLibraryType>
... | 33.362869 | 189 | 0.590489 | [
"Apache-2.0"
] | belandproject/unity-renderer | unity-renderer/Assets/Scripts/MainScripts/BLD/Controllers/AssetManager/Common/Tests/APKWithPoolableAssetShouldWorkWhen_Base.cs | 7,907 | C# |
ο»Ώ//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.580645 | 151 | 0.583955 | [
"BSD-3-Clause"
] | rightcode-org/LinkedTracker | Viewer/Properties/Settings.Designer.cs | 1,074 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace AGS.Types
{
public class CustomProperty
{
private string _name;
private string _value;
public CustomProperty()
{
}
public string Name
{
get { retu... | 18.439024 | 58 | 0.529101 | [
"Artistic-2.0"
] | Mailaender/KrusAGS | Editor/AGS.Types/CustomProperty.cs | 756 | C# |
ο»Ώnamespace Gribble.TransactSql
{
public static class System
{
public static string Alias(this string column, string alias)
{
return $"{alias}.[{column}]";
}
public static class Objects
{
public static string TableName = "[sys].[objects]... | 66.176056 | 118 | 0.657976 | [
"MIT"
] | mikeobrien/Gribble | src/Gribble/TransactSql/SystemTables.cs | 18,796 | C# |
ο»Ώ
public record Talk(Guid Id,
[property: Required(ErrorMessage = "Please, input the title")] string Title,
[property: Required(ErrorMessage = "Please, input the name of speaker")] string Speaker,
string Trail);
| 35.166667 | 88 | 0.753555 | [
"MIT"
] | juniorporfirio/TDCFuture21-NET6-MinimalApis | src/TDCFutureTalks.Mediator/Entities/Talk.cs | 213 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Google.Authenticator;
using TwoFactorAuthentication.Models;
using Umbraco.Web.WebApi;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity.Owin;
using Umbraco.Web.Editors;
using System.Net;
using Umbraco.Core;
us... | 28.974359 | 139 | 0.703982 | [
"MIT"
] | Dallas-msc/umbraco-2fa-with-google-authenticator | YubiKey2Factor/TwoFactorAuthentication/Controllers/TwoFactorAuthController.cs | 2,262 | C# |
ο»Ώ// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Compute.Models;
using Azur... | 49.523327 | 203 | 0.636125 | [
"MIT"
] | Youri970410/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/tests/VMScaleSetTests/VMScaleSetScenarioTests.cs | 24,417 | 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.
//----... | 45.96 | 323 | 0.731941 | [
"BSD-3-Clause"
] | x-xing/Quantlib-SWIG | CSharp/csharp/ForwardCurve.cs | 3,447 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Rudrac.TowerDefence.Inventory
{
public class Inventory : MonoBehaviour
{
public static Inventory instance;
public Stats.CharacterStats stats;
public UI.InventoryUiScript[] hot... | 32.95302 | 102 | 0.482892 | [
"Apache-2.0"
] | venkatesh21m/TowerDefenceGame | TowerDefence/Assets/_Scripts/Engine/Inventory/Inventory.cs | 4,910 | C# |
ο»Ώusing System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class ButtonManager : MonoBehaviour
{
private Button btn;
[SerializeField] private RawImage buttonImage;
public GameObject furniture;
private int itemId;
private Sprite ... | 20.807018 | 56 | 0.589376 | [
"MIT"
] | Shrimad-Bhagwat/AR-PROJECT | AR-PROJECT-main/Assets/Scripts/ButtonManager.cs | 1,188 | C# |
//
// NSArray_GameplayKit.cs: Generic extensions to NSArray
//
// Authors:
// Alex Soto <alexsoto@microsoft.com>
//
// Copyright 2016 Xamarin Inc. All rights reserved.
//
using System;
using Foundation;
using ObjCRuntime;
namespace GameplayKit {
#if NET
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("tvo... | 27.5 | 166 | 0.735065 | [
"BSD-3-Clause"
] | SotoiGhost/xamarin-macios | src/GameplayKit/NSArray_GameplayKit.cs | 1,155 | C# |
ο»Ώusing System.Threading;
using DragonSpark.Compose;
using DragonSpark.Model.Selection;
namespace DragonSpark.Runtime.Execution
{
public sealed class Counter : ICounter
{
int _count;
public int Get() => _count;
public void Execute(None parameter)
{
Interlocked.Increment(ref _count);
}
}
sealed class... | 22 | 58 | 0.587413 | [
"MIT"
] | Mike-EEE/LightInject-Fallback | LightInject-Fallback/DragonSpark/Runtime/Execution/Counter.cs | 574 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.Text;
namespace H_PF.ToolLibs.HesoLogger.LogFormatters.Models
{
public class HesoLogWarning
{
}
}
| 15.727273 | 55 | 0.751445 | [
"MIT"
] | Hesothread/H-PF | H-PF.ToolLibs.HesoLogger.LogFormaters.LogFormater/Models/HesoLogWarning.cs | 175 | 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("Pro... | 37.945946 | 84 | 0.75 | [
"MIT"
] | varunramc/clr-profiling | ProfilerCore/Properties/AssemblyInfo.cs | 1,407 | C# |
ο»Ώusing System;
using System.Net.Http;
using System.Linq;
using DasBlog.Web;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
using Xunit;
using System.Threading;
namespace DasBlog.Test.Integration
{
[Trait("Category", "SkipWhenLiveUnitTesting")]
public class SeleniumPageTests : ICla... | 30.942184 | 111 | 0.7191 | [
"MIT"
] | Korn1699/dasblog-core | source/DasBlog.Tests/DasBlog.Test.Integration/SeleniumPageTests.cs | 14,452 | C# |
public enum AddLifeType
{
OneUpMushroom,
Coin,
} | 11.2 | 23 | 0.678571 | [
"MIT"
] | GarfieldJiang/SMB_ECS | Assets/__MAIN__/Scripts/AddLifeType.cs | 56 | 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... | 51.913717 | 230 | 0.693828 | [
"Apache-2.0"
] | DalavanCloud/aws-sdk-net | sdk/src/Services/ElasticMapReduce/Generated/_mobile/AmazonElasticMapReduceClient.cs | 70,395 | 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 0.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regener... | 55.502924 | 355 | 0.608419 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/Network/Stack/Commands.Network/Generated/ExpressRouteCircuitAuthorizationsOperationsExtensions.cs | 18,641 | 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.Globalization;
using System.Threading;
using Microsoft.Build.Internal;
using Microsoft.Build.Shared;
using BuildParameters = Microsoft.Build... | 35.923251 | 158 | 0.573709 | [
"MIT"
] | corob-msft/msbuild | src/Build/BackEnd/Components/Communications/NodeProviderInProc.cs | 15,914 | C# |
ο»Ώusing System.Windows.Controls;
namespace Tests.Controls
{
public partial class SimpleUIBuiltWithXaml : UserControl
{
public SimpleUIBuiltWithXaml()
{
InitializeComponent();
}
}
} | 19 | 60 | 0.631579 | [
"MIT"
] | CaliburnFx/Caliburn | src/Tests.Controls/SimpleUIBuiltWithXaml.xaml.cs | 230 | C# |
namespace Poseidon.WebAPI.Server.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} | 23.090909 | 65 | 0.653543 | [
"MIT"
] | robertzml/Poseidon.WebAPI | Poseidon.WebAPI.Server/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs | 254 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 31.194444 | 113 | 0.674978 | [
"ECL-2.0",
"Apache-2.0"
] | yliu-d/pulumi-akamai | sdk/dotnet/Properties/Outputs/GetPropertyRulesRuleRuleRuleRuleRuleBehaviorResult.cs | 1,128 | C# |
ο»Ώ// -----------------------------------------------------------------
// <copyright file="GameLogOutPacket.cs" company="2Dudes">
// Copyright (c) | Jose L. Nunez de Caceres et al.
// https://linkedin.com/in/nunezdecaceres
//
// All Rights Reserved.
//
// Licensed under the MIT License. See LICENSE in the project root f... | 35.137931 | 91 | 0.610402 | [
"MIT"
] | jlnunez89/fibula-mmo | src/Fibula.Communications.Packets/Incoming/GameLogOutPacket.cs | 1,021 | C# |
ο»Ώusing Kata.December2017;
using NUnit.Framework;
using System;
using System.Linq;
namespace KeithKatas.Tests.December2017
{
[TestFixture]
public class TwoToOneTests
{
private static Random rnd = new Random();
[Test]
public static void TwoToOne_Longest_Test1()
{
... | 33.034091 | 122 | 0.451324 | [
"MIT"
] | ssfcultra/Katas | KeithKatas.Tests/201712/TwoToOneTests.cs | 2,909 | C# |
ο»Ώusing System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.marketing.tool.fengdie.space.create
/// </summary>
public class AlipayMarketingToolFengdieSpaceCreateRequest : IAlipayRequest<AlipayMar... | 22.967742 | 125 | 0.552317 | [
"MIT"
] | Msy1989/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMarketingToolFengdieSpaceCreateRequest.cs | 2,858 | C# |
ο»Ώ//Copyright Β© 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Sce.Atf.Adaptation;
using Sce.Atf.Dom;
namespace UnitTests.Atf.Dom
{
[TestFixture]
public class TestValidator : DomTest
{
privat... | 36.928571 | 96 | 0.58011 | [
"Apache-2.0"
] | gamebytes/ATF | Test/UnitTests/Sce.Atf/Dom/TestValidator.cs | 6,040 | C# |
ο»Ώusing Ezreal.Moredian.ApiClient.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ezreal.Moredian.ApiClient.ApiParameterModels.Request.Device
{
public class DeviceControlInfoUpdateRequestModel
{
public string Devic... | 23.263158 | 69 | 0.733032 | [
"MIT"
] | EzrealJ/Moredian | Ezreal.Moredian.ApiClient/Ezreal.Moredian.ApiClient/ApiParameterModels/Request/Device/DeviceControlInfoUpdateRequestModel.cs | 444 | C# |
ο»Ώusing System.Collections.Generic;
namespace Quanda.Shared.Models
{
public class Tag
{
public Tag()
{
QuestionTags = new HashSet<QuestionTag>();
InverseIdMainTagsNavigation = new HashSet<Tag>();
TagUsers = new HashSet<TagUser>();
}
public int... | 30.72 | 81 | 0.613281 | [
"Apache-2.0"
] | Ventan00/quanda | Shared/Models/Tag.cs | 770 | 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("Da... | 38.783784 | 84 | 0.750523 | [
"MIT"
] | rentianhua/surfboard | Source/Modules/DataAnalysis/DataAnalysis.Interface/Properties/AssemblyInfo.cs | 1,438 | C# |
// Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved.
// Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information.
using System.Collections.Immutable;
using System.Text.Json;
using System.Text.Json.Serialization;
using ... | 33.809524 | 118 | 0.679108 | [
"MIT"
] | waldnercharles/c2cs | src/cs/production/C2CS.Feature.BindgenCSharp/UseCase.cs | 4,260 | C# |
ο»Ώ// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.Bot.Connector.Authentication
{
public static class TimeSpanExtensions
{
private static readonly Random _random = new Random();
#pragma warning disable CA1801 // Review un... | 44.25 | 112 | 0.706215 | [
"MIT"
] | Bhaskers-Blu-Org2/botbuilder-dotnet | libraries/Microsoft.Bot.Connector/Authentication/TimeSpanExtensions.cs | 1,064 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace AdventOfCode.Solutions.Year2016
{
class Day06 : ASolution
{
string partOne;
string partTwo;
public Day06() : base(06, 2016, "")
{
Dictionary<char, int>[] letterFrequencies = new Dictionary... | 27.507463 | 107 | 0.456864 | [
"MIT"
] | DqwertyC/AdventOfCode | AdventOfCode/Solutions/Year2016/Day06-Solution.cs | 1,843 | C# |
ο»Ώ//{[{
using Param_RootNamespace.Views;
using Param_RootNamespace.ViewModels;
//}]}
namespace Param_RootNamespace.Activation
{
internal class SchemeActivationHandler : ActivationHandler<ProtocolActivatedEventArgs>
{
//{[{
public NavigationServiceEx NavigationService => ViewModelLocator.Current.... | 32.964286 | 125 | 0.667389 | [
"MIT"
] | Alfian878787/WindowsTemplateStudio | templates/Uwp/_comp/MVVMLight/Feat.DeepLinking_Blank/Activation/SchemeActivationHandler_postaction.cs | 898 | 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: AssemblyTit... | 38.432432 | 85 | 0.727848 | [
"MIT"
] | Winzarten/SecondMonitor | Foundation/Contracts/Properties/AssemblyInfo.cs | 1,425 | C# |
using System;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityStandardAssets.CrossPlatformInput;
[RequireComponent(typeof (Image))]
public class ForcedReset : MonoBehaviour
{
private void Update()
{
// if we have forced a reset ...
if (CrossPlatformInputMa... | 24.4 | 68 | 0.67623 | [
"MIT"
] | 0xitsHimanshu/Multiplayer-FPS | Assets/Standard Assets/Utility/ForcedReset.cs | 488 | C# |
ο»Ώusing System;
using Xms.Module.Abstractions;
namespace Xms.Security.Resource
{
/// <summary>
/// 樑εζθΏ°
/// </summary>
public class ModuleEntry : IModule
{
public string Name
{
get
{
return "Security.Resource";
}
}
... | 17.78125 | 51 | 0.42355 | [
"MIT"
] | 861191244/xms | Libraries/Security/Xms.Security.Resource/ModuleEntry.cs | 579 | C# |
ο»Ώusing UnityEngine;
using UnityEngine.SceneManagement;
namespace UI
{
public class Buttons : MonoBehaviour
{
public void Play()
{
SceneManager.LoadScene(1);
}
public void Next()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + ... | 17.35 | 81 | 0.567723 | [
"MIT"
] | Minecraftian14/NoName | Assets/Scripts/UI/Buttons.cs | 349 | 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 may... | 24.265896 | 139 | 0.614221 | [
"Apache-2.0"
] | grisha-kotler/lucenenet | src/Lucene.Net/Search/Spans/SpanOrQuery.cs | 8,396 | C# |
using System;
using System.IO;
namespace Icarus.Constants
{
public class DirectoryPaths
{
public static string CoverArtPath =>
Directory.GetCurrentDirectory() + "/Images/Stock/CoverArt.png";
}
}
| 19 | 75 | 0.671053 | [
"MIT"
] | amazing-username/Icarus | Constants/DirectoryPaths.cs | 228 | C# |
ο»Ώusing NetControl4BioMed.Data.Interfaces;
using System;
namespace NetControl4BioMed.Data.Models
{
/// <summary>
/// Represents the database model of a one-to-one relationship between a network and a registered user who has access to it.
/// </summary>
public class NetworkUser : INetworkDependent, IUser... | 29.666667 | 128 | 0.573034 | [
"MIT"
] | Vilksar/NetControl4BioMed | NetControl4BioMed/Data/Models/NetworkUser.cs | 1,248 | C# |
ο»Ώusing Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SFA.DAS.Api.Common.Configuration;
using SFA.DAS.FindApprenticeshipTraining.Configuration;
using SFA.DAS.SharedOuterApi.Configuration;
namespace SFA.DAS.FindApprenticeshipTraining.Api.App... | 63.814815 | 147 | 0.775972 | [
"MIT"
] | SkillsFundingAgency/das-apim-endpoints | src/SFA.DAS.FindApprenticeshipTraining.Api/AppStart/AddConfigurationOptionsExtension.cs | 1,725 | C# |
ο»Ώ// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// 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, cop... | 43.985782 | 193 | 0.742539 | [
"MIT"
] | dnSpyEx/ILSpy | ICSharpCode.Decompiler/Ast/Transforms/ReplaceMethodCallsWithOperators.cs | 18,564 | C# |
ο»Ώnamespace MRU
{
using MRULib;
using MRULib.MRU.Interfaces;
using System;
/// <summary>
/// Implements a simple test generating procedure that simulates adding
/// multiple MRU entries over time.
/// </summary>
internal static class GenerateTestData
{
internal static IMRULis... | 65.816327 | 159 | 0.666977 | [
"MIT"
] | Dirkster99/MRULib | source/MRUDemo/GenerateTestData.cs | 3,227 | C# |
ο»Ώnamespace DemoAcmeAp.Domain.Services
{
using DemoAcmeAp.Domain.Entities;
using DemoAcmeAp.Domain.Interfaces.Services;
using DemoAcmeAp.Domain.Interfaces.UoW;
using System.Collections.Generic;
using System.Threading.Tasks;
internal class InstalacaoService : ServiceBase<Instalacao>, IInstalacaoS... | 29.785714 | 86 | 0.67506 | [
"MIT"
] | EngBrunoAlves/ArquiteturaSoftware | DemoAcmeAp/src/DemoAcmeAp.Domain/Services/InstalacaoService.cs | 836 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using SwapperV2.Graphics;
namespace SwapperV2.Content
{
public class SpriteLoader
{
// This list both keeps track of loaders and keeps them alive (garbage collection)
public static List<SpriteLoader> Loaders = new List<SpriteLoader>();
... | 21.69697 | 90 | 0.560056 | [
"MIT"
] | iSkLz/Swapper2 | Code/Content/SpriteLoader.cs | 718 | C# |
ο»Ώusing System.Globalization;
using System.IO;
using System.Threading;
using UnityEditor;
using UnityEngine;
namespace mFramework.Editor
{
// ReSharper disable once UnusedMember.Global
[InitializeOnLoad]
public sealed class mEditor
{
public static mEditor Instance { get; }
static mEdito... | 32.136364 | 127 | 0.639793 | [
"MIT"
] | Matodor/mFramework | Scripts/Editor/mEditor.cs | 2,123 | C# |
ο»Ώusing System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LibKidsNoteForEveryone
{
public class KidsNoteClientResponse
{
public HttpResponseMessage Res... | 37.780423 | 118 | 0.462923 | [
"MIT"
] | KuddLim/KidsNoteForEveryone | Libs/LibKidsNoteForEveryone/KidsNoteClient.cs | 14,675 | C# |
ο»Ώusing System;
using System.Collections.Concurrent;
using System.Threading;
namespace Polly.Contrib.DuplicateRequestCollapser
{
internal static class RequestCollapserEngine
{
internal static TResult Implementation<TResult>(
Func<Context, CancellationToken, TResult> action,
Conte... | 44.566667 | 344 | 0.589379 | [
"BSD-3-Clause"
] | Allen-Xiao/Polly.Contrib.DuplicateRequestCollapser | src/Polly.Contrib.DuplicateRequestCollapser/RequestCollapserEngine.cs | 2,676 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.