content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks... | 47.565217 | 256 | 0.624555 | [
"MIT"
] | alrod/azure-webjobs-sdk-script | test/WebJobs.Script.Tests.Integration/ApplicationInsights/ApplicationInsightsEndToEndTestsBase.cs | 20,788 | C# |
using FluentValidation;
using MediatR;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using PingDong.Azure.FunctionApp;
using PingDon... | 35.521739 | 170 | 0.713586 | [
"MIT"
] | pingdong/newmoon.places | src/Venues.FunctionApp/RESTful/Mutation/VenueClose.cs | 1,634 | 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.Features;
namespace Microsoft.AspNetCore.Http
{
public static class HttpContextServerVariableExtensions
{
... | 35.875 | 111 | 0.626307 | [
"Apache-2.0"
] | DavidKlempfner/aspnetcore | src/Http/Http.Extensions/src/HttpContextServerVariableExtensions.cs | 1,148 | C# |
namespace HBGaragem.Areas.HelpPage.ModelDescriptions
{
public class CollectionModelDescription : ModelDescription
{
public ModelDescription ElementDescription { get; set; }
}
} | 28 | 64 | 0.75 | [
"MIT"
] | rudimarboeno/Hbsis-aula | HBGaragem/HBGaragem/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs | 196 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CodingMilitia.PlayBall.GroupManagement.Infrastructure.Data.Migrations
{
public partial class AdjustmentsAfterEnablingNullableReferenceTypes : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrat... | 33.597484 | 83 | 0.475852 | [
"MIT"
] | AspNetCoreFromZeroToOverkill/GroupManagement | src/CodingMilitia.PlayBall.GroupManagement.Infrastructure/Data/Migrations/20200118130702_AdjustmentsAfterEnablingNullableReferenceTypes.cs | 5,344 | 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... | 39.890365 | 1,358 | 0.568418 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V6301/Generated/UKCT_MT130401UK03DispensingEndorsement.cs | 12,007 | C# |
namespace SoftUni.Models
{
using System;
using System.Collections.Generic;
public partial class Address
{
public Address()
{
Employees = new HashSet<Employee>();
}
public int AddressId { get; set; }
public string AddressText { get; set; }
pu... | 22.666667 | 68 | 0.577731 | [
"MIT"
] | HostVanyaD/SoftUni | Entity Framework Core/03.Entity-Framework-Introduction-Exercises/SoftUni/Models/Address.cs | 478 | C# |
using System.Collections.Generic;
namespace WebSignalR.Common.DTO
{
public class UserDto : DtoBase
{
public UserDto()
{
Privileges = new List<PrivilegeDto>();
}
public string Name { get; set; }
public bool IsAdmin { get; set; }
public List<PrivilegeDto> Privileges { get; set; }
}
} | 16.944444 | 52 | 0.678689 | [
"Apache-2.0"
] | OleksandrKulchytskyi/Agile | Server/WebSignalR/WebSignalR.Common/DTO/UserDto.cs | 307 | C# |
using System;
using System.Linq;
using Moq;
using Xunit;
namespace Binance.Tests
{
public class SymbolTest
{
[Fact]
public void Throws()
{
const SymbolStatus status = SymbolStatus.Trading;
var baseAsset = Asset.BTC;
var quoteAsset = Asset.USDT;
... | 41.734908 | 237 | 0.619269 | [
"MIT"
] | meeron/Binance | test/Binance.Tests/SymbolTest.cs | 15,903 | C# |
using Dotmim.Sync.Builders;
using Dotmim.Sync.Enumerations;
using Dotmim.Sync.SqlServer;
using Dotmim.Sync.Tests.Core;
using Dotmim.Sync.Tests.Misc;
using Dotmim.Sync.Tests.Models;
using Dotmim.Sync.Tests.Serializers;
using Dotmim.Sync.Web.Client;
using Dotmim.Sync.Web.Server;
using Microsoft.AspNetCore.Http;
using M... | 40.989822 | 159 | 0.593209 | [
"MIT"
] | Mimetis/Dotmim.Sync | Tests/Dotmim.Sync.Tests/HttpFilterTests.cs | 32,220 | 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... | 29.25974 | 108 | 0.61296 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/DeviceFarm/Generated/Model/ListJobsRequest.cs | 2,253 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 57.08432 | 283 | 0.645935 | [
"Apache-2.0"
] | JekzVadaria/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/CloudFormation/Basic/Update-CFNStackSet-Cmdlet.cs | 38,595 | C# |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System.Text.Json.Serialization;
using System.Runtime.Serialization;
#pragma warning disable 1591
namespace Plotly.Blazor.LayoutLib.LegendLib
{
/// <summary>
/// Determines the behavior on legend item double-click. <c>toggle</c> toggles
... | 32.464286 | 86 | 0.662266 | [
"MIT"
] | ScriptBox99/Plotly.Blazor | Plotly.Blazor/LayoutLib/LegendLib/ItemDoubleClickEnum.cs | 909 | 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... | 38.512195 | 263 | 0.685244 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DataMigration/Latest/Inputs/MigrationValidationOptionsArgs.cs | 1,579 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using BTDB.Buffer;
using BTDB.FieldHandler;
using BTDB.IL;
using BTDB.KVDBLayer;
using BTDB.StreamLayer;
namespace BTDB.ODBLayer
{
internal class RelationBuilder<T>
{
readon... | 50.713693 | 194 | 0.613293 | [
"MIT"
] | Juzic/BTDB | BTDB/ODBLayer/RelationBuilder.cs | 36,666 | C# |
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.AFinType;
using ESFA.DC.ILR.ValidationService.Utility;
using Moq;
using System;
using System.Collections.Generic;
using Xunit... | 42.208232 | 128 | 0.636416 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-1819-ValidationService | src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/AFinType/AFinType_09RuleTests.cs | 17,434 | C# |
using System;
using System.Web;
using ServiceStack.Common.Web;
using ServiceStack.ServiceInterface;
using Nohros.ServiceStack;
namespace Nohros.Security.Auth.ServiceStack
{
/// <summary>
/// A <see cref="Service"/> that can be used to handle authentication request
/// that uses the well know "login/pa... | 30.8375 | 80 | 0.629915 | [
"MIT"
] | nohros/must | src/platform/toolkit/servicestack/auth/services/auth/AbstractAuthService.cs | 2,469 | C# |
using System;
public class Program
{
public static void Main(string[] args)
{
}
}
| 11.875 | 42 | 0.621053 | [
"MIT"
] | bobo4aces/06.SoftUni-DataStructuresOpenCourse | 02. Linear Data Structures - Stacks And Queues/Exercises/StacksAndQueues/03. Array Stack/Program.cs | 97 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace g3
{
/// <summary>
/// Sweep a 2D Profile Polygon along a 3D Path.
/// Supports closed and open paths, and capping open paths.
/// However caps are triangulated using a fan around a center vertex (which you... | 40.576923 | 111 | 0.523578 | [
"MIT"
] | JiokKae/Portal-imitation | Assets/geometry3Sharp-master/mesh_generators/GenCylGenerators.cs | 8,442 | 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>
//--... | 34.580645 | 151 | 0.583955 | [
"MIT"
] | Emanuel-Marques/meus_projectos_em_csharp | Sistema_de_Vendas/Properties/Settings.Designer.cs | 1,074 | C# |
// Created by Ronis Vision. All rights reserved
// 22.09.2020.
using System;
using System.Linq;
using System.Reflection;
using RVModules.RVSmartAI.Content.AI.DataProviders;
using RVModules.RVSmartAI.Editor.SelectWindows;
using RVModules.RVUtilities.Editor;
using RVModules.RVUtilities.Reflection;
using UnityEditor;
usi... | 38.126761 | 142 | 0.579239 | [
"MIT"
] | Telvy/ScumSmackerArena_Repo | Assets/RVModules/RVSmartAI/Editor/CustomInspectors/DataProviderPropertyDrawer.cs | 5,414 | 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.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
namespace DocumentFormat.OpenXml.Validation.Schema.Restrictions
{
/// <s... | 36.338983 | 104 | 0.649021 | [
"MIT"
] | coderIML/Open-XML-SDK.net | src/DocumentFormat.OpenXml/Validation/Schema/Restrictions/SimpleTypeRestrictions.cs | 4,290 | C# |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Office.Interop.Excel;
using NavfertyExcelAddIn.Commons;
namespace NavfertyExcelAddIn.WorksheetCellsEditing
{
public class CellsUnmerger : ICellsUnmerger
{
public void Unmerge(Range range)
{
range.OfType<Range>()
.Select(x => x.MergeAr... | 20.282609 | 68 | 0.676313 | [
"MIT"
] | navferty/NavfertyExcelAddIn | NavfertyExcelAddIn/WorksheetCellsEditing/CellsUnmerger.cs | 935 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Unity.WebRTC;
using Unity.WebRTC.Samples;
using UnityEngine.UI;
using Button = UnityEngine.UI.Button;
class TrickleIceSample : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField] private ... | 31.138408 | 107 | 0.604178 | [
"Apache-2.0"
] | AndrewMeadows/com.unity.webrtc | Samples~/TrickleIce/TrickleIceSample.cs | 8,999 | C# |
namespace Azure.ResourceManager.DnsResolver
{
public partial class DnsForwardingRulesetCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DnsResolv... | 150.071795 | 461 | 0.811629 | [
"MIT"
] | alexbuckgit/azure-sdk-for-net | sdk/dnsresolver/Azure.ResourceManager.DnsResolver/api/Azure.ResourceManager.DnsResolver.netstandard2.0.cs | 58,528 | 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 ... | 43.953488 | 125 | 0.791005 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-r-kvstore/R_kvstore/Transform/V20150101/DescribeIntranetAttributeResponseUnmarshaller.cs | 1,890 | C# |
using Kickstart.Pass2.CModel.Code;
namespace Kickstart.Interface
{
public interface ICProjectFileVisitor
{
void Visit(IVisitor visitor, CFile file);
}
} | 19.333333 | 49 | 0.712644 | [
"MIT"
] | videa-tv/kickstart | src/Kickstart/Kickstart.Core/Interface/ICProjectFileVisitor.cs | 176 | 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("Pe... | 37.324324 | 84 | 0.742216 | [
"MIT"
] | pavlinpetkov88/ProgramingBasic | ProgrammingBasicsExam/Pets/Properties/AssemblyInfo.cs | 1,384 | C# |
using UnityEngine;
using System.Collections;
public class Brittle : MonoBehaviour {
public float partsMass = 1f;
public void Break() {
GameObject.FindGameObjectWithTag ("GameController").GetComponent<PointsTracker> ().buildingsBroken++;
foreach (Transform child in transform) {
if (child.GetComponent<MeshR... | 31.428571 | 104 | 0.743939 | [
"MIT"
] | timujin/stoned-golem | Assets/Brittle.cs | 662 | C# |
/*
* Copyright (c) 2014 All Rights Reserved by the SDL Group.
*
* 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 appl... | 31.305556 | 86 | 0.741792 | [
"Apache-2.0"
] | jlaridon/ISHRemote | Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/EDT/EDTCmdlet.cs | 1,127 | C# |
using System;
using System.ComponentModel;
namespace Pidgin
{
public abstract partial class Parser<TToken, T>
{
/// <summary>
/// Returns a parser which runs the current parser and applies a selector function.
/// The selector function receives a <see cref="ReadOnlySpan{TToken}"/> as it... | 40.515152 | 167 | 0.591997 | [
"MIT"
] | beho/Pidgin | Pidgin/Parser.MapWithInput.cs | 2,674 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.DB.ExtensibleStorage;
using System.Reflection;
namespace ExtensibleStorageManager
{
/// <summary>
/// An enum to select which sample schema to create.
... | 46.436937 | 316 | 0.666214 | [
"BSD-3-Clause"
] | AMEE/rev | samples/Revit 2012 SDK/Samples/ExtensibleStorageManager/ExtensibleStorageManager/CS/User/StorageCommand.cs | 20,620 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Acr.UserDialogs;
using Hyperledger.Aries.Agents;
using Hyperledger.Aries.Contracts;
using Hyperledger.Aries.Features.DidExchange;
using Hyperledger.Aries.Features.Discovery;
using Hyperled... | 34.6639 | 138 | 0.566794 | [
"Apache-2.0"
] | horationunez/aries-mobileagent-xamarin | src/Osma.Mobile.App/ViewModels/Connections/ConnectionViewModel.cs | 8,356 | C# |
using EifelMono.Fluent.IO;
using EifelMono.Fluent.NuGet;
using EifelMono.Fluent.Test.XunitTests;
using Xunit;
using Xunit.Abstractions;
#pragma warning disable IDE1006 // Naming Styles
namespace EifelMono.Fluent.Test.DotNetTests
{
public class GlobalJsonTest : XunitCore
{
public GlobalJsonTest(ITestO... | 26.354839 | 86 | 0.624235 | [
"MIT"
] | EifelMono/EifelMono.Fluent | src/EifelMono.Fluent.Test/DotNetTests/GlobalJsonTests.cs | 819 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class Slave_Test : gameObject
{
[Ordinal(0)] [RED("deviceComponent")] public CHandle<PSD_Detector> DeviceComponent { get; set; }
public Slave_Test(CR2WFil... | 24.875 | 100 | 0.711055 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/Slave_Test.cs | 383 | C# |
using System;
using System.Numerics;
namespace Neo.Compiler.CSharp.UnitTests.TestClasses
{
public class Contract_Types : SmartContract.Framework.SmartContract
{
public enum EDummy : byte
{
test = 5
}
public delegate EDummy enumDel();
public delegate void del... | 34.903614 | 102 | 0.579565 | [
"MIT"
] | DanPopa46/neo-devpack-dotnet | tests/Neo.Compiler.CSharp.UnitTests/TestClasses/Contract_Types.cs | 2,897 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace PowerLines
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pa... | 24.083333 | 99 | 0.586505 | [
"MIT"
] | LynxMagnus/power-lines | PowerLines/App_Start/RouteConfig.cs | 580 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 30.48 | 84 | 0.465879 | [
"MIT"
] | EmilMitev/Telerik-Academy | ASP.NET Web Forms/13. User Controls/Demo/LikesDemo/Posts.aspx.designer.cs | 764 | C# |
using agrix.Extensions;
using System;
using System.Linq;
using YamlDotNet.RepresentationModel;
namespace agrix.Configuration.Parsers
{
/// <summary>
/// Parses a firewall configuration.
/// </summary>
internal class FirewallParser
{
/// <summary>
/// Delegate used to c... | 35.307692 | 91 | 0.597676 | [
"MIT"
] | okinta/agrix | Configuration/Parsers/FirewallParser.cs | 1,379 | C# |
namespace SoftUni.WebServer.Http.Requests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Cookies;
using Enums;
using Exceptions;
using Headers;
using Interfaces;
using Session;
using SoftUni.WebServer.Common;
public class Ht... | 34.890995 | 120 | 0.577017 | [
"MIT"
] | Iliyan7/SoftUni | CSharpWebDevBasics/CSharpWebDevBasicsExam-01-Jul-18/SoftUni.WebServer.Http/Requests/HttpRequest.cs | 7,364 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using tibs.stem.EntityFrameworkCore;
using Abp.Authorization;
using Abp.BackgroundJobs;
using Abp.Notifications;
using tib... | 31.309079 | 117 | 0.445975 | [
"Apache-2.0"
] | realvino/Core-2.0 | src/tibs.stem.EntityFrameworkCore/Migrations/20180321054229_alter-User-Add-Designation.Designer.cs | 144,149 | C# |
namespace Intel.RealSense.Math
{
public struct Vertex
{
public float x;
public float y;
public float z;
}
}
| 14.4 | 30 | 0.5625 | [
"Apache-2.0"
] | 130s/librealsense | wrappers/csharp/Intel.RealSense/Types/Math/Vertex.cs | 144 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp;
namespace Bamboo.Account.Samples
{
[RemoteService]
[Route("api/Account/sample")]
public class SampleController : AccountController, ISampleAppService
{
private readonly ISamp... | 24.794118 | 72 | 0.647687 | [
"MIT"
] | BlazorHub/bamboomodules | Bamboo.Account/src/Bamboo.Account.HttpApi/Samples/SampleController.cs | 845 | C# |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
namespace AbpDemoThree.Authentication.JwtBearer
{
public static class JwtTokenMiddleware
{
public static IApplicationBuilder UseJwtTokenMiddleware(this IApplicationBuilde... | 31.740741 | 149 | 0.570595 | [
"MIT"
] | YandongZhao/AbpDemoThree | aspnet-core/src/AbpDemoThree.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs | 859 | 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;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Co... | 46.249701 | 183 | 0.563457 | [
"MIT"
] | HaoQian-MS/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/DiskRPTests/DiskRPTestsBase.cs | 38,711 | C# |
using MrMeeseeks.ResXToViewModelGenerator;
namespace BFF.ViewModel.ViewModels.ForModels.Utility
{
public interface IBudgetMonthMenuTitles
{
string EmptyCellsHeader { get; }
string BudgetLastMonth { get; }
string OutflowsLastMonth { get; }
string AvgOutflowLastThreeMonths { get;... | 41.785714 | 136 | 0.768661 | [
"MIT"
] | Yeah69/BFF | ViewModel/ViewModels/ForModels/Utility/BudgetMonthMenuTitles.cs | 1,757 | 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>
//--... | 46.888298 | 167 | 0.656495 | [
"MIT"
] | pkyurkchiev/distributed-applications-for-se | exercises/06/MovieCatalog/MC.Website/Connected Services/GenresReference/Reference.cs | 8,817 | C# |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange
// Klaus Potzesny
// David Stephensen
//
// Copyright (c) 2001-2017 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is ... | 39.3 | 95 | 0.669938 | [
"MIT"
] | MarcoPietersma/AspNetCorePdf | MigraDoc.DocumentObjectModel/DocumentObjectModel.Visitors/RtfFlattenVisitor.cs | 2,751 | C# |
using System;
using GUC.Scripting;
using GUC.GUI;
using GUC.Scripts.Menus;
using GUC.Types;
using GUC.Scripts.Sumpfkraut.Menus;
using WinApi.User.Enumeration;
namespace GUC.Scripts.Arena
{
/*
* TODO
* - bug fixen beim nachrichten splitten
*/
class ChatMenu : GUCMenu,IClosableMenu
{
... | 31.639405 | 128 | 0.474092 | [
"BSD-2-Clause"
] | JulianVo/SumpfkrautOnline-Khorinis | RP_Client_Scripts/Chat/ChatMenu.cs | 8,513 | C# |
namespace SplitByte
{
partial class frmDownloadUpdate
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 39.122222 | 149 | 0.594717 | [
"MIT"
] | fourDotsSoftware/SplitByte | SplitByte/frmDownloadUpdate.Designer.cs | 3,523 | C# |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Twilio.Clients;
using Twilio.Converters;
using Twilio.Exceptions;
using ... | 68.736842 | 2,147 | 0.655054 | [
"MIT"
] | FMV1491/twilio-csharp | test/Twilio.Test/Rest/Api/V2010/Account/Usage/Record/ThisMonthResourceTest.cs | 5,224 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210
{
using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions;
/// <summary>Recovery point for a migration item.</summary>
public partial class MigrationRecoveryPoint
{
/// <summary>
/// <c>... | 66.912621 | 291 | 0.685142 | [
"MIT"
] | AverageDesigner/azure-powershell | src/Migrate/generated/api/Models/Api20210210/MigrationRecoveryPoint.json.cs | 6,790 | C# |
using Android.OS;
using Android.App;
using Android.Runtime;
using Android.Content.PM;
using FFImageLoading.Forms.Platform;
namespace RestauranteApp.Droid
{
[Activity(Label = "RestauranteApp", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ... | 42 | 189 | 0.713518 | [
"MIT"
] | EmersonMeloMachado/RestauranteApp | RestauranteApp/RestauranteApp/RestauranteApp.Android/MainActivity.cs | 1,304 | C# |
namespace FunctionApp1
{
public partial class CommonMarkupHelper
{
public string SignInEmailMessage(string linkUrl, bool isInvitation, string companyName)
{
var message = t.GetString("Sign in to {0}", companyName);
if(isInvitation)
{
message =... | 32.387097 | 180 | 0.62749 | [
"MIT"
] | violet-guru/Kynodontas | Booking1/EmailMarkupHelper.cs | 1,008 | C# |
#region License
/*
Copyright (c) 2016 VulkaNet Project - Daniil Rodin
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, mo... | 37.212121 | 77 | 0.767915 | [
"MIT"
] | Zulkir/VulkaNet | Source/VulkaNet/VkImageType.cs | 1,230 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
{
public partial class tenantLocation_required : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
... | 33.215686 | 71 | 0.553129 | [
"MIT"
] | sahinme/edutro-api | src/Infrastructure/Data/Migrations/20191130200704_tenantLocation_required.cs | 1,696 | C# |
using System;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.eShopOnContainers.Services.AI.ProductSearchImageBased.TensorFlow.API.Classifier;
using Microsoft.eShopOnContainers.Services.AI.ProductSearchImageBased.Tenso... | 38.945652 | 176 | 0.625174 | [
"MIT"
] | hhy37/eShopOnContainersAI | src/Services/AI.ProductSearchImageBased/AI.ProductSearchImageBased.TensorFlow.API/Startup.cs | 3,585 | C# |
using System.Collections.Generic;
using System.Linq;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
using MarkWildmanNerdMathWorkouts.Application.Features.ExtendedAttributes.Commands.AddEdit;
using MarkWildmanNerdMathWorkouts.Application.Features.ExtendedAttributes.Commands.Del... | 61.263158 | 162 | 0.71449 | [
"MIT"
] | AshleyHollis/MarkWildmanNerdMathWorkouts | src/Application/Extensions/ServiceCollectionExtensions.cs | 6,986 | C# |
using System;
using System.Collections.Generic;
using h73.Elastic.Core.Enums;
using h73.Elastic.Core.Search.Interfaces;
using Newtonsoft.Json;
namespace h73.Elastic.Core.Search.Queries
{
[Serializable]
public class NestedQuery : NestedQuery<object>
{
}
public class NestedQuery<T> : QueryInit wher... | 30.717949 | 97 | 0.686978 | [
"MIT"
] | henskjold73/h73.Elastic.Core | h73.Elastic.Core/Search/Queries/NestedQuery.cs | 1,200 | C# |
using Amazon.CDK;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HelloCdk
{
class Program
{
static void Main(string[] args)
{
var app = new App(null);
// A CDK app can contain multiple stacks. You can view a list of all the stacks in your
... | 23.347826 | 99 | 0.569832 | [
"Apache-2.0"
] | AlexCheema/aws-cdk | packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs | 539 | C# |
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Functional.Traversal
{
internal interface IVariableRootHandlerPathPartMatcher : IRootHandlerPathPartMatcher
{
}
}
| 29.777778 | 112 | 0.779851 | [
"MIT"
] | vrenken/EtAlii.Ubigia | Source/Api/EtAlii.Ubigia.Api.Functional/Traversal/Roots/Handlers/Matching/Matchers/Variable/IVariableRootHandlerPathPartMatcher.cs | 268 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace SideLoader.UI.Editor
{
#region IStructInfo helper
public interface IStructInfo
{
string[] FieldNames { get; }
object SetValue(ref object value, int fieldIndex, float val);
void Refre... | 35.560563 | 143 | 0.476236 | [
"MIT"
] | sinai-dev/Outward-SideLoader | src/UI/Editor/InteractiveValue/InteractiveUnityStruct.cs | 12,626 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
namespace _Framework.Scripts.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Eg MY_INT_VALUE => MyIntValu... | 31.872549 | 123 | 0.607505 | [
"MIT"
] | ElasticSea/BricksVR | Assets/_Framework/Scripts/Extensions/StringExtensions.cs | 9,753 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 48.362205 | 336 | 0.633344 | [
"MIT"
] | 306739889/guessGame | Unity/Assets/Mono/ILRuntime/Generate/System_Collections_Generic_HashSet_1_Type_Binding_Enumerator_Binding.cs | 6,142 | C# |
using memoria.Models;
using System.Collections.Generic;
using System.Linq;
using memoria.Utils;
using System.Windows.Input;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System;
using System.Threading;
using memoria.Views;
namespace memoria.ViewModels
{
[Flags]
... | 27.926829 | 97 | 0.471179 | [
"MIT"
] | ANDRESROMEROH/xamarin-memoria | memoria/memoria/ViewModels/JuegoViewModel.cs | 4,588 | C# |
// This file is generated from JsonSchema. Don't modify this source code.
using UniJSON;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace UniGLTF.Extensions.VRMC_materials_mtoon {
public static class GltfDeserializer
{
public static readonly Utf8String ExtensionNameUtf8 = Utf8String.F... | 24.576355 | 120 | 0.570655 | [
"MIT"
] | Cringeyzz/UniVRM | Assets/VRM10/Runtime/Format/MaterialsMToon/Deserializer.g.cs | 9,980 | C# |
using System.Security.Claims;
using System.Threading.Tasks;
using IdentityServer4.Validation;
namespace IdentityServer
{
// If you need to add custom CLIENT claims in the client credentials
// flow, you need to use a ICustomTokenRequestValidator.
//
// This is only applicable to the client credentials... | 33.36 | 99 | 0.709832 | [
"MIT"
] | Omegapoint/rest-sec | IdentityServer/CustomTokenRequestValidator.cs | 834 | C# |
using System;
using Newtonsoft.Json;
namespace JsonSubTypes
{
// MIT License
//
// Copyright (c) 2017 Emmanuel Counasse
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
... | 38.793478 | 192 | 0.677501 | [
"CC0-1.0"
] | MufasaDoodle/GMD-Project | Assets/JsonConverter/JsonSubTypes/JsonSubtypesConverterBuilder.cs | 3,571 | 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... | 47.347458 | 147 | 0.599785 | [
"Apache-2.0"
] | sebtelko/pulumi-azure-native | sdk/dotnet/Network/V20181101/InterfaceEndpoint.cs | 11,174 | 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>
//--... | 34.290323 | 151 | 0.580433 | [
"Apache-2.0"
] | michaelyes/LiteORM-For-DotNet | ModelApp/Properties/Settings.Designer.cs | 1,065 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace DevOpsLib
{
public enum BuildDefinitionId
{
BuildImages = 55174,
CI = 45137,
EdgeletCI = 37729,
EdgeletPackages = 55463,
EdgeletRelease = 31845,
EndToEndTest = 87020,
NestedEndToEndTest = 183241,
... | 26.807692 | 48 | 0.609756 | [
"MIT"
] | butlfrazp/iotedge | tools/IoTEdgeDevOps/DevOpsLib/BuildDefinitionId.cs | 697 | C# |
using AssetConfigurator;
using System;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.Events;
public class RockPaperScissors : MonoBehaviour {
// player = attack
// 0 = player is draw
// 1 = player is winner
// 2 = player is loser
private int[,] rpsMatrix =... | 31.401198 | 105 | 0.599924 | [
"MIT"
] | brewmanandi/fb-xr-hackathong | Assets/Scripts/MaxHandTracking/GameMechanics/RockPaperScissors.cs | 5,244 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("fukuv0625")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Asse... | 29.432432 | 57 | 0.743802 | [
"MIT"
] | kantasato/fukuv0625 | fukuv0625/Properties/AssemblyInfo.cs | 1,614 | C# |
namespace AbstractFactory.Facory
{
public interface IHero
{
}
} | 11.666667 | 33 | 0.714286 | [
"Apache-2.0"
] | v-IIX/qj | csharp/DesignPattern/AbstractFactory/Facory/IHero.cs | 72 | C# |
using Heroes.Models.AbilityTalents;
using HeroesData.Parser.Overrides.DataOverrides;
using HeroesData.Parser.Overrides.PropertyOverrides;
using System;
using System.Xml.Linq;
namespace HeroesData.Parser.Overrides
{
public class UnitOverrideLoader : OverrideLoaderBase<UnitDataOverride>, IOverrideLoader
{
... | 41.917241 | 164 | 0.499671 | [
"MIT"
] | HeroesToolChest/HeroesDataParser | HeroesData.Parser/Overrides/UnitOverrideLoader.cs | 6,080 | C# |
/*
* Lyzard Modeling and Simulation System
*
* Copyright 2019 William W. Westlake Jr.
*
* 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/LICENS... | 28.538462 | 97 | 0.739084 | [
"Apache-2.0"
] | wwestlake/Lyzard | ICSharpCode.AvalonEdit/Editing/NoReadOnlySections.cs | 1,857 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace L... | 34.125 | 182 | 0.577941 | [
"MIT"
] | Nekorokke/LiteQnaire-Project | SourceCode/LiteQnaireEditor/LiteQnaireEditor/Properties/Resources.Designer.cs | 2,813 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace Blip.Data
{
public class RegionsRepository
{
public IEnumerable<SelectListItem> GetRegions()
{
List<SelectListItem> regions = new List<SelectListItem>()
{
... | 30.090909 | 88 | 0.436556 | [
"MIT"
] | Alikhan01/BlipBinding | Blip.Data/Geographies/RegionsRepository.cs | 1,326 | C# |
using NetWork.Utilities;
using ProtoBuf;
using System;
using System.ComponentModel;
namespace Package
{
[ForRecv(940), ForSend(940), ProtoContract(Name = "IntensifyPositionReq")]
[Serializable]
public class IntensifyPositionReq : IExtensible
{
public static readonly short OP = 940;
private int _position;
p... | 19.942308 | 122 | 0.717454 | [
"MIT"
] | corefan/tianqi_src | src/Package/IntensifyPositionReq.cs | 1,037 | C# |
public enum GridElements {
EMPTY,
OBSTACLE,
TARGET
} | 12.8 | 26 | 0.640625 | [
"MIT"
] | TUM-MLCMS/Crowd-Simulation-and-Visualization-in-Unity | Assets/Scripts/GridElements.cs | 64 | C# |
using System.Runtime.CompilerServices;
namespace Serenity
{
[Imported(ObeysTypeSystem = true)]
public interface ISetEditValue
{
void SetEditValue(dynamic source, PropertyItem property);
}
} | 20.545455 | 66 | 0.685841 | [
"MIT"
] | BTDevelop/Serenity | Serenity.Script.UI/PropertyGrid/ISetEditValue.cs | 228 | C# |
using BusinessLayer.Abstract;
using DataAccessLayer.Abstract;
using EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.Concrete
{
public class AboutManager: IAboutService
{
IAboutDal _aboutDa... | 20.446809 | 48 | 0.593132 | [
"MIT"
] | mertozler/BlogPanel | BusinessLayer/Concrete/AboutManager.cs | 963 | C# |
namespace ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects
{
public interface IOpenGenerics<T>
{
T TypeOfGeneric { get; set; }
}
} | 21.285714 | 67 | 0.731544 | [
"MIT"
] | existall/Shepherd | src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects/IOpenGenerics.cs | 151 | C# |
using System;
namespace Xms.Solution.Abstractions
{
public interface ISolutionComponentExporter
{
string GetXml(Guid solutionId);
}
} | 17.222222 | 47 | 0.709677 | [
"MIT"
] | 861191244/xms | Libraries/Solution/Xms.Solution.Abstractions/ISolutionComponentExporter.cs | 157 | C# |
#region License
// Pomona is open source software released under the terms of the LICENSE specified in the
// project's repository, or alternatively at http://pomona.io/
#endregion
using NUnit.Framework;
using Pomona.Common;
using Pomona.Common.Proxies;
namespace Pomona.UnitTests.Client
{
[TestF... | 23.277778 | 91 | 0.591885 | [
"MIT"
] | Pomona/Pomona | tests/Pomona.UnitTests/Client/ClientResourceTests.cs | 1,206 | C# |
/*
* The official C# API client for alpaca brokerage
* Sourced from: https://github.com/alpacahq/alpaca-trade-api-csharp/commit/161b114b4b40d852a14a903bd6e69d26fe637922
*/
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace QuantConnect.Brokerages.Alpaca.Markets
{... | 24.066667 | 116 | 0.616343 | [
"Apache-2.0"
] | AdvaithD/Lean | Brokerages/Alpaca/Markets/Enums/OrderSide.cs | 724 | C# |
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.ComponentModel;
using Stride.Core;
using Stride.Core.Annotations;
using Stride.Eng... | 32.797101 | 118 | 0.617322 | [
"MIT"
] | Aggror/Stride | sources/engine/Stride.Engine/Engine/BackgroundComponent.cs | 2,263 | 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... | 28.428571 | 81 | 0.630151 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Compute/V20190301/Inputs/VirtualMachineScaleSetIpTagArgs.cs | 995 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeGravity : MonoBehaviour
{
public Vector3 lastPos;
bool left = false;
public float gravOffsetX = .5f;
public float gravOffsetY = .5f;
public Vector3 gravityVec = new Vector3 (0f, -9.8f, 0f);
public... | 29.919192 | 84 | 0.490209 | [
"MIT"
] | SirBrect/TimeTower | Capstone2 Prac/Assets/Scripts/ChangeGravity.cs | 2,964 | C# |
//
// SocketClient.cs
//
// Author:
// Martin Baulig <mabaul@microsoft.com>
//
// Copyright (c) 2018 Xamarin Inc. (http://www.xamarin.com)
//
// 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 ... | 27.854369 | 89 | 0.699198 | [
"MIT"
] | xamarin/web-tests | Xamarin.AsyncTests.Framework/Xamarin.AsyncTests.Remoting/SocketClient.cs | 2,871 | C# |
// ReSharper disable All
using System;
using System.Collections.Generic;
using System.Dynamic;
using PetaPoco;
using MixERP.Net.Entities.Transactions;
namespace MixERP.Net.Schemas.Transactions.Data
{
public interface IGetEoyProfitSummaryRepository
{
int OfficeId { get; set; }
/// <summary>
... | 24.894737 | 65 | 0.708245 | [
"MPL-2.0"
] | asine/mixerp | src/Libraries/DAL/Transactions/IGetEoyProfitSummaryRepository.cs | 473 | C# |
using DeanAndSons.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace DeanAndSons.Models.WAP
{
public class ContactUser : Contact
{
[ForeignKey("ApplicationUser")]
public string U... | 27.515152 | 148 | 0.609031 | [
"Apache-2.0"
] | DACunningham/DeanAndSons | DeanAndSons/DeanAndSons/Models/WAP/ContactUser.cs | 910 | C# |
namespace Decent.Minecraft.Client.Blocks
{
/// <summary>
/// <a href="http://minecraft.gamepedia.com/Door">Gamepedia link</a>.
/// </summary>
public abstract class Door : IBlock
{
}
public abstract class DoorTop : Door
{
protected DoorTop(bool isHingeOnTheRight, bool isPowered)... | 29.358209 | 156 | 0.620234 | [
"MIT"
] | bleroy/minecraft.client | Decent.Minecraft.Client/Blocks/Door.cs | 1,969 | C# |
/*
* Copyright 2010-2013 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... | 29.123711 | 91 | 0.538407 | [
"Apache-2.0"
] | virajs/aws-sdk-net | AWSSDK_DotNet35/Amazon.IdentityManagement/Model/UpdateLoginProfileRequest.cs | 2,825 | 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.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Reflection;
using System.Threading.... | 40.488429 | 159 | 0.582669 | [
"MIT"
] | ANISSARIZKY/runtime | src/libraries/System.Diagnostics.DiagnosticSource/tests/ActivityTests.cs | 66,482 | C# |
using System.Collections.Generic;
namespace StackExchange.Opserver
{
public class RedisSettings : Settings<RedisSettings>
{
public override bool Enabled => Servers.Count > 0;
public List<Server> Servers { get; set; } = new List<Server>();
public Server AllServers { get; set; } = new ... | 31.6 | 111 | 0.519474 | [
"MIT"
] | bonskijr/Opserver | Opserver.Core/Settings/RedisSettings.cs | 2,056 | C# |
// <copyright file="PasswordControlTestsUniversal.cs" company="Automate The Planet Ltd.">
// Copyright 2020 Automate The Planet Ltd.
// 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://w... | 37.869565 | 93 | 0.689246 | [
"Apache-2.0"
] | 48x16/BELLATRIX | tests/Bellatrix.Desktop.Tests/Controls/Pasword/PasswordControlTestsUniversal.cs | 2,633 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class W3BoatSpawnerStateIdle : CScr... | 32.608696 | 134 | 0.752 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/W3BoatSpawnerStateIdle.cs | 750 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using picovm.VM;
namespace picovm.Packager.Elf.Elf32
{
public sealed class LoaderElf32 : ILoader
{
private readonly Stream stream;
public LoaderElf32(Stream stream)
{
if (st... | 36.6 | 141 | 0.620999 | [
"MIT"
] | seanmcelroy/picovm | picovm/Packager/Elf/Elf32/LoaderElf32.cs | 2,562 | C# |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26.Maps
{
using V26;
/// <summary>
/// XPN (ComponentMap) - Extended Perso... | 39.46875 | 113 | 0.567696 | [
"Apache-2.0"
] | AreebaAroosh/Machete | src/Machete.HL7Schema/Generated/V26/Components/Maps/XPNMap.cs | 1,263 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.