hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
483dbd1daa42d8d09caf7c3d0a4c94b71d41d631 | 202 | cs | C# | SharpCompress.Mini/Common/SevenZip/CCoderInfo.cs | swimmingpanda/FurbMote | 45e7869177f5bd47af5fd1ae5f189df19315d76e | [
"MIT"
] | 1 | 2016-12-13T07:04:40.000Z | 2016-12-13T07:04:40.000Z | SharpCompress.Mini/Common/SevenZip/CCoderInfo.cs | swimmingpanda/FurbMote | 45e7869177f5bd47af5fd1ae5f189df19315d76e | [
"MIT"
] | null | null | null | SharpCompress.Mini/Common/SevenZip/CCoderInfo.cs | swimmingpanda/FurbMote | 45e7869177f5bd47af5fd1ae5f189df19315d76e | [
"MIT"
] | null | null | null | namespace SharpCompress.Common.SevenZip {
internal class CCoderInfo {
internal CMethodId MethodId;
internal byte[] Props;
internal int NumInStreams;
internal int NumOutStreams;
}
} | 22.444444 | 42 | 0.732673 |
484c47653d5a4c8543d4c290b435de97ea9107a0 | 1,532 | cs | C# | KoiVM.Confuser.Processor/RC4.cs | Kinimiwar/KoiVM-Virtualization | a7abc26356833267eb1aced9a2ef62a762e22c4a | [
"MIT"
] | 172 | 2018-08-29T22:50:00.000Z | 2022-03-29T12:09:00.000Z | KoiVM.Confuser.Processor/RC4.cs | Tanasittx/KoiVM-Virtualization | a7abc26356833267eb1aced9a2ef62a762e22c4a | [
"MIT"
] | 12 | 2018-11-28T04:35:33.000Z | 2022-03-05T20:42:49.000Z | KoiVM.Confuser.Processor/RC4.cs | Techlord-RCE/KoiVM-Virtualization | a7abc26356833267eb1aced9a2ef62a762e22c4a | [
"MIT"
] | 66 | 2018-08-30T12:26:01.000Z | 2022-03-29T16:24:58.000Z | namespace KoiVM.Confuser.Processor
{
public class RC4
{
// Adopted from BouncyCastle
private static readonly int STATE_LENGTH = 256;
private readonly byte[] engineState;
private int x;
private int y;
public RC4(byte[] key)
{
x = 0;
... | 27.854545 | 99 | 0.421671 |
3e6025225ea4a2f1f18df966fb3f75ace558a18f | 11,884 | cs | C# | IceCoffee.Common/Templates/StringTemplate.cs | 1249993110/IceCoffee.Common | 078f918cd5a427c38ff97a88523d724c7737b69f | [
"MIT"
] | 3 | 2020-07-25T08:41:32.000Z | 2020-10-26T08:24:42.000Z | IceCoffee.Common/Templates/StringTemplate.cs | 1249993110/IceCoffee.Common | 078f918cd5a427c38ff97a88523d724c7737b69f | [
"MIT"
] | null | null | null | IceCoffee.Common/Templates/StringTemplate.cs | 1249993110/IceCoffee.Common | 078f918cd5a427c38ff97a88523d724c7737b69f | [
"MIT"
] | null | null | null | using Microsoft.CSharp.RuntimeBinder;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace IceCoffee.Common.Templates
{
/// <summary>
/// Lightweight string templating class
... | 59.42 | 237 | 0.563363 |
8e5fb39e31f6a4697292966b7f35ffed9fe0ee24 | 183,018 | cs | C# | sdk/src/Services/DatabaseMigrationService/Generated/_bcl35/AmazonDatabaseMigrationServiceClient.cs | ourobouros/aws-sdk-net | 36f8d9083c330f4cf07e20765d9e120278626178 | [
"Apache-2.0"
] | null | null | null | sdk/src/Services/DatabaseMigrationService/Generated/_bcl35/AmazonDatabaseMigrationServiceClient.cs | ourobouros/aws-sdk-net | 36f8d9083c330f4cf07e20765d9e120278626178 | [
"Apache-2.0"
] | null | null | null | sdk/src/Services/DatabaseMigrationService/Generated/_bcl35/AmazonDatabaseMigrationServiceClient.cs | ourobouros/aws-sdk-net | 36f8d9083c330f4cf07e20765d9e120278626178 | [
"Apache-2.0"
] | null | null | null | /*
* 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... | 60.682361 | 206 | 0.699002 |
aef0ddd9799acc8d8c07dcb6ff04bd9be32352b1 | 877 | cs | C# | Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Match/MatchFileDefinition.cs | MinexAutomation/Public | 4d3eb5c2a0e112198503cb9c95ab4427546b7085 | [
"MIT"
] | null | null | null | Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Match/MatchFileDefinition.cs | MinexAutomation/Public | 4d3eb5c2a0e112198503cb9c95ab4427546b7085 | [
"MIT"
] | 1 | 2021-03-09T20:53:00.000Z | 2021-03-09T20:53:00.000Z | Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Match/MatchFileDefinition.cs | SafetyCone/Public | 4d3eb5c2a0e112198503cb9c95ab4427546b7085 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace Eshunna.Lib.Match
{
public class MatchFileDefinition
{
public List<string> FileNamesInOrder { get; set; }
public Dictionary<string, RecordLocation> RecordLocationsByFileName { get; set; }
public byte[] Trivia { get; s... | 31.321429 | 143 | 0.641961 |
e717920f50b34a90c6fedaa5cc9af4adb325694c | 2,430 | cs | C# | src/GriffinPlus.Lib.Logging/ILogMessageInitializer.cs | GriffinPlus/dotnet-libs-logging | 6cf11ff6b981c9c91d17e63dc18c8b52f808cce8 | [
"MIT"
] | 1 | 2022-01-27T06:28:58.000Z | 2022-01-27T06:28:58.000Z | src/GriffinPlus.Lib.Logging/ILogMessageInitializer.cs | GriffinPlus/dotnet-libs-logging | 6cf11ff6b981c9c91d17e63dc18c8b52f808cce8 | [
"MIT"
] | 4 | 2020-10-31T16:31:52.000Z | 2020-11-01T11:43:26.000Z | src/GriffinPlus.Lib.Logging/ILogMessageInitializer.cs | GriffinPlus/dotnet-libs-logging | 6cf11ff6b981c9c91d17e63dc18c8b52f808cce8 | [
"MIT"
] | 2 | 2020-11-18T06:35:16.000Z | 2021-11-15T06:40:24.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of the Griffin+ common library suite (https://github.com/griffinplus/dotnet-libs-logging)
// The source code is licensed under the MIT license.
//////////////////////////////////... | 45 | 120 | 0.621811 |
f1210c08f53753fccfd746c998c887fabf0fa569 | 1,602 | cs | C# | src/Cake.Common/Tools/NuGet/Update/NuGetUpdateSettings.cs | EvilMindz/cake | 3d5d6fffc6af4bf4e39b394e0902436f6c3ffd4f | [
"MIT"
] | null | null | null | src/Cake.Common/Tools/NuGet/Update/NuGetUpdateSettings.cs | EvilMindz/cake | 3d5d6fffc6af4bf4e39b394e0902436f6c3ffd4f | [
"MIT"
] | null | null | null | src/Cake.Common/Tools/NuGet/Update/NuGetUpdateSettings.cs | EvilMindz/cake | 3d5d6fffc6af4bf4e39b394e0902436f6c3ffd4f | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.NuGet.Update
{
/// <summary>
/// Contains settings used by <see cref="NuGetUpdater"/>.
/// </summary>
public sealed class NuGetUpdateSettings : ToolSettings
{
/// <summary>
/// Gets or sets the p... | 35.6 | 99 | 0.580524 |
9c9d1d776e75b32c93ed9d6f258d8b822b6d6302 | 2,522 | cs | C# | Microsoft.Azure.Cosmos/src/Resource/CosmosResourceReference.cs | simplynaveen20/azure-cosmos-dotnet-v3 | c840278929cfbc40fb7644dc1d6c9488dc925ae4 | [
"MIT"
] | null | null | null | Microsoft.Azure.Cosmos/src/Resource/CosmosResourceReference.cs | simplynaveen20/azure-cosmos-dotnet-v3 | c840278929cfbc40fb7644dc1d6c9488dc925ae4 | [
"MIT"
] | null | null | null | Microsoft.Azure.Cosmos/src/Resource/CosmosResourceReference.cs | simplynaveen20/azure-cosmos-dotnet-v3 | c840278929cfbc40fb7644dc1d6c9488dc925ae4 | [
"MIT"
] | null | null | null | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Text;
/// <summary>
/// A base class for a the clie... | 32.333333 | 149 | 0.545995 |
fba29d942134ab94f1b9a2f65b974024ab9034c0 | 6,739 | cs | C# | SyncHueWin10/SyncHueWin10/view/FormMain.Designer.cs | NathanKun/sync-hue-win10 | cff52fd87ec3637efb57854d73aa7a58515fa726 | [
"Unlicense"
] | null | null | null | SyncHueWin10/SyncHueWin10/view/FormMain.Designer.cs | NathanKun/sync-hue-win10 | cff52fd87ec3637efb57854d73aa7a58515fa726 | [
"Unlicense"
] | null | null | null | SyncHueWin10/SyncHueWin10/view/FormMain.Designer.cs | NathanKun/sync-hue-win10 | cff52fd87ec3637efb57854d73aa7a58515fa726 | [
"Unlicense"
] | null | null | null | namespace SyncHueWin10.view
{
partial class FormMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 tr... | 46.798611 | 99 | 0.616857 |
221a8379beadaa338a17c97c6f6d8bf72cca0a4b | 1,220 | cs | C# | GenericRepository.DAL/Repositories/Conrete/Repository.cs | fcetinkaya/GenericRepository | 0b4247afc8804336fad15fd66605c02eef57fd49 | [
"MIT"
] | 1 | 2019-03-11T06:41:54.000Z | 2019-03-11T06:41:54.000Z | GenericRepository.DAL/Repositories/Conrete/Repository.cs | fcetinkaya/GenericRepository | 0b4247afc8804336fad15fd66605c02eef57fd49 | [
"MIT"
] | null | null | null | GenericRepository.DAL/Repositories/Conrete/Repository.cs | fcetinkaya/GenericRepository | 0b4247afc8804336fad15fd66605c02eef57fd49 | [
"MIT"
] | null | null | null | using GenericRepository.DAL.Repositories.Abstract;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericRepository.DAL.Repositories.Conrete
{
public class Repository<TEntity> : IRepository<TEntity> where TEnti... | 23.461538 | 80 | 0.585246 |
1486502a63ab66902143aee12c277c5022b7c8a9 | 299 | cs | C# | src/SampleAPI/Queries/IUserQueries.cs | dacanizares/AspCore.SampleAPI | 8ac7f1198d3c4d94b3a251f231897d134ce94079 | [
"MIT"
] | 1 | 2019-05-31T04:21:50.000Z | 2019-05-31T04:21:50.000Z | src/SampleAPI/Queries/IUserQueries.cs | dacanizares/AspCore.SampleAPI | 8ac7f1198d3c4d94b3a251f231897d134ce94079 | [
"MIT"
] | 2 | 2019-11-01T03:21:51.000Z | 2019-11-02T03:50:44.000Z | src/SampleAPI/Queries/IUserQueries.cs | dacanizares/AspCore.SampleAPI | 8ac7f1198d3c4d94b3a251f231897d134ce94079 | [
"MIT"
] | 2 | 2019-05-31T03:54:37.000Z | 2019-11-22T05:08:54.000Z | using SampleAPI.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SampleAPI.Queries
{
public interface IUserQueries
{
Task<List<User>> FindAllAsync();
Task<User> FindByUsernameAsync(string username);
}
}
| 19.933333 | 56 | 0.725753 |
2d010ed2d4438787f2bcced37aae0b8f9d574c59 | 114 | cshtml | C# | Areas/Performance/Views/GriderStar/PartialUser.cshtml | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | 1 | 2019-08-20T06:48:08.000Z | 2019-08-20T06:48:08.000Z | Areas/Performance/Views/GriderStar/PartialUser.cshtml | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | null | null | null | Areas/Performance/Views/GriderStar/PartialUser.cshtml | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | null | null | null | @{
ViewBag.Title = "PartialCity";
}
@Html.DropDownList("GridMemberID", (List<SelectListItem>)ViewBag.User)
| 16.285714 | 70 | 0.701754 |
2167b26d0374f363339dec9cd10d3a27419948f2 | 813 | cs | C# | WebApi/Controllers/OData/UserElementCellController.cs | carolineh101/WealthEconomy | 80e34c47e6fe6ba7bad2fe482b274d147b0133b5 | [
"MIT"
] | 5 | 2021-06-25T03:01:01.000Z | 2021-06-28T13:45:30.000Z | WebApi/Controllers/OData/UserElementCellController.cs | angelfeliz/WealthEconomy | eb643aee801a5e2d2eb5a0894cbf73452dfd5bb4 | [
"MIT"
] | null | null | null | WebApi/Controllers/OData/UserElementCellController.cs | angelfeliz/WealthEconomy | eb643aee801a5e2d2eb5a0894cbf73452dfd5bb4 | [
"MIT"
] | null | null | null | namespace forCrowd.WealthEconomy.WebApi.Controllers.OData
{
using forCrowd.WealthEconomy.Facade;
using System.Data.Entity;
using System.Net;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.OData;
public partial class UserElementCellController
{
public ... | 31.269231 | 129 | 0.672817 |
2fa0381102715004d36930cf973d5f1cb499e3ed | 2,361 | cs | C# | src/Red-Folder.com/Migrations/20160814161242_InitialDatabase.cs | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | null | null | null | src/Red-Folder.com/Migrations/20160814161242_InitialDatabase.cs | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | 7 | 2020-05-23T16:12:08.000Z | 2021-04-15T09:54:35.000Z | src/Red-Folder.com/Migrations/20160814161242_InitialDatabase.cs | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace RedFolder.com.Migrations
{
public partial class InitialDatabase : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 36.890625 | 122 | 0.507412 |
41db1a967edc4241c54a198ddc42466d2eafa754 | 4,536 | cs | C# | DataManager/Models/CarraraSQL/Job.cs | kazunetakeda25/data-manager | ae9ecc318bd09c9dc5b3b35f7dc1cc195fe61d7e | [
"Apache-2.0"
] | 5 | 2020-07-31T15:45:28.000Z | 2021-08-01T20:49:26.000Z | DataManager/Models/CarraraSQL/Job.cs | reysantana/data-manager | ae9ecc318bd09c9dc5b3b35f7dc1cc195fe61d7e | [
"Apache-2.0"
] | null | null | null | DataManager/Models/CarraraSQL/Job.cs | reysantana/data-manager | ae9ecc318bd09c9dc5b3b35f7dc1cc195fe61d7e | [
"Apache-2.0"
] | null | null | null | namespace DataManager.Models.CarraraSQL
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
using System.Linq;
using System.Web.Mv... | 34.892308 | 128 | 0.626543 |
514ddc230b8398cdbc624321f1aa11aacf452215 | 25,294 | cs | C# | src/HealthcareApis/generated/api/Models/Api20211101/IotFhirDestination.cs | yifanz0/azure-powershell | 4597dd4b854955b7ddd7f4a3392f47e881886689 | [
"MIT"
] | null | null | null | src/HealthcareApis/generated/api/Models/Api20211101/IotFhirDestination.cs | yifanz0/azure-powershell | 4597dd4b854955b7ddd7f4a3392f47e881886689 | [
"MIT"
] | null | null | null | src/HealthcareApis/generated/api/Models/Api20211101/IotFhirDestination.cs | yifanz0/azure-powershell | 4597dd4b854955b7ddd7f4a3392f47e881886689 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 90.985612 | 557 | 0.754685 |
a479a118e9583ece3d19563733939ab31485acb4 | 820 | cs | C# | Engine/Skills/WaterSpells/OceanWave.cs | kalllllor/GameC | 29c8cabe723ca7edfa86a0dc81893c152dba0be3 | [
"MIT"
] | null | null | null | Engine/Skills/WaterSpells/OceanWave.cs | kalllllor/GameC | 29c8cabe723ca7edfa86a0dc81893c152dba0be3 | [
"MIT"
] | null | null | null | Engine/Skills/WaterSpells/OceanWave.cs | kalllllor/GameC | 29c8cabe723ca7edfa86a0dc81893c152dba0be3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Game.Engine.CharacterClasses;
namespace Game.Engine.Skills.WaterSpells
{
[Serializable]
class OceanWave : Skill
{
public OceanWave() : base("Ocean Wave", 15, 3)
{
PublicName = "Ocean Wave: 0.4*MP + 0.1*STR damage [water]"; ... | 32.8 | 142 | 0.593902 |
7b5f60512d41c20392a6347b60fb5b9a91c8e7dd | 2,866 | cs | C# | Web/DentalStudio.Web/Areas/Medicine/Controllers/DoctorsController.cs | GalyaIT/Dental-Studio | 66ab5de24dfafb92d58559ad7e3412539422f21d | [
"MIT"
] | null | null | null | Web/DentalStudio.Web/Areas/Medicine/Controllers/DoctorsController.cs | GalyaIT/Dental-Studio | 66ab5de24dfafb92d58559ad7e3412539422f21d | [
"MIT"
] | null | null | null | Web/DentalStudio.Web/Areas/Medicine/Controllers/DoctorsController.cs | GalyaIT/Dental-Studio | 66ab5de24dfafb92d58559ad7e3412539422f21d | [
"MIT"
] | null | null | null | namespace DentalStudio.Web.Areas.Medicine.Controllers
{
using System.Security.Claims;
using System.Threading.Tasks;
using DentalStudio.Common;
using DentalStudio.Services;
using DentalStudio.Services.Data;
using DentalStudio.Services.Mapping;
using DentalStudio.Services.Models;
using De... | 34.95122 | 134 | 0.640265 |
b44ba12e77b7163129d22a72b77a8272b47ae080 | 217 | cs | C# | src/Line.Messaging/Messages/Flex/Style/BoxStyle.cs | rikupin1105/LineMessagingApi | 115a51293ea67af8d09d5ca2037bbc78a25b0afa | [
"MIT"
] | null | null | null | src/Line.Messaging/Messages/Flex/Style/BoxStyle.cs | rikupin1105/LineMessagingApi | 115a51293ea67af8d09d5ca2037bbc78a25b0afa | [
"MIT"
] | 11 | 2021-01-22T12:25:52.000Z | 2021-01-22T13:37:46.000Z | src/Line.Messaging/Messages/Flex/Style/BoxStyle.cs | rikupin1105/LineMessagingApi | 115a51293ea67af8d09d5ca2037bbc78a25b0afa | [
"MIT"
] | null | null | null | namespace Line.Messaging
{
public class BlockStyle
{
public string BackgroundColor { get; set; }
public bool Separator { get; set; }
public string SeparatorColor { get; set; }
}
}
| 21.7 | 51 | 0.612903 |
65d9c13d82dc7f2396a057bafe8517f07d725255 | 587 | cs | C# | Auth.Sample/Auth.Sample.Application/Implement/UserApplication.cs | wangze1991/Auth | fc4374cc74e6899939995260e2a23fe5dd1328e5 | [
"Apache-2.0"
] | null | null | null | Auth.Sample/Auth.Sample.Application/Implement/UserApplication.cs | wangze1991/Auth | fc4374cc74e6899939995260e2a23fe5dd1328e5 | [
"Apache-2.0"
] | null | null | null | Auth.Sample/Auth.Sample.Application/Implement/UserApplication.cs | wangze1991/Auth | fc4374cc74e6899939995260e2a23fe5dd1328e5 | [
"Apache-2.0"
] | null | null | null | using Auth.Sample.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utils;
using Auth.Sample.Repository;
namespace Auth.Sample.Application
{
public class UserApplication : BaseApplication<T_User, IUserRepository>, IUserApplication
... | 22.576923 | 93 | 0.686542 |
5a4fb04e879b6ff7967d29d4678713b302bbd8e0 | 281 | cs | C# | src/Handlebars.Net.Helpers.Core/Enums/Category.cs | mrbelk/Handlebars.Net.Helpers | a3a828fe515a0f3ebe7d4c2617ce7af91eee27bf | [
"MIT"
] | null | null | null | src/Handlebars.Net.Helpers.Core/Enums/Category.cs | mrbelk/Handlebars.Net.Helpers | a3a828fe515a0f3ebe7d4c2617ce7af91eee27bf | [
"MIT"
] | null | null | null | src/Handlebars.Net.Helpers.Core/Enums/Category.cs | mrbelk/Handlebars.Net.Helpers | a3a828fe515a0f3ebe7d4c2617ce7af91eee27bf | [
"MIT"
] | null | null | null | namespace HandlebarsDotNet.Helpers.Enums
{
public enum Category
{
Constants,
Enumerable,
Math,
Regex,
String,
Url,
DateTime,
XPath,
Xeger,
Random,
JsonPath,
DynamicLinq
}
} | 15.611111 | 41 | 0.480427 |
8fe646eb9aea01617d6efc54e69443d6f2a85f89 | 1,416 | cs | C# | Rawr.ShadowPriest/Spells/Shadow/ShadowWordDeath.cs | Refuge89/rawr | 0d0375438bee0edea74b631dcaa0db99ab70cc89 | [
"blessing",
"Apache-2.0",
"MIT"
] | 1 | 2019-06-27T07:42:46.000Z | 2019-06-27T07:42:46.000Z | Rawr.ShadowPriest/Spells/Shadow/ShadowWordDeath.cs | Ultis/rawr | 0d0375438bee0edea74b631dcaa0db99ab70cc89 | [
"blessing",
"Apache-2.0",
"MIT"
] | null | null | null | Rawr.ShadowPriest/Spells/Shadow/ShadowWordDeath.cs | Ultis/rawr | 0d0375438bee0edea74b631dcaa0db99ab70cc89 | [
"blessing",
"Apache-2.0",
"MIT"
] | 11 | 2016-01-26T16:17:14.000Z | 2021-12-22T20:48:21.000Z | using System;
namespace Rawr.ShadowPriest.Spells
{
public class ShadowWordDeath : DD
{
public ShadowWordDeath()
: base()
{
}
protected override void SetBaseValues()
{
base.SetBaseValues();
baseScaling = 0.319000005722... | 24.842105 | 87 | 0.483757 |
d3a2512f054ad83aa1a9b27597c6174b60f79ca6 | 2,209 | cs | C# | DatabaseCURDApp/Controllers/EmployeeController.cs | skbhati199/DatabaseCURDApp | 11e2a037a861445fcd1b7456b584485af2f7db41 | [
"Apache-2.0"
] | null | null | null | DatabaseCURDApp/Controllers/EmployeeController.cs | skbhati199/DatabaseCURDApp | 11e2a037a861445fcd1b7456b584485af2f7db41 | [
"Apache-2.0"
] | null | null | null | DatabaseCURDApp/Controllers/EmployeeController.cs | skbhati199/DatabaseCURDApp | 11e2a037a861445fcd1b7456b584485af2f7db41 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using BusinessLayer;
namespace DatabaseCURDApp.Controllers
{
public class EmployeeController : Controller
{
// GET: Employee
public ActionResult Index()
{
BusinessDbLayer employeeBusine... | 26.614458 | 92 | 0.572657 |
d3f7f9dd7d298bac49b6733dd5ae1669ef37f5ca | 3,924 | cs | C# | Assets/WorldMaps/Scripts/OnlineTextures/WMSTexture.cs | david3dwood/2018.3_i-3D_Template | af452e172cbf70a9ea5cad67c913a3f5b30e64e2 | [
"MIT"
] | null | null | null | Assets/WorldMaps/Scripts/OnlineTextures/WMSTexture.cs | david3dwood/2018.3_i-3D_Template | af452e172cbf70a9ea5cad67c913a3f5b30e64e2 | [
"MIT"
] | 36 | 2018-04-24T08:25:28.000Z | 2018-05-03T18:27:39.000Z | CityQuest/Assets/WorldMaps/Scripts/OnlineTextures/WMSTexture.cs | TeamBurtonPain/LyonVRTourism | 3ca815975b84b57bfab03c2833c192510f1612aa | [
"Apache-2.0"
] | null | null | null | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
public class WMSTexture : OnlineTexture {
public string serverURL = "http://129.206.228.72/cached/osm";
public string wmsRequestID = "";
public bool keepBoundingBoxRatio = false;
public Vector2 bot... | 29.503759 | 119 | 0.707951 |
e359ab9ff4c47bf6986ce396eac6f52b6c2e7dcc | 432 | cs | C# | PLATFORM/VirtoCommerce.Platform.Data/Infrastructure/DbMigrationContext.cs | VirtoCommerce-archieve/vc-integrations | 0e62faa95e9a2cc4bc9d8dc8f11e04adebc90afe | [
"ADSL"
] | 2 | 2021-03-24T23:06:46.000Z | 2021-06-24T06:11:00.000Z | PLATFORM/VirtoCommerce.Platform.Data/Infrastructure/DbMigrationContext.cs | VirtoCommerce-archieve/vc-integrations | 0e62faa95e9a2cc4bc9d8dc8f11e04adebc90afe | [
"ADSL"
] | null | null | null | PLATFORM/VirtoCommerce.Platform.Data/Infrastructure/DbMigrationContext.cs | VirtoCommerce-archieve/vc-integrations | 0e62faa95e9a2cc4bc9d8dc8f11e04adebc90afe | [
"ADSL"
] | 1 | 2021-04-09T05:44:51.000Z | 2021-04-09T05:44:51.000Z | using System.Data.Entity;
namespace VirtoCommerce.Platform.Data.Infrastructure
{
public class DbMigrationContext
{
private static DbMigrationContext _dbMigrationContext;
public string DatabaseName { get; set; }
public static DbMigrationContext Current
{
get
{
if (_dbMigrationContext == null)
... | 17.28 | 56 | 0.712963 |
00e2b652b6442b026be955475f44ec1ca9c2ef65 | 4,861 | cs | C# | app.verify/D.MTExtDefinitions/04.IntFact.v2.RuleSetProvider/IF_NDTM_RSP.05CompareResult1.cs | SergeyVYakhontov/PeqNPApp | 5ebcadf8493df4623166dd6ed62aeabb727be5aa | [
"MIT"
] | 1 | 2021-11-29T18:48:53.000Z | 2021-11-29T18:48:53.000Z | app.verify/D.MTExtDefinitions/04.IntFact.v2.RuleSetProvider/IF_NDTM_RSP.05CompareResult1.cs | SergeyVYakhontov/PeqNPApp | 5ebcadf8493df4623166dd6ed62aeabb727be5aa | [
"MIT"
] | 1 | 2021-03-26T17:12:46.000Z | 2021-03-26T17:12:46.000Z | app.verify/D.MTExtDefinitions/04.IntFact.v2.RuleSetProvider/IF_NDTM_RSP.05CompareResult1.cs | SergeyVYakhontov/PeqNPApp | 5ebcadf8493df4623166dd6ed62aeabb727be5aa | [
"MIT"
] | 1 | 2021-11-29T16:20:15.000Z | 2021-11-29T16:20:15.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using Core;
using ExistsAcceptingPath;
////////////////////////////////////////////////////////////////////... | 35.742647 | 106 | 0.482205 |
00e3615cd4c4d1c67e64d174350a0004f4560ef4 | 1,323 | cs | C# | dogatombok/Program.cs | bozotomi/githubgyakffo | 03c4f6260648f7f1d9204c986326aca878ef0f93 | [
"MIT"
] | null | null | null | dogatombok/Program.cs | bozotomi/githubgyakffo | 03c4f6260648f7f1d9204c986326aca878ef0f93 | [
"MIT"
] | null | null | null | dogatombok/Program.cs | bozotomi/githubgyakffo | 03c4f6260648f7f1d9204c986326aca878ef0f93 | [
"MIT"
] | null | null | null |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Random r = new Random();
Console.Write("Hány szavas legyen a mondat? "... | 25.442308 | 80 | 0.43613 |
107b79693cb42c3e5e002baeea7c3e7efb3b774b | 298 | cs | C# | Assets/Scripts/ssj2019/Data/GameUIData.cs | pdxparrot/ssj2019 | 6d27603975a2f746403d0801ee26222fbd70796c | [
"Apache-2.0"
] | 1 | 2019-06-26T03:26:00.000Z | 2019-06-26T03:26:00.000Z | Assets/Scripts/ssj2019/Data/GameUIData.cs | pdxparrot/ssj2019 | 6d27603975a2f746403d0801ee26222fbd70796c | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/ssj2019/Data/GameUIData.cs | pdxparrot/ssj2019 | 6d27603975a2f746403d0801ee26222fbd70796c | [
"Apache-2.0"
] | null | null | null | using System;
using pdxpartyparrot.Game.Data;
using UnityEngine;
namespace pdxpartyparrot.ssj2019.Data
{
[CreateAssetMenu(fileName="GameUIData", menuName="pdxpartyparrot/ssj2019/Data/Game UI Data")]
[Serializable]
public sealed class GameUIData : Game.Data.GameUIData
{
}
}
| 19.866667 | 97 | 0.741611 |
c84ade4298dabf31ea4f29754881cb7b7a81233d | 8,138 | cs | C# | OpenTibia/OpenTibia.Controls/HsiColorGrid.cs | totolol123/open-tibia | c10bb369a8312249c838fb78d2d01f059b1bf9ae | [
"MIT"
] | null | null | null | OpenTibia/OpenTibia.Controls/HsiColorGrid.cs | totolol123/open-tibia | c10bb369a8312249c838fb78d2d01f059b1bf9ae | [
"MIT"
] | null | null | null | OpenTibia/OpenTibia.Controls/HsiColorGrid.cs | totolol123/open-tibia | c10bb369a8312249c838fb78d2d01f059b1bf9ae | [
"MIT"
] | 2 | 2018-02-17T01:30:05.000Z | 2019-07-26T13:10:44.000Z | #region Licence
/**
* Copyright (C) 2015 Open Tibia Tools <https://github.com/ottools/open-tibia>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at you... | 31.3 | 135 | 0.511182 |
76f9b2a76d5567a5e404c9efe3e891eaab8f8fce | 1,341 | cs | C# | sample/MongoDB.HealthCheck.Sample/Program.cs | buvinghausen/MongoDB.HealthCheck | a21acaecc1460d5d812277bd594726addc7b1170 | [
"MIT"
] | 10 | 2018-11-13T20:08:11.000Z | 2022-02-10T14:00:41.000Z | sample/MongoDB.HealthCheck.Sample/Program.cs | buvinghausen/MongoDB.HealthCheck | a21acaecc1460d5d812277bd594726addc7b1170 | [
"MIT"
] | 1 | 2021-09-15T21:08:05.000Z | 2021-09-15T21:08:05.000Z | sample/MongoDB.HealthCheck.Sample/Program.cs | buvinghausen/MongoDB.HealthCheck | a21acaecc1460d5d812277bd594726addc7b1170 | [
"MIT"
] | 2 | 2019-03-13T11:45:10.000Z | 2021-03-17T14:26:56.000Z | using MongoDB.Driver;
using MongoDB.Driver.Core.Extensions.DiagnosticSources;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using SequentialGuid;
var builder = WebApplication.CreateBuilder(args);
var url = new MongoUrl(builder.Configuration.GetConnectionString("Mongo"));
var settings = MongoClientSettings.... | 35.289474 | 132 | 0.787472 |
7a0ea6c40eac915b0bd4f290f6cdf427746440c1 | 124 | cs | C# | Spinner/Aspects/MethodLevelAspect.cs | Inverness/Ramp.Aspects | 5686922b3cb8aa0a2c6b9ca2cf2e5954d5f67cd8 | [
"MIT"
] | 4 | 2016-01-04T22:47:56.000Z | 2016-08-27T01:57:56.000Z | Spinner/Aspects/MethodLevelAspect.cs | Inverness/Spinner | 5686922b3cb8aa0a2c6b9ca2cf2e5954d5f67cd8 | [
"MIT"
] | null | null | null | Spinner/Aspects/MethodLevelAspect.cs | Inverness/Spinner | 5686922b3cb8aa0a2c6b9ca2cf2e5954d5f67cd8 | [
"MIT"
] | null | null | null | namespace Spinner.Aspects
{
public abstract class MethodLevelAspect : Aspect, IMethodLevelAspect
{
}
} | 17.714286 | 72 | 0.669355 |
30eba6ef044d04139788f8213fd73d07f39362ff | 818 | cs | C# | src/Debugosaurus.BigUnits/Framework/Construction/ConstructorBuildAction.cs | debugosaurus/BigUnits | e0c120882388713d1ca60b2113472625bf3a98f0 | [
"MIT"
] | null | null | null | src/Debugosaurus.BigUnits/Framework/Construction/ConstructorBuildAction.cs | debugosaurus/BigUnits | e0c120882388713d1ca60b2113472625bf3a98f0 | [
"MIT"
] | 3 | 2020-02-10T18:35:36.000Z | 2020-03-15T08:16:59.000Z | src/Debugosaurus.BigUnits/Framework/Construction/ConstructorBuildAction.cs | debugosaurus/BigUnits | e0c120882388713d1ca60b2113472625bf3a98f0 | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using System.Reflection;
namespace Debugosaurus.BigUnits.Framework.Construction
{
public class ConstructorBuildAction : IBuildAction
{
private readonly Type _type;
private readonly ConstructorInfo _constructor;
public ConstructorBuildAction(
... | 23.371429 | 55 | 0.58802 |
1805021b0b4c731e3e9d6b738b725ce2368b73b1 | 417 | cs | C# | Assets/DialogueSystem/Scripts/Builders/TextEffectBuilders/WaveEffectBuilder.cs | ricgby/UnityDialogueSystem | c1d50209184c0eebb3786d02c05ad1d30c94c1d7 | [
"MIT"
] | 53 | 2018-06-30T03:10:42.000Z | 2021-08-06T18:35:59.000Z | Assets/DialogueSystem/Scripts/Builders/TextEffectBuilders/WaveEffectBuilder.cs | Ricgby/UnityDialogueSystem | c1d50209184c0eebb3786d02c05ad1d30c94c1d7 | [
"MIT"
] | 19 | 2018-08-19T20:29:35.000Z | 2018-08-23T18:27:05.000Z | Assets/DialogueSystem/Scripts/Builders/TextEffectBuilders/WaveEffectBuilder.cs | Ricgby/UnityDialogueSystem | c1d50209184c0eebb3786d02c05ad1d30c94c1d7 | [
"MIT"
] | 8 | 2018-08-07T08:25:17.000Z | 2021-08-13T14:13:34.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class WaveEffectBuilder : ITextEffectBuilder
{
private float currentOffset = 0;
public TextEffect Build( GameObject gameObject )
{
WaveEffect effect = new WaveEffect( gameObject );
... | 23.166667 | 57 | 0.70024 |
e160cdbc9e7d2714e265105aacf5e9f4df3032f5 | 2,761 | cs | C# | source/MikhailKhalizev.Max/source/Program/Auto/z-100b-7b28.cs | mikhail-khalizev/max | dd20e7f3a8a0972a4240d240fea0b2e89938983b | [
"Apache-2.0"
] | 3 | 2020-08-04T13:18:57.000Z | 2020-12-06T20:22:19.000Z | source/MikhailKhalizev.Max/source/Program/Auto/z-100b-7b28.cs | mikhail-khalizev/max | dd20e7f3a8a0972a4240d240fea0b2e89938983b | [
"Apache-2.0"
] | null | null | null | source/MikhailKhalizev.Max/source/Program/Auto/z-100b-7b28.cs | mikhail-khalizev/max | dd20e7f3a8a0972a4240d240fea0b2e89938983b | [
"Apache-2.0"
] | null | null | null | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100b_7b28-ded7434e")]
public void Method_100b_7b28()
{
ii(0x100b_7b28, 5); push(0x28); ... | 67.341463 | 114 | 0.415067 |
d22ca253c09640569ea2c3968ee62c209069d5d8 | 41,112 | cs | C# | src/Cosmos.Core/Cosmos/Reflection/TypeReflections.Attributes.cs | cosmos-stack/cosmos-standard | ac831fae6dce0a1b7ba956af0644b06c8d2f391d | [
"Apache-2.0"
] | 7 | 2019-01-23T10:57:41.000Z | 2019-03-01T07:19:23.000Z | src/Cosmos.Core/Cosmos/Reflection/TypeReflections.Attributes.cs | cosmos-loops/Cosmos.Standard | ac831fae6dce0a1b7ba956af0644b06c8d2f391d | [
"Apache-2.0"
] | 20 | 2019-09-02T06:02:30.000Z | 2020-05-27T07:27:59.000Z | src/Cosmos.Core/Cosmos/Reflection/TypeReflections.Attributes.cs | cosmos-stack/cosmos-standard | ac831fae6dce0a1b7ba956af0644b06c8d2f391d | [
"Apache-2.0"
] | 3 | 2019-05-22T04:32:44.000Z | 2020-02-11T06:15:08.000Z | using System.Reflection;
using AspectCore.Extensions.Reflection;
// ReSharper disable PossibleMultipleEnumeration
namespace Cosmos.Reflection;
/// <summary>
/// Reflection options <br />
/// 反射选项
/// </summary>
public enum ReflectionOptions
{
Default = 0,
Inherit = 1
}
/// <summary>
/// Reflection Ambiguous... | 45.227723 | 221 | 0.694955 |
08dede4ca7db12f619ae43da4a1cbf72e13e7d10 | 717 | cs | C# | NPOI.OpenXmlFormats.Spreadsheet/CT_MetadataRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | 1 | 2020-11-18T06:28:07.000Z | 2020-11-18T06:28:07.000Z | NPOI.OpenXmlFormats.Spreadsheet/CT_MetadataRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | NPOI.OpenXmlFormats.Spreadsheet/CT_MetadataRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Spreadsheet
{
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/spreadsheetml/2006/main")]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/spreadsheetml/200... | 15.586957 | 102 | 0.675035 |
eed8cecfd1f94812ac4a924c3d2a99e95672d741 | 2,655 | cs | C# | Ti-poll/Ti-poll/PointsStore.xaml.cs | ClarkThyLord/Ti-poll | 5f152a95ebf3eb8701f8a0102474292f79362b50 | [
"MIT"
] | null | null | null | Ti-poll/Ti-poll/PointsStore.xaml.cs | ClarkThyLord/Ti-poll | 5f152a95ebf3eb8701f8a0102474292f79362b50 | [
"MIT"
] | null | null | null | Ti-poll/Ti-poll/PointsStore.xaml.cs | ClarkThyLord/Ti-poll | 5f152a95ebf3eb8701f8a0102474292f79362b50 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 30.872093 | 151 | 0.572881 |
eee4cff1239741289b7541cc775d1ae5c1a66fbe | 331 | cs | C# | src/benchmarks/Program.cs | SVemulapalli/jasper | 8e648a9ea2ae8c8c2475ad7a934c98f29c711bc3 | [
"MIT"
] | null | null | null | src/benchmarks/Program.cs | SVemulapalli/jasper | 8e648a9ea2ae8c8c2475ad7a934c98f29c711bc3 | [
"MIT"
] | null | null | null | src/benchmarks/Program.cs | SVemulapalli/jasper | 8e648a9ea2ae8c8c2475ad7a934c98f29c711bc3 | [
"MIT"
] | null | null | null | using BenchmarkDotNet.Running;
namespace benchmarks
{
internal class Program
{
private static void Main(string[] args)
{
BenchmarkRunner.Run<InvokeBenchmark>();
BenchmarkRunner.Run<HttpPipelineBenchmark>();
//BenchmarkRunner.Run<PingPongBenchmark>();
... | 22.066667 | 57 | 0.616314 |
6d3398670bce67e27d1080950a1abe5817b7819f | 727 | cs | C# | C#/C#-Part-One/01. Intro-Programming/15. Age-After-Ten-Years/AgeAfterTenYears.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | C#/C#-Part-One/01. Intro-Programming/15. Age-After-Ten-Years/AgeAfterTenYears.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | C#/C#-Part-One/01. Intro-Programming/15. Age-After-Ten-Years/AgeAfterTenYears.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | using System;
using System.Globalization;
using System.Threading;
class AgeAfterTenYearsCalculator
{
static void Main()
{
/*Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years.*/
Thread.CurrentThread.CurrentCulture = Cultu... | 26.925926 | 136 | 0.68088 |
293197f175039a57a17b3499ce5b05a281058ca1 | 275 | cs | C# | kw_goto/kw_goto/Program.cs | autumn009/CSharpPrimer2 | d1c00f010db35deeedcb16ea834efe83372097a3 | [
"MIT"
] | null | null | null | kw_goto/kw_goto/Program.cs | autumn009/CSharpPrimer2 | d1c00f010db35deeedcb16ea834efe83372097a3 | [
"MIT"
] | null | null | null | kw_goto/kw_goto/Program.cs | autumn009/CSharpPrimer2 | d1c00f010db35deeedcb16ea834efe83372097a3 | [
"MIT"
] | null | null | null | for (int x = 0; x < 10; x++)
{
for (int y = 0; y < 10; y++)
{
Console.Write($"x={x},y={y} ");
if (x * y > 20) goto exitLabel;
}
}
// 以下の1行は永遠に実行されない
Console.WriteLine("Loop End");
// 以下の1行はexitLabelという名前のラベル
exitLabel:
Console.WriteLine("Done");
| 19.642857 | 39 | 0.545455 |
f29cf34f9dd8db57ad0e94b3545c68d85914d2ad | 925 | cs | C# | Lesson02/SQLAzureMigration-master/SQLAzureMWUtils/AsyncBCPJobEventArgs.cs | syamnv1/Professional-Azure-SQL-Database-Administration-Second-Edition | befc9e7e01a12de6ba08d314a28f448eb0e16a65 | [
"MIT"
] | 13 | 2019-10-16T16:58:13.000Z | 2022-02-02T18:33:21.000Z | Lesson02/SQLAzureMigration-master/SQLAzureMWUtils/AsyncBCPJobEventArgs.cs | syamnv1/Professional-Azure-SQL-Database-Administration-Second-Edition | befc9e7e01a12de6ba08d314a28f448eb0e16a65 | [
"MIT"
] | null | null | null | Lesson02/SQLAzureMigration-master/SQLAzureMWUtils/AsyncBCPJobEventArgs.cs | syamnv1/Professional-Azure-SQL-Database-Administration-Second-Edition | befc9e7e01a12de6ba08d314a28f448eb0e16a65 | [
"MIT"
] | 12 | 2019-06-27T11:25:08.000Z | 2021-04-10T12:59:15.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace SQLAzureMWUtils
{
public class AsyncBCPJobEventArgs : EventArgs
{
public RichTextBox ResultsTextBox { get; set; }
public CommandStatus Status { get;... | 30.833333 | 137 | 0.655135 |
f41483c19e9bd5b23efdfa298276b2086177bd0d | 2,190 | cs | C# | Source/Classic/Libs/AM.Istu/AM/Istu/BookSupply/Semester.cs | fossabot/ManagedIrbis | 90e09addba9e8358948417123c774d2d1ee6394e | [
"MIT"
] | null | null | null | Source/Classic/Libs/AM.Istu/AM/Istu/BookSupply/Semester.cs | fossabot/ManagedIrbis | 90e09addba9e8358948417123c774d2d1ee6394e | [
"MIT"
] | null | null | null | Source/Classic/Libs/AM.Istu/AM/Istu/BookSupply/Semester.cs | fossabot/ManagedIrbis | 90e09addba9e8358948417123c774d2d1ee6394e | [
"MIT"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* Semester.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using dire... | 19.553571 | 84 | 0.410046 |
1158ffe84c53a453d79d0a06a29ce6d40f67ab8c | 429 | cs | C# | src/ManageRates.Core/src/Policies/DelegateRatePolicy.cs | msgritsenko/ManageRates | 0a3b69ec342653aebc97f856b4247cb47c66eb58 | [
"MIT"
] | null | null | null | src/ManageRates.Core/src/Policies/DelegateRatePolicy.cs | msgritsenko/ManageRates | 0a3b69ec342653aebc97f856b4247cb47c66eb58 | [
"MIT"
] | null | null | null | src/ManageRates.Core/src/Policies/DelegateRatePolicy.cs | msgritsenko/ManageRates | 0a3b69ec342653aebc97f856b4247cb47c66eb58 | [
"MIT"
] | null | null | null | using ManageRates.Core.Abstractions;
using System;
namespace ManageRates.Core.Policies
{
public sealed class DelegateRatePolicy : IManageRatePolicy
{
private readonly Func<ITimeService, bool> _policy;
public DelegateRatePolicy(Func<ITimeService, bool> policy)
{
_policy = p... | 23.833333 | 82 | 0.685315 |
e5525919669d8ec4f7ca52398dacfefc3ac4ca79 | 20,887 | cs | C# | HCsbLib/HCsbLib/HTLib2/HMath.Numerics.LinAlg/LinAlg/LinAlg.Matrix.cs | htna/HCsbLib | dae7f4e3e5e2fbc3b6e619f2ea037f661a8ae097 | [
"MIT"
] | 2 | 2019-01-21T23:45:44.000Z | 2021-06-03T16:34:24.000Z | HCsbLib/HCsbLib/HTLib2/HMath.Numerics.LinAlg/LinAlg/LinAlg.Matrix.cs | htna/HCsbLib | dae7f4e3e5e2fbc3b6e619f2ea037f661a8ae097 | [
"MIT"
] | null | null | null | HCsbLib/HCsbLib/HTLib2/HMath.Numerics.LinAlg/LinAlg/LinAlg.Matrix.cs | htna/HCsbLib | dae7f4e3e5e2fbc3b6e619f2ea037f661a8ae097 | [
"MIT"
] | 2 | 2020-03-05T00:26:38.000Z | 2020-10-08T23:25:29.000Z | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Linq;
namespace HTLib2
{
public static partial class LinAlg
{
static bool Eye_SelfTest = HDebug.IsDebuggerAttached;
public static MatrixByArr... | 42.626531 | 116 | 0.417389 |
e5588aafba30d6b6e8ebb388c14dc14abcbef638 | 873 | cs | C# | CodeInUnity/Assets/CodeInUnity/CodeInUnity/Core/Extensions/StringExtensions.cs | lcnvdl/code-in-unity | 1acfdc90747418d4aeb7c9ea145af3d474f987db | [
"MIT"
] | null | null | null | CodeInUnity/Assets/CodeInUnity/CodeInUnity/Core/Extensions/StringExtensions.cs | lcnvdl/code-in-unity | 1acfdc90747418d4aeb7c9ea145af3d474f987db | [
"MIT"
] | null | null | null | CodeInUnity/Assets/CodeInUnity/CodeInUnity/Core/Extensions/StringExtensions.cs | lcnvdl/code-in-unity | 1acfdc90747418d4aeb7c9ea145af3d474f987db | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeInUnity.Core.Utils;
namespace CodeInUnity.Extensions
{
public static class StringExtensions
{
/// <remarks>
/// Recommended by Unity Team.
/// https://docs.uni... | 28.16129 | 93 | 0.640321 |
73af69de5e4914108ef8a2e5ceca5b52d24006b8 | 1,005 | cs | C# | IzgodnoKupi/IzgodnoKupi/Areas/Admin/Models/OrderItemViewModel/OrderItemAdminViewModel.cs | Camyul/Izgodno-Kupi | 100b2d1d3d22e62e58893c2cd4e789dfd35212ed | [
"MIT"
] | null | null | null | IzgodnoKupi/IzgodnoKupi/Areas/Admin/Models/OrderItemViewModel/OrderItemAdminViewModel.cs | Camyul/Izgodno-Kupi | 100b2d1d3d22e62e58893c2cd4e789dfd35212ed | [
"MIT"
] | null | null | null | IzgodnoKupi/IzgodnoKupi/Areas/Admin/Models/OrderItemViewModel/OrderItemAdminViewModel.cs | Camyul/Izgodno-Kupi | 100b2d1d3d22e62e58893c2cd4e789dfd35212ed | [
"MIT"
] | null | null | null | using IzgodnoKupi.Data.Model;
using IzgodnoKupi.Web.Models.ProductViewModels;
using System;
namespace IzgodnoKupi.Web.Areas.Admin.Models.OrderItemViewModel
{
public class OrderItemAdminViewModel
{
public OrderItemAdminViewModel()
{
}
public OrderItemAdminViewModel(OrderItem or... | 26.447368 | 63 | 0.627861 |
675485546cb13a5f7a24a7b383be79f4ffed265b | 14,234 | cs | C# | Common/UI/DropdownList.cs | NafixWang/SDV-Mods | 09a9dc469c234f6f6a6db920deb62a1c1552a2ae | [
"MIT"
] | null | null | null | Common/UI/DropdownList.cs | NafixWang/SDV-Mods | 09a9dc469c234f6f6a6db920deb62a1c1552a2ae | [
"MIT"
] | null | null | null | Common/UI/DropdownList.cs | NafixWang/SDV-Mods | 09a9dc469c234f6f6a6db920deb62a1c1552a2ae | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.Menus;
namespace CJB.Common.UI
{
/**
This code is copied from Pathoschild.Stardew.Common.UI in https://github.com/Pathoschild/Star... | 38.99726 | 245 | 0.562807 |
a696d8a7e9b28cf407a61a52c26c383ed1909855 | 1,376 | cs | C# | XamarinCommunityToolkit.UnitTests/Converters/StringToIntConverter_tests.cs | daniel-shuy/XamarinCommunityToolkit | fb434676499709c308885516364fe1f99b602a43 | [
"MIT"
] | null | null | null | XamarinCommunityToolkit.UnitTests/Converters/StringToIntConverter_tests.cs | daniel-shuy/XamarinCommunityToolkit | fb434676499709c308885516364fe1f99b602a43 | [
"MIT"
] | null | null | null | XamarinCommunityToolkit.UnitTests/Converters/StringToIntConverter_tests.cs | daniel-shuy/XamarinCommunityToolkit | fb434676499709c308885516364fe1f99b602a43 | [
"MIT"
] | null | null | null | using System;
using System.Globalization;
using Xamarin.CommunityToolkit.Converters;
using Xunit;
namespace Xamarin.CommunityToolkit.UnitTests.Converters
{
public class StringToIntConverter_tests
{
[Theory]
[InlineData("2", 2)]
[InlineData("255", 255)]
[InlineData("99191", 99191)]
public void StringToIntC... | 28.081633 | 152 | 0.757994 |
50af433958ae8bfd9fd35b49cefc43b4831cb02c | 6,666 | cs | C# | src/libs/Bumblebee.buddy.compiler/InstructionTranslator.cs | astorch/buddy-compiler | 4a638e45d9d670f548d08ce24bc31e7769d757f2 | [
"MIT"
] | null | null | null | src/libs/Bumblebee.buddy.compiler/InstructionTranslator.cs | astorch/buddy-compiler | 4a638e45d9d670f548d08ce24bc31e7769d757f2 | [
"MIT"
] | 6 | 2018-08-31T10:28:49.000Z | 2021-02-15T15:10:52.000Z | src/libs/Bumblebee.buddy.compiler/InstructionTranslator.cs | astorch/buddy-compiler | 4a638e45d9d670f548d08ce24bc31e7769d757f2 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using Bumblebee.buddy.compiler.exceptions;
using Bumblebee.buddy.compiler.model;
using Bumblebee.buddy.compiler.model.evaluation;
using Bumblebee.buddy.compiler.model.instructions.german;
using Bumblebee.buddy.compiler.model.patternparameters.ad... | 62.886792 | 192 | 0.69952 |
dd2512574626649a446a58ef75547bee71616c98 | 131 | cshtml | C# | 02. ASP.NET Core In Action/Chapter11/D_UsingDifferentEnvironments/UsingDifferentEnvironments/Pages/_ViewImports.cshtml | pirocorp/ASP.NET-Core-Playground | cb490a1f51dc5543a239acf436d27e00856d5711 | [
"MIT"
] | 157 | 2020-04-29T11:46:34.000Z | 2022-03-26T14:21:33.000Z | Chapter11/D_UsingDifferentEnvironments/UsingDifferentEnvironments/Pages/_ViewImports.cshtml | AnzhelikaKravchuk/asp-dot-net-core-in-action-2e | 306ed1755e417d6a13338501392cb3a372cdce3e | [
"MIT"
] | 3 | 2020-06-07T21:35:59.000Z | 2020-07-21T21:05:48.000Z | Chapter11/D_UsingDifferentEnvironments/UsingDifferentEnvironments/Pages/_ViewImports.cshtml | AnzhelikaKravchuk/asp-dot-net-core-in-action-2e | 306ed1755e417d6a13338501392cb3a372cdce3e | [
"MIT"
] | 70 | 2020-05-10T13:47:35.000Z | 2022-03-13T08:28:49.000Z | @using UsingDifferentEnvironments
@namespace UsingDifferentEnvironments.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 32.75 | 52 | 0.877863 |
dd6794174378a1cf0f07a3e584460c0798d31118 | 18,392 | cs | C# | NDG.ViewModels/CategoryViewModel.cs | nokiadatagathering/WP7-Official | d506bdd50cf502e0272fb66e32280dee85481c5b | [
"BSD-3-Clause"
] | 2 | 2015-04-13T01:46:14.000Z | 2015-04-14T12:34:09.000Z | NDG.ViewModels/CategoryViewModel.cs | nokiadatagathering/WP7-Official | d506bdd50cf502e0272fb66e32280dee85481c5b | [
"BSD-3-Clause"
] | null | null | null | NDG.ViewModels/CategoryViewModel.cs | nokiadatagathering/WP7-Official | d506bdd50cf502e0272fb66e32280dee85481c5b | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Collections.ObjectModel;
using NDG.Helpers.Classes;
using GalaSoft.MvvmLight.Command;
using NDG.DataAccessModels;
using NDG.DataAccessModels.Repositories;
using System.Linq;
using NDG.DataAccessModels.DataModels;
using System.Collections;
using NDG.BussinesLogic.Governors;
using Sy... | 40.780488 | 153 | 0.584113 |
6c2b4d5144c3ef058451736f63170841b06ad9b6 | 603 | cs | C# | HttpSignatureTests/ParseAuthHeaderTest.cs | mountainrocky/http-signatures-csharp | 765500265d36963d3c894c9b594f16baa67d4dc9 | [
"MIT"
] | 1 | 2019-07-28T20:32:09.000Z | 2019-07-28T20:32:09.000Z | HttpSignatureTests/ParseAuthHeaderTest.cs | mountainrocky/http-signatures-csharp | 765500265d36963d3c894c9b594f16baa67d4dc9 | [
"MIT"
] | null | null | null | HttpSignatureTests/ParseAuthHeaderTest.cs | mountainrocky/http-signatures-csharp | 765500265d36963d3c894c9b594f16baa67d4dc9 | [
"MIT"
] | null | null | null | using System;
using HttpSignatures;
using NUnit.Framework;
namespace HttpSignatureTests
{
[TestFixture ()]
public class ParseAuthHeaderTest
{
public ParseAuthHeaderTest (){}
[Test]
public void TestParseAuthHeader ()
{
var authParser = new AuthorizationParser ();
var authHeader = "Signature keyId=\"s... | 25.125 | 170 | 0.719735 |
f5efa1157a8fe18c2e061e2337d047047a165d7e | 4,661 | cs | C# | source/Energinet.DataHub.MeteringPoints.Domain/MasterDataHandling/MasterDataValidator.cs | Energinet-DataHub/geh-metering-point | b1dffd8f22063359a1de4e8dd8d6d5645b146f14 | [
"Apache-2.0"
] | 7 | 2021-05-05T12:15:53.000Z | 2022-02-16T09:31:48.000Z | source/Energinet.DataHub.MeteringPoints.Domain/MasterDataHandling/MasterDataValidator.cs | Energinet-DataHub/geh-metering-point | b1dffd8f22063359a1de4e8dd8d6d5645b146f14 | [
"Apache-2.0"
] | 712 | 2021-04-14T19:10:06.000Z | 2022-03-31T07:26:36.000Z | source/Energinet.DataHub.MeteringPoints.Domain/MasterDataHandling/MasterDataValidator.cs | Energinet-DataHub/geh-metering-point | b1dffd8f22063359a1de4e8dd8d6d5645b146f14 | [
"Apache-2.0"
] | 2 | 2021-05-05T12:42:23.000Z | 2021-06-15T07:35:20.000Z | // Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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 a... | 37.288 | 142 | 0.602231 |
01e0871dd633ae69c66106b01858dad2ed01ad64 | 1,844 | cs | C# | sdk/src/Services/Lambda/Generated/Model/Filter.cs | dariolingotti/aws-sdk-net | d911b68e0d86ac2ffd01e0256aeb4de78a70cdb7 | [
"Apache-2.0"
] | 1,705 | 2015-01-15T19:41:21.000Z | 2022-03-28T15:25:23.000Z | sdk/src/Services/Lambda/Generated/Model/Filter.cs | dariolingotti/aws-sdk-net | d911b68e0d86ac2ffd01e0256aeb4de78a70cdb7 | [
"Apache-2.0"
] | 1,811 | 2015-01-05T19:40:22.000Z | 2022-03-31T19:57:40.000Z | sdk/src/Services/Lambda/Generated/Model/Filter.cs | dariolingotti/aws-sdk-net | d911b68e0d86ac2ffd01e0256aeb4de78a70cdb7 | [
"Apache-2.0"
] | 839 | 2015-01-17T12:51:09.000Z | 2022-03-28T09:59:50.000Z | /*
* 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... | 30.229508 | 112 | 0.646421 |
bfa604d5784d39abe5a0a20de1fae61733d67fce | 1,731 | cs | C# | Smart.IO.ByteMapper.Tests/IO/ByteMapper/Converters/BinaryFloatConverterTest.cs | usausa/Smart-Net-ByteMapper | 0d407c81c57ced305286b7ecf9cafb0e902df4a5 | [
"MIT"
] | 4 | 2018-08-06T09:58:58.000Z | 2019-07-07T03:46:29.000Z | Smart.IO.ByteMapper.Tests/IO/ByteMapper/Converters/BinaryFloatConverterTest.cs | usausa/Smart-Net-ByteMapper | 0d407c81c57ced305286b7ecf9cafb0e902df4a5 | [
"MIT"
] | null | null | null | Smart.IO.ByteMapper.Tests/IO/ByteMapper/Converters/BinaryFloatConverterTest.cs | usausa/Smart-Net-ByteMapper | 0d407c81c57ced305286b7ecf9cafb0e902df4a5 | [
"MIT"
] | 2 | 2019-07-07T03:46:28.000Z | 2021-08-19T04:43:56.000Z | namespace Smart.IO.ByteMapper.Converters
{
using Smart.IO.ByteMapper.Mock;
using Xunit;
public class BigEndianFloatBinaryConverterTest
{
private const int Offset = 1;
private const float Value = 2;
private static readonly byte[] ValueBytes = TestBytes.Offset(Offse... | 26.630769 | 93 | 0.578856 |
bfd7579a99a48d0e3b2136ca1f5baf68b5cc0f8f | 24,224 | cs | C# | FractalObserver/FractalObserverConfiguration.cs | AdrianMagdina/FractalObserver | 25f7ce1058781ae49049a234ba271b83953911e8 | [
"MIT"
] | null | null | null | FractalObserver/FractalObserverConfiguration.cs | AdrianMagdina/FractalObserver | 25f7ce1058781ae49049a234ba271b83953911e8 | [
"MIT"
] | null | null | null | FractalObserver/FractalObserverConfiguration.cs | AdrianMagdina/FractalObserver | 25f7ce1058781ae49049a234ba271b83953911e8 | [
"MIT"
] | null | null | null | // programmed by Adrian Magdina in 2012
// in this file is the implementation of reading and writing and storing of values from configuration xml
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Windows.Forms;
using System.Globalization;
namespace FractalObserv... | 36.209268 | 140 | 0.459586 |
9260407cbe8a796f7ae882c95d1407e0be1b6439 | 3,454 | cs | C# | Fowl Magic/Assets/Scripts/SceneChangeManager.cs | Cyborgdude/Fowl-Magic | 8081965db7c43747c23063f6382af63f3355cbd0 | [
"Apache-2.0"
] | null | null | null | Fowl Magic/Assets/Scripts/SceneChangeManager.cs | Cyborgdude/Fowl-Magic | 8081965db7c43747c23063f6382af63f3355cbd0 | [
"Apache-2.0"
] | null | null | null | Fowl Magic/Assets/Scripts/SceneChangeManager.cs | Cyborgdude/Fowl-Magic | 8081965db7c43747c23063f6382af63f3355cbd0 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class SceneChangeManager : MonoBehaviour
{
private GameScene CurrentScene;
private GameScene NewScene;
[SerializeField]
private AudioClip StartScreenMusic;... | 27.854839 | 109 | 0.625362 |
92d308ef235ae1abb249105e85b8c8000d30a72d | 609 | cs | C# | src/ImmutableObjectGraph.Generation.Tests/TestSources/AbstractClassFamilies.cs | flcdrg/ImmutableObjectGraph | c4e14bd2a825f07c37409424cff8aec09154d116 | [
"MS-PL"
] | 121 | 2015-01-09T02:49:19.000Z | 2022-01-27T17:03:48.000Z | src/ImmutableObjectGraph.Generation.Tests/TestSources/AbstractClassFamilies.cs | flcdrg/ImmutableObjectGraph | c4e14bd2a825f07c37409424cff8aec09154d116 | [
"MS-PL"
] | 83 | 2015-01-21T15:11:12.000Z | 2022-03-16T12:31:56.000Z | src/ImmutableObjectGraph.Generation.Tests/TestSources/AbstractClassFamilies.cs | flcdrg/ImmutableObjectGraph | c4e14bd2a825f07c37409424cff8aec09154d116 | [
"MS-PL"
] | 26 | 2015-02-08T22:33:53.000Z | 2021-08-23T00:59:11.000Z | namespace ImmutableObjectGraph.Generation.Tests.TestSources
{
[GenerateImmutable(GenerateBuilder = true)]
abstract partial class Abstract1
{
readonly int abstract1Field1;
readonly int abstract1Field2;
}
[GenerateImmutable(GenerateBuilder = true)]
abstract partial class Abstract... | 26.478261 | 60 | 0.697865 |
132b1007bad8ab9063b99a39a74524d2d54fa7f7 | 1,863 | cs | C# | Lib/Suppressors/AdjacentDuplicatesSuppressor.cs | nabokov-ef/ForgottenPasswordGenerator | 77f5c3bac4b6a5ac0fb11261f67fde7e2de4b0b5 | [
"MIT"
] | null | null | null | Lib/Suppressors/AdjacentDuplicatesSuppressor.cs | nabokov-ef/ForgottenPasswordGenerator | 77f5c3bac4b6a5ac0fb11261f67fde7e2de4b0b5 | [
"MIT"
] | null | null | null | Lib/Suppressors/AdjacentDuplicatesSuppressor.cs | nabokov-ef/ForgottenPasswordGenerator | 77f5c3bac4b6a5ac0fb11261f67fde7e2de4b0b5 | [
"MIT"
] | null | null | null | namespace Lib.Suppressors
{
public class AdjacentDuplicatesSuppressor : SuppressorBase
{
public int MinLength => MinInternal;
public int? MaxLength => MaxInternal;
public bool IgnoreCase => IgnoreCaseInternal;
protected new const int LowBound = 1;
public AdjacentDupl... | 29.109375 | 82 | 0.421363 |
2808271970cfe4b67436ff37d53ac613ca937ddf | 24,048 | cs | C# | RayTracerLogic/Matrix.cs | AaronD412/RayTracer_Challenge | d6e8a0b46ca638d0896b1420f37a960e29d85e39 | [
"MIT"
] | 1 | 2020-12-28T18:13:08.000Z | 2020-12-28T18:13:08.000Z | RayTracerLogic/Matrix.cs | AaronD412/RayTracer_Challenge | d6e8a0b46ca638d0896b1420f37a960e29d85e39 | [
"MIT"
] | 1 | 2020-12-28T20:51:46.000Z | 2021-01-02T15:16:36.000Z | RayTracerLogic/Matrix.cs | AaronD412/RayTracer_Challenge | d6e8a0b46ca638d0896b1420f37a960e29d85e39 | [
"MIT"
] | 1 | 2021-01-22T14:41:23.000Z | 2021-01-22T14:41:23.000Z | using System;
namespace RayTracerLogic
{
/// <summary>
/// Represents a two-dimensional matrix.
/// </summary>
public class Matrix
{
#region Private Members
/// <summary>
/// The two-dimensional array holding the matrix values.
/// </summary>
private double... | 36.326284 | 183 | 0.527362 |
9f5394dc8c8e21d6d0fd13e40669660806bb340f | 4,464 | cs | C# | Projector.Tests/Specs/TypeCutTests.cs | sharpjs/Projector | 6354007aea142fe0ac50eb47688426461b46ae57 | [
"Apache-2.0"
] | null | null | null | Projector.Tests/Specs/TypeCutTests.cs | sharpjs/Projector | 6354007aea142fe0ac50eb47688426461b46ae57 | [
"Apache-2.0"
] | null | null | null | Projector.Tests/Specs/TypeCutTests.cs | sharpjs/Projector | 6354007aea142fe0ac50eb47688426461b46ae57 | [
"Apache-2.0"
] | null | null | null | namespace Projector.Specs
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Projector.ObjectModel;
[TestFixture]
public class TypeCutTests : ProjectionTestsBase
{
private TypeCut Cut { get; set; }
[SetUp]
public void SetUp()
{
... | 27.219512 | 72 | 0.500448 |
9f61486b8989bda257e7ddc9478f9bbd5b775b54 | 1,949 | cs | C# | Prism.Forms.LazyView/Behaviors/LazyLoadBehaviorBase.cs | Respawnsive/Prism.Forms.LazyView | a9e87becc67edc0589f61d4ea35921c3513dc096 | [
"MIT"
] | 1 | 2021-02-21T00:30:03.000Z | 2021-02-21T00:30:03.000Z | Prism.Forms.LazyView/Behaviors/LazyLoadBehaviorBase.cs | Respawnsive/Prism.Forms.LazyView | a9e87becc67edc0589f61d4ea35921c3513dc096 | [
"MIT"
] | null | null | null | Prism.Forms.LazyView/Behaviors/LazyLoadBehaviorBase.cs | Respawnsive/Prism.Forms.LazyView | a9e87becc67edc0589f61d4ea35921c3513dc096 | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Prism.Forms.LazyView.Behaviors
{
/// <summary>
/// This behavior lazy loads content when its visual element is activated
/// </summary>
/// <typeparam name="TVisualElement">A visual element</typeparam>
public abstract class... | 32.483333 | 91 | 0.605952 |
c2313842a41f16b391e273b0711ab34cca0477d9 | 772 | cs | C# | Models/Users/UserLastTenDapper.cs | danielbotn/FoosballApi | a9f007ca7cbcd76a69029ba7486746f7e19fd885 | [
"MIT"
] | null | null | null | Models/Users/UserLastTenDapper.cs | danielbotn/FoosballApi | a9f007ca7cbcd76a69029ba7486746f7e19fd885 | [
"MIT"
] | 1 | 2021-04-15T21:18:41.000Z | 2021-04-15T21:18:41.000Z | Models/Users/UserLastTenDapper.cs | danielbotn/FoosballApi | a9f007ca7cbcd76a69029ba7486746f7e19fd885 | [
"MIT"
] | null | null | null | using System;
namespace FoosballApi.Models.Users
{
/*
select distinct dlm.id, dlm.team_one_id, dlm.team_two_id, dlm.start_time, dlm.end_time, dlm.team_one_score, dlm.team_two_score, dlm.match_ended
from double_league_matches dlm
join double_league_players dlp on dlm.team_one_id = dlp.double_league_team_id or ... | 36.761905 | 147 | 0.681347 |
04b0252042fe7b2221809b45572901777aa8e02e | 1,295 | cs | C# | applications/nserviceBus/nserviceBusProducer/Program.cs | ggreen/rabbitmq-dotNet-showCase | 1e4ee876e5a2b6a33c4e8b997fc4b56129b98268 | [
"Apache-2.0"
] | null | null | null | applications/nserviceBus/nserviceBusProducer/Program.cs | ggreen/rabbitmq-dotNet-showCase | 1e4ee876e5a2b6a33c4e8b997fc4b56129b98268 | [
"Apache-2.0"
] | null | null | null | applications/nserviceBus/nserviceBusProducer/Program.cs | ggreen/rabbitmq-dotNet-showCase | 1e4ee876e5a2b6a33c4e8b997fc4b56129b98268 | [
"Apache-2.0"
] | null | null | null | using System;
using NServiceBus;
using System.Text;
namespace nserviceBusProducer
{
class Program
{
static async System.Threading.Tasks.Task Main(string[] args)
{
var endpointConfiguration = new EndpointConfiguration("Samples.RabbitMQ.SimpleSender");
var tran... | 37 | 100 | 0.639382 |
6a1686f28cd4f8be017187ea3386d111671437d5 | 801 | cs | C# | src/Dsp.Web/Migrations/Configuration.cs | joncloud/darkstarweb | dd0039c5c4e0c801baae888f4fb048c341342ee9 | [
"MIT"
] | null | null | null | src/Dsp.Web/Migrations/Configuration.cs | joncloud/darkstarweb | dd0039c5c4e0c801baae888f4fb048c341342ee9 | [
"MIT"
] | null | null | null | src/Dsp.Web/Migrations/Configuration.cs | joncloud/darkstarweb | dd0039c5c4e0c801baae888f4fb048c341342ee9 | [
"MIT"
] | null | null | null | namespace Dsp.Web.Migrations
{
using Dsp.Web.Accounting;
using MySql.Data.Entity;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<AccountContext>
{
public Configuratio... | 28.607143 | 128 | 0.630462 |
832ec02df64d27742ed672c4abbcf2594eaedb93 | 1,014 | cs | C# | Sharp2D/Sharp2D/Core/Interfaces/IMoveable2d.cs | CatinaCupGames/Sharp2D | 4080ddda4b4027ef05f7c492418f7a5fe5c2874d | [
"Apache-2.0"
] | 1 | 2018-08-14T16:20:35.000Z | 2018-08-14T16:20:35.000Z | Sharp2D/Sharp2D/Core/Interfaces/IMoveable2d.cs | CatinaCupGames/Sharp2D | 4080ddda4b4027ef05f7c492418f7a5fe5c2874d | [
"Apache-2.0"
] | 2 | 2015-01-22T07:07:29.000Z | 2015-06-07T07:27:07.000Z | Sharp2D/Sharp2D/Core/Interfaces/IMoveable2d.cs | CatinaCupGames/Sharp2D | 4080ddda4b4027ef05f7c492418f7a5fe5c2874d | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
namespace Sharp2D.Core.Interfaces
{
public interface IMoveable2d
{
float X { get; set; }
float Y { get; set; }
float Width { get; set; }
float Heigh... | 22.043478 | 76 | 0.592702 |
83491d5fea5e84b1bd45f40f868d7cf899d3971e | 12,075 | cs | C# | src/StructRecordGenerator/StructRecordGenerator/Generators/ToStringGenerator.cs | Serg046/StructRecordsGenerator | cb3c597aee375c77f2b706e91ea32d3119a80b98 | [
"MIT"
] | 44 | 2020-11-30T06:10:29.000Z | 2022-01-29T10:04:22.000Z | src/StructRecordGenerator/StructRecordGenerator/Generators/ToStringGenerator.cs | Serg046/StructRecordsGenerator | cb3c597aee375c77f2b706e91ea32d3119a80b98 | [
"MIT"
] | 3 | 2020-12-18T18:49:16.000Z | 2021-12-03T18:28:13.000Z | src/StructRecordGenerator/StructRecordGenerator/Generators/ToStringGenerator.cs | Serg046/StructRecordsGenerator | cb3c597aee375c77f2b706e91ea32d3119a80b98 | [
"MIT"
] | 1 | 2021-04-21T20:50:21.000Z | 2021-04-21T20:50:21.000Z | using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.Text;
using StructGenerators;
using StructRecordGenerators.Properties;
namespace StructRecordGenerators.Generators
{
public record ToString... | 41.927083 | 173 | 0.585259 |
39c76cff806d60e2ddbb501ba534a6c9a52e3c73 | 1,161 | cs | C# | DictionariesLambdaAndLINQ-Exercises/03.AMinerTask/Program.cs | spacex13/SoftUni-Homework | 5dacc70b6259dce4cb6e2c9a64c2df8df64924e7 | [
"MIT"
] | null | null | null | DictionariesLambdaAndLINQ-Exercises/03.AMinerTask/Program.cs | spacex13/SoftUni-Homework | 5dacc70b6259dce4cb6e2c9a64c2df8df64924e7 | [
"MIT"
] | null | null | null | DictionariesLambdaAndLINQ-Exercises/03.AMinerTask/Program.cs | spacex13/SoftUni-Homework | 5dacc70b6259dce4cb6e2c9a64c2df8df64924e7 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace _03.AMinerTask
{
class Program
{
static void Main()
{
var input = Console.ReadLine();
int lineCount = 1;
var resources = new Dictionary<string, int>();
string resource = "";
int... | 25.8 | 63 | 0.374677 |
466e881a8f3a1deab40e78c311049e9a8de4308b | 3,178 | cs | C# | CollisionDetectionExperiment/Game1.cs | valrossenOliver/OOP-DOP-CollisionDetectionExperiment | 61aaa9e6435edbf915fdc524b640279e46fc72a2 | [
"MIT"
] | null | null | null | CollisionDetectionExperiment/Game1.cs | valrossenOliver/OOP-DOP-CollisionDetectionExperiment | 61aaa9e6435edbf915fdc524b640279e46fc72a2 | [
"MIT"
] | null | null | null | CollisionDetectionExperiment/Game1.cs | valrossenOliver/OOP-DOP-CollisionDetectionExperiment | 61aaa9e6435edbf915fdc524b640279e46fc72a2 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace CollisionDetectionExperiment
{
internal class Game1 : Game
{
privat... | 36.113636 | 153 | 0.621775 |
98c70311b9be2b60eea855eac087786276506197 | 2,334 | cs | C# | IEC.Target.SqlServer/Helper/DatabaseHelper.cs | lsoft/IEC | b2d420340163b9006c7355d55faa07743fb7634c | [
"MIT"
] | null | null | null | IEC.Target.SqlServer/Helper/DatabaseHelper.cs | lsoft/IEC | b2d420340163b9006c7355d55faa07743fb7634c | [
"MIT"
] | null | null | null | IEC.Target.SqlServer/Helper/DatabaseHelper.cs | lsoft/IEC | b2d420340163b9006c7355d55faa07743fb7634c | [
"MIT"
] | null | null | null | using System.Data.SqlClient;
namespace IEC.Target.SqlServer.Helper
{
public static class DatabaseHelper
{
public static void SafelyDispose(
this SqlCommand? command
)
{
if (command is null)
{
return;
}
try... | 18.97561 | 44 | 0.33419 |
c0f5ef3ba2ff74be5b2495f002ed7d368310d451 | 417 | cs | C# | 2015-csharp/Tests/Day09Tests.cs | pseale/advent-of-advent-of-code | 774a8f1ef8ead2234fa628f774d418483c1b7dac | [
"MIT"
] | null | null | null | 2015-csharp/Tests/Day09Tests.cs | pseale/advent-of-advent-of-code | 774a8f1ef8ead2234fa628f774d418483c1b7dac | [
"MIT"
] | null | null | null | 2015-csharp/Tests/Day09Tests.cs | pseale/advent-of-advent-of-code | 774a8f1ef8ead2234fa628f774d418483c1b7dac | [
"MIT"
] | 1 | 2020-12-15T19:33:17.000Z | 2020-12-15T19:33:17.000Z | using Day09;
using NUnit.Framework;
namespace AOAOC.Tests
{
[TestFixture]
public class Day09Tests
{
[Test]
public void PartA()
{
var distances = @"London to Dublin = 464
London to Belfast = 518
Dublin to Be... | 21.947368 | 64 | 0.496403 |
7121fac1cdfb8e3c4193d0b69bbfd1c31f8c79c9 | 2,793 | cs | C# | Controllers/Dropdownlist/GroupingController.cs | syncfusion/aspnet-core-ej1-demos | 002193b5aa11f116654083d52497b5e0b0f7ada6 | [
"Info-ZIP",
"Xnet",
"Net-SNMP",
"NBPL-1.0",
"X11"
] | 4 | 2019-08-23T20:56:22.000Z | 2022-02-06T01:26:18.000Z | bin/Release/netcoreapp2.1/Controllers/Dropdownlist/GroupingController.cs | syncfusion/aspnet-core-ej1-demos | 002193b5aa11f116654083d52497b5e0b0f7ada6 | [
"Info-ZIP",
"Xnet",
"Net-SNMP",
"NBPL-1.0",
"X11"
] | null | null | null | bin/Release/netcoreapp2.1/Controllers/Dropdownlist/GroupingController.cs | syncfusion/aspnet-core-ej1-demos | 002193b5aa11f116654083d52497b5e0b0f7ada6 | [
"Info-ZIP",
"Xnet",
"Net-SNMP",
"NBPL-1.0",
"X11"
] | 3 | 2019-09-24T04:39:54.000Z | 2021-04-08T10:56:49.000Z | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... | 49.875 | 99 | 0.623344 |
c7c1f294d54cc8da3de276ded5e5b5fa93637146 | 868 | cs | C# | Factory1/Program.cs | syedabdi/Payments-DesignPatterns | 6fb9630d7bec60a2290b7d1dbefbd09064490b0d | [
"MIT"
] | null | null | null | Factory1/Program.cs | syedabdi/Payments-DesignPatterns | 6fb9630d7bec60a2290b7d1dbefbd09064490b0d | [
"MIT"
] | null | null | null | Factory1/Program.cs | syedabdi/Payments-DesignPatterns | 6fb9630d7bec60a2290b7d1dbefbd09064490b0d | [
"MIT"
] | 2 | 2018-07-19T14:09:48.000Z | 2019-06-06T04:16:09.000Z | using Factory1.Autos;
using System;
namespace Factory1
{
class Program
{
static void Main()
{
Console.WriteLine("Enter Payment Types");
Console.WriteLine("credit | debit | Echeck ");
string paymentType = Console.ReadLine();
IPayment payment = Ge... | 24.8 | 64 | 0.473502 |
2acdd8da1812a187d7fd610f073ddc3a89abbe98 | 406 | cs | C# | GraderBot.WebAPI/Controllers/JavaConsoleAppController.cs | p-dim-popov/GraderBot | ca0d8638903d0598d92628bb81023fbe47dd6064 | [
"MIT"
] | null | null | null | GraderBot.WebAPI/Controllers/JavaConsoleAppController.cs | p-dim-popov/GraderBot | ca0d8638903d0598d92628bb81023fbe47dd6064 | [
"MIT"
] | null | null | null | GraderBot.WebAPI/Controllers/JavaConsoleAppController.cs | p-dim-popov/GraderBot | ca0d8638903d0598d92628bb81023fbe47dd6064 | [
"MIT"
] | null | null | null | namespace GraderBot.WebAPI.Controllers
{
using UnitOfWork;
using Workers.Compilers;
using Workers.Runners;
using ProblemTypes.ConsoleApplication;
public class JavaConsoleAppController
: ConsoleAppController<ConsoleApp<JavaCompiler, JavaRunner>>
{
public JavaConsoleAppControlle... | 23.882353 | 68 | 0.687192 |
60a9c51eda984db2d0d4c45cb2774fb4042d3894 | 1,259 | cs | C# | osu.Game.Rulesets.RP/UI/Piece/RingPiece.cs | akmvihfan/osu-RP | e28e718066424371201d3b5524e0a9f3672b3f07 | [
"MIT"
] | 3 | 2017-07-10T06:36:22.000Z | 2019-12-29T13:36:45.000Z | osu.Game.Rulesets.RP/UI/Piece/RingPiece.cs | akmvihfan/osu-RP | e28e718066424371201d3b5524e0a9f3672b3f07 | [
"MIT"
] | 2 | 2017-10-25T14:20:20.000Z | 2017-10-25T14:23:13.000Z | osu.Game.Rulesets.RP/UI/Piece/RingPiece.cs | akmvihfan/osu-RP | e28e718066424371201d3b5524e0a9f3672b3f07 | [
"MIT"
] | 6 | 2017-09-15T08:16:45.000Z | 2019-12-29T13:36:48.000Z | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.... | 27.977778 | 103 | 0.574265 |
b7139f606288cf01383fc17654ee3f3b8e4eaf29 | 357 | cs | C# | Ocelot/RequestAggregationDemo/OcelotDownAPI/IdentityServerConfig.cs | songlin81/MSA | c7c8485763e0348d3c2454df9004d6c767b73de6 | [
"MIT"
] | null | null | null | Ocelot/RequestAggregationDemo/OcelotDownAPI/IdentityServerConfig.cs | songlin81/MSA | c7c8485763e0348d3c2454df9004d6c767b73de6 | [
"MIT"
] | null | null | null | Ocelot/RequestAggregationDemo/OcelotDownAPI/IdentityServerConfig.cs | songlin81/MSA | c7c8485763e0348d3c2454df9004d6c767b73de6 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OcelotDownAPI
{
public class IdentityServerConfig
{
public string IP { get; set; }
public string Port { get; set; }
public string IdentityScheme { get; set; }
public strin... | 22.3125 | 50 | 0.663866 |
b74a8828790ff458fbbf0abdda90114df2383a6b | 317 | cs | C# | TimeSeries.Domain/Abstract/ITimeSeriesRepository.cs | r-potapov/time-series | 3078b98e1aa9acaac613062c95895874ecd653d7 | [
"MIT"
] | 1 | 2015-03-29T14:20:19.000Z | 2015-03-29T14:20:19.000Z | TimeSeries.Domain/Abstract/ITimeSeriesRepository.cs | r-potapov/time-series | 3078b98e1aa9acaac613062c95895874ecd653d7 | [
"MIT"
] | null | null | null | TimeSeries.Domain/Abstract/ITimeSeriesRepository.cs | r-potapov/time-series | 3078b98e1aa9acaac613062c95895874ecd653d7 | [
"MIT"
] | null | null | null | using System.Linq;
using TimeSeries.Domain.Entities;
namespace TimeSeries.Domain.Abstract
{
public interface ITimeSeriesRepository
{
IQueryable<TimeSerie> TimeSeries { get; }
void SaveTimeSerie(TimeSerie timeSerie);
TimeSerie DeleteTimeSerie(int timeSerieId, string userId);
}
}
| 24.384615 | 66 | 0.725552 |
79d250265c0db1f3a895d02d8125242c76a1028a | 13,383 | cs | C# | Local.JS.Extension.IndexedFile/Index.cs | creeperlv/Local.JS | 8bc82a0a63e488f9a44a9d58e7b79af5243ce6cd | [
"MIT"
] | 4 | 2021-05-04T04:18:11.000Z | 2021-12-06T13:45:23.000Z | Local.JS.Extension.IndexedFile/Index.cs | creeperlv/Local.JS | 8bc82a0a63e488f9a44a9d58e7b79af5243ce6cd | [
"MIT"
] | null | null | null | Local.JS.Extension.IndexedFile/Index.cs | creeperlv/Local.JS | 8bc82a0a63e488f9a44a9d58e7b79af5243ce6cd | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace Local.JS.Extension.IndexedFile
{
/// <summary>
/// The Sacred Icon. Parasites, humans - no matter. The Icon must be found.
/// </summary>
[Serializable]
public class Index
{
public static ... | 38.237143 | 124 | 0.53822 |
15d7adf1a9dce9c52fe8ef882986f371b1387c7f | 1,808 | cs | C# | Source/PawnPlus.Core/Plugin/Plugin.cs | WopsS/PawnPlus-WinForms | 98e636107559f999bb564f7ede0e6b508818f0b2 | [
"BSD-3-Clause"
] | 5 | 2018-02-12T00:16:10.000Z | 2020-07-13T20:35:12.000Z | Source/PawnPlus.Core/Plugin/Plugin.cs | WopsS/PawnPlus-WinForms | 98e636107559f999bb564f7ede0e6b508818f0b2 | [
"BSD-3-Clause"
] | null | null | null | Source/PawnPlus.Core/Plugin/Plugin.cs | WopsS/PawnPlus-WinForms | 98e636107559f999bb564f7ede0e6b508818f0b2 | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Reflection;
namespace PawnPlus.Core
{
public class Plugin
{
/// <summary>
/// Plugin's assembly.
/// </summary>
public virtual Assembly Assembly { get; }
/// <summary>
/// Name of the plugin's author.
/// </summary>
pu... | 29.16129 | 102 | 0.462389 |
5f545e01d13db1ea69c200eecd58cf757694b5c2 | 326 | cs | C# | WDE.SQLEditor/Providers/MetaSolutionSQLQueryProvider.cs | gitter-badger/WoWDatabaseEditor | f0a4a63e98e421d1197b74d180b7f2f9e5fd7076 | [
"Unlicense"
] | 1 | 2021-12-06T16:01:03.000Z | 2021-12-06T16:01:03.000Z | WDE.SQLEditor/Providers/MetaSolutionSQLQueryProvider.cs | gitter-badger/WoWDatabaseEditor | f0a4a63e98e421d1197b74d180b7f2f9e5fd7076 | [
"Unlicense"
] | null | null | null | WDE.SQLEditor/Providers/MetaSolutionSQLQueryProvider.cs | gitter-badger/WoWDatabaseEditor | f0a4a63e98e421d1197b74d180b7f2f9e5fd7076 | [
"Unlicense"
] | null | null | null | using WDE.Common.Solution;
using WDE.Module.Attributes;
namespace WDE.SQLEditor.Providers
{
[AutoRegister]
public class MetaSolutionSQLQueryProvider : ISolutionItemSqlProvider<MetaSolutionSQL>
{
public string GenerateSql(MetaSolutionSQL item)
{
return item.GetSql();
}
... | 23.285714 | 89 | 0.687117 |
054546430203c334ac4072749ecd16020bcb4248 | 601 | cs | C# | SSH/Packets/SshChannelOpenForwardedTcpIp.cs | neoscrib/secureshell | 9879453578ef8dfd3ecd390dea2be9a3abf092d0 | [
"MIT"
] | null | null | null | SSH/Packets/SshChannelOpenForwardedTcpIp.cs | neoscrib/secureshell | 9879453578ef8dfd3ecd390dea2be9a3abf092d0 | [
"MIT"
] | null | null | null | SSH/Packets/SshChannelOpenForwardedTcpIp.cs | neoscrib/secureshell | 9879453578ef8dfd3ecd390dea2be9a3abf092d0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SSH.Packets
{
[Packet(MessageCode.SSH_MSG_CHANNEL_OPEN)]
class SshChannelOpenForwardedTcpIp : SshChannelOpen
{
[SshProperty(5)]
public string RemoteAddress { get; set; }
[Ssh... | 26.130435 | 59 | 0.620632 |
6942f72de5d35a85f561aa2cb8f4bd5b3cca05de | 2,392 | cs | C# | starsky/starskytest/starsky.foundation.realtime/Helpers/WebSocketConnectionTest.cs | qdraw/starsky | 237aa5431daf23ee9446eb303cc7a2ca68bf967e | [
"MIT"
] | 2 | 2020-07-07T22:32:09.000Z | 2021-02-09T10:04:22.000Z | starsky/starskytest/starsky.foundation.realtime/Helpers/WebSocketConnectionTest.cs | qdraw/starsky | 237aa5431daf23ee9446eb303cc7a2ca68bf967e | [
"MIT"
] | 509 | 2020-05-10T14:40:31.000Z | 2022-03-30T22:52:06.000Z | starsky/starskytest/starsky.foundation.realtime/Helpers/WebSocketConnectionTest.cs | qdraw/starsky | 237aa5431daf23ee9446eb303cc7a2ca68bf967e | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using starsky.foundation.realtime.Helpers;
using starskytest.FakeMocks;
namespace starskytest.starsky.foundation.realtime.Helpers
{
[TestClass]
publi... | 25.72043 | 79 | 0.744147 |
cc3935c5f076b4feaeb97a1759881dcd924846f3 | 211 | cs | C# | src/AspNetCoreSpa.Infrastructure/Repositories/Interfaces/IPriceRepository.cs | nvhoor/FlashTour | 96c83d22c0e8b74bb3b44d76d9be68d8e14879eb | [
"MIT"
] | 2 | 2020-03-15T11:03:31.000Z | 2020-03-23T12:36:18.000Z | src/AspNetCoreSpa.Infrastructure/Repositories/Interfaces/IPriceRepository.cs | nvhoor/FlashTour | 96c83d22c0e8b74bb3b44d76d9be68d8e14879eb | [
"MIT"
] | null | null | null | src/AspNetCoreSpa.Infrastructure/Repositories/Interfaces/IPriceRepository.cs | nvhoor/FlashTour | 96c83d22c0e8b74bb3b44d76d9be68d8e14879eb | [
"MIT"
] | 2 | 2020-04-08T00:47:51.000Z | 2020-07-18T18:02:03.000Z | using System.Collections.Generic;
using AspNetCoreSpa.Core.Entities;
namespace AspNetCoreSpa.Infrastructure
{
public interface IPriceRepository : IRepository<Price>,IEnumerable<Price>
{
}
} | 21.1 | 77 | 0.748815 |
5e0982a881a2d649601f87937c3026bc831a1be1 | 7,326 | cs | C# | mojp/Card.cs | fog-bank/mojp | 285b3457b689ccb289bd7e4d5dda95b0de69f9e2 | [
"MIT"
] | 6 | 2017-06-06T04:10:02.000Z | 2020-12-09T11:49:14.000Z | mojp/Card.cs | fog-bank/mojp | 285b3457b689ccb289bd7e4d5dda95b0de69f9e2 | [
"MIT"
] | 20 | 2016-10-14T16:11:20.000Z | 2022-02-17T21:40:27.000Z | mojp/Card.cs | fog-bank/mojp | 285b3457b689ccb289bd7e4d5dda95b0de69f9e2 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Xml.Linq;
namespace Mojp
{
/// <summary>
/// MTG のカードを表します。
/// </summary>
public sealed partial class Card : IEquatable<Card>, INotifyPropertyChanged
{
private string[] lines;
public Card()
... | 27.961832 | 126 | 0.512285 |
43cd06a47851f885a5ab6ad1008f72d33e11815f | 607 | cs | C# | Erlin.Lib.Common/Text/Diff/TextEditType.cs | ErlinEmrys/Lib.Common | 70d65d12f7088f8b6041a9ac1d2731818522380c | [
"Unlicense"
] | null | null | null | Erlin.Lib.Common/Text/Diff/TextEditType.cs | ErlinEmrys/Lib.Common | 70d65d12f7088f8b6041a9ac1d2731818522380c | [
"Unlicense"
] | null | null | null | Erlin.Lib.Common/Text/Diff/TextEditType.cs | ErlinEmrys/Lib.Common | 70d65d12f7088f8b6041a9ac1d2731818522380c | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Erlin.Lib.Common.Text.Diff
{
/// <summary>
/// Types of edit activity in text
/// </summary>
public enum TextEditType
{
/// <summary>
/// None
/// <... | 19.580645 | 38 | 0.479407 |
3d500141cb2837814a38a1ad6d5faf59611cbb72 | 1,904 | cs | C# | tests/Beef.Core.UnitTest/Validation/ReferenceDataValidatorTest.cs | vishal-sharma/Beef | 2e5f0c00aa7be3dbaa119c8bc44d8d38bff70946 | [
"MIT"
] | null | null | null | tests/Beef.Core.UnitTest/Validation/ReferenceDataValidatorTest.cs | vishal-sharma/Beef | 2e5f0c00aa7be3dbaa119c8bc44d8d38bff70946 | [
"MIT"
] | null | null | null | tests/Beef.Core.UnitTest/Validation/ReferenceDataValidatorTest.cs | vishal-sharma/Beef | 2e5f0c00aa7be3dbaa119c8bc44d8d38bff70946 | [
"MIT"
] | null | null | null | // Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using System;
using Beef.Entities;
using Beef.RefData;
using Beef.Validation;
using NUnit.Framework;
namespace Beef.Core.UnitTest.Validation
{
[TestFixture]
public class ReferenceDataValidatorTest
{
publ... | 31.733333 | 179 | 0.587185 |
4fe0ced1725d6351b6a2954b4784ad6e7a4b1a40 | 1,478 | cs | C# | DiagnosticsExtension/LoggingHandler.cs | gajibillik/DaaS | a7d7a19f3c5cdd81464d6ff454a80950b4d24f56 | [
"MIT"
] | null | null | null | DiagnosticsExtension/LoggingHandler.cs | gajibillik/DaaS | a7d7a19f3c5cdd81464d6ff454a80950b4d24f56 | [
"MIT"
] | null | null | null | DiagnosticsExtension/LoggingHandler.cs | gajibillik/DaaS | a7d7a19f3c5cdd81464d6ff454a80950b4d24f56 | [
"MIT"
] | null | null | null | // -----------------------------------------------------------------------
// <copyright file="LoggingHandler.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// </copyright>
// -... | 33.590909 | 151 | 0.579161 |
412159504476039d9f150cd123a882559419c361 | 1,670 | cs | C# | sdk/dotnet/SignalRService/Inputs/NetworkACLArgs.cs | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | null | null | null | sdk/dotnet/SignalRService/Inputs/NetworkACLArgs.cs | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | null | null | null | sdk/dotnet/SignalRService/Inputs/NetworkACLArgs.cs | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | null | null | null | // *** 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... | 35.531915 | 125 | 0.655689 |
412ad1a87537fb1d40be11e5d7c5fd7d76cffb0e | 1,644 | cs | C# | api/src/Microsoft.Azure.IIoT.OpcUa.Api.Registry/src/Extensions/DiscovererApiModelEx.cs | JMayrbaeurl/Industrial-IoT | ef18f7a14a9e223c9df9f668a5c6f280ea4c1f01 | [
"MIT"
] | 392 | 2019-07-24T16:23:16.000Z | 2022-03-27T09:59:49.000Z | api/src/Microsoft.Azure.IIoT.OpcUa.Api.Registry/src/Extensions/DiscovererApiModelEx.cs | JMayrbaeurl/Industrial-IoT | ef18f7a14a9e223c9df9f668a5c6f280ea4c1f01 | [
"MIT"
] | 723 | 2019-07-25T06:06:27.000Z | 2022-03-31T10:57:01.000Z | api/src/Microsoft.Azure.IIoT.OpcUa.Api.Registry/src/Extensions/DiscovererApiModelEx.cs | JMayrbaeurl/Industrial-IoT | ef18f7a14a9e223c9df9f668a5c6f280ea4c1f01 | [
"MIT"
] | 184 | 2019-08-05T08:39:51.000Z | 2022-03-28T16:55:59.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.I... | 40.097561 | 99 | 0.557786 |
412d5673c94c80102d572d04aa32ef66cca1ed0c | 750 | cs | C# | RubberChicken.DAL/SessionManager.cs | mzszoticon/RubberChicken | 158fca461f3e990e22376d63ef8380e897bb8da0 | [
"Unlicense"
] | null | null | null | RubberChicken.DAL/SessionManager.cs | mzszoticon/RubberChicken | 158fca461f3e990e22376d63ef8380e897bb8da0 | [
"Unlicense"
] | null | null | null | RubberChicken.DAL/SessionManager.cs | mzszoticon/RubberChicken | 158fca461f3e990e22376d63ef8380e897bb8da0 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using Wdh.RubberChicken.DAL.Interfaces;
namespace Wdh.RubberChicken.DAL
{
internal class SessionManager : ISessionManager, ISessionProvider
{
private readonly Dictionary<string, ISession> sessionStorage = new Dictionary<string, ISession>();
publ... | 26.785714 | 106 | 0.652 |
4175f2cf69bd163c8becbcc4396a8c6b90d635c8 | 1,106 | cs | C# | src/JKang.EventSourcing.Persistence.DynamoDB/DynamoDBEventPersistenceEventSourcingBuilderExtensions.cs | warrantor/EventSourcing | bb34e0b0a22bfdb7bcf3834f544206c26bd28e5f | [
"MIT"
] | 165 | 2018-11-14T06:55:52.000Z | 2022-03-27T00:11:23.000Z | src/JKang.EventSourcing.Persistence.DynamoDB/DynamoDBEventPersistenceEventSourcingBuilderExtensions.cs | warrantor/EventSourcing | bb34e0b0a22bfdb7bcf3834f544206c26bd28e5f | [
"MIT"
] | 15 | 2018-11-13T14:30:10.000Z | 2021-12-21T11:26:46.000Z | src/JKang.EventSourcing.Persistence.DynamoDB/DynamoDBEventPersistenceEventSourcingBuilderExtensions.cs | warrantor/EventSourcing | bb34e0b0a22bfdb7bcf3834f544206c26bd28e5f | [
"MIT"
] | 29 | 2019-03-24T19:34:24.000Z | 2022-01-20T13:45:35.000Z | using JKang.EventSourcing.Domain;
using JKang.EventSourcing.Persistence;
using JKang.EventSourcing.Persistence.DynamoDB;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public static class DynamoDBEventPersistenceEventSourcingBuilderExtensions
{
public static IEventSourcingBuilder U... | 36.866667 | 119 | 0.679928 |
fc5c8a45af2a4e83b587358991ce0016efed1cc0 | 215 | cshtml | C# | src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Views/Home/Error.cshtml | michal-franc/DevAdventCalendar | 6030673e24ceb15aef0aecc7f11d0da7ed89b403 | [
"MIT"
] | null | null | null | src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Views/Home/Error.cshtml | michal-franc/DevAdventCalendar | 6030673e24ceb15aef0aecc7f11d0da7ed89b403 | [
"MIT"
] | null | null | null | src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Views/Home/Error.cshtml | michal-franc/DevAdventCalendar | 6030673e24ceb15aef0aecc7f11d0da7ed89b403 | [
"MIT"
] | null | null | null | <div class="row content-centered">
<div class="col content-centered">
<img id="santa" src="~/images/sad_santa.JPG" alt="Święty Mikołaj" />
<h2>Ups... Coś poszło nie tak...</h2>
</div>
</div> | 35.833333 | 76 | 0.590698 |
fca2610cec6ba44dbe13fb69328ad9062ce3a798 | 438 | cs | C# | src/BingoX/BingoX.Core.Test/Services/SubDateTimeService.cs | BingoRoom/BingoX | 8f8c76fd1021cd0b8d3ec58447fe07fc10f77687 | [
"Apache-2.0"
] | null | null | null | src/BingoX/BingoX.Core.Test/Services/SubDateTimeService.cs | BingoRoom/BingoX | 8f8c76fd1021cd0b8d3ec58447fe07fc10f77687 | [
"Apache-2.0"
] | null | null | null | src/BingoX/BingoX.Core.Test/Services/SubDateTimeService.cs | BingoRoom/BingoX | 8f8c76fd1021cd0b8d3ec58447fe07fc10f77687 | [
"Apache-2.0"
] | null | null | null | using BingoX.Services;
using System;
namespace BingoX.Core.Test
{
class SubDateTimeService : DateTimeService
{
DateTime currnetNow;
public SubDateTimeService(DateTime now)
{
SetNow(now);
}
public void SetNow(DateTime now)
{
currnetNow = ... | 16.846154 | 47 | 0.541096 |
96393fdbaa854f3a0c01062502550988beee3d83 | 5,210 | cs | C# | src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs | robosek/machinelearning | d0522f36699f7acf1879645c2570e3c4094946ee | [
"MIT"
] | 1 | 2018-11-23T08:44:42.000Z | 2018-11-23T08:44:42.000Z | src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs | robosek/machinelearning | d0522f36699f7acf1879645c2570e3c4094946ee | [
"MIT"
] | null | null | null | src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs | robosek/machinelearning | d0522f36699f7acf1879645c2570e3c4094946ee | [
"MIT"
] | 1 | 2021-02-12T13:15:09.000Z | 2021-02-12T13:15:09.000Z | // 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 Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
namespace Microsoft.ML... | 55.425532 | 145 | 0.685413 |
acc888d1359c6a01974e62fb5b340a28f8808724 | 509 | cs | C# | Runtime/RemoteObjectsProvider.cs | UniGameTeam/UniGame.RemoteData | 9bd867e12ec932d03a047835fb0eb19527d5d2a6 | [
"MIT"
] | null | null | null | Runtime/RemoteObjectsProvider.cs | UniGameTeam/UniGame.RemoteData | 9bd867e12ec932d03a047835fb0eb19527d5d2a6 | [
"MIT"
] | null | null | null | Runtime/RemoteObjectsProvider.cs | UniGameTeam/UniGame.RemoteData | 9bd867e12ec932d03a047835fb0eb19527d5d2a6 | [
"MIT"
] | null | null | null | using System;
using Cysharp.Threading.Tasks;
namespace UniModules.UniGame.RemoteData
{
[Serializable]
public abstract class RemoteObjectsProvider :
IRemoteObjectsProvider,
IRemoteObjectsProviderFactory
{
public const char PathDelimeter = '.';
public abstract UniTask<IRem... | 24.238095 | 94 | 0.719057 |
4a07dae624d818c4e533262407dbfc2c90bf1360 | 411 | cs | C# | UserGroupVisualizer/Helper.cs | bearspider/UserGroupVisualizer | 22e75f1575864d0c3842e75f5542d8edf21e568c | [
"MIT"
] | null | null | null | UserGroupVisualizer/Helper.cs | bearspider/UserGroupVisualizer | 22e75f1575864d0c3842e75f5542d8edf21e568c | [
"MIT"
] | null | null | null | UserGroupVisualizer/Helper.cs | bearspider/UserGroupVisualizer | 22e75f1575864d0c3842e75f5542d8edf21e568c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace UserGroupVisualizer
{
public class Helper
{
public Helper()
{
Username = "";
UserDomain = "";
}
p... | 19.571429 | 46 | 0.608273 |
1f91f9448060a04249216d124bb466aa795b2f67 | 2,461 | cs | C# | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Controllers/CohortControllerTests/CreateWithOtherPartyTests.cs | uk-gov-mirror/SkillsFundingAgency.das-commitments | 8b98530c3cb31b9960fc99b369634d9b8561be7d | [
"MIT"
] | 6 | 2018-08-28T09:05:47.000Z | 2022-01-15T10:12:31.000Z | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Controllers/CohortControllerTests/CreateWithOtherPartyTests.cs | uk-gov-mirror/SkillsFundingAgency.das-commitments | 8b98530c3cb31b9960fc99b369634d9b8561be7d | [
"MIT"
] | 146 | 2016-08-23T15:35:50.000Z | 2022-03-21T14:07:13.000Z | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Controllers/CohortControllerTests/CreateWithOtherPartyTests.cs | uk-gov-mirror/SkillsFundingAgency.das-commitments | 8b98530c3cb31b9960fc99b369634d9b8561be7d | [
"MIT"
] | 5 | 2016-11-10T14:45:40.000Z | 2021-07-29T11:53:37.000Z | using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Controllers;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
... | 36.731343 | 89 | 0.618854 |
ac54716d8c8d948fa9d79c7bbeccffc8fe6f04f1 | 1,788 | cs | C# | Utility.NETFramework/Multimedia/Audio/Riff/ByteArrayComponent.cs | jonathanruisi/Utility.NET | fd977437eaf5a9da87bb419eda9a302f00968dc5 | [
"MIT"
] | null | null | null | Utility.NETFramework/Multimedia/Audio/Riff/ByteArrayComponent.cs | jonathanruisi/Utility.NET | fd977437eaf5a9da87bb419eda9a302f00968dc5 | [
"MIT"
] | null | null | null | Utility.NETFramework/Multimedia/Audio/Riff/ByteArrayComponent.cs | jonathanruisi/Utility.NET | fd977437eaf5a9da87bb419eda9a302f00968dc5 | [
"MIT"
] | null | null | null | // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// ┃ FILE: ByteArrayComponent.cs
// ┃ PROJECT: Utility.NET
// ┃ SOLUTION: Utility.NET
// ┃ CREATED: 2018-03-13 @ 7:08 PM
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━... | 27.9375 | 104 | 0.52349 |
1a022c1e7e428dda396679acf58121f04d85c92c | 1,159 | cs | C# | src/ExtCore.Data.EntityFramework/RepositoryBase.cs | ryansalt/ExtCore | 06cc186d5133cb7419c67bf766e498403079e94e | [
"Apache-2.0"
] | 791 | 2015-12-17T16:06:28.000Z | 2022-03-19T15:10:59.000Z | src/ExtCore.Data.EntityFramework/RepositoryBase.cs | ryansalt/ExtCore | 06cc186d5133cb7419c67bf766e498403079e94e | [
"Apache-2.0"
] | 183 | 2016-02-13T20:26:21.000Z | 2022-01-18T11:16:59.000Z | src/ExtCore.Data.EntityFramework/RepositoryBase.cs | ryansalt/ExtCore | 06cc186d5133cb7419c67bf766e498403079e94e | [
"Apache-2.0"
] | 204 | 2015-12-14T15:23:46.000Z | 2022-03-19T17:44:45.000Z | // Copyright © 2017 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Data.Abstractions;
using ExtCore.Data.Entities.Abstractions;
using Microsoft.EntityFrameworkCore;
namespace ExtCore.Data.EntityFramew... | 39.965517 | 116 | 0.742019 |
1a84372ba3b9a34dcaf9c58840de363472a200d6 | 2,203 | cs | C# | C Sharp OOP - 2016/04. OOP Principles - Part 1/School classes/ClassInSchool.cs | todor-enikov/TelerikAcademy | e609780e41951c1f9098f490229b79d4496a21bf | [
"MIT"
] | null | null | null | C Sharp OOP - 2016/04. OOP Principles - Part 1/School classes/ClassInSchool.cs | todor-enikov/TelerikAcademy | e609780e41951c1f9098f490229b79d4496a21bf | [
"MIT"
] | null | null | null | C Sharp OOP - 2016/04. OOP Principles - Part 1/School classes/ClassInSchool.cs | todor-enikov/TelerikAcademy | e609780e41951c1f9098f490229b79d4496a21bf | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Schoolclasses
{
public class ClassInSchool : IComment
{
private string identifier;
private List<Student> students;
private List<Teacher> teachers;
publ... | 24.208791 | 106 | 0.482524 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.