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 OpenMod.Unturned.Animals.Events
{
public class UnturnedAnimalRevivedEvent : UnturnedAnimalSpawnedEvent
{
public UnturnedAnimalRevivedEvent(UnturnedAnimal animal) : base(animal)
{
}
}
}
| 23.2 | 79 | 0.698276 | [
"MIT"
] | 01-Feli/openmod | unturned/OpenMod.Unturned/Animals/Events/UnturnedAnimalRevivedEvent.cs | 234 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MobiSys.Models
{
public partial class Manufacturers
{
public Manufacturers()
{
Products = new HashSet<Products>();
}
... | 23.689655 | 67 | 0.592431 | [
"MIT"
] | cirmaciuadrian/MobiSys | Models/Manufacturers.cs | 689 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... | 26.057143 | 83 | 0.58114 | [
"MIT"
] | GaryWayneSmith/mozu-dotnet | Mozu.Api/Contracts/ProductAdmin/ProductPropertyValue.cs | 912 | C# |
using api.Adapters;
using api.Context;
using api.Dtos;
namespace api.Services
{
public class CaseService
{
private readonly DcdDbContext _context;
private readonly ProjectService _projectService;
public CaseService(DcdDbContext context, ProjectService projectService)
{
... | 29.459459 | 79 | 0.634862 | [
"MIT"
] | InGit5/dcd | backend/api/Services/CaseService.cs | 1,090 | C# |
using PhotoShare.Data;
using PhotoShare.Models;
using System;
using System.Linq;
namespace PhotoShare.Services
{
public class AlbumsService : IAlbumsService
{
private readonly PhotoShareContext context;
private readonly IUsersService usersService;
private readonly IUsersSessionServic... | 30.088083 | 125 | 0.530222 | [
"MIT"
] | TihomirIvanovIvanov/SoftUni | C#DBFundamentals/DB-Advanced-Entity-Framework-Core/07DBBestPracticesAndArchitecture/src/PhotoShare.Services/AlbumsService.cs | 5,817 | C# |
using System;
namespace Soft.CalculoJuros.Dominio.Extensoes
{
public static class ExtensaoDecimal
{
public static decimal Potencia(this decimal valor, int potencia)
{
return (decimal)Math.Pow((double)valor, potencia);
}
public static decimal Truncar(this decimal va... | 25.315789 | 72 | 0.611227 | [
"MIT"
] | rafaelbitencourt/Soft.Calculo | Soft.CalculoJuros.Dominio/Extensoes/ExtensaoDecimal.cs | 483 | 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>
//--... | 30.73913 | 81 | 0.507779 | [
"MIT"
] | NathanClouseAX/AAXDataEntityPerfTest | Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RetailInfocodeActivityType.cs | 709 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// To regenerate code in this file run:
// ir Languages/Ruby/Scripts/CodeGenerator.rb DynamicOperations.G... | 58.51875 | 207 | 0.533696 | [
"Apache-2.0"
] | DjArt/dlr | Src/Microsoft.Scripting/Runtime/DynamicOperations.Generated.cs | 9,365 | C# |
namespace EAuction.Order.Domain.Entities.Base
{
public interface IEntity
{
public int Id { get; }
}
} | 17.428571 | 46 | 0.622951 | [
"MIT"
] | berkayersoyy/e-auction | EAuction.Order.Domain/Entities/Base/IEntity.cs | 124 | C# |
using scrapy.net;
using Microsoft.Extensions.Logging;
public class QuoteSpider : Spider<IResponse>
{
private readonly ILogger<QuoteSpider> logger;
public override string Name => "quotes";
public override string StartUrl => "http://quotes.toscrape.com/tag/humor/";
public QuoteSpider(ILogger<QuoteSpi... | 34.482143 | 119 | 0.628172 | [
"MIT"
] | malisancube/scrapydev | src/samples/QuotesPipeline/QuoteSpider.cs | 1,933 | C# |
using NServiceBus;
namespace SFA.DAS.NServiceBus
{
public abstract class Command : ICommand
{
}
} | 13.875 | 44 | 0.684685 | [
"MIT"
] | SkillsFundingAgency/das-employeraccounts | legacy/SFA.DAS.NServiceBus/Command.cs | 113 | C# |
using FortBlast.UI;
using UnityEngine;
namespace FortBlast.Spawner
{
public class PlayerAndBaseSpawner : MonoBehaviour
{
public Transform player;
public GameObject playerBase;
private void Start()
{
player.GetComponent<Rigidbody>().isKinematic = true;
p... | 34 | 111 | 0.672269 | [
"MIT"
] | Rud156/FortBlast | Assets/Scripts/Spawner/PlayerAndBaseSpawner.cs | 954 | 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("Ser... | 42.541667 | 84 | 0.781587 | [
"MIT"
] | gdodd1977/ServiceFabric.ServiceBus | ServiceFabric.ServiceBus.Clients/Properties/AssemblyInfo.cs | 1,024 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 46.746032 | 1,358 | 0.595586 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V6301/Generated/CS_PatientCareProvisionType.cs | 8,835 | 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... | 57.289474 | 261 | 0.680804 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/AuditManager/Generated/_netstandard/IAmazonAuditManager.cs | 117,562 | C# |
using System;
using System.Linq;
namespace FluentAssertions.Execution
{
/// <summary>
/// Represents a chaining object returned from <see cref="AssertionScope.Given{T}"/> to continue the assertion using
/// an object returned by a selector.
/// </summary>
public class GivenSelector<T>
{
... | 52.688889 | 134 | 0.650499 | [
"Apache-2.0"
] | nicknijenhuis/fluentassertions | Src/FluentAssertions/Execution/GivenSelector.cs | 7,113 | 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.Linq;
using System.Linq.Expressions;
using System.Reflection;
using JetBrains.Annotations;... | 54.08453 | 229 | 0.532865 | [
"Apache-2.0"
] | CharlieRoseMarie/EntityFrameworkCore | src/EFCore/Query/Pipeline/QueryableMethodTranslatingExpressionVisitor.cs | 33,913 | C# |
/* Copyright 2013-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 31.321839 | 119 | 0.622018 | [
"MIT"
] | 13294029724/ET | Server/ThirdParty/MongoDBDriver/MongoDB.Driver.Core/Core/Events/ConnectionPoolCheckedOutConnectionEvent.cs | 2,725 | C# |
// Copyright (c) Allan Nielsen.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace OurPresence.Modeller.Liquid
{
/// <summary>
/// Interface for tag factory.
/// </summary>
/// <remarks>Can be usefull when the tag needs a paramete... | 29.041667 | 125 | 0.604017 | [
"MIT"
] | Allann/OurPresence | OurPresence.Modeller.Core/OurPresence.Modeller.Liquid/ITagFactory.cs | 699 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Sy... | 28.321429 | 56 | 0.754098 | [
"MIT"
] | arinsuga/posup | APPBASE/ModelsVMs/STOK/CFG/Ukuran/UkuranVM.cs | 795 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _Lab_04.SpecialWords
{
public class SpecialWords
{
public static void Main()
{
var specialWords = Console.ReadLine().Split(new[] { '(', ')', '[', ']', '<', '>', '-', '!', '?', ' ' }).ToList();
... | 27.592593 | 125 | 0.460403 | [
"MIT"
] | nikolaydechev/CSharp-Advanced | 05 Manual String Processing/(Lab)04. SpecialWords/SpecialWords.cs | 747 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace FytSoa.Service.Interfaces.Recipe
{
public interface IRecipeSeriesService : IBaseServer<FytSoa.Core.Model.Recipe_Series>
{
}
}
| 18.166667 | 88 | 0.766055 | [
"MIT"
] | liwendiao123/FytSoaCms | FytSoa.Service/Interfaces/Recipe/IRecipeSeriesService.cs | 220 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 34.25 | 146 | 0.544056 | [
"MIT"
] | IainCoSource/squidex | backend/extensions/Squidex.Extensions/Actions/Email/EmailActionHandler.cs | 3,838 | C# |
using DeltaEngine.ScreenSpaces;
namespace DeltaNinja.Pages
{
class PausePage : BasePage
{
public PausePage(ScreenSpace screen)
: base(screen)
{
SetViewportBackground("PauseBackground");
SetTitle("Pause", 0.25f, 4f, 0.05f);
AddButton(MenuButton.Resume, 0.2f, 4f);
AddButton(MenuButton.N... | 23.529412 | 48 | 0.6625 | [
"Apache-2.0"
] | DeltaEngine/DeltaEngine | Samples/DeltaNinja/Pages/PausePage.cs | 402 | C# |
#pragma checksum "C:\Users\turka\source\repos\EfCoreApp\EfCoreApp\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d6a5625cc8fb4476f348b0fe9041c550465d8bf9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNe... | 43.802083 | 184 | 0.745541 | [
"MIT"
] | TurkanKAYA/EfCoreApp | EfCoreApp/obj/Debug/netcoreapp3.0/Razor/Views/Shared/Error.cshtml.g.cs | 4,205 | C# |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 44.69697 | 153 | 0.742373 | [
"MIT"
] | UE4DotNet/Plugin | DotNet/DotNet/UE4/Generated/AIModule/EnvQueryItemType_ActorBase.cs | 1,475 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApiRouteDescriptor;
using ApiRouteDescriptor.EntityFrameworkCore.Extensions;
using ApiRouteDescriptor.Extensions;
using ApiRouteDescriptor.Resources;
using ApiRouteDescriptor.Responders;
using AutoMapper;
using Micro... | 33.528455 | 122 | 0.590204 | [
"MIT"
] | Excommunicated/ApiRouteDescriptor | ApiRouteDescriptorSample/Startup.cs | 4,126 | C# |
using System;
using System.Collections.Generic;
using Cocodrilo.Elements;
using System.Runtime.InteropServices;
using System.Web.Script.Serialization;
using Cocodrilo.ElementProperties;
namespace Cocodrilo.UserData
{
[Guid("9CB19B78-3C1E-4A3C-BD17-71427716A0A2")]
public class UserDataBrep : Rhino.DocObjects.C... | 24.58209 | 84 | 0.553127 | [
"MIT"
] | CocodriloCAD/Cocodrilo | Cocodrilo/Cocodrilo/UserData/UserDataBrep.cs | 1,649 | 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.Collections;
using System.Collections.Generic;
using System.Data.Common;
using System.Diagnostics;
usin... | 46.621777 | 148 | 0.425466 | [
"MIT"
] | 06needhamt/runtime | src/libraries/System.Data.Common/src/System/Data/XmlDataLoader.cs | 65,084 | C# |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, ... | 35.059406 | 146 | 0.63852 | [
"MIT"
] | sizious/gdi-builder | GDImageBuilder/DiscUtils/Iso9660/PathTable.cs | 3,541 | C# |
using System;
using UnityEngine;
using Random = UnityEngine.Random;
namespace CreatorKitCodeInternal
{
/// <summary>
/// Will pick a random time in an animation loop to offset an animator, allowing to avoid lots of object playing the
/// same animation loop to look synchronised
/// </summary>... | 27.5 | 121 | 0.618182 | [
"MIT"
] | AdeliaSabirova/gb0122 | Assets/Creator Kit - Beginner Code/Scripts/Utility/RandomLoopOffset.cs | 607 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using NumericalMethods.Core.Extensions;
using NumericalMethods.Core.Utils;
using NumericalMethods.Core.Utils.Interfaces;
using NumericalMethods.Core.Utils.RandomProviders;
using NumericalMethods.Task3.Utils;
namespace NumericalMethods.Task2
{
clas... | 47.603175 | 171 | 0.679226 | [
"Apache-2.0"
] | Niapollab/Numerical_Methods_5-semester | NumericalMethods.Task2/Program.cs | 3,039 | C# |
// Copyright (c) Microsoft Corporation. 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.Text;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReal... | 49.826347 | 240 | 0.604615 | [
"MIT"
] | BrettPyle/MapsSDK-Unity | SampleProject/Assets/MixedRealityToolkit/Inspectors/Profiles/BaseMixedRealityProfileInspector.cs | 16,646 | C# |
//
// Copyright 2019 Google LLC
//
// 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, Ver... | 34.403101 | 142 | 0.55205 | [
"Apache-2.0"
] | Mdlglobal-atlassian-net/iap-desktop | Google.Solutions.Compute/Net/SingleReaderSingleWriterStream.cs | 4,440 | 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... | 42.068966 | 200 | 0.758197 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-sumologic | sdk/dotnet/Inputs/HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionGetArgs.cs | 1,220 | C# |
// ----- AUTO GENERATED CODE ----- //
namespace TheEscapists.Core.Generated
{
public static class UnityScenes
{
public enum eUnityScenes { SampleScene };
}
}
| 19.777778 | 49 | 0.629213 | [
"MIT"
] | The-Escapists/Escape-Room-Loop-V2 | EscapeRoomLoopV2Project/Assets/The Escapists/Scripts/Core/Generated/UnityScenes.cs | 178 | C# |
namespace LocalWeatherApp.Services.WeatherService.Models
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
public class WeatherLocationDetail
{
[JsonProperty("consolidated_weather")]
public List<ConsolidatedWeather> ConsolidatedWeather { get; set; }
... | 26.623077 | 74 | 0.58538 | [
"MIT"
] | Feelav/LocalWeatherApp | LocalWeatherApp/Services/WeatherService/Models/WeatherLocationDetail.cs | 3,463 | C# |
using NUnit.Framework;
using Okapi.Attributes;
using Okapi.Drivers;
using Okapi.Elements;
using Okapi.Report;
using Okapi.Support.Report.NUnit;
using TestCase = Okapi.Attributes.TestCaseAttribute;
namespace OkapiSampleTests.TestCases
{
[TestFixture]
public class ReportWithNUnitContext
{
[OneTimeSet... | 26.851852 | 94 | 0.607586 | [
"Apache-2.0"
] | tamnguyenbbt/Okapi | OkapiSampleTests/TestCases/ReportWithNUnitContext.cs | 1,450 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class Shooting : MonoBehaviour
{
[SerializeField] private GameObject projectile;
[SerializeField] private float projectileSpeed;
[SerializeField] private Sprite shooti... | 40.2375 | 144 | 0.673812 | [
"MIT"
] | Liktoria/Breathe | Assets/Scripts/Player/Shooting.cs | 3,219 | C# |
// ---------------------------------------------------------------------------
// <copyright file="ITimeOffCacheService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------------
namespace Wfm... | 34.818182 | 106 | 0.588773 | [
"MIT"
] | Andy65/Microsoft-Teams-Shifts-WFM-Connectors | WFM-Teams-Adapter/src/WfmTeams.Adapter/Services/ITimeOffCacheService.cs | 768 | C# |
// <copyright file="TaskContinuationGenerator.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System... | 37.663265 | 187 | 0.587917 | [
"Apache-2.0"
] | lucaspimentel/dd-trace-dotnet | tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator.cs | 3,691 | C# |
using UnityEngine;
namespace Plugboard.Data
{
// TODO: give this a better name, like EventInfo?
[System.Serializable]
public struct EventType
{
/// <summary>
/// The human-readable name of this event.
/// </summary>
[SerializeField, HideInInspector]
in... | 27.681818 | 54 | 0.54844 | [
"MIT"
] | ntratcliff/plugboard | Scripts/Data/EventType.cs | 611 | C# |
using System;
using System.Runtime.Serialization;
[Serializable]
internal class NetworkEntityFactoryMethodNotFoundException : Exception {
public NetworkEntityFactoryMethodNotFoundException() {
}
public NetworkEntityFactoryMethodNotFoundException(int id) : base (string.Format("Could not found a Netwo... | 32.391304 | 152 | 0.779866 | [
"MIT"
] | Spy-Shifty/BBSNetworkSystem | Utility/NetworkEntityFactoryMethodNotFoundException.cs | 747 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Builder : MonoBehaviour {
public Transform _planet;
public Transform _cratePrefab;
public Transform _turretPrefab;
public SpriteRenderer _preview;
public float _horisontalDistance = -1.2f;
public float _buildHigher = ... | 30.64 | 124 | 0.733029 | [
"MIT"
] | alexisgea/ludumdare38 | PlanetProject/Assets/Scripts/Builder.cs | 3,066 | C# |
using System;
using System.Data.Entity;
using System.IO;
using System.Net;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using AutoMapper;
using log4net;
using Unity;
using Unity.Lifetime;
using WebMoney.Services.BusinessObjects;
using WebMoney.Services.Contracts;
using WebMoney.Service... | 43.426573 | 116 | 0.667472 | [
"MIT"
] | MarketKernel/webmoney-business-tools | Src/WebMoney.Services/ConfigurationService.cs | 6,252 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class RatinhoJogador : MonoBehaviour
{
private CharacterController controle;
public float speedFrente;
public float speedLado;
public float jumpHeigh... | 23.193182 | 75 | 0.516903 | [
"MIT"
] | VitorMiranda27/Projeto_Ratos | Packages/Assets/scripts/RatinhoJogador.cs | 2,041 | C# |
namespace EvidenceApi.V1.Infrastructure.Interfaces
{
public interface IFileReader<T>
{
T GetData();
}
}
| 15.5 | 50 | 0.653226 | [
"MIT"
] | LBHackney-IT/evidence-api | EvidenceApi/V1/Infrastructure/Interfaces/IFileReader.cs | 124 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TickTrader.Algo.Api
{
public enum Colors
{
Auto = -1,
AliceBlue = 15792383,
AntiqueWhite = 16444375,
Aqua = 65535,
Aquamarine = 8388564,
... | 27.883871 | 40 | 0.561083 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SoftFx/TTAlgo | src/csharp/api/TickTrader.Algo.Api/Colors.cs | 4,324 | 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.107843 | 137 | 0.627225 | [
"BSD-2-Clause"
] | GaborApatiNagy/xenadmin | XenAdmin/Commands/VappStartCommand.cs | 3,991 | C# |
using System;
namespace MSBuildExpressionParser
{
/// <summary>
/// Demo of using Sprache to parse MSBuild expression.
/// </summary>
/// <remarks>
/// TODO: Item group and item metadata syntax.
/// </remarks>
static class Program
{
/// <summary>
/// The mai... | 28.892308 | 171 | 0.414271 | [
"MIT"
] | tintoy/MSBuildExpressionParser | MSBuildExpressionParser/Program.cs | 1,880 | 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 ... | 26.44186 | 63 | 0.718558 | [
"Apache-2.0"
] | sdk-team/aliyun-openapi-net-sdk | aliyun-net-sdk-acs/Acs/Model/V20150101/ModifyApiNameInDailyResponse.cs | 1,137 | C# |
// Copyright (c) 2014-2020 DataStax Inc.
// Copyright (c) 2020, Rafael Almeida (ralmsdevelper)
// Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information.
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using Scylla.Net.Mapping;
name... | 34.873016 | 107 | 0.636322 | [
"Apache-2.0"
] | ScyllaNet/ScyllaNet | src/ScyllaNet/Data/Linq/ExpressionParsing/IConditionItem.cs | 2,199 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Rnd = System.Random;
namespace Variety
{
public class WireMeshGenerator
{
public const double _wireRadius = .0032;
public const double _wireRadiusHighlight = .0064;
const double _wireMaxSegmen... | 50.732057 | 261 | 0.548901 | [
"MIT"
] | Timwi/KtaneVariety | Assets/Items/Wire/WireMeshGenerator.cs | 10,616 | 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/d3d12sdklayers.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.... | 40.608696 | 152 | 0.682548 | [
"MIT"
] | Perksey/terrafx.interop.windows | sources/Interop/Windows/um/d3d12sdklayers/ID3D12Debug2.cs | 1,870 | C# |
using System.Numerics;
using Google.Protobuf.Collections;
using SC2APIProtocol;
// ReSharper disable MemberCanBePrivate.Global
namespace Bot
{
public class Unit
{
private SC2APIProtocol.Unit original;
private UnitTypeData unitTypeData;
public string name;
public uint unitTyp... | 35.278846 | 93 | 0.614881 | [
"MIT"
] | tonn/SC2-Bot | Bot/Unit.cs | 3,669 | C# |
using EducationProcess.Domain.Validators;
using EducationProcess.Domain.Models;
using System.Threading.Tasks;
using Xunit;
namespace EducationProcess.Tests.Domain.Validators
{
public class IntermediateCertificationFormValidatorTests
{
[Theory]
[InlineData("")]
[InlineData(" ")]... | 33.203704 | 152 | 0.652538 | [
"MIT"
] | NotKohtpojiep/EducationProcess | src/Api/EducationProcess.Tests/Domain/Validators/IntermediateCertificationFormValidatorTests.cs | 1,795 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 36.33913 | 117 | 0.607083 | [
"Apache-2.0"
] | allenlooplee/tencentcloud-sdk-dotnet | TencentCloud/Vod/V20180717/Models/PullUploadRequest.cs | 4,861 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace SwitchAppDesign.AniListAPI.v2.Types
{
public enum StaffSort
{
[Description("ID")]
Id = 1,
[Description("ID_DESC")]
IdDesc = 2,
[Description("ROLE")]
Role ... | 17.689655 | 45 | 0.575049 | [
"MIT"
] | SwitchAppDesign/AniListApi | PoisonIvy.AniListAPI/SwitchAppDesign.AniListAPI.v2/Types/StaffSort.cs | 515 | C# |
using Drawmasters.LevelsRepository;
using System;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace Drawmasters.LevelConstructor
{
public class LevelHeaderPanel : MonoBehaviour
{
[SerializeField] Image back = default;
[SerializeField] Button button = default;
[SerializeF... | 28.887097 | 88 | 0.604132 | [
"Unlicense"
] | TheProxor/code-samples-from-pg | Assets/LevelConstructor/Scripts/Constructor/LevelsManagement/LevelHeaderPanel.cs | 1,793 | C# |
using System;
namespace Triangulation
{
public static class Program
{
[STAThread]
static void Main()
{
using (var game = new Game1())
game.Run();
}
}
}
| 15.066667 | 42 | 0.473451 | [
"MIT"
] | JPaja/ConvexTriangulation | Triangulation/Program.cs | 228 | C# |
using System;
using System.Collections.Generic;
using System.Xml;
using EzDbSchema.Core.Extentions;
using EzDbSchema.Core.Extentions.Objects;
using EzDbSchema.Core.Extentions.Xml;
using EzDbSchema.Core.Interfaces;
namespace EzDbSchema.Core.Objects
{
public class PropertyDictionary : Dictionary<string, IProperty>, IP... | 27.279412 | 109 | 0.566038 | [
"MIT"
] | rvegajr/ez-db-schema | Src/EzDbSchema.Core/Objects/Properties.cs | 3,712 | C# |
using FastVehicles;
using SlowVehicles;
namespace RacingGame
{
public class RacecarFactory : IFactory
{
public IFastVehicle CreateFastRacingVehicle()
{
return new F1Car();
}
public ISlowVehicle CreateSlowRacingVehicle()
{
return new OffroadCar();... | 18.833333 | 53 | 0.59292 | [
"MIT"
] | dmarkov00/Design-Patterns | AbstractFactoryPattern/RacingGame/RacecarFactory.cs | 341 | C# |
using Neptuo;
using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PackageManager.ViewModels.Commands
{
public partial class UpdateA... | 30.222222 | 90 | 0.619485 | [
"MIT"
] | RussKie/gitextensions.pluginmanager | src/PackageManager/ViewModels/Commands/UpdateAllCommand.cs | 1,634 | 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("Server")]
[assembly: AssemblyDesc... | 35.435897 | 85 | 0.719971 | [
"MIT"
] | rtfpessoa/padi-dstm | Server/Properties/AssemblyInfo.cs | 1,385 | 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.837838 | 85 | 0.725818 | [
"MIT"
] | YavorIT/TelerikAcademyHomeworks | C#2/MultidimensionalArrays/4.BinarySearch/Properties/AssemblyInfo.cs | 1,440 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using P01_HospitalDatabase.Data;
names... | 37.044944 | 125 | 0.513497 | [
"MIT"
] | stanislavstoyanov99/SoftUni-Software-Engineering | DB-with-C#/Labs-And-Homeworks/Entity Framework Core/05. Code-First - Exercise/01HospitalDatabase/Migrations/20191106181111_VisitationAndDoctorForeignKey.Designer.cs | 6,596 | 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 ... | 34.765625 | 134 | 0.708315 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cassandra/Cassandra/Model/V20190101/UpgradeClusterVersionRequest.cs | 2,225 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllYourTextsLib;
using AllYourTextsLib.Framework;
namespace AllYourTextsTest
{
public class MockContact : Contact
{
public const int MockContactId = 42;
public MockContact(string firstName, string last... | 25.538462 | 106 | 0.621486 | [
"Apache-2.0"
] | AllYourTexts/AllYourTexts | AllYourTextsTest/Mock Objects/MockContact.cs | 998 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simplic.Data
{
/// <summary>
/// A decimal that is precise without rounding failure
/// </summary>
public struct PreciseDecimal : IComparable, IConvertible, IFormattable
{
... | 28.145062 | 105 | 0.561794 | [
"MIT"
] | simplic/simplic-service | simplic-corelib/Simplic.CoreLib/Data/PreciseDecimal.cs | 9,121 | C# |
using MediatR;
using VendorCollection.Data;
using VendorCollection.Features.Core;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Data.Entity;
namespace VendorCollection.Features.Documents
{
public class GetDocumentByIdQuery
{
public class GetDocumentById... | 30.565217 | 155 | 0.628734 | [
"MIT"
] | QuinntyneBrown/vendor-collection | src/VendorCollection/Features/Documents/GetDocumentByIdQuery.cs | 1,406 | C# |
using System;
class BitwiseOperators
{
static void Main()
{
int countOfNumbers = int.Parse(Console.ReadLine());
int[] array = new int[countOfNumbers];
for (int i = 0; i < countOfNumbers; i++)
{
array[i] = int.Parse(Console.ReadLine());
}
for (int i =... | 28.083333 | 59 | 0.498516 | [
"Apache-2.0"
] | genadi60/SoftUni | SoftUni_Exam/C# Basics Sample Exam May 2014/05.BitwiseOperators/BitwiseOperators.cs | 676 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.Deps.Models
{
public class CreateServicegroupRequest : TeaModel {
[NameInMap("auth_token")]
[Validation(Required=false)]
public string ... | 22.088235 | 55 | 0.60719 | [
"MIT"
] | alipay/antchain-openapi-prod-sdk | deps/csharp/core/Models/CreateServicegroupRequest.cs | 751 | C# |
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using GRINTSYS.SAPMiddleware.Authorization;
using GRINTSYS.SAPMiddleware.Authorization.Roles;
using GRINTSYS.SAPMiddleware.Authorization.Users;
using Mic... | 36.616162 | 171 | 0.569379 | [
"MIT"
] | Grintsys/GRINTSYS.SAPMiddleware | src/GRINTSYS.SAPMiddleware.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs | 3,625 | C# |
using Foodly_new.Data;
using Foodly_new.Models.DomainModels;
using Foodly_new.Models.EfModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
usin... | 33.879518 | 129 | 0.412873 | [
"MIT"
] | Meeyzt/Foodly_New | Foodly_new/Controllers/RestaurantController.cs | 5,661 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace DailyWallpainter.Helpers
{
public static class InternetConnection
{
//http://stackoverflow.com/questions/20309158/c-sharp-checking-internet-connection
public static bool IsAvailable()
{
... | 23.321429 | 90 | 0.506891 | [
"BSD-3-Clause"
] | iamxail/DailyWallpainter | DailyWallpainter/Helpers/InternetConnection.cs | 655 | C# |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using PASTRY.Data;
namespace PASTRY.Migrations
{
[DbContext(typeof(MvcCakeContext))]
partial... | 34.375 | 125 | 0.574545 | [
"MIT"
] | Melaniaift/project_pastry | PASTRY/PASTRY/Migrations/MvcCakeContextModelSnapshot.cs | 1,652 | C# |
//TRE008
using System;
using System.Linq;
using System.Collections.Generic;
using SwissAcademic.Citavi;
using SwissAcademic.Citavi.Metadata;
using SwissAcademic.Collections;
namespace SwissAcademic.Citavi.Citations
{
public class CustomTemplateCondition
:
ITemplateConditionMacro
{
//Consecutive citation (same ... | 41.05618 | 146 | 0.77723 | [
"MIT"
] | Citavi/C6-Citation-Style-Scripts | Templates/TRE008 Consecutive citation - same series/TRE008_Consecutive_citation_-_same_series.cs | 3,654 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Realmius.SyncService;
using Realms;
namespace RealmiusAdvancedExample.RealmEntities
{
public class ChatMessageRealm : RealmObject, IRealmiusObjectClient
{
public string MobilePrima... | 22.783784 | 70 | 0.628707 | [
"Apache-2.0"
] | F1nZeR/Realmius | Examples/RealmiusAdvancedExample/RealmiusAdvancedExample/RealmiusAdvancedExample/RealmEntities/ChatMessageRealm.cs | 845 | C# |
#region copyright
// Copyright 2015 Habart Thierry
//
// 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 applic... | 36.875 | 75 | 0.705932 | [
"Apache-2.0"
] | appkins/SimpleIdentityServer | SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.UserManagement/ViewModels/ConsentViewModel.cs | 1,182 | C# |
#region
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Spire.Core.Commands.Parsing.Abstractions;
using Spire.Core.Commands.Parsing.Abstractions.Parameters;
using Spire.Core.Commands.Parsing.Abstractions.Parameters.Options;
using Spire.Core.Commands.Parsi... | 42.004926 | 121 | 0.655213 | [
"MIT"
] | avalanche759/Spire | src/core/commands/parsing/Spire.Core.Commands.Parsing/CommandParserBuilder.cs | 8,529 | C# |
// The code is edited from https://github.com/CommunityToolkit/WindowsCommunityToolkit/tree/rel/7.1.2/Microsoft.Toolkit.Mvvm/Input
// 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 mor... | 39.195876 | 137 | 0.615334 | [
"MIT"
] | kljzndx/ms-mvvm-wpf | HappyStudio.Mvvm.Input.Wpf/AsyncRelayCommand.cs | 7,604 | C# |
namespace android.net
{
[global::MonoJavaBridge.JavaClass()]
public partial class Credentials : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected Credentials(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
{
}
public new int Uid
{
get
{
re... | 36.870968 | 309 | 0.738845 | [
"MIT"
] | JeroMiya/androidmono | MonoJavaBridge/android/generated/android/net/Credentials.cs | 2,286 | C# |
using System;
using ClearHl7.Extensions;
using ClearHl7.Helpers;
namespace ClearHl7.V260.Types
{
/// <summary>
/// HL7 Version 2 DLN - Drivers License Number.
/// </summary>
public class DriversLicenseNumber : IType
{
/// <inheritdoc/>
public bool IsSubcomponent { get; set; }
... | 38.895522 | 134 | 0.585572 | [
"MIT"
] | kamlesh-microsoft/clear-hl7-net | src/ClearHl7/V260/Types/DriversLicenseNumber.cs | 2,608 | C# |
/***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
\*********************************************... | 53.290909 | 169 | 0.726373 | [
"MIT"
] | rajasekaran-ka/KAL | Framework/ServiceClasses/CardReaderServiceProvider/CardReaderConnection.cs | 2,933 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using CSharpTools;
namespace Core.Net
{
public static class IPInfo {
public static IPAddress[] ips;
public static async System.Threading.Tasks.Task<IPAddress[]> GetAddresses()
{
IPHostEn... | 35.924623 | 169 | 0.519653 | [
"MIT"
] | IRC7/IRC7 | Net/NetCore.cs | 7,151 | C# |
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Brash.Infrastructure;
using TodoList.Domain.Model;
using TodoList.Infrastructure.Sqlite.Service;
namespace TodoList.Api.Controllers
{
[Authorize]
[Route("api/[controller]")]
[ApiController]
public clas... | 27.990654 | 108 | 0.734558 | [
"Unlicense"
] | randomsilo/modern-web | backends/TodoList/TodoList.Api/Controllers/ToolsRequiredController.cs | 2,995 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.Tuneles;
namespace Core.Negocio.Canchas
{
public class CanchaResponse : Respuesta<CanchaFutbol>
{
/// <summary>
/// Es la acción realizada de la respuesta ... | 24.909091 | 84 | 0.5 | [
"MIT"
] | hangardonelli/FC-Cba-services | Core/Negocio/Canchas/CanchaResponse.cs | 1,376 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ioc.Modules;
using Ninject;
using OwinFramework.Interfaces.Utility;
using OwinFramework.Middleware.TestServer.Prius;
using Prius.Contracts.Interfaces.External;
namespace OwinFramework.Middleware.T... | 27.705882 | 90 | 0.636943 | [
"Apache-2.0"
] | Bikeman868/OwinFramework.Middleware | TestServer/Package.cs | 944 | C# |
using System.Runtime.InteropServices;
using System.Windows.Media;
using HandyControl.Data;
using HandyControl.Tools;
using HandyControl.Tools.Interop;
namespace HandyControl.Controls
{
public class BlurWindow : Window
{
public override void OnApplyTemplate()
{
base.OnApplyTemplate(... | 36.448276 | 107 | 0.641438 | [
"MIT"
] | nfsmaniac/HandyControls | src/Shared/HandyControl_Shared/Controls/Window/BlurWindow.cs | 2,116 | C# |
using BEDA.CMB.Contracts.Responses;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BEDA.CMB.Contracts.Requests
{
/// <summary>
/// 23.3.取公司卡详细信息请求主体
/// </summary>
... | 24.170213 | 59 | 0.539613 | [
"MIT"
] | fdstar/BankEnterpriseDirectAttach | src/BEDA.CMB/Contracts/Requests/23/RQ23_3.cs | 1,234 | C# |
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Youtube_DL.Core;
using Youtube_DL.Model;
namespace Youtube_DL.ViewModel
{
internal class AddVideoPopupViewModel : BaseViewModel
{
private readonly YoutubeVideoService _youtu... | 30.033333 | 99 | 0.568812 | [
"Apache-2.0"
] | eldiablo-1226/Youtube-DL-NET | src/Youtube-DL/ViewModel/AddVideoPopupViewModel.cs | 1,804 | 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>
//--... | 43.161017 | 211 | 0.604163 | [
"MIT"
] | Adrian-Wennberg/azure-documentdb-datamigrationtool | CsvFile/Microsoft.DataTransfer.CsvFile/ConfigurationResources.Designer.cs | 5,095 | 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.26506 | 137 | 0.666894 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/TooManyPublicKeysExceptionUnmarshaller.cs | 2,927 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline... | 51.15942 | 373 | 0.607689 | [
"MIT"
] | AbelHu/azure-sdk-for-net | sdk/iot/Azure.Iot.Hub.Service/src/Generated/ConfigurationRestClient.cs | 24,710 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Microsoft.Sample.Automation.Scheduling.Engine.Entities;
namespace Microsoft.Sample.Automation.Scheduling.Engine
{
public sealed class PollCodeActivity : CodeActivity<bool>
{
protected ... | 22.9 | 68 | 0.60262 | [
"Apache-2.0"
] | leo-leong/wwt-scheduler | Microsoft.Sample.Automation/DispatchEngineService/Activity/PollCodeActivity.cs | 689 | C# |
namespace Appalachia.Audio.Contextual.Context
{
public enum Biome_AudioContexts : short
{
Default = 0,
Underwater = 1,
River = 2,
RiverBanks = 4,
HeathAshShrubland = 5,
NorthernHardwoodForest = 7,
OakHickoryForest = 8,
GreatLakesBeechMapleForest = ... | 24.631579 | 45 | 0.602564 | [
"MIT"
] | ChristopherSchubert/com.appalachia.unity3d.audio | src/Contextual/Context/Biome_AudioContexts.cs | 468 | C# |
namespace MassTransit.KafkaIntegration.Contexts
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Configuration;
using Confluent.Kafka;
using Context;
using Util;
public class ConsumerLockContext<TKey, TValue> :
... | 33.699301 | 153 | 0.545134 | [
"ECL-2.0",
"Apache-2.0"
] | AhmedKhalil777/MassTransit | src/Transports/MassTransit.KafkaIntegration/Contexts/ConsumerLockContext.cs | 4,819 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Azure Data Migration Management Library")]
[assembly: AssemblyDescription("P... | 42 | 114 | 0.783208 | [
"MIT"
] | Sav0966/azure-sdk-for-net | src/SDKs/DataMigration/Management.DataMigration/Properties/AssemblyInfo.cs | 798 | C# |
// Copyright (c) 2007 James Newton-King. All rights reserved.
// Use of this source code is governed by The MIT License,
// as found in the license.md file.
namespace TestObjects;
class DictionaryKeyCast
{
string _name;
int _number;
public DictionaryKeyCast(string name, int number)
{
_name = ... | 24.192308 | 75 | 0.656598 | [
"MIT"
] | SimonCropp/Argon | src/Tests/TestObjects/DictionaryKeyCast.cs | 629 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
namespace Microsoft.VisualStudio.R.Sql.Publish {
public sealed class SqlPublishException: Exception {
public SqlPublishException(string me... | 32.181818 | 91 | 0.751412 | [
"MIT"
] | Bhaskers-Blu-Org2/RTVS | src/Windows/Sql/Impl/Publish/SqlPublishException.cs | 356 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.