content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotVVM.Framework.Hosting;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.BasicSamples.ViewModels.ComplexSamples.RedirectAndUrl
{
public class ScrollingPageViewModel : DotvvmViewModelBase
{
public str... | 26.543478 | 78 | 0.611794 | [
"Apache-2.0"
] | AMBULATUR/dotvvm | src/DotVVM.Samples.Common/ViewModels/ComplexSamples/RedirectAndUrl/ScrollingPageViewModel.cs | 1,221 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 62.621538 | 283 | 0.679098 | [
"MIT"
] | ElleTojaroon/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/CertificateOrderDetectorCollection.cs | 20,352 | C# |
//
// SecIdentity2.cs: Bindings the Security's sec_identity_t
//
// The difference between SecIdentity2 and SecIdentity is that the
// SecIdentity2 is a binding for the new sec_identity_t API that was
// introduced on iOS 12/OSX Mojave, while SecIdentity is the older API
// that binds SecIdentityRef.
//
// Authors:
// ... | 29.401361 | 108 | 0.734845 | [
"BSD-3-Clause"
] | bekir-ozturk/xamarin-macios | src/Security/SecIdentity2.cs | 4,322 | C# |
using SharedLibraryCore;
using SharedLibraryCore.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace IW4MAdmin.Application.Migration
{
/// <summary>
/// helps facilitate the migration of configs from... | 36.114754 | 93 | 0.552429 | [
"MIT"
] | Frankity/IW4M-Admin | Application/Migration/ConfigurationMigration.cs | 2,205 | C# |
using System.IO;
using EasyAbp.Abp.TagHelperPlus.Books;
using EasyAbp.Abp.TagHelperPlus.EntityFrameworkCore;
using EasyAbp.Abp.TagHelperPlus.Menus;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using EasyAbp.Abp.TagHelperPlus.MultiTenancy;
using ... | 37.653179 | 226 | 0.638471 | [
"MIT"
] | EasyAbp/Abp.TagHelperPlus | host/EasyAbp.Abp.TagHelperPlus.Web.Unified/TagHelperPlusWebUnifiedModule.cs | 6,543 | C# |
global using CommonBasicLibraries.CollectionClasses;
global using bb = CommonBasicLibraries.BasicDataSettingsAndProcesses.BasicDataFunctions;
global using ff = CommonBasicLibraries.AdvancedGeneralFunctionsAndProcesses.FileFunctions.FileFunctions;
global using BasicBlazorLibrary.Components.Basic;
global using Microsoft... | 69.555556 | 104 | 0.899361 | [
"MIT"
] | musictopia2/MockRemoteControl | Host/Host.Blazor/GlobalUsings.cs | 628 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ovow.Framework.Messaging
{
public interface IMessage
{
Guid Id { get; }
DateTime Timestamp { get; }
}
}
| 14.611111 | 35 | 0.676806 | [
"Apache-2.0"
] | daxnet/ovow | src/Ovow.Framework/Messaging/IMessage.cs | 265 | C# |
#region License
// Copyright(c) 2020 GrappTec
//
// 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,... | 34.840909 | 72 | 0.739074 | [
"MIT"
] | GrappTec/DotNetAppBase | src/DotNetAppBase.Std.Library/Data/IdentityGenerator.cs | 1,535 | C# |
#region
using System.Collections.Generic;
using Confuser.Core;
using Confuser.Core.Services;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
#endregion
namespace Confuser.Protections.Compress
{
internal enum Mode
{
Normal,
Dynamic
}
internal interface IKeyDeriver
{
void Ini... | 21.24 | 109 | 0.696798 | [
"MIT"
] | Dekryptor/KoiVM-Virtualization | Confuser.Protections/Compress/IKeyDeriver.cs | 533 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace FASTER.core
{
/// <summa... | 36.510526 | 230 | 0.488444 | [
"MIT"
] | 4nonym0us/FASTER | cs/src/core/Device/ManagedLocalStorageDevice.cs | 20,813 | C# |
using System.Collections.Generic;
using Tasky.DAL;
namespace Tasky.BL.Managers
{
public static class TaskManager
{
public static Task GetTask(int id)
{
return TaskRepository.GetTask(id);
}
public static IList<Task> GetTasks()
{
return new List<T... | 20.133333 | 61 | 0.569536 | [
"Apache-2.0"
] | vpdejesus/mobile-samples | TaskyPro-Calabash/Tasky.Core/BusinessLayer/Managers/TaskManager.cs | 604 | C# |
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using System.Web.Routing;
using System.Web.Mvc;
using Creuna.Basis.Revisited.Web.Business;
namespace Creuna.Basis.Revisited.Web.App_Start
{
[ModuleDependency(typeof(WebApiInitializer))]
[InitializableModule]
public class MvcRou... | 32.317073 | 80 | 0.58566 | [
"Unlicense"
] | Arthyon/Episerver.Basis.Slim | src/Template/Creuna.Basis.Revisited.Web/App_Start/MvcRoutesInitializer.cs | 1,327 | C# |
namespace ManyClients
{
partial class Client
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resource... | 35.6875 | 150 | 0.574781 | [
"MIT"
] | RainsSoft/lidgren-network-gen3 | Samples/LibraryTestSamples/ManySample/ManyClients/Client.Designer.cs | 2,857 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.Batch;
using Microsoft.Azure.Batch.Auth;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.... | 41.412214 | 141 | 0.577143 | [
"MIT"
] | Sahaj26/opendatacloud | src/Msr.Odr.Admin/Dataset/DatasetImportTask.cs | 5,425 | C# |
/*
* MIT License
*
* Copyright (c) 2021 plexdata.de
*
* 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,... | 48.565041 | 160 | 0.600234 | [
"MIT"
] | akesseler/SimpleReferenceFinder | code/src/SimpleReferenceFinder/Dialogs/ErrorDetailsDialog.Designer.cs | 11,949 | C# |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | 37.88961 | 178 | 0.572579 | [
"MIT"
] | juanfranblanco/AvalonStudio | AvalonStudio/PortableCom/DisposeCollector.cs | 5,837 | C# |
// <copyright file="ITimerFactory.cs" company="Antonio Invernizzi V">
// Copyright (c) Antonio Invernizzi V. All rights reserved.
// </copyright>
namespace Infrastructure.Contracts.Factories
{
using Infrastructure.Contracts.DotNETAbstractions;
using System.Timers;
/// <summary>
/// Contract for a cla... | 31.615385 | 89 | 0.635036 | [
"MIT"
] | AltarnRain/LaunchIt | Infrastructure/Contracts/Factories/ITimerFactory.cs | 824 | C# |
using System;
namespace testapp.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}
| 17.166667 | 70 | 0.660194 | [
"MIT"
] | programad/semanticversiontest | testapp/testapp/Models/ErrorViewModel.cs | 206 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITVComponents.Plugins;
namespace ITVComponents.DataAccess.Linq
{
public interface IDataContext:IPlugin
{
/// <summary>
/// Gets a List of available Tables for this DataContext
/// </summary>
... | 23.411765 | 72 | 0.68593 | [
"MIT"
] | ITVenture/ITVComponents | ITVComponents.DataAccess.Linq/IDataContext.cs | 400 | C# |
#if WITH_GAME
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UBoneMaskFilter
{
static readonly int BlendPoses__Offset;
public TStructArray<FInputBlendPose> BlendPoses
{
get{ CheckIsValid();return new... | 25.433333 | 157 | 0.778506 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UBoneMaskFilter_FixSize.cs | 763 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using cout = System.Console;
namespace MQ.Console
{
public static class OutWriter
{
public static StreamWriter FileWriter()
{
FileStrea... | 25.909091 | 94 | 0.525146 | [
"MIT"
] | samranjbari/PlayRabbitMq | MQ.Console/OutWriter.cs | 857 | C# |
using System;
namespace SimpleSnake.GameObjects
{
public class Player : Point
{
private const char borderSymbol = '\u25A0';
private int topY = 1;
private int points = 0;
private int level = 1;
private int levelIncreaser = 10;
public Player()
{
... | 24.134615 | 87 | 0.513147 | [
"MIT"
] | DanielBankov/SoftUni | C# Fundamentals/C# OOP Basics/SnakeGame/SimpleSnake/GameObjects/Player.cs | 1,257 | C# |
using cloudscribe.Core.IdentityServerIntegration;
namespace cloudscribe.Core.IdentityServer.EFCore.MSSQL
{
public class StorageInfo : IStorageInfo
{
public string StoragePlatform { get { return "Entity Framework with Microsoft SqlServer"; } }
}
}
| 26.9 | 101 | 0.747212 | [
"Apache-2.0"
] | 4L4M1N/cloudscribe | src/cloudscribe.Core.IdentityServer.EFCore.MSSQL/StorageInfo.cs | 271 | C# |
using System.Collections.Generic;
namespace RainbowMage.OverlayPlugin
{
public enum TextItem
{
ErrorTitle,
RequiredAssemblyFileNotFound,
RequiredAssemblyFileCannotRead,
RequiredAssemblyFileBlocked,
RequiredAssemblyFileException,
DoNotSort,
SortStringAsce... | 42.240876 | 217 | 0.555037 | [
"MIT"
] | RyuaNerin/OverlayPlugin | OverlayPlugin.Core/Localization.cs | 6,525 | C# |
// Decompiled with JetBrains decompiler
// Type: BetterFarmAnimalVariety.Framework.Constants.ContentPack
// Assembly: BetterFarmAnimalVariety, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5915D6B1-6174-4632-A28A-C1734D2C6C57
// Assembly location: C:\Program Files (x86)\Steam\steamapps\common\Stardew ... | 45.36 | 152 | 0.783069 | [
"MIT"
] | lshtech/StardewValleyMods | BetterFarmAnimalVariety/Framework/Constants/ContentPack.cs | 1,136 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 41.321429 | 87 | 0.616249 | [
"MIT"
] | Acidburn0zzz/azure-powershell | src/ResourceManager/Automation/Commands.Automation/Model/UpdateManagement/WindowsConfiguration.cs | 1,132 | C# |
using System;
namespace LD48.Dialogue
{
public class DialogueEntry
{
public string Text { get; init; }
public string Speaker { get; init; }
public string Sprite { get; init; }
public Action Callback { get; init; }
public DialogueFont Font { get; init; }
public ... | 22.5 | 47 | 0.565432 | [
"Apache-2.0"
] | comagnan/ludum-dare-48 | LD48/Dialogue/DialogueEntry.cs | 407 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Text;
namespace DevZest.Data.CodeAnalysis
{
partial class DbMapper
{
private sealed partial class CSharp : DbMapper
... | 35.183486 | 199 | 0.578879 | [
"MIT"
] | DevZest/RDO.Net | src/Tools.Vsix.CodeAnalysis/DbMapper.CSharp.cs | 3,837 | C# |
using DotnetCoreVue.DB.EFModels;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SpaServices.Webpack;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespa... | 34.044776 | 106 | 0.604121 | [
"MIT"
] | mal0211/DotnetCoreVue | Startup.cs | 2,281 | C# |
/*
Copyright 2019 Esri
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 writing, ... | 38.404181 | 152 | 0.613319 | [
"Apache-2.0"
] | Dithn/arcgis-pro-sdk-community-samples | Sharing/UploadVtpkToAgol/UploadVectorTileViewModel.cs | 11,022 | C# |
using ReactUnity.Helpers;
using System;
using UnityEngine;
namespace ReactUnity.Components
{
public class ObjectComponent : BaseRenderTextureComponent
{
Camera currentCamera;
GameObject targetObject;
bool shouldRender;
Callback onMount;
Callback onUnmount;
... | 28.620155 | 90 | 0.469393 | [
"MIT"
] | NickBurrell/core | Runtime/Components/ObjectComponent.cs | 3,692 | C# |
using IdentityServer.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace IdentityServer
{
public class Startup
{
public ... | 35.046512 | 129 | 0.684141 | [
"MIT"
] | houseofcat/Authentication | AspNetCore3.x_MVC/IS406_IdentityServer/IdentityServer/Startup.cs | 1,507 | C# |
using System;
using L5Sharp.Enums;
namespace L5Sharp.Core
{
/// <inheritdoc cref="L5Sharp.IRoutine{TContent}" />
public sealed class Routine<TContent> : IRoutine<TContent> where TContent : ILogixContent
{
/// <summary>
/// Creates a new <see cref="Routine{TContent}"/> instance with the pro... | 40.105263 | 116 | 0.604987 | [
"MIT"
] | tnunnink/L5Sharp | src/Core/Routine.cs | 1,526 | C# |
/* *********************************************************************
* This Source Code Form is copyright of 51Degrees Mobile Experts Limited.
* Copyright © 2015 51Degrees Mobile Experts Limited, 5 Charlotte Close,
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY
*
* This Source Code Form is the... | 31.791367 | 81 | 0.534736 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | hl46000/dotNET-Device-Detection | FoundationV3/Mobile/Detection/Entities/Stream/Pool.cs | 4,426 | C# |
using Banzai.Factories;
using FluentAssertions;
using Ninject;
using Xunit;
namespace Banzai.Ioc.Ninject.Test
{
public class WhenFlowAddsShouldExecuteBlock
{
[Fact]
public void ShouldExecute_Is_Added_To_Root_Node()
{
var kernel = new StandardKernel();
kernel.Reg... | 37.271739 | 106 | 0.618839 | [
"MIT"
] | NDecision/Banzai | test/Banzai.Ioc.Ninject.Test/WhenFlowAddsShouldExecuteBlock.cs | 3,431 | C# |
using System;
using System.Globalization;
using Newtonsoft.Json;
namespace SharpIrcBot.Plugins.Libraries.GeoNames
{
[JsonObject]
public class GeoTimeZoneResult
{
const string DateFormat = "yyyy-MM-dd HH:mm";
[JsonProperty("countryCode")]
public string CountryCode { get; set; }
... | 25.545455 | 123 | 0.55427 | [
"MIT"
] | RavuAlHemio/SharpIrcBot | Plugins/Libraries/GeoNames/GeoTimeZoneResult.cs | 2,248 | C# |
using System;
using Xunit;
namespace Challenges.Tests
{
public class ArrayShiftTests
{
[Fact]
public void InsertIntoEvenLength()
{
//Arrange
int[] input = new[] { 4, 5, 7, 8 };
//Act
int[] result = ArrayChallenges.InsertArrayShift(input,... | 23.152542 | 75 | 0.464861 | [
"MIT"
] | selmaT273/DSA | Challenges.Tests/ArrayShiftTests.cs | 1,368 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace UNWcfTester
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Applic... | 16.952381 | 43 | 0.643258 | [
"Apache-2.0"
] | apros/WCFTester | App.xaml.cs | 358 | C# |
using System;
using System.Collections.Generic;
namespace ZimaHrm.Core.Infrastructure.Helper
{
public static class AnonymousComparer
{
#region IComparer<T>
/// <summary>Example:AnonymousComparer.Create<int>((x, y) => y - x)</summary>
public static IComparer<T> Create<T>(Func<T, ... | 28.592233 | 103 | 0.485569 | [
"Apache-2.0"
] | Dakicksoft/ZimaHrm | ZimaHrm.Infrastructure/Helper/AnonymousComparer.cs | 2,947 | C# |
using Microsoft.EntityFrameworkCore;
using WebApiServer.Models;
namespace WebApiServer.Database
{
public class MeasurementContext : DbContext
{
public MeasurementContext(DbContextOptions options) : base(options)
{
}
public DbSet<Measurement> Measurements { get; set; }
}
}
| 21.333333 | 75 | 0.690625 | [
"MIT"
] | dev7k/DotNetCoreWebApi | src/WebApiServer/Database/MeasurementContext.cs | 322 | C# |
#region License
/*
* Copyright 2002-2012 the original author or authors.
*
* 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
... | 46.806011 | 185 | 0.681192 | [
"Apache-2.0"
] | PKRoma/spring-net-social-twitter | src/Spring.Social.Twitter/Social/Twitter/Api/Impl/FriendTemplate.cs | 34,264 | C# |
using System;
using System.Linq;
using System.Windows.Threading;
namespace Viking.Pipeline.Wpf
{
public partial class DispatcherReactionPipelineStage<TInput1, TInput2, TInput3, TInput4> : IPipelineStage
{
public DispatcherReactionPipelineStage(
Action<TInput1, TInput2, TInput3, TInput4> reaction,
IPip... | 36.482993 | 155 | 0.733358 | [
"MIT"
] | Grevor/Viking.Pipeline | Wpf/Viking.Pipeline.Wpf/Generated/Dispatcher/DispatcherReactionPipelineStage4.cs | 5,363 | C# |
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
using System;
using System.Runtime.InteropServices;
namespace Photon.Voice.Windows
{
public class WindowsAudioInPusher : Voice.IAudioPusher<short>
{
enum SystemMode
{
SINGLE_CHANNEL_AEC = 0,
OPTIBEAM_ARRAY_ONLY = 2... | 34.275362 | 202 | 0.59408 | [
"Apache-2.0"
] | na0ki-ikeda/MirageMulti | Assets/Photon/PhotonVoice/PhotonVoiceApi/Platforms/Windows/WindowsAudioIn.cs | 2,367 | C# |
using GitVersion.BuildAgents;
using GitVersion.Common;
using GitVersion.Extensions;
using GitVersion.Helpers;
using GitVersion.Logging;
using GitVersion.Model.Configuration;
using Microsoft.Extensions.Options;
namespace GitVersion;
public class GitPreparer : IGitPreparer
{
private readonly ILog log;
private r... | 47.005076 | 206 | 0.643898 | [
"MIT"
] | Gridstone/GitVersion | src/GitVersion.Core/Core/GitPreparer.cs | 18,520 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 regenerate... | 31.878498 | 147 | 0.732606 | [
"Apache-2.0"
] | Ezeji/xamarin-forms-samples | UserInterface/ShadowPlatformSpecific/Droid/Resources/Resource.designer.cs | 223,277 | C# |
/*
* FactSet Formula API
*
* **FactSet Formula API** FactSet’s Formula API is a modern, flexible, formula-based API that enables users to access FactSet’s wide range of financial data and content. The API offers two endpoints, one optimized for time-series analysis and one designed for cross-sectional analysis, pr... | 50.117391 | 2,605 | 0.616899 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/Formula/v1/src/FactSet.SDK.Formula/Client/ClientUtils.cs | 11,533 | C# |
using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi;
using Microsoft.VisualStudio.Services.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Clients;
using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contrac... | 45.494444 | 173 | 0.474173 | [
"MIT"
] | armohamm/azure-devops-dotnet-samples | ClientLibrary/Snippets/Microsoft.TeamServices.Samples.Client/Release/GatesSample.cs | 8,191 | C# |
using UMS.Data;
using UMS.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using UMS.ViewModels;
namespace UMS.Controllers
{
public class StudentController : Controller
{
private readonly ApplicationDbContext context;
public StudentCon... | 31.013245 | 91 | 0.543669 | [
"MIT"
] | tahmidradit/UMS | UMS/Controllers/StudentController.cs | 4,685 | C# |
// --------------------------------------------------------------------------
// Tethys.Logging
// ==========================================================================
//
// A (portable) logging library for .NET Framework 4.5, Silverlight 4 and
// higher, Windows Phone 7 and higher and .NET for Windows Store app... | 32.703704 | 78 | 0.46376 | [
"Apache-2.0"
] | tngraf/Tethys.Logging | Tethys.Logging/ILogEvent.cs | 1,768 | 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 ... | 15.730061 | 63 | 0.574493 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-vcs/Vcs/Model/V20200515/GetFaceOptionsResponse.cs | 2,564 | C# |
using AdoDataLayer;
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdoDataLayer.Tests
{
[TestClass()]
public class DbManagerTests
{
[TestMethod()]
public void OpenTest()
{
Assert.Fail();
}
[TestMethod()]
public void ... | 17.554455 | 51 | 0.460237 | [
"MIT"
] | GXSoftwareUK/AdoDataLayer | GX.DataLayer/AdoDataLayerUnitTests/DbManagerTests.cs | 1,775 | C# |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
namespace Identity.Data
{
public static class DbInitializer
{
public static void Initialize(ApplicationDbContext context)
{
if (context.Database.EnsureCreated())
{
... | 29.466667 | 153 | 0.590498 | [
"MIT"
] | ARambazamba/20487 | AllFiles/Mod09/Labfiles/Lab1/Solution/Identity/Data/DbInitializer.cs | 884 | C# |
// CommandLine.cs
// Script#/Tools/Preprocessor
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
namespace ScriptSharp... | 33.835821 | 109 | 0.408028 | [
"Apache-2.0"
] | AmanArnold/dsharp | tools/Preprocessor/CommandLine.cs | 4,534 | C# |
using LogLib;
using ModuleLib;
using NetORMLib;
using NetORMLib.Databases;
using NetORMLib.Queries;
using PIO.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PIO.ServerLib.Tables;
using PIO.Models.Modules;
using PIO.ModulesLib.Exceptions;
namespace PIO.ServerLib.Mod... | 19.677419 | 202 | 0.739344 | [
"MIT"
] | dfgs/PIO | PIO.ServerLib/Modules/FunctionalModules/IdlerModule.cs | 1,222 | 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... | 39.20339 | 229 | 0.698227 | [
"MIT"
] | naivetang/2019MiniGame22 | Unity/Assets/Model/ILBinding/ETModel_MessageDispatcherComponent_Binding.cs | 2,313 | 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... | 37.589104 | 193 | 0.555233 | [
"Apache-2.0"
] | playstudios/aws-sdk-net | sdk/src/Services/ElastiCache/Generated/Model/CreateReplicationGroupRequest.cs | 40,709 | C# |
using Newtonsoft.Json;
using Okex.Net.Converters;
using Okex.Net.Enums;
using System;
namespace Okex.Net.RestObjects.Funding
{
public class OkexWithdrawalHistory
{
[JsonProperty("ts"), JsonConverter(typeof(OkexTimestampConverter))]
public DateTime Time { get; set; }
[JsonProperty("wdI... | 25.95 | 80 | 0.6079 | [
"MIT"
] | EricGarnier/OKEx.Net | Okex.Net/RestObjects/Funding/OkexWithdrawalHistory.cs | 1,040 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Threading.Tasks;
namespace dotnet_rpg.Models
{
public class CharacterSkill
{
public int CharacterId { get; set; }
public Character Character { get; set; }
public in... | 23.117647 | 48 | 0.676845 | [
"MIT"
] | kmaodus/dotnet-rpg | Models/CharacterSkill.cs | 395 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CompleteLevel : MonoBehaviour
{
public string menuSceneName = "MainMenu";
public string nextLevel = "Level02";
public int LevelToReached = 2;
public SceneFader sceneFader;
public void Continue()
{
... | 19.346154 | 59 | 0.683897 | [
"MIT"
] | vabyz971/Tower-Defense | Assets/Script/Manager/CompleteLevel.cs | 505 | C# |
//using MongoDB.Bson;
//using MongoDB.Driver;
//using MongoDB.Driver.Linq;
//using Resonance.Common;
//using Resonance.Data.Models;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Linq.Expressions;
//using System.Text.RegularExpressions;
//using System.Threading;
//using System.... | 42.511541 | 216 | 0.613823 | [
"Apache-2.0"
] | archrival/Resonance | src/Resonance.Data.Storage.MongoDB/MetadataRepository.cs | 57,095 | C# |
using Marketplace.DatabaseProvider.Repositories;
using Marketplace.Server.WebSockets;
using Marketplace.Shared;
using Marketplace.WebSockets;
using Marketplace.WebSockets.Attributes;
using Marketplace.WebSockets.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Col... | 34.752688 | 135 | 0.610149 | [
"MIT"
] | RestoreMonarchy/Marketplace-Web | src/Server/Services/ServersService.cs | 3,234 | C# |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SamuraiApp.Data;
namespace SamuraiApp.Data.Mig... | 31.883117 | 75 | 0.495316 | [
"MIT"
] | chunk1ty/FrameworkPlayground | src/EntityFrameworkCore/SamuraiApp/SamuraiApp.Data/Migrations/20201006171211_init.Designer.cs | 2,457 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace IisLogRotator.Configuration
{
public class RotationSection : ConfigurationSection
{
private static readonly ConfigurationElementProperty s_elemProperty;
private static readonly ... | 28.760417 | 88 | 0.744296 | [
"Apache-2.0"
] | geeooff/iis-log-rotator | Configuration/RotationSection.cs | 2,763 | C# |
using leetcodesln.common;
using System.Collections.Generic;
namespace leetcodesln
{
public class N_aryTreeLevelOrderTraversal
{
public IList<IList<int>> LevelOrder(Node root)
{
if (root == null) return new List<IList<int>>();
var ans = new List<IList<int>>();
... | 27.628571 | 60 | 0.417787 | [
"MIT"
] | matwming/TrialOfTheGrasses | CSharp/leetcodesln/N-aryTreeLevelOrderTraversal.cs | 969 | C# |
using OpenMMO;
using OpenMMO.Network;
using OpenMMO.Portals;
using UnityEngine;
using UnityEngine.Events;
using System;
using System.Collections.Generic;
using Mirror;
namespace OpenMMO.Network
{
// ===================================================================================
// NetworkManager
// =======... | 31.984375 | 147 | 0.460674 | [
"MIT"
] | B1sounours/OpenMMO | Core/PortalManager/Scripts/Hooked/NetworkManager/NetworkManager.Client.Protected.NetworkPortals.cs | 2,047 | C# |
// -------------------------------------------------------------------------------
// Written by Matthew Monroe for the Department of Energy (PNNL, Richland, WA)
//
// E-mail: matthew.monroe@pnnl.gov or proteomics@pnnl.gov
// Website: https://github.com/PNNL-Comp-Mass-Spec/ or https://panomics.pnnl.gov/ or https:/... | 34.515152 | 125 | 0.540606 | [
"BSD-2-Clause"
] | PNNL-Comp-Mass-Spec/PHRP | PeptideHitResultsProcessor/Data/MSPathFinderResults.cs | 4,558 | C# |
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | 41.388889 | 130 | 0.741611 | [
"MIT"
] | RPagels/playwright-dotnet | src/Playwright/BrowserContextEvent.cs | 1,490 | C# |
/*******************************************************************************
* You may amend and distribute as you like, but don't remove this header!
*
* EPPlus provides server-side generation of Excel 2007/2010 spreadsheets.
* See http://www.codeplex.com/EPPlus for details.
*
* Copyright (C) 2011 Jan Käll... | 41.169811 | 118 | 0.652612 | [
"MIT"
] | GlobalcachingEU/GAPP | EPPlus/ConditionalFormatting/Contracts/IExcelConditionalFormattingFourIconSet.cs | 2,185 | C# |
using ExcelDna.Fluent.Control;
namespace AddinX.Fluent.Impl.Control {
public class ToggleButtonUnsize : Control<IToggleButtonUnsize>, IToggleButtonUnsize {
public ToggleButtonUnsize() : base("toggleButton") {
NoImage();
}
/*
protected internal override XElement ToXml(X... | 37.877551 | 89 | 0.545259 | [
"MIT"
] | zwq00000/AddinX.Ribbon | src/ExcelDna.RibbonFluent/Impl/Control/ToggleButtonUnsize.cs | 1,858 | C# |
using RiotSharp.Caching;
using RiotSharp.Endpoints.Interfaces.Static;
using RiotSharp.Http.Interfaces;
using RiotSharp.Misc;
using System;
namespace RiotSharp.Endpoints.StaticDataEndpoint
{
/// <summary>
/// Abstract base class which implements <see cref="IStaticEndpoint"/>
/// </summary>
/// <seealso... | 39.873016 | 127 | 0.636545 | [
"MIT"
] | BenFradet/RiotSharp | RiotSharp/Endpoints/StaticDataEndpoint/StaticEndpointBase.cs | 2,514 | C# |
namespace Ustilz.Sql.RequestElement.Implementations
{
#region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
#endregion
/// <summary>The columns. </summary>
[PublicAPI]
internal sealed class Columns : List<IColumn>, IColumn... | 30.384615 | 163 | 0.599156 | [
"MIT"
] | 74nu5/Ustilz | src/Ustilz.Sql/RequestElement/Implementations/Columns.cs | 2,376 | C# |
// Copyright 2007-2019 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unles... | 32.724138 | 134 | 0.646997 | [
"ECL-2.0",
"Apache-2.0"
] | DamirAinullin/MassTransit | src/Containers/MassTransit.Containers.Tests/Windsor_Tests/Windsor_Consumer.cs | 2,847 | C# |
using CookBook.DAL;
using Microsoft.EntityFrameworkCore;
namespace CookBook.BL.Factories
{
public class DbContextFactory : IDbContextFactory
{
public CookBookDbContext CreateDbContext()
{
var optionsBuilder = new DbContextOptionsBuilder<CookBookDbContext>();
optionsBuil... | 35.25 | 142 | 0.695035 | [
"MIT"
] | orlicekm/CsharpCourse | Laboratories/Laboratory04/Laboratory04_After/CookBook.BL/Factories/DbContextFactory.cs | 566 | C# |
/*
* LUSID API
*
* # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages and frameworks: * [C#](https://github.... | 286.991379 | 29,340 | 0.690727 | [
"MIT"
] | bogdanLicaFinbourne/lusid-sdk-csharp-preview | sdk/Lusid.Sdk/Model/UpsertLegalEntityAccessMetadataRequest.cs | 33,291 | C# |
using System;
using System.Threading;
using NUnit.Framework;
using Photon.SocketServer;
using Photon.SocketServer.UnitTesting;
using EventData = ExitGames.Client.Photon.EventData;
using OperationRequest = ExitGames.Client.Photon.OperationRequest;
using OperationResponse = ExitGames.Client.Photon.OperationResponse;
usi... | 29.406417 | 122 | 0.556829 | [
"MIT"
] | swDill/PacManProject | Photon Server/src-server/Photon.UnitTest.Utils/Basic/NUnitClients/OfflineNUnitClient.cs | 5,501 | C# |
using System;
using Gtk;
public partial class MainWindow: Gtk.Window
{
public MainWindow () : base (Gtk.WindowType.Toplevel)
{
Build ();
txtNombre.Text = Environment.UserName;
}
protected void OnDeleteEvent (object sender, DeleteEventArgs a)
{
Application.Quit ();
a.RetVal = true;
}
protected void On... | 19.733333 | 64 | 0.702703 | [
"Apache-2.0"
] | erickorlando/holamundolinux | HelloWorld/MainWindow.cs | 594 | 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.
namespace C2CS.UseCases.BindgenCSharp;
public record CSharpPseudoEnumValue(
string Name,
... | 30.761905 | 118 | 0.72291 | [
"MIT"
] | elix22/c2cs | src/cs/production/C2CS/UseCases/BindgenCSharp/Data/CSharpPseudoEnumValue.cs | 646 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Restaurant.Domain
{
public class RestaurantDb
{
List<Restaurant> restaurants;
Address add1 = new Address() { street1 = "123", street2 = "Plaza America", city = "Reston", state = "VA", country = "US" };
Revie... | 29.029412 | 131 | 0.56231 | [
"MIT"
] | 1905-may05-dotnet/training-code | 01-CSharp/RestaurantSampleProject/Restaurant.Domain/RestaurantLogic.cs | 989 | C# |
using StringManipulation.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringManipulation.Models
{
class Exercise1:IExercise1
{
private List<int> _numberList;
public List<int> NumberList
{
... | 23.149254 | 160 | 0.46196 | [
"Unlicense"
] | MammosGeorgios/TestingGrounds | StringManipulation/Models/Exercise1.cs | 3,104 | C# |
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// IL2C - A translator for ECMA-335 CIL/MSIL to C language.
// Copyright (c) 2016-2019 Kouji Matsui (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 55.231481 | 221 | 0.632858 | [
"Apache-2.0"
] | am11/IL2C | tests/IL2C.Core.Test.BasicTypes/System_String/System_String_Format3.cs | 5,965 | C# |
using WG.Entities;
using Common;
using System;
using System.Linq;
using System.Collections.Generic;
namespace WG.Controllers.item.item_master
{
public class ItemMaster_OrderDTO : DataDTO
{
public long Id { get; set; }
public long CustomerId { get; set; }
public DateTime Create... | 31.54 | 59 | 0.596703 | [
"MIT"
] | blyzer/CodeGenerator | CodeGeneration/Controllers/item/item-master/ItemMaster_OrderDTO.cs | 1,577 | 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("Exc... | 37.513514 | 84 | 0.747118 | [
"MIT"
] | donahuedtg/GenericExcelMaker | ExcelMaker/ExcelMaker/Properties/AssemblyInfo.cs | 1,391 | C# |
using System;
using System.Collections.Generic;
namespace Jurassic.Compiler
{
/// <summary>
/// Represents a try-catch-finally statement.
/// </summary>
internal class TryCatchFinallyStatement : Statement
{
/// <summary>
/// Creates a new TryCatchFinallyStatement insta... | 41.493617 | 115 | 0.549174 | [
"MIT"
] | bushadam/jurassic | Jurassic/Compiler/Statements/TryCatchFinallyStatement.cs | 9,753 | 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.645161 | 151 | 0.58473 | [
"Apache-2.0"
] | imasm/Prism.WinForms | Sandbox/WinForms/CommandBinderSample/Properties/Settings.Designer.cs | 1,076 | C# |
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
namespace ReactiveUI;
/// <su... | 31.545455 | 125 | 0.654179 | [
"MIT"
] | PKRoma/ReactiveUI | src/ReactiveUI/Platforms/android/ResolveStrategy.cs | 1,043 | C# |
using System.Collections.Generic;
using ReqTrack.Domain.Core.Entities.ValidationHelpers;
namespace ReqTrack.Domain.Core.UseCases.UseCases.AddUseCase
{
public class AddUseCaseRequest : AddUseCaseInitialRequest
{
public AddUseCaseRequest(string requestedBy) : base(requestedBy)
{
}
... | 27.69697 | 79 | 0.607221 | [
"MIT"
] | jan-kelemen/req-track | ca/src/ReqTrack/Domain.Core.UseCases/UseCases/AddUseCase/AddUseCaseRequest.cs | 916 | C# |
using System.Threading;
using System.Threading.Tasks;
using StarCommander.Application.Services;
using StarCommander.Domain.Players;
using StarCommander.Domain.Ships;
namespace StarCommander.Application.DomainEventHandlers
{
public class LaunchShip : IWhen<PlayerSignedUp>
{
readonly ICommandService commandService;
... | 29.32 | 106 | 0.80764 | [
"MIT"
] | RyanNieuwoudt/StarCommander | StarCommander.Application/DomainEventHandlers/LaunchShip.cs | 733 | C# |
using System;
namespace TAlex.MathCore.NumericalAnalysis.EquationSolvers
{
/// <summary>
/// Represents the solver of equation of a real variable that uses the Newton-Raphson algorithm.
/// </summary>
/// <remarks>
/// Newton's method, also called the Newton-Raphson method, is a root-finding
... | 34.410526 | 105 | 0.574488 | [
"MIT"
] | T-Alex/MathCore | src/TAlex.MathCore.NumericalAnalysis/EquationSolvers/NewtonEquationSolver.cs | 3,271 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Baseline.Dates;
using Marten.Events;
using Marten.Events.Projections.Async;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Marten.Testing.Events.Projections.Async
{
public class FetcherTests: Integrate... | 37.407407 | 206 | 0.532249 | [
"MIT"
] | Crown0815/marten | src/Marten.Testing/Events/Projections/Async/FetcherTests.cs | 7,070 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ember_asp_test.Services
{
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message);
}
}
| 19.846154 | 74 | 0.748062 | [
"MIT"
] | andreicojocaru/ember-asp-core-integration | src/ember-asp-test/Services/IEmailSender.cs | 260 | C# |
namespace BoardCraft.Input
{
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
internal static class ParserHelper
{
public static T GetValue<T>(this JObject jObject, string propertyName)
{
var jVal = jObject.GetValue(propertyName);
return jVal.Value<T>()... | 22.666667 | 78 | 0.620588 | [
"MIT"
] | niyoko/BoardCraft | BoardCraft.Input.Json/ParserHelper.cs | 342 | C# |
using UnityEngine;
public class PoolManager : UnityFakeSingleton<PoolManager> {
public ObjectPool[] _pools;
public void Init() {
foreach (var item in _pools) {
item.Init();
}
}
public GameObject GetObjectFrom(string poolIdentifier) {
ObjectPool pool = null;
foreach (var item in _pools) {
if (item... | 17.37037 | 60 | 0.660981 | [
"MIT"
] | joubierjc/SCHMUP | Assets/Scripts/Managers/PoolManager.cs | 471 | C# |
using System;
namespace PubSubHub.Models
{
public interface ISubscriptionInfo
{
Guid Client { get; set; }
int FailureCount { get; set; }
string Group { get; set; }
Guid Id { get; set; }
DateTime LastRefresh { get; set; }
int Level { get; set; }
string Map... | 24.352941 | 42 | 0.536232 | [
"MIT"
] | frobzig/PubSubHub | PubSubHub/Models/ISubscriptionInfo.cs | 416 | C# |
namespace MassTransit.TestFramework.Courier
{
using System;
using System.Threading.Tasks;
using MassTransit.Courier;
public class ReviseToEmptyItineraryActivity :
IActivity<TestArguments, TestLog>
{
public async Task<ExecutionResult> Execute(ExecuteContext<TestArguments> context)
... | 26.423077 | 103 | 0.643377 | [
"ECL-2.0",
"Apache-2.0"
] | MathiasZander/ServiceFabricPerfomanceTest | src/MassTransit.TestFramework/Courier/ReviseToEmptyItineraryActivity.cs | 689 | C# |
using System;
using System.IO;
using MHLab.Patch.Admin.Editor.Components;
using MHLab.Patch.Admin.Editor.EditorHelpers;
using MHLab.Patch.Admin.Editor.Localization;
using MHLab.Patch.Core.Admin;
using MHLab.Patch.Core.Admin.Localization;
using MHLab.Patch.Core.IO;
using UnityEditor;
using UnityEngine;
namespace MHLab... | 31.723926 | 129 | 0.56082 | [
"MIT"
] | justbake-bit/Block-Drop | Assets/MHLab/Patch/Admin/Editor/AdminWindow.cs | 5,173 | C# |
//
// VNRequestRevision.cs
//
// Authors:
// Alex Soto <alexsoto@microsoft.com>
//
// Copyright 2018 Microsoft Corporation.
//
using System;
using Foundation;
using ObjCRuntime;
namespace Vision {
public partial class VNRequest {
internal static T [] GetSupportedVersions<T> (NSIndexSet indexSet) where T : struc... | 21.536585 | 133 | 0.663647 | [
"BSD-3-Clause"
] | dottam/xamarin-macios | src/Vision/VNRequestRevision.cs | 885 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IntegrationTesting;
using Microsoft.AspNetCore.Testing.xunit;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging.Testing;
using Xunit;
u... | 46.756944 | 161 | 0.61258 | [
"Apache-2.0"
] | SHANG-TING/MusicStore | test/MusicStore.E2ETests/SmokeTestsOnNanoServer.cs | 13,466 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & 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.
#if STRIDE_GRAPHICS_API_DIRECT3D12
using System;
usi... | 43.575 | 163 | 0.701664 | [
"MIT"
] | Alan-love/xenko | sources/engine/Stride.Graphics/Direct3D12/GraphicsResource.Direct3D12.cs | 1,743 | C# |
using System;
using System.Net;
using HealthyWayOfLife.Model.Enums;
namespace HealthyWayOfLife.Model.Models
{
public class HwolException : Exception
{
public LogType LogType { get; set; }
public HttpStatusCode StatusCode { get; }
public string UserInfo { get; }
public HwolExce... | 35.5 | 151 | 0.632719 | [
"MIT"
] | holkurgapprentice/HealthyWayOfLife | HealthyWayOfLife.Model/Models/HwolException.cs | 925 | C# |
//
// Encog(tm) Core v3.1 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2012 Heaton Research, 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
//
// htt... | 29.658147 | 85 | 0.474092 | [
"BSD-3-Clause"
] | mpcoombes/MaterialPredictor | encog-core-cs/Parse/Tags/Write/WriteTags.cs | 9,283 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.