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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b613a5ecd174ce8873a6dbe3f478c6710247da5 | 1,067 | cs | C# | Source/Gep13.Sample.Api/Mappers/DomainToViewModelMappingProfile.cs | jatin-lab49/WebApiSample | b4f45e510eea037c5e9bfc43a38d8d06e40fd2cb | [
"MIT"
] | 2 | 2019-07-04T17:23:22.000Z | 2020-11-17T19:40:35.000Z | Source/Gep13.Sample.Api/Mappers/DomainToViewModelMappingProfile.cs | jatin-lab49/WebApiSample | b4f45e510eea037c5e9bfc43a38d8d06e40fd2cb | [
"MIT"
] | null | null | null | Source/Gep13.Sample.Api/Mappers/DomainToViewModelMappingProfile.cs | jatin-lab49/WebApiSample | b4f45e510eea037c5e9bfc43a38d8d06e40fd2cb | [
"MIT"
] | 2 | 2019-07-04T17:23:32.000Z | 2020-01-08T21:39:58.000Z | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DomainToViewModelMappingProfile.cs" company="Gary Ewan Park">
// Copyright (c) Gary Ewan Park, 2014, All rights reserved.
// </copyright>
// <summary>
// Defines the DomainToV... | 31.382353 | 120 | 0.488285 |
fccad4927585973458dfa45b5c3cc4f6119270b0 | 4,784 | cs | C# | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | naminodarie/roslyn | c995881c33b9e88455dbd70aee549151d3ddd448 | [
"MIT"
] | null | null | null | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | naminodarie/roslyn | c995881c33b9e88455dbd70aee549151d3ddd448 | [
"MIT"
] | null | null | null | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | naminodarie/roslyn | c995881c33b9e88455dbd70aee549151d3ddd448 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Diagnostics;
namespace ... | 45.132075 | 130 | 0.624582 |
acab14e78a8f96436b265a9dede043bca07bed34 | 25,821 | cs | C# | Assets/Ferr/2DTerrain/Scripts/LibTessDotNet/Tess.cs | uareurapid/nightinthewoods | acdd49486f61f93dd9b0ad5e219907aab0f7f309 | [
"MIT"
] | null | null | null | Assets/Ferr/2DTerrain/Scripts/LibTessDotNet/Tess.cs | uareurapid/nightinthewoods | acdd49486f61f93dd9b0ad5e219907aab0f7f309 | [
"MIT"
] | null | null | null | Assets/Ferr/2DTerrain/Scripts/LibTessDotNet/Tess.cs | uareurapid/nightinthewoods | acdd49486f61f93dd9b0ad5e219907aab0f7f309 | [
"MIT"
] | null | null | null | /*
** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
** Copyright (C) 2011 Silicon Graphics, Inc.
** All Rights Reserved.
**
** 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 Soft... | 36.625532 | 169 | 0.478254 |
ad614ee44dab11bce7d6f0c01c45e186cc4a92dd | 678 | cs | C# | Assets/Scripts/LookX.cs | MatteoRebecchiMari/Sci-Fi-Tech-Demo | 105e7ba55c7bee0788cd75ddb92c8d6953ce32c9 | [
"MIT"
] | null | null | null | Assets/Scripts/LookX.cs | MatteoRebecchiMari/Sci-Fi-Tech-Demo | 105e7ba55c7bee0788cd75ddb92c8d6953ce32c9 | [
"MIT"
] | null | null | null | Assets/Scripts/LookX.cs | MatteoRebecchiMari/Sci-Fi-Tech-Demo | 105e7ba55c7bee0788cd75ddb92c8d6953ce32c9 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookX : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
[SerializeField]
float _sensitivity = 1f;
// Update is called once per frame
void Update()
... | 21.1875 | 75 | 0.632743 |
e2aa132185d0c34779958710a5771548ae5e0bc2 | 1,286 | cs | C# | src/Domain/Repository/BooksRepository.cs | omelianlevkovych/BookReview | 3cdde23c9ae35eb25e000fb949b445b37fa14d4d | [
"MIT"
] | null | null | null | src/Domain/Repository/BooksRepository.cs | omelianlevkovych/BookReview | 3cdde23c9ae35eb25e000fb949b445b37fa14d4d | [
"MIT"
] | 2 | 2022-03-12T22:58:38.000Z | 2022-03-13T21:50:28.000Z | src/Domain/Repository/BooksRepository.cs | omelianlevkovych/BookReview | 3cdde23c9ae35eb25e000fb949b445b37fa14d4d | [
"MIT"
] | null | null | null | using Domain.Data;
using Domain.Entities;
using Domain.Repository.Interfaces;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Domain.Repository
{
public class BooksRepository : EfRepositoryBase<BookEntity>, IBooksRepos... | 27.361702 | 108 | 0.602644 |
3ed22056e2a7f53d3906fad4a55307518a8b1c1f | 1,405 | cs | C# | Algowe.Web/Models/IRepository.cs | algowe/algowe | 5458812deda0fa3e683e8a009e8e624bff41b246 | [
"BSD-2-Clause"
] | null | null | null | Algowe.Web/Models/IRepository.cs | algowe/algowe | 5458812deda0fa3e683e8a009e8e624bff41b246 | [
"BSD-2-Clause"
] | null | null | null | Algowe.Web/Models/IRepository.cs | algowe/algowe | 5458812deda0fa3e683e8a009e8e624bff41b246 | [
"BSD-2-Clause"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Data;
using System.Reflection;
using System.Linq.Expressions;
using System.ComponentModel;
using Algowe.Web.Entities;
namespace Algo... | 21.615385 | 52 | 0.64484 |
62deab41ba8523d8838938a94ad6505e78c75d71 | 2,959 | cs | C# | MonoGame.GlowEffect-Samples/Drawables/Image.cs | DaniloPeres/MonoGame.GlowEffect | 391578af6907bde1ba8654d887296f400d7991ad | [
"MIT"
] | 1 | 2021-09-28T18:04:11.000Z | 2021-09-28T18:04:11.000Z | MonoGame.GlowEffect-Samples/Drawables/Image.cs | DaniloPeres/MonoGame.GlowEffect | 391578af6907bde1ba8654d887296f400d7991ad | [
"MIT"
] | null | null | null | MonoGame.GlowEffect-Samples/Drawables/Image.cs | DaniloPeres/MonoGame.GlowEffect | 391578af6907bde1ba8654d887296f400d7991ad | [
"MIT"
] | null | null | null | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonoGame.GlowEffect_Samples.Drawables
{
public class Image : IDrawable
{
public Texture2D texture, textur... | 31.478723 | 127 | 0.577898 |
1a48146875f655cd8ecdd1a87307b2143d1c5276 | 323 | cs | C# | merigurumiblog/merigurumi.blog.DataAccess/Interfaces/ICategoryDal.cs | smskmrym/merigurumiblog | 945113711a39a9d3771d87e9c097f88f20427cc1 | [
"MIT"
] | null | null | null | merigurumiblog/merigurumi.blog.DataAccess/Interfaces/ICategoryDal.cs | smskmrym/merigurumiblog | 945113711a39a9d3771d87e9c097f88f20427cc1 | [
"MIT"
] | null | null | null | merigurumiblog/merigurumi.blog.DataAccess/Interfaces/ICategoryDal.cs | smskmrym/merigurumiblog | 945113711a39a9d3771d87e9c097f88f20427cc1 | [
"MIT"
] | null | null | null | using merigurumi.blog.Entities.concrete;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace merigurumi.blog.DataAccess.Interfaces
{
public interface ICategoryDal : IGenericDal<Category>
{
Task<List<Category>> GetAllWithCategoryBlogsAsync();
}... | 23.071429 | 60 | 0.767802 |
ae92b2d4bba30172f726e276f38fbdac1cf19113 | 994 | cs | C# | dnx-dev/src/Microsoft.Dnx.Tooling/NuGet/Core/Utility/CryptoHashProvider.cs | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | 798 | 2015-03-15T00:00:41.000Z | 2021-11-16T11:03:54.000Z | dnx-dev/src/Microsoft.Dnx.Tooling/NuGet/Core/Utility/CryptoHashProvider.cs | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | 2,224 | 2015-03-15T00:41:07.000Z | 2017-12-17T19:51:27.000Z | dnx-dev/src/Microsoft.Dnx.Tooling/NuGet/Core/Utility/CryptoHashProvider.cs | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | 252 | 2015-03-15T02:35:15.000Z | 2022-01-13T16:33:05.000Z | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace NuGet
{
public class CryptoHashProvider : IHashProvider
{
... | 26.157895 | 111 | 0.578471 |
aefb355b4c8a738247b95f08bff8267e9b57af85 | 2,329 | cshtml | C# | WebApplicationMVC/Views/Shared/_Header.cshtml | Diellita/projetoMVC5_comCamadas | 87f14570124de7e118522ccd353f1858a58dd63c | [
"MIT"
] | null | null | null | WebApplicationMVC/Views/Shared/_Header.cshtml | Diellita/projetoMVC5_comCamadas | 87f14570124de7e118522ccd353f1858a58dd63c | [
"MIT"
] | null | null | null | WebApplicationMVC/Views/Shared/_Header.cshtml | Diellita/projetoMVC5_comCamadas | 87f14570124de7e118522ccd353f1858a58dd63c | [
"MIT"
] | null | null | null | <nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="@Url.Action("Index","Home")">Dielle de Oliveira</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#conteudoNavbarSuportado" aria-controls="conteudoNavbarSuportado" aria-expanded="false" ... | 46.58 | 204 | 0.587806 |
e72ffe921cb1be971bca3fd9ebd76750c361b4cd | 520 | cs | C# | Assets/Modules/RootComposition/NoMonobehaviours/NoMonoBehaviour.cs | Dechichi01/DependencyInjection | 8b355c8acff0b2e77e09650f52a6e0907085550a | [
"MIT"
] | null | null | null | Assets/Modules/RootComposition/NoMonobehaviours/NoMonoBehaviour.cs | Dechichi01/DependencyInjection | 8b355c8acff0b2e77e09650f52a6e0907085550a | [
"MIT"
] | null | null | null | Assets/Modules/RootComposition/NoMonobehaviours/NoMonoBehaviour.cs | Dechichi01/DependencyInjection | 8b355c8acff0b2e77e09650f52a6e0907085550a | [
"MIT"
] | null | null | null | using UnityEngine;
namespace Modules.RootComposition.NoMono
{
public class NoMonoBehaviour
{
readonly M1Behaviour m1;
readonly IM2Behaviour m2;
public NoMonoBehaviour(M1Behaviour m1, IM2Behaviour m2)
{
this.m1 = m1;
Debug.Log("NoMonoBehaviour was creat... | 20 | 63 | 0.515385 |
4e2c3dd834175c861cd038e6ac13472ba6165f3f | 695 | cs | C# | AlipaySDKNet/Response/AlipayFundEnterprisepayGroupAddResponse.cs | alipay/alipay-sdk-net | 5213242e99da6c18cf27799d3e43ac3aa3bef9c3 | [
"Apache-2.0"
] | null | null | null | AlipaySDKNet/Response/AlipayFundEnterprisepayGroupAddResponse.cs | alipay/alipay-sdk-net | 5213242e99da6c18cf27799d3e43ac3aa3bef9c3 | [
"Apache-2.0"
] | null | null | null | AlipaySDKNet/Response/AlipayFundEnterprisepayGroupAddResponse.cs | alipay/alipay-sdk-net | 5213242e99da6c18cf27799d3e43ac3aa3bef9c3 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayFundEnterprisepayGroupAddResponse.
/// </summary>
public class AlipayFundEnterprisepayGroupAddResponse : AopResponse
{
/// <summary>
/// 因公付账户ID
/// </summary>
[XmlElem... | 23.166667 | 70 | 0.555396 |
4e68d6873c3c60445c25b374921a66ae8b2b8386 | 134 | cs | C# | test/Flare.Test/Services/MockProcessRunnerService.cs | bwheel/Flare | d3f8c8de2baeaa0852649c82cc0efab5cbf29760 | [
"MIT"
] | null | null | null | test/Flare.Test/Services/MockProcessRunnerService.cs | bwheel/Flare | d3f8c8de2baeaa0852649c82cc0efab5cbf29760 | [
"MIT"
] | null | null | null | test/Flare.Test/Services/MockProcessRunnerService.cs | bwheel/Flare | d3f8c8de2baeaa0852649c82cc0efab5cbf29760 | [
"MIT"
] | null | null | null | using Flare.Services;
namespace Flare.Test.Services
{
public class MockProcessRunnerService : IProcessRunnerService
{
}
} | 16.75 | 65 | 0.746269 |
4f8db3d9ec37aa2882fa055871273673f10f9397 | 421 | cs | C# | DotNetClient/src/DTOs/Input/DeleteFileVersionInputDTO.cs | StableCube/Backblaze | 228d6cf440f7113eb634d6916f458cd23fb5dfa8 | [
"MIT"
] | 1 | 2021-06-02T17:18:15.000Z | 2021-06-02T17:18:15.000Z | DotNetClient/src/DTOs/Input/DeleteFileVersionInputDTO.cs | StableCube/Backblaze | 228d6cf440f7113eb634d6916f458cd23fb5dfa8 | [
"MIT"
] | null | null | null | DotNetClient/src/DTOs/Input/DeleteFileVersionInputDTO.cs | StableCube/Backblaze | 228d6cf440f7113eb634d6916f458cd23fb5dfa8 | [
"MIT"
] | null | null | null | using System.Text.Json.Serialization;
namespace StableCube.Backblaze.DotNetClient
{
public class DeleteFileVersionInputDTO
{
[JsonPropertyName("fileName")]
public string FileName { get; set; }
[JsonPropertyName("fileId")]
public string FileId { get; set; }
... | 26.3125 | 52 | 0.63658 |
4f9ab82eb151acc714c13d2c3d965be72d09ac11 | 5,978 | cs | C# | src/Steam.Net/Utilities/CryptoUtils.cs | ObsidianMinor/SteamStandardProject | 0a151c4d945fd3509123284fea67ca2639574700 | [
"MIT"
] | 2 | 2017-11-27T19:22:45.000Z | 2017-12-04T17:58:29.000Z | src/Steam.Net/Utilities/CryptoUtils.cs | ObsidianMinor/SteamStandardProject | 0a151c4d945fd3509123284fea67ca2639574700 | [
"MIT"
] | null | null | null | src/Steam.Net/Utilities/CryptoUtils.cs | ObsidianMinor/SteamStandardProject | 0a151c4d945fd3509123284fea67ca2639574700 | [
"MIT"
] | 1 | 2017-10-14T17:08:15.000Z | 2017-10-14T17:08:15.000Z | using Steam.Cryptography;
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace Steam.Net.Utilities
{
internal static class CryptoUtils
{
internal static byte[] GenerateBytes(int size)
{
using (RandomNumberGenerator generator = RandomNumber... | 36.45122 | 123 | 0.532118 |
fb1454defc076767de52967cdafc72b627df0b26 | 1,595 | cs | C# | Program.cs | caius/cscat | 3cd4e3d91d01e152a978696491341c3d2b32b256 | [
"MIT",
"Unlicense"
] | null | null | null | Program.cs | caius/cscat | 3cd4e3d91d01e152a978696491341c3d2b32b256 | [
"MIT",
"Unlicense"
] | null | null | null | Program.cs | caius/cscat | 3cd4e3d91d01e152a978696491341c3d2b32b256 | [
"MIT",
"Unlicense"
] | null | null | null | using System;
using System.IO;
namespace cscat
{
class Program
{
static void Main(string[] args)
{
bool exit_with_error = false;
// If there are no arguments, read from stdin
// If there are arguments:
// - Read from stdin for "-"
// - Check if argument string exists on f... | 26.147541 | 83 | 0.534796 |
16480b08eb995191176f6078ae6775d2747f5e3c | 5,663 | cs | C# | MorphicResult.cs | raisingthefloor/morphic-core-lib-cs | bc1e72b26efa499a9057938bf3d645e00e6c336e | [
"BSD-3-Clause"
] | null | null | null | MorphicResult.cs | raisingthefloor/morphic-core-lib-cs | bc1e72b26efa499a9057938bf3d645e00e6c336e | [
"BSD-3-Clause"
] | null | null | null | MorphicResult.cs | raisingthefloor/morphic-core-lib-cs | bc1e72b26efa499a9057938bf3d645e00e6c336e | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Raising the Floor - US, Inc.
//
// Licensed under the New BSD license. You may not use this file except in
// compliance with this License.
//
// You may obtain a copy of the License at
// https://github.com/raisingthefloor/morphic-core-lib-cs/blob/main/LICENSE
//
// The R&D leading to these results ... | 45.669355 | 166 | 0.695215 |
0917db4efcdffee0b12e1805baa13636f978fac8 | 600 | cs | C# | src/SWFResourceExtractor/ItemIdTable.cs | SirJosh3917/EEResourceExtractor | b50b1090755219672cde34637c7152bdd73065ba | [
"MIT"
] | null | null | null | src/SWFResourceExtractor/ItemIdTable.cs | SirJosh3917/EEResourceExtractor | b50b1090755219672cde34637c7152bdd73065ba | [
"MIT"
] | null | null | null | src/SWFResourceExtractor/ItemIdTable.cs | SirJosh3917/EEResourceExtractor | b50b1090755219672cde34637c7152bdd73065ba | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace SWFResourceExtractor
{
public class ItemIdTable
{
public ItemIdTable()
{
}
public ItemIdTable(Dictionary<string, int> defs) : this() => _defs = defs;
private Dictionary<string, int> _defs;
public void Add(string stringId, int value)
=> _def... | 23.076923 | 99 | 0.703333 |
44884bfcd64167dfc8e4777ea1664790185991dc | 2,634 | cs | C# | Terrain Generator - source/C#/Libraries/Importing/ImportTerrainRaw/Driver.cs | stormont/terraingine | dde14afb3eb0e0adfa01f144f1e939212e47212e | [
"BSD-3-Clause"
] | null | null | null | Terrain Generator - source/C#/Libraries/Importing/ImportTerrainRaw/Driver.cs | stormont/terraingine | dde14afb3eb0e0adfa01f144f1e939212e47212e | [
"BSD-3-Clause"
] | null | null | null | Terrain Generator - source/C#/Libraries/Importing/ImportTerrainRaw/Driver.cs | stormont/terraingine | dde14afb3eb0e0adfa01f144f1e939212e47212e | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Windows.Forms;
using System.Drawing;
using System.IO;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Voyage.Terraingine.DataCore;
namespace Voyage.Terraingine.ImportTerrainRaw
{
/// <summary>
/// Driver class for the ImportTerrainRaw plug-in.
/// </summary>
public class... | 25.085714 | 98 | 0.634017 |
787b28820f8164916f93e07d8ec95c054b6742f2 | 2,681 | cs | C# | RequerimientosPro/WebForm/AdministradorPages/EquipoProgramadores.aspx.designer.cs | eliraEsFlo/RazorWebForm | c8ddb3bb84df9eeac37d51706108e2bcfd88f924 | [
"MIT"
] | null | null | null | RequerimientosPro/WebForm/AdministradorPages/EquipoProgramadores.aspx.designer.cs | eliraEsFlo/RazorWebForm | c8ddb3bb84df9eeac37d51706108e2bcfd88f924 | [
"MIT"
] | null | null | null | RequerimientosPro/WebForm/AdministradorPages/EquipoProgramadores.aspx.designer.cs | eliraEsFlo/RazorWebForm | c8ddb3bb84df9eeac37d51706108e2bcfd88f924 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <generado automáticamente>
// Este código fue generado por una herramienta.
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </generado aut... | 37.236111 | 119 | 0.585229 |
c8a7c7de58f555e9e6466f388a2efbaee1180136 | 5,298 | cs | C# | Either/Either/Either.cs | bargross/Either | 6fc6f512fa968e23d8f8c976cabe81a8937069c3 | [
"MIT"
] | null | null | null | Either/Either/Either.cs | bargross/Either | 6fc6f512fa968e23d8f8c976cabe81a8937069c3 | [
"MIT"
] | null | null | null | Either/Either/Either.cs | bargross/Either | 6fc6f512fa968e23d8f8c976cabe81a8937069c3 | [
"MIT"
] | null | null | null | using System;
using Either.Root;
using Either.Rule;
using Either.Exceptions;
namespace Either
{
public class Either<TLeft, TRight> : IEither<TLeft, TRight>
{
private RootEither<TLeft, TRight> _root;
private static RuleValidator<TLeft, TRight> _ruleValidator;
private Type _currentType... | 31.535714 | 132 | 0.561533 |
2d2e3a2a39908633416aff51621c72ca2cd7b910 | 786 | cs | C# | Core/Netcode/Packets/TacticPacket.cs | TheBambino/tModLoader_Minions | bd893c3ea8a3e9579d1d794d94a1c284e66de078 | [
"MIT"
] | 2 | 2021-09-08T11:31:01.000Z | 2021-12-13T14:13:54.000Z | Core/Netcode/Packets/TacticPacket.cs | TheBambino/tModLoader_Minions | bd893c3ea8a3e9579d1d794d94a1c284e66de078 | [
"MIT"
] | 2 | 2021-09-14T20:20:23.000Z | 2021-12-31T17:22:28.000Z | Core/Netcode/Packets/TacticPacket.cs | TheBambino/tModLoader_Minions | bd893c3ea8a3e9579d1d794d94a1c284e66de078 | [
"MIT"
] | 6 | 2020-11-07T09:23:40.000Z | 2021-12-31T17:08:48.000Z | using AmuletOfManyMinions.Core.Minions;
using System.IO;
using Terraria;
using Terraria.ID;
namespace AmuletOfManyMinions.Core.Netcode.Packets
{
public class TacticPacket : PlayerPacket
{
readonly byte[] ids;
public TacticPacket() { }
public TacticPacket(Player player, byte[] ids) : base(player)
{
this... | 21.833333 | 85 | 0.726463 |
d58f123c9cb54b56c1d1311ea318b289fbd34e82 | 2,687 | cs | C# | src/src/Infrastructure/Kentico/Xperience/Xperience/Services/BlogService.cs | BizStream/xperience-blog-template | 5d9466aa31aef2cb6b83322fa9598d2e97dcfa99 | [
"MIT"
] | 6 | 2021-02-11T16:05:28.000Z | 2022-02-09T17:36:24.000Z | src/src/Infrastructure/Kentico/Xperience/Xperience/Services/BlogService.cs | BizStream/xperience-blog-template | 5d9466aa31aef2cb6b83322fa9598d2e97dcfa99 | [
"MIT"
] | 12 | 2021-05-11T23:08:43.000Z | 2022-01-11T17:40:17.000Z | src/src/Infrastructure/Kentico/Xperience/Xperience/Services/BlogService.cs | BizStream/xperience-blog-template | 5d9466aa31aef2cb6b83322fa9598d2e97dcfa99 | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using AutoMapper;
using BizStream.Extensions.Kentico.Xperience.Caching;
using BizStream.Extensions.Kentico.Xperience.DataEngine;
using BizStream.Extensions.Kentico.Xperience.DocumentEngine;
using BizStream.Extensions.Kentico.Xperience.Retrievers.Abstractions.Documents;
using ... | 30.191011 | 82 | 0.563082 |
21300ca7c25d97cb9ee61e9a3bc0c9935ee97151 | 1,105 | cs | C# | TemperatureMonitor.Persistence.MongoDb/DatabaseConfig.cs | BramEsendam/Temperature-monitoring | a812faf278a6b8b89f6bf8119332c31c8458e414 | [
"MIT"
] | 8 | 2019-11-26T09:56:59.000Z | 2020-03-22T18:41:27.000Z | TemperatureMonitor.Persistence.MongoDb/DatabaseConfig.cs | BrammyS/Temperature-monitoring | a812faf278a6b8b89f6bf8119332c31c8458e414 | [
"MIT"
] | 2 | 2020-02-27T11:14:06.000Z | 2020-02-27T11:14:11.000Z | TemperatureMonitor.Persistence.MongoDb/DatabaseConfig.cs | BramEsendam/Temperature-monitoring | a812faf278a6b8b89f6bf8119332c31c8458e414 | [
"MIT"
] | null | null | null | using System.IO;
using Newtonsoft.Json;
using TemperatureMonitor.Persistence.MongoDb.Structs;
namespace TemperatureMonitor.Persistence.MongoDb
{
/// <summary>
/// Loads the db connection string from the <see cref="ConfigFile" />.
/// </summary>
public class DatabaseConfig
{
private con... | 32.5 | 89 | 0.59638 |
21837c9ba44369ec3b220e2ae3d7a0c8210b9117 | 931 | cs | C# | Solutions/Corvus.Leasing.Abstractions/Corvus/Leasing/Retry/Policies/RetryUntilLeaseAcquiredPolicy.cs | corvus-dotnet/Corvus.Leasing | 1390cb3bea37cf1e10954c75473909304f05f650 | [
"Apache-2.0"
] | null | null | null | Solutions/Corvus.Leasing.Abstractions/Corvus/Leasing/Retry/Policies/RetryUntilLeaseAcquiredPolicy.cs | corvus-dotnet/Corvus.Leasing | 1390cb3bea37cf1e10954c75473909304f05f650 | [
"Apache-2.0"
] | 200 | 2019-08-19T14:57:48.000Z | 2022-01-28T08:20:29.000Z | Solutions/Corvus.Leasing.Abstractions/Corvus/Leasing/Retry/Policies/RetryUntilLeaseAcquiredPolicy.cs | corvus-dotnet/Corvus.Leasing | 1390cb3bea37cf1e10954c75473909304f05f650 | [
"Apache-2.0"
] | null | null | null | // <copyright file="RetryUntilLeaseAcquiredPolicy.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Leasing.Retry.Policies
{
using System;
using Corvus.Leasing.Exceptions;
using Corvus.Retry.Policies;
/// <summary>
/// Retry Polic... | 35.807692 | 105 | 0.673469 |
2fef80fde27304823ed660e3c975f7d987e02261 | 2,566 | cs | C# | Eventbriteassignment/WebMvc/Services/TicketOrderService.cs | zewditu/MicroServicesPartOne | 9ba154c02108d5a46ac7c4956c48979959bfb043 | [
"MIT"
] | null | null | null | Eventbriteassignment/WebMvc/Services/TicketOrderService.cs | zewditu/MicroServicesPartOne | 9ba154c02108d5a46ac7c4956c48979959bfb043 | [
"MIT"
] | 1 | 2022-03-28T02:55:47.000Z | 2022-03-28T02:59:20.000Z | Eventbriteassignment/WebMvc/Services/TicketOrderService.cs | zewditu/MicroServicesPartOne | 9ba154c02108d5a46ac7c4956c48979959bfb043 | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using WebMvc.Infrastructure;
using WebMvc.Models;
namespace WebMvc.Services
{
public class TicketOrderService : ITicketOrderService
{
private IHttpClient _apiClient;
private readonly string _remoteServiceBaseUrl;
private readonly IConf... | 37.188406 | 98 | 0.644973 |
51d3072bc8c3620e38b5da41c3e2881d649c5617 | 11,266 | cs | C# | snippets/csharp/VS_Snippets_Wpf/MouseSnippetSample/CSharp/Window1.xaml.cs | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/csharp/VS_Snippets_Wpf/MouseSnippetSample/CSharp/Window1.xaml.cs | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2019-07-11T17:14:19.000Z | 2019-07-11T17:14:19.000Z | snippets/csharp/VS_Snippets_Wpf/MouseSnippetSample/CSharp/Window1.xaml.cs | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows.Input;
namespace WCSamples
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
... | 32.373563 | 110 | 0.547577 |
7dadb40d38fe3e160630eb984bb2461bf9eaf05c | 3,110 | cs | C# | src/WebApi/Logic/Services/FindMeSpot/IFindMeSpotService.cs | vividos/WhereToFly | c6a4667d09890f08988ebe45ea18192c09f72ca7 | [
"BSD-2-Clause"
] | 5 | 2020-07-20T12:21:08.000Z | 2022-02-08T19:49:28.000Z | src/WebApi/Logic/Services/FindMeSpot/IFindMeSpotService.cs | vividos/WhereToFly | c6a4667d09890f08988ebe45ea18192c09f72ca7 | [
"BSD-2-Clause"
] | 3 | 2018-08-09T19:56:03.000Z | 2022-01-23T12:04:00.000Z | src/WebApi/Logic/Services/FindMeSpot/IFindMeSpotService.cs | vividos/WhereToFly | c6a4667d09890f08988ebe45ea18192c09f72ca7 | [
"BSD-2-Clause"
] | 1 | 2019-06-11T13:05:38.000Z | 2019-06-11T13:05:38.000Z | using Newtonsoft.Json;
using Refit;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
#pragma warning disable CA1034 // Nested types should not be visible
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
/// <summary>
/// Content classes for t... | 26.810345 | 89 | 0.57717 |
bd5e68c3b5ce2b00536e371b9c64d6e29d1fe13e | 2,292 | cs | C# | BinaryNN/ToyFindSolution.cs | banicg/BinaryNN | 28353a47a937623edf69196ec170205fad995ca6 | [
"MIT"
] | null | null | null | BinaryNN/ToyFindSolution.cs | banicg/BinaryNN | 28353a47a937623edf69196ec170205fad995ca6 | [
"MIT"
] | null | null | null | BinaryNN/ToyFindSolution.cs | banicg/BinaryNN | 28353a47a937623edf69196ec170205fad995ca6 | [
"MIT"
] | null | null | null | using System;
namespace BinaryNN
{
class ToyFindSolution : IToy
{
public void Run()
{
try
{
var input = new BitArray(new int[] { 0b1010_0110 },8);
var output = new BitArray(4);
var W = new BitArray(32);//0000 0000 0110 0... | 29.012658 | 89 | 0.395288 |
55320ce452d7e9dd138d81488d2baca3b780547e | 3,081 | cs | C# | tests/AutoFixture.Community.AutoEF.Core.Tests/OptionsSpecimenBuilderTests.cs | aivascu/AutoFixture.Community.AutoEF | 0b5916df26f1594f4e4325bd7a1176ae84443811 | [
"MIT"
] | 2 | 2020-07-06T07:28:35.000Z | 2022-03-22T08:16:19.000Z | tests/AutoFixture.Community.AutoEF.Core.Tests/OptionsSpecimenBuilderTests.cs | aivascu/AutoFixture.Community.AutoEF | 0b5916df26f1594f4e4325bd7a1176ae84443811 | [
"MIT"
] | null | null | null | tests/AutoFixture.Community.AutoEF.Core.Tests/OptionsSpecimenBuilderTests.cs | aivascu/AutoFixture.Community.AutoEF | 0b5916df26f1594f4e4325bd7a1176ae84443811 | [
"MIT"
] | null | null | null | using System;
using AutoFixture.Kernel;
using AutoFixture.Xunit2;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using Moq;
using TestClasses;
using Xunit;
namespace AutoFixture.Community.AutoEF.Core.Tests
{
public class OptionsSpecimenBuilderTests
{
[Theory]
[AutoDomainData]
... | 36.678571 | 101 | 0.620578 |
5540c5e966fbe9e358127d72509a7fe18006a251 | 759 | cs | C# | ToDoApp/Helpers/SimpleCommand.cs | samhawkes/todo-app | 721cad0156ea99854390a37be7363779d3a2e825 | [
"MIT"
] | null | null | null | ToDoApp/Helpers/SimpleCommand.cs | samhawkes/todo-app | 721cad0156ea99854390a37be7363779d3a2e825 | [
"MIT"
] | null | null | null | ToDoApp/Helpers/SimpleCommand.cs | samhawkes/todo-app | 721cad0156ea99854390a37be7363779d3a2e825 | [
"MIT"
] | null | null | null | using System;
using System.Windows.Input;
namespace ToDoApp.Helpers
{
public class SimpleCommand : SimpleCommand<object>
{
public SimpleCommand(Action<object> action) : base(action)
{
}
}
public class SimpleCommand<T> : ICommand where T : class
{
private readonly A... | 21.685714 | 66 | 0.573123 |
2bb4f9801fd6c6400519730cb56e33bf9f913682 | 4,143 | cs | C# | Xrm.Demployment/Xrm.Demployment.Console/Program.cs | MartinCom/xrm-deployment | 849a6329a20763e776ad9e68daec964e4bacf443 | [
"MIT"
] | null | null | null | Xrm.Demployment/Xrm.Demployment.Console/Program.cs | MartinCom/xrm-deployment | 849a6329a20763e776ad9e68daec964e4bacf443 | [
"MIT"
] | 1 | 2018-02-18T16:35:41.000Z | 2018-02-18T16:35:41.000Z | Xrm.Demployment/Xrm.Demployment.Console/Program.cs | MartinCom/xrm-deployment | 849a6329a20763e776ad9e68daec964e4bacf443 | [
"MIT"
] | 2 | 2018-03-15T18:52:29.000Z | 2019-02-07T10:13:31.000Z | using CommandLine;
using Microsoft.Xrm.Tooling.Connector;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xrm.Deployment.Core;
using Xrm.Deployment.Core.Confg;
using Xrm.Deployment.Core.Enums;
using Xrm.Deployment.Core.Utils;
namespace Xrm.Demployment.Console
{
internal c... | 37.663636 | 152 | 0.591842 |
921a7ec019f44c1a854083ba273f62d3c944773a | 600 | cs | C# | src/Microsoft.DotNet.Interactive.Formatting/TabularDataSchemaField.cs | HowardvanRooijen/interactive | 86614abfb61f51477bb519c46535d077e1a8be12 | [
"MIT"
] | 1 | 2021-03-31T06:36:58.000Z | 2021-03-31T06:36:58.000Z | src/Microsoft.DotNet.Interactive.Formatting/TabularDataSchemaField.cs | HowardvanRooijen/interactive | 86614abfb61f51477bb519c46535d077e1a8be12 | [
"MIT"
] | null | null | null | src/Microsoft.DotNet.Interactive.Formatting/TabularDataSchemaField.cs | HowardvanRooijen/interactive | 86614abfb61f51477bb519c46535d077e1a8be12 | [
"MIT"
] | null | null | null | // Copyright(c).NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json.Serialization;
namespace Microsoft.DotNet.Interactive.Formatting
{
internal class TabularDataSchemaField
{
... | 26.086957 | 101 | 0.65 |
92207d4057697601c13dfd9ac5c544cfa8ea285c | 3,267 | cs | C# | BlueSimilarity.Test/Indexing/SemanticVocabularyTest.cs | Rozinek/BlueSimilarity | 426facf9ce58f8b1e39c6f545732235913641ac3 | [
"MIT"
] | null | null | null | BlueSimilarity.Test/Indexing/SemanticVocabularyTest.cs | Rozinek/BlueSimilarity | 426facf9ce58f8b1e39c6f545732235913641ac3 | [
"MIT"
] | null | null | null | BlueSimilarity.Test/Indexing/SemanticVocabularyTest.cs | Rozinek/BlueSimilarity | 426facf9ce58f8b1e39c6f545732235913641ac3 | [
"MIT"
] | null | null | null |
using System;
using System.IO;
using BlueSimilarity.Containers;
using BlueSimilarity.Indexing;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BlueSimilarity.Test.Indexing
{
[TestClass]
public class SemanticVocabularyTest
{
private const string VocabularyFileName = "vocabul... | 31.718447 | 127 | 0.723906 |
6587347d95979631183f38e96bbefd102131e3ec | 2,858 | cs | C# | AoC2017/Day2.cs | darshanrampatel/Advent-of-Code-2017 | 2a7733fe5ac0162cab2be73de535125f0864ccae | [
"MIT"
] | 3 | 2017-12-01T12:39:49.000Z | 2020-12-02T10:33:46.000Z | AoC2017/Day2.cs | darshanrampatel/Advent-of-Code-2017 | 2a7733fe5ac0162cab2be73de535125f0864ccae | [
"MIT"
] | null | null | null | AoC2017/Day2.cs | darshanrampatel/Advent-of-Code-2017 | 2a7733fe5ac0162cab2be73de535125f0864ccae | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace AoC2017
{
public static class Day2
{
public static int Part1(string input)
{
var output = 0;
var rows = input.Split(new string[] { E... | 31.755556 | 160 | 0.428971 |
5a439a9d4743eee20229ac2c7b98ee2c7571526b | 443 | cs | C# | src/Modules/SimplCommerce.Module.Catalog/Services/ICategoryService.cs | dastandub/myfirstrepo | 05a6807d8a2511aa346f5ce212628cd3e616a3fa | [
"Apache-2.0"
] | 3,803 | 2016-05-22T19:28:26.000Z | 2022-03-30T14:07:50.000Z | src/Modules/SimplCommerce.Module.Catalog/Services/ICategoryService.cs | dastandub/myfirstrepo | 05a6807d8a2511aa346f5ce212628cd3e616a3fa | [
"Apache-2.0"
] | 781 | 2016-05-22T16:00:18.000Z | 2022-03-24T05:54:19.000Z | src/Modules/SimplCommerce.Module.Catalog/Services/ICategoryService.cs | dastandub/myfirstrepo | 05a6807d8a2511aa346f5ce212628cd3e616a3fa | [
"Apache-2.0"
] | 1,685 | 2016-06-02T21:16:53.000Z | 2022-03-29T02:40:21.000Z | using System.Threading.Tasks;
using System.Collections.Generic;
using SimplCommerce.Module.Catalog.Areas.Catalog.ViewModels;
using SimplCommerce.Module.Catalog.Models;
namespace SimplCommerce.Module.Catalog.Services
{
public interface ICategoryService
{
Task<IList<CategoryListItem>> GetAll();
... | 23.315789 | 60 | 0.738149 |
8f546d685407bb36ba106728fbb8718a2d1bbf83 | 552 | cs | C# | QS.Updater.Gtk/ApplicationVersionInfo.cs | opopve/QSProjects | 59e6e1071b25d0ad179fae2f0dd2c325259a4459 | [
"Apache-2.0"
] | null | null | null | QS.Updater.Gtk/ApplicationVersionInfo.cs | opopve/QSProjects | 59e6e1071b25d0ad179fae2f0dd2c325259a4459 | [
"Apache-2.0"
] | null | null | null | QS.Updater.Gtk/ApplicationVersionInfo.cs | opopve/QSProjects | 59e6e1071b25d0ad179fae2f0dd2c325259a4459 | [
"Apache-2.0"
] | null | null | null | using System;
using QS.Project.VersionControl;
using QSSupportLib;
namespace QS.Updater
{
//TODO Временный набросок интерфейса, служит пока для разрыва связи с QSSupport, нужно будет переделать расширить и дополнить.
public struct ApplicationVersionInfo : IApplicationInfo
{
public string ProductName => MainSuppo... | 29.052632 | 127 | 0.806159 |
3ca94ad39fd098408d3a6699581ec0af03f02e6a | 4,108 | cs | C# | src/EasyKeys.AmazonMWS.Runtime/MwsResponseHeaderMetadata.cs | easykeys/EasyKeys.AmazonMWS | d08c548beeced1257f75e1181de41ba4a163143c | [
"MIT"
] | 1 | 2021-04-23T12:00:49.000Z | 2021-04-23T12:00:49.000Z | src/EasyKeys.AmazonMWS.Runtime/MwsResponseHeaderMetadata.cs | easykeys/EasyKeys.AmazonMWS | d08c548beeced1257f75e1181de41ba4a163143c | [
"MIT"
] | 1 | 2020-11-27T10:23:10.000Z | 2021-03-16T19:01:07.000Z | src/EasyKeys.AmazonMWS.Runtime/MwsResponseHeaderMetadata.cs | easykeys/EasyKeys.AmazonMWS | d08c548beeced1257f75e1181de41ba4a163143c | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright 2009-2012 Amazon Services. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License... | 40.673267 | 174 | 0.626826 |
a3fb43a9e6d2cb999af2a7cfb3c10c09a027b50c | 1,805 | cs | C# | src/Skybrud.Essentials.AspNetCore/Models/Json/JsonBody.cs | skybrud/Skybrud.Essentials.AspNetCore | 3e72770fd6075984a9c1e85c903cdbaf9736d8e4 | [
"MIT"
] | null | null | null | src/Skybrud.Essentials.AspNetCore/Models/Json/JsonBody.cs | skybrud/Skybrud.Essentials.AspNetCore | 3e72770fd6075984a9c1e85c903cdbaf9736d8e4 | [
"MIT"
] | null | null | null | src/Skybrud.Essentials.AspNetCore/Models/Json/JsonBody.cs | skybrud/Skybrud.Essentials.AspNetCore | 3e72770fd6075984a9c1e85c903cdbaf9736d8e4 | [
"MIT"
] | null | null | null | using System.Net;
using Newtonsoft.Json;
namespace Skybrud.Essentials.AspNetCore.Models.Json {
/// <summary>
/// Class representing the body of a JSON response.
/// </summary>
public class JsonBody {
/// <summary>
/// Gets or sets the meta data for the response.
/// </summary... | 32.232143 | 150 | 0.566759 |
a33469e863b4b8bf529fe7f8f0419ffad9a9a96b | 1,096 | cs | C# | Items/Weapons/CystClaymore.cs | GoldenRound/Entropy | 08eaa998950d038506b6a87bd41cf95241a894f4 | [
"MIT"
] | null | null | null | Items/Weapons/CystClaymore.cs | GoldenRound/Entropy | 08eaa998950d038506b6a87bd41cf95241a894f4 | [
"MIT"
] | null | null | null | Items/Weapons/CystClaymore.cs | GoldenRound/Entropy | 08eaa998950d038506b6a87bd41cf95241a894f4 | [
"MIT"
] | null | null | null | using Terraria.ID;
using Terraria.ModLoader;
namespace Entropy.Items.Weapons
{
public class CystClaymore : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Cyst Claymore");
Tooltip.SetDefault("You literally just ripped this right from a Face M... | 28.102564 | 105 | 0.538321 |
31748a7e04435109b4037b9a8680c9d3052f2857 | 3,832 | cs | C# | HelperFramework/DataType/Math.cs | jerone/HelperFramework | 92a0a095d32206318759d6e8fd734fe4425b7e89 | [
"MIT"
] | 1 | 2018-11-10T22:42:38.000Z | 2018-11-10T22:42:38.000Z | HelperFramework/DataType/Math.cs | jerone/HelperFramework | 92a0a095d32206318759d6e8fd734fe4425b7e89 | [
"MIT"
] | null | null | null | HelperFramework/DataType/Math.cs | jerone/HelperFramework | 92a0a095d32206318759d6e8fd734fe4425b7e89 | [
"MIT"
] | null | null | null | using System;
using System.Drawing;
using HelperFramework.Drawing;
using Point = System.Windows.Point;
namespace HelperFramework.DataType
{
/// <summary>
/// Math Helpers
/// </summary>
public static class MathHelper
{
/// <summary>
/// Degrees To Radians
/// </summary>
/// <param name="degrees">The degr... | 31.409836 | 118 | 0.664144 |
31b82764b795a30acca1e79ea71700b86cf29791 | 6,162 | cs | C# | src/ApiActions.Abstractions/Versioning/ApiActionVersion.cs | DanielAHill/ApiActions | 4770ed22c61effe8536b2b310b37add9b6d385d7 | [
"Apache-2.0"
] | 2 | 2016-04-20T18:53:42.000Z | 2019-05-27T21:00:16.000Z | src/ApiActions.Abstractions/Versioning/ApiActionVersion.cs | DanielAHill/ApiActions | 4770ed22c61effe8536b2b310b37add9b6d385d7 | [
"Apache-2.0"
] | 1 | 2019-11-01T14:03:06.000Z | 2019-11-01T14:03:06.000Z | src/ApiActions.Abstractions/Versioning/ApiActionVersion.cs | DanielAHill/ApiActions | 4770ed22c61effe8536b2b310b37add9b6d385d7 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018 Daniel A Hill. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 28.929577 | 99 | 0.522071 |
62787aa2407af2e5bb75884b314cafb71200a6ab | 4,306 | cs | C# | samples/ChatApp.Telemetry/MicroServer/Startup.cs | hankovich/MagicOnion | 93cb494dfb7f98385546de59abaac043ba4835a6 | [
"MIT"
] | 2,199 | 2018-12-14T11:42:53.000Z | 2022-03-31T12:27:56.000Z | samples/ChatApp.Telemetry/MicroServer/Startup.cs | hankovich/MagicOnion | 93cb494dfb7f98385546de59abaac043ba4835a6 | [
"MIT"
] | 329 | 2018-12-14T12:03:07.000Z | 2022-03-31T16:34:17.000Z | samples/ChatApp.Telemetry/MicroServer/Startup.cs | hankovich/MagicOnion | 93cb494dfb7f98385546de59abaac043ba4835a6 | [
"MIT"
] | 304 | 2018-12-14T12:50:00.000Z | 2022-03-30T13:39:08.000Z | using MagicOnion.Server;
using MagicOnion.Server.OpenTelemetry;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OpenTelemetry.Resou... | 44.391753 | 215 | 0.577334 |
02d503a12249d1b0f69c2117c8c1e21bb79886eb | 24,170 | cs | C# | il2cpp/MethodTable.cs | forestbat/il2cpp | 99ff1fa526086768fec2a8614e3f8117837c1c26 | [
"MIT"
] | 2 | 2019-10-03T19:50:05.000Z | 2020-04-09T23:26:15.000Z | il2cpp/MethodTable.cs | forestbat/il2cpp | 99ff1fa526086768fec2a8614e3f8117837c1c26 | [
"MIT"
] | null | null | null | il2cpp/MethodTable.cs | forestbat/il2cpp | 99ff1fa526086768fec2a8614e3f8117837c1c26 | [
"MIT"
] | 2 | 2020-11-02T03:22:19.000Z | 2021-09-23T03:52:07.000Z | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using dnlib.DotNet;
namespace il2cpp
{
// 方法表与方法编组
using TableMethodPair = Tuple<MethodTable, MethodDef>;
// 类型与方法编组
using TypeMethodPair = Tuple<TypeX, MethodDef>;
internal class TableM... | 26.300326 | 124 | 0.649814 |
e804e2a1647848b9718ad7136736dd0f2101354d | 3,425 | cs | C# | Estudio_Contable_Springfield/Negocio/ValidacionHelper.cs | rediberry/Estudio_contable_springfield | a666b52d5da13f65e25c175e2befec398f019894 | [
"MIT"
] | null | null | null | Estudio_Contable_Springfield/Negocio/ValidacionHelper.cs | rediberry/Estudio_contable_springfield | a666b52d5da13f65e25c175e2befec398f019894 | [
"MIT"
] | null | null | null | Estudio_Contable_Springfield/Negocio/ValidacionHelper.cs | rediberry/Estudio_contable_springfield | a666b52d5da13f65e25c175e2befec398f019894 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Negocio
{
public static class ValidacionHelper
{
public static string ValidarStringNombre(string palabra)
{
... | 30.855856 | 126 | 0.450219 |
bb142d175bc7ac7115fb8c161b8916701d73b2de | 1,476 | cs | C# | C#/C# 1 Contests/SoftUni Contests/1/Electricity/1. Electricity/Electricity.cs | petyakostova/Telerik-Academy | 6fd6bd737c21f861d4fa75a625516bd8bc9a0c1a | [
"MIT"
] | 15 | 2015-11-20T00:32:42.000Z | 2018-04-26T20:16:36.000Z | C# 1 Contests/1/Electricity/1. Electricity/Electricity.cs | petyakostova/Software-University | 672d887d104260f18220bfb3d4a667b96a444b23 | [
"MIT"
] | null | null | null | C# 1 Contests/1/Electricity/1. Electricity/Electricity.cs | petyakostova/Software-University | 672d887d104260f18220bfb3d4a667b96a444b23 | [
"MIT"
] | 17 | 2016-04-05T06:30:28.000Z | 2020-04-19T20:01:04.000Z | using System;
namespace _1.Electricity
{
class Electricity
{
static void Main()
{
double lampPower = 100.53;
double compPower = 125.90;
int numberOfFloors = int.Parse(Console.ReadLine());
int flatsPerFloor = int.Parse(Console.ReadLine());
... | 32.086957 | 67 | 0.519648 |
bb7c137752edaf38aef5566473b62b6fbe76566b | 5,244 | cs | C# | Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs | zlxy/Genesis-3D | 44bbe50b00118c9fee60e4e3b414371411411317 | [
"MIT"
] | null | null | null | Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs | zlxy/Genesis-3D | 44bbe50b00118c9fee60e4e3b414371411411317 | [
"MIT"
] | null | null | null | Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs | zlxy/Genesis-3D | 44bbe50b00118c9fee60e4e3b414371411411317 | [
"MIT"
] | 1 | 2018-09-30T23:46:57.000Z | 2018-09-30T23:46:57.000Z | //
// System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper.cs
//
// Author: Duncan Mak (duncan@ximian.com)
// Lluis Sanchez Gual (lluis@ideary.com)
//
// 2002 (C) Copyright, Ximian, Inc.
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, ... | 28.655738 | 113 | 0.718917 |
cd588339539f94809912db5320c2d775d66f9ee3 | 596 | cs | C# | Zpp/Utils/ICentralPlanningConfiguration.cs | MaxWeickert/ng-erp-4.0 | 4b77b70cebed73da91231eb8b4bbd09bbce4ffc5 | [
"Apache-2.0"
] | null | null | null | Zpp/Utils/ICentralPlanningConfiguration.cs | MaxWeickert/ng-erp-4.0 | 4b77b70cebed73da91231eb8b4bbd09bbce4ffc5 | [
"Apache-2.0"
] | null | null | null | Zpp/Utils/ICentralPlanningConfiguration.cs | MaxWeickert/ng-erp-4.0 | 4b77b70cebed73da91231eb8b4bbd09bbce4ffc5 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using Zpp.Mrp2.impl.Mrp1.impl.LotSize.Impl;
namespace Zpp.Utils
{
public interface ICentralPlanningConfiguration
{
int CustomerOrderPartQuantity { get; set; }
int LotSize { get; set; }
LotSizeType LotSizeType { get; se... | 24.833333 | 82 | 0.669463 |
542f9115943927beae7ee09c8a329bdc062055d2 | 362 | cs | C# | RoslynDomCommon/InterfacesDirectivesAndComments/IBlockEnd.cs | pottereric/RoslynDOM | 302430d713c1acc8720a12fcd0b10ffaf6836c97 | [
"Apache-2.0"
] | 1 | 2021-04-18T03:29:12.000Z | 2021-04-18T03:29:12.000Z | RoslynDomCommon/InterfacesDirectivesAndComments/IBlockEnd.cs | pottereric/RoslynDOM | 302430d713c1acc8720a12fcd0b10ffaf6836c97 | [
"Apache-2.0"
] | null | null | null | RoslynDomCommon/InterfacesDirectivesAndComments/IBlockEnd.cs | pottereric/RoslynDOM | 302430d713c1acc8720a12fcd0b10ffaf6836c97 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoslynDom.Common
{
/// <summary>
///
/// </summary>
public interface IDetailBlockEnd : IDetail<IDetailBlockEnd>, IHasGroup
{
IDetailBlockStart BlockStart { get; }
... | 20.111111 | 74 | 0.68232 |
a89363b7f11a3d1b671a5bb9e663b4004219a3a0 | 173 | cs | C# | Defining Classes - Exercise/13.FamilyTree/Classes/Parent.cs | theoners/C-sharp-Advanced-January-2019 | a5640811acbb912dc3d06eb5c91eb3901300a77c | [
"MIT"
] | 2 | 2019-04-07T23:34:53.000Z | 2019-11-20T13:27:06.000Z | Defining Classes - Exercise/13.FamilyTree/Classes/Parent.cs | theoners/C-sharp-Advanced-January-2019 | a5640811acbb912dc3d06eb5c91eb3901300a77c | [
"MIT"
] | null | null | null | Defining Classes - Exercise/13.FamilyTree/Classes/Parent.cs | theoners/C-sharp-Advanced-January-2019 | a5640811acbb912dc3d06eb5c91eb3901300a77c | [
"MIT"
] | null | null | null | namespace _13.FamilyTree.Classes
{
public class Parent
{
public string ParentName { get; set; }
public string ParentBirthDay { get; set; }
}
}
| 17.3 | 50 | 0.612717 |
362f11950559163bb15a676830960944cbb0d471 | 5,066 | cs | C# | src/OData/Microsoft/OData/Core/UriParser/SemanticAst/EntityRangeVariableReferenceNode.cs | noflashbang/odata.net | 7ec65c3e86edd1266044523b88eb44114321c111 | [
"Apache-2.0"
] | null | null | null | src/OData/Microsoft/OData/Core/UriParser/SemanticAst/EntityRangeVariableReferenceNode.cs | noflashbang/odata.net | 7ec65c3e86edd1266044523b88eb44114321c111 | [
"Apache-2.0"
] | null | null | null | src/OData/Microsoft/OData/Core/UriParser/SemanticAst/EntityRangeVariableReferenceNode.cs | noflashbang/odata.net | 7ec65c3e86edd1266044523b88eb44114321c111 | [
"Apache-2.0"
] | null | null | null | // OData .NET Libraries
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICE... | 38.378788 | 121 | 0.633439 |
b388533d9ba90ece5b5f86903e38e740ffd3554c | 1,283 | cs | C# | src/Libris/Utilities/ArrayUtilities.cs | abyssal/Libris | e88e8620228e5a70d5e02ff7787b8dec55f503a0 | [
"MIT"
] | 9 | 2019-08-15T02:32:41.000Z | 2021-04-09T15:22:47.000Z | src/Libris/Utilities/ArrayUtilities.cs | abyssal/Libris | e88e8620228e5a70d5e02ff7787b8dec55f503a0 | [
"MIT"
] | 2 | 2019-07-27T06:18:52.000Z | 2019-07-28T04:25:31.000Z | src/Libris/Utilities/ArrayUtilities.cs | abyssal/Libris | e88e8620228e5a70d5e02ff7787b8dec55f503a0 | [
"MIT"
] | 2 | 2019-07-25T10:23:45.000Z | 2019-07-28T03:28:14.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Libris.Utilities
{
internal static class ArrayUtilities
{
public static byte[] Combine(params byte[][] arrays)
{
byte[] ret = new byte[arrays.Sum(x => x.Length)];
int offset ... | 27.891304 | 72 | 0.491037 |
18f3061f2fda074b946e1eba863cb5ac8a73bdd2 | 28,813 | cs | C# | src/FTNPowerApplication/FTNPower.Core/FortniteEventHandler.cs | pirica/FTN-Power | 046bec3e50922397080d449b6ee4393a5011b0f8 | [
"MIT"
] | 25 | 2020-04-25T06:38:37.000Z | 2022-03-05T06:01:47.000Z | src/FTNPowerApplication/FTNPower.Core/FortniteEventHandler.cs | pirica/FTN-Power | 046bec3e50922397080d449b6ee4393a5011b0f8 | [
"MIT"
] | null | null | null | src/FTNPowerApplication/FTNPower.Core/FortniteEventHandler.cs | pirica/FTN-Power | 046bec3e50922397080d449b6ee4393a5011b0f8 | [
"MIT"
] | 9 | 2020-08-31T00:14:25.000Z | 2021-11-10T23:15:18.000Z | using Discord;
using Discord.Rest;
using Fortnite.Core;
using Fortnite.Core.Interfaces;
using Fortnite.Core.Services.Events;
using Fortnite.External.ServiceStore.Events;
using Fortnite.Model.Enums;
using FTNPower.Core.DomainService;
using FTNPower.Data;
using FTNPower.Model.Interfaces;
using FTNPower.Model.Tables;
usi... | 51.086879 | 178 | 0.403707 |
8cc441d0e3a752289b43ea7cd94a30238a5377c9 | 1,347 | cs | C# | Assets/UKitchen/States/UI/Editor/BasicTextStateEditor.cs | CengizKuscu/UnityKitchen | daacbb6a073e744abdded848fc6831e508ba1491 | [
"MIT"
] | 2 | 2021-07-11T10:47:24.000Z | 2021-07-16T22:44:20.000Z | Assets/UKitchen/States/UI/Editor/BasicTextStateEditor.cs | CengizKuscu/UnityKitchen | daacbb6a073e744abdded848fc6831e508ba1491 | [
"MIT"
] | null | null | null | Assets/UKitchen/States/UI/Editor/BasicTextStateEditor.cs | CengizKuscu/UnityKitchen | daacbb6a073e744abdded848fc6831e508ba1491 | [
"MIT"
] | null | null | null | using System;
using UnityEditor;
namespace UKitchen.States.UI
{
[CustomEditor(typeof(BasicTextStateMonoHelper))]
public class BasicTextStateEditor : Editor
{
private SerializedProperty m_Text;
private SerializedProperty m_useState;
private SerializedProperty _stateItems;
pri... | 31.325581 | 85 | 0.64291 |
18383088ad675e5ca8fba5f9aadedd809af444c9 | 1,159 | cshtml | C# | Store/Views/Register/_Edit.cshtml | robsmitha/SmithaConsulting | 65ae0e8599ef4aff6c11fe2c6b85276e297db8a1 | [
"CC-BY-4.0"
] | null | null | null | Store/Views/Register/_Edit.cshtml | robsmitha/SmithaConsulting | 65ae0e8599ef4aff6c11fe2c6b85276e297db8a1 | [
"CC-BY-4.0"
] | 10 | 2021-03-10T10:11:37.000Z | 2022-02-27T00:48:13.000Z | Store/Views/Register/_Edit.cshtml | robsmitha/Operations | 65ae0e8599ef4aff6c11fe2c6b85276e297db8a1 | [
"CC-BY-4.0"
] | null | null | null | @model CartEditViewModel
<form method="post" asp-action="Edit" id="form_edit_register">
<p class="lead text-center">
QTY. @Model.Quantity
</p>
<hr class="w-25" />
<div class="form-row">
<div class="col">
<button type="button" class="btn btn-outline-primary btn-lg btn-block ... | 41.392857 | 211 | 0.60742 |
d84d09c56df551d5c5ee29b5b253bf2b1663442b | 861 | cs | C# | SlackSkills/Models/Container.cs | brainoffline/SlackSkills | 7352b16ed2b312f46109ce0286987cd6b956b120 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | SlackSkills/Models/Container.cs | brainoffline/SlackSkills | 7352b16ed2b312f46109ce0286987cd6b956b120 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | SlackSkills/Models/Container.cs | brainoffline/SlackSkills | 7352b16ed2b312f46109ce0286987cd6b956b120 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | // ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
// ReSharper disable IdentifierTypo
// ReSharper disable CommentTypo
// ReSharper disable NotNullMemberIsNotInitialized
// ReSharper disable StringLiteralTypo
using System;
#pragma warning disable 8618 // Models are de-serialised, so sh... | 31.888889 | 78 | 0.638792 |
3a23f77eec8274ccb4f837912c9eb70aac1c5fb9 | 86 | cs | C# | Assets/Scripts/IPersistable.cs | ickybodclay/UnityRpgOverworldBattleExample | 8b77a18bedc2346ae0d830cb30b86f9eed14b937 | [
"Apache-2.0"
] | 3 | 2018-08-01T15:01:48.000Z | 2021-06-22T23:38:22.000Z | Assets/Scripts/IPersistable.cs | ickybodclay/UnityRpgOverworldBattleExample | 8b77a18bedc2346ae0d830cb30b86f9eed14b937 | [
"Apache-2.0"
] | 6 | 2018-06-22T20:24:41.000Z | 2018-07-10T20:07:42.000Z | Assets/Scripts/IPersistable.cs | ickybodclay/UnityRpgOverworldBattleExample | 8b77a18bedc2346ae0d830cb30b86f9eed14b937 | [
"Apache-2.0"
] | null | null | null | public interface IPersistable<T> {
void SaveData();
void LoadData(T data);
}
| 17.2 | 35 | 0.662791 |
adea162444964f1f0057060e76ffab1f2b7e4f6b | 364 | cs | C# | View/Karte/PflanzenSucheAllgemeinView.xaml.cs | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 5 | 2021-09-01T06:47:08.000Z | 2022-03-10T08:03:55.000Z | View/Karte/PflanzenSucheAllgemeinView.xaml.cs | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 16 | 2021-09-04T15:26:22.000Z | 2022-03-31T15:52:44.000Z | View/Karte/PflanzenSucheAllgemeinView.xaml.cs | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 1 | 2022-03-16T14:16:40.000Z | 2022-03-16T14:16:40.000Z | using System.Windows.Controls;
namespace MeisterGeister.View.Karte
{
/// <summary>
/// Interaktionslogik für PflanzenSucheAllgemeinView.xaml
/// </summary>
public partial class PflanzenSucheAllgemeinView : UserControl
{
public PflanzenSucheAllgemeinView()
{
I... | 22.75 | 66 | 0.626374 |
0f866b2aeb40e53b65a726140cbf357c7dd6ffba | 482 | cs | C# | UWP/Services/Models/RepostTimelineModel.cs | wcz0/WeiPo | 1cd0dc087397ccba83686e13e5a7c38f87394d53 | [
"MIT"
] | 30 | 2019-10-03T05:48:38.000Z | 2022-01-17T05:19:52.000Z | UWP/Services/Models/RepostTimelineModel.cs | wcz0/WeiPo | 1cd0dc087397ccba83686e13e5a7c38f87394d53 | [
"MIT"
] | 158 | 2019-10-27T03:38:26.000Z | 2022-03-23T05:17:30.000Z | UWP/Services/Models/RepostTimelineModel.cs | wcz0/WeiPo | 1cd0dc087397ccba83686e13e5a7c38f87394d53 | [
"MIT"
] | 11 | 2019-09-14T06:57:23.000Z | 2021-08-16T03:38:07.000Z | using System.Collections.Generic;
using Newtonsoft.Json;
namespace WeiPo.Services.Models
{
public partial class RepostTimelineModel
{
[JsonProperty("data")]
public List<StatusModel> Data { get; set; }
[JsonProperty("total_number")]
public long TotalNumber { get; set; }
... | 24.1 | 51 | 0.628631 |
d293d0685c5c0980bb70a87cca0c44d6090f90d2 | 1,869 | cs | C# | Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Builder/Explorer/BuilderHierarchyWindow.cs | kawaitenshi/fools-run | bb9fc5d54d3e3e7c59309f0c1cf951d6c1d4e373 | [
"Apache-2.0"
] | null | null | null | Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Builder/Explorer/BuilderHierarchyWindow.cs | kawaitenshi/fools-run | bb9fc5d54d3e3e7c59309f0c1cf951d6c1d4e373 | [
"Apache-2.0"
] | null | null | null | Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Builder/Explorer/BuilderHierarchyWindow.cs | kawaitenshi/fools-run | bb9fc5d54d3e3e7c59309f0c1cf951d6c1d4e373 | [
"Apache-2.0"
] | null | null | null | using UnityEditor;
namespace Unity.UI.Builder
{
internal class BuilderHierarchyWindow : BuilderPaneWindow
{
BuilderHierarchy m_HierarchyPane;
//[MenuItem(BuilderConstants.BuilderMenuEntry + " Hierarchy")]
public static void ShowWindow()
{
GetWindowAndInit<BuilderHie... | 31.15 | 140 | 0.624933 |
b855ff65922ead37746f7f1db8d32ab6e10466fd | 790 | cs | C# | 30 Days of Code/Day06-LetsReview.cs | TheeDouglasAM3/MyHackerRankSolutions | 53a85f54ed5bc6a8e875d9500cf8bd752d249ec0 | [
"MIT"
] | 5 | 2020-08-18T01:40:32.000Z | 2021-12-18T20:39:18.000Z | 30 Days of Code/Day06-LetsReview.cs | TheeDouglasAM3/MyHackerRankSolutions | 53a85f54ed5bc6a8e875d9500cf8bd752d249ec0 | [
"MIT"
] | null | null | null | 30 Days of Code/Day06-LetsReview.cs | TheeDouglasAM3/MyHackerRankSolutions | 53a85f54ed5bc6a8e875d9500cf8bd752d249ec0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
class Solution {
static void Main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */
string numberTestCases = Console.ReadLine();
for(int i = 0; i < ... | 35.909091 | 118 | 0.573418 |
ba96ed5cd030b48d293440d03483bfd035ccfab0 | 3,356 | cs | C# | Example_29.cs | ivanagui2/PDFjet-Open-Source | 61545e0badeefd23683e185b10dbf3401cc7b5f9 | [
"BSD-2-Clause"
] | null | null | null | Example_29.cs | ivanagui2/PDFjet-Open-Source | 61545e0badeefd23683e185b10dbf3401cc7b5f9 | [
"BSD-2-Clause"
] | null | null | null | Example_29.cs | ivanagui2/PDFjet-Open-Source | 61545e0badeefd23683e185b10dbf3401cc7b5f9 | [
"BSD-2-Clause"
] | 1 | 2020-05-07T23:33:44.000Z | 2020-05-07T23:33:44.000Z | using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using PDFjet.NET;
/**
* Example_29.cs
*/
public class Example_29 {
public Example_29() {
PDF pdf = new PDF(new BufferedStream(
new FileStream("Examp... | 39.952381 | 627 | 0.644219 |
240a761adcff488973dd25f10689be8e02bfa978 | 355 | cs | C# | src/SuccincT/PatternMatchers/IFuncWithHandler{TM,T1,T2,TR}.cs | DavidArno/SuccincT | 022ae9d5f5e8340c30a4cc9429722b893d9275b4 | [
"MIT"
] | 269 | 2015-05-31T08:02:22.000Z | 2022-02-10T02:54:47.000Z | src/SuccincT/PatternMatchers/IFuncWithHandler{TM,T1,T2,TR}.cs | DavidArno/SuccincT | 022ae9d5f5e8340c30a4cc9429722b893d9275b4 | [
"MIT"
] | 63 | 2015-07-01T21:31:09.000Z | 2021-09-22T15:10:28.000Z | src/SuccincT/PatternMatchers/IFuncWithHandler{TM,T1,T2,TR}.cs | DavidArno/SuccincT | 022ae9d5f5e8340c30a4cc9429722b893d9275b4 | [
"MIT"
] | 23 | 2015-06-10T09:52:29.000Z | 2019-09-13T10:44:53.000Z | using System;
using SuccincT.Unions;
namespace SuccincT.PatternMatchers
{
public interface IFuncWithHandler<out TMatcher, T1, T2, in TResult>
{
IFuncWithHandler<TMatcher, T1, T2, TResult> Or(Either<T1, Any> value1, Either<T2, Any> value2);
TMatcher Do(Func<T1, T2, TResult> function);
... | 25.357143 | 103 | 0.684507 |
2416e1c029104ba1562e162efe1e5b2882318ec8 | 9,587 | cs | C# | Net.Proxy/RunTimeTypeBuilder.cs | kelessal/net-proxy | 2ad18817ebfe4ba5c6cee6e3e6ad379ec2136ec3 | [
"MIT"
] | 1 | 2019-03-10T17:26:19.000Z | 2019-03-10T17:26:19.000Z | Net.Proxy/RunTimeTypeBuilder.cs | kelessal/net-proxy | 2ad18817ebfe4ba5c6cee6e3e6ad379ec2136ec3 | [
"MIT"
] | null | null | null | Net.Proxy/RunTimeTypeBuilder.cs | kelessal/net-proxy | 2ad18817ebfe4ba5c6cee6e3e6ad379ec2136ec3 | [
"MIT"
] | null | null | null | using Net.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Net.Proxy
{
public static class RuntimeTypeBuilder
{
static AssemblyBuilder assemblyBuilder;
static ModuleBuilder moduleBuilder;
pub... | 46.091346 | 226 | 0.63899 |
c9f9dede2183945f2bd8c60821dab8e6d0808902 | 308 | cs | C# | ProTagger/Repository/RepositoryView.xaml.cs | Divad-H/pro-tagger | a0b8b12b547758c7133c8077bfd787b9858fbe05 | [
"MIT"
] | null | null | null | ProTagger/Repository/RepositoryView.xaml.cs | Divad-H/pro-tagger | a0b8b12b547758c7133c8077bfd787b9858fbe05 | [
"MIT"
] | null | null | null | ProTagger/Repository/RepositoryView.xaml.cs | Divad-H/pro-tagger | a0b8b12b547758c7133c8077bfd787b9858fbe05 | [
"MIT"
] | null | null | null | using System.Windows.Controls;
namespace ProTagger.Repository
{
/// <summary>
/// Interaction logic for RepositoryView.xaml
/// </summary>
public partial class RepositoryView : UserControl
{
public RepositoryView()
{
InitializeComponent();
}
}
}
| 19.25 | 53 | 0.607143 |
f4fe23ce84b6f59932fe03b6e0de5a733feaecc1 | 291 | cs | C# | Osm.Server/Models/Card.cs | pranavkawle/Online-Scrum-Poker | d05682759917ba6da652bdad379d6fd1834318a3 | [
"MIT"
] | null | null | null | Osm.Server/Models/Card.cs | pranavkawle/Online-Scrum-Poker | d05682759917ba6da652bdad379d6fd1834318a3 | [
"MIT"
] | null | null | null | Osm.Server/Models/Card.cs | pranavkawle/Online-Scrum-Poker | d05682759917ba6da652bdad379d6fd1834318a3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Osm.Server.Models
{
public class Card
{
public int Id { get; set; }
public string Value { get; set; }
public decimal Complexity { get; set; }
}
}
| 19.4 | 47 | 0.646048 |
905b5455b8a22368376366aaf5905289d5b55768 | 1,343 | cs | C# | src/C# to C# Communication/SignalR/SignalRClient/Program.cs | gnusmas12/MyTested.AspNet.TV | 76e243ef3f8aa1c1d19f4ab453c7f7b2692ed33e | [
"MIT"
] | 439 | 2019-11-22T12:07:09.000Z | 2021-06-14T02:24:50.000Z | src/C# to C# Communication/SignalR/SignalRClient/Program.cs | gnusmas12/MyTested.AspNet.TV | 76e243ef3f8aa1c1d19f4ab453c7f7b2692ed33e | [
"MIT"
] | 2 | 2020-02-23T13:34:15.000Z | 2021-02-22T10:56:07.000Z | src/C# to C# Communication/SignalR/SignalRClient/Program.cs | gnusmas12/MyTested.AspNet.TV | 76e243ef3f8aa1c1d19f4ab453c7f7b2692ed33e | [
"MIT"
] | 65 | 2019-12-16T08:17:50.000Z | 2021-06-04T07:54:31.000Z | namespace SignalRClient
{
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using SignalRCommon;
public class Program
{
public static async Task Main()
{
var connection = new HubConnectionBuilder()
.WithUrl("https... | 29.844444 | 106 | 0.587491 |
90b71f284e309ba8f3a5c00b95eb6755d85e93a4 | 8,000 | cs | C# | Program/Client/UnityProject/Assets/BaseFrameWork/ScriptFrameWork/Util/AssetBundleUtil/AssetResSignalDownloadTool.cs | zwluoqi/TextEquip | a86e2bc009a5231de9b3fb860ce1a005c51747fc | [
"MIT"
] | 1 | 2022-03-03T03:10:17.000Z | 2022-03-03T03:10:17.000Z | Program/Client/UnityProject/Assets/BaseFrameWork/ScriptFrameWork/Util/AssetBundleUtil/AssetResSignalDownloadTool.cs | zwluoqi/TextEquip | a86e2bc009a5231de9b3fb860ce1a005c51747fc | [
"MIT"
] | null | null | null | Program/Client/UnityProject/Assets/BaseFrameWork/ScriptFrameWork/Util/AssetBundleUtil/AssetResSignalDownloadTool.cs | zwluoqi/TextEquip | a86e2bc009a5231de9b3fb860ce1a005c51747fc | [
"MIT"
] | 2 | 2022-03-03T03:10:17.000Z | 2022-03-07T08:50:35.000Z | using System;
using System.Threading;
using UnityEngine;
using System.IO;
using System.Net;
using System.Collections;
using System.Collections.Generic;
using AssetPlugin;
public class AssetResSignalDownloadTool
{
public AssetResDownload parentAssetResDownLoadTool;
public AssetResSignalDownloadTool (AssetResDo... | 26.755853 | 219 | 0.672375 |
b1e6a404dcaf3b4f67c0bc96b94444bf7f9b13d6 | 355 | cs | C# | src/Foundation/Features/MyAccount/AddressBook/AddressViewModel.cs | cuong0993/Foundation | a3896591b92278a930fdadedbf5aa18c4bbae70a | [
"Apache-2.0"
] | 96 | 2019-10-28T20:36:12.000Z | 2022-03-23T17:14:23.000Z | src/Foundation/Features/MyAccount/AddressBook/AddressViewModel.cs | cuong0993/Foundation | a3896591b92278a930fdadedbf5aa18c4bbae70a | [
"Apache-2.0"
] | 324 | 2019-10-29T07:06:14.000Z | 2022-03-24T10:22:19.000Z | src/Foundation/Features/MyAccount/AddressBook/AddressViewModel.cs | cuong0993/Foundation | a3896591b92278a930fdadedbf5aa18c4bbae70a | [
"Apache-2.0"
] | 101 | 2019-10-29T16:50:10.000Z | 2022-03-25T08:16:45.000Z | using Foundation.Features.Shared;
namespace Foundation.Features.MyAccount.AddressBook
{
public class AddressViewModel : ContentViewModel<AddressBookPage>
{
public AddressModel Address { get; set; }
public AddressViewModel(AddressBookPage currentPage) : base(currentPage) { }
public Addr... | 29.583333 | 84 | 0.715493 |
596de003fc8546003cb184a5fe141422df9327fd | 5,791 | cs | C# | src/Core/Types/Types/ObjectField.cs | jbray1982/hotchocolate | 20ee3361fe432c4825077208f2cbd567b6abda08 | [
"MIT"
] | null | null | null | src/Core/Types/Types/ObjectField.cs | jbray1982/hotchocolate | 20ee3361fe432c4825077208f2cbd567b6abda08 | [
"MIT"
] | null | null | null | src/Core/Types/Types/ObjectField.cs | jbray1982/hotchocolate | 20ee3361fe432c4825077208f2cbd567b6abda08 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using HotChocolate.Resolvers;
namespace HotChocolate.Types
{
public class ObjectField
: ObjectFieldBase
{
private readonly List<InterfaceField> _interfaceFields =
new List<InterfaceField>();... | 34.266272 | 164 | 0.576239 |
799524e2ea863cfbf459a23e24efd6d5bd447bdc | 569 | cs | C# | WalletAppWPF/Authentication/PasswordEncryption.cs | kirill26031/account-app-c-sharp | 05e604876b040238aae0d74b562eb0740dae70b1 | [
"MIT"
] | null | null | null | WalletAppWPF/Authentication/PasswordEncryption.cs | kirill26031/account-app-c-sharp | 05e604876b040238aae0d74b562eb0740dae70b1 | [
"MIT"
] | null | null | null | WalletAppWPF/Authentication/PasswordEncryption.cs | kirill26031/account-app-c-sharp | 05e604876b040238aae0d74b562eb0740dae70b1 | [
"MIT"
] | null | null | null | using Paket.Core.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WalletAppWPF.Authentication
{
public class PasswordEncryption
{
public static String Encrypt(String inputString)
{
byte[] data = S... | 27.095238 | 86 | 0.681898 |
7c2f33f0769acd080a3dfbab49f5d856566b92fe | 274 | cs | C# | WhereDoYouWantToEat2/Models/RestaurantTag.cs | kpwags/Where-Do-You-Want-To-Eat-2 | d39c03e66bb26c493c6594f16d6ff0bc56ef765f | [
"MIT"
] | null | null | null | WhereDoYouWantToEat2/Models/RestaurantTag.cs | kpwags/Where-Do-You-Want-To-Eat-2 | d39c03e66bb26c493c6594f16d6ff0bc56ef765f | [
"MIT"
] | 30 | 2020-05-14T00:09:21.000Z | 2020-07-18T22:15:58.000Z | WhereDoYouWantToEat2/Models/RestaurantTag.cs | kpwags/Where-Do-You-Want-To-Eat-2 | d39c03e66bb26c493c6594f16d6ff0bc56ef765f | [
"MIT"
] | 1 | 2022-01-11T19:56:19.000Z | 2022-01-11T19:56:19.000Z | namespace WhereDoYouWantToEat2.Models
{
public class RestaurantTag
{
public int RestaurantId { get; set; }
public virtual Restaurant Restaurant { get; set; }
public int TagId { get; set; }
public virtual Tag Tag { get; set; }
}
} | 24.909091 | 58 | 0.620438 |
7c9d5c7bf95b51a8111c1578afd232d8879a2715 | 1,558 | cs | C# | Runtime/Impl/EventDispatcher.cs | kirill-vorotov/EventBus | 337fd2aca9cf794ca210d13bc971fadab48d5b65 | [
"MIT"
] | 1 | 2021-09-14T01:34:05.000Z | 2021-09-14T01:34:05.000Z | Runtime/Impl/EventDispatcher.cs | kirill-vorotov/EventBus | 337fd2aca9cf794ca210d13bc971fadab48d5b65 | [
"MIT"
] | null | null | null | Runtime/Impl/EventDispatcher.cs | kirill-vorotov/EventBus | 337fd2aca9cf794ca210d13bc971fadab48d5b65 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Diagnostics;
namespace KV.Events
{
public class EventDispatcher<TEvent> : IEventDispatcher<TEvent>
{
internal const int InitialQueueCapacity = 4;
private readonly List<IEventHandler<TEvent>> _handlers = new List<IEventHandler<TEvent>>();
... | 25.129032 | 99 | 0.522465 |
801adfd2102a07d82f1fc95194ec706fde3ff994 | 408 | cs | C# | Assets/UnityResources/Scripts/Triggers/HealthTrigger.cs | jojolepro/ludumdare43 | 665c48fa15a7948d5d742a240923ad267953d910 | [
"Apache-2.0"
] | null | null | null | Assets/UnityResources/Scripts/Triggers/HealthTrigger.cs | jojolepro/ludumdare43 | 665c48fa15a7948d5d742a240923ad267953d910 | [
"Apache-2.0"
] | null | null | null | Assets/UnityResources/Scripts/Triggers/HealthTrigger.cs | jojolepro/ludumdare43 | 665c48fa15a7948d5d742a240923ad267953d910 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthTrigger : MonoBehaviour {
public float healAmount = 15f;
void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.name.Contains("Player"))
{
other.gameObject.GetComponen... | 25.5 | 74 | 0.651961 |
dcea4b055e8396be9a6ff30c25381909b3a86c5c | 23,299 | cs | C# | src/kiezellisp-lib/compiler-binders.cs | jantolenaar/kiezellisp | fbf4a704af82fcbe93c5b360593226a6032e9f5b | [
"MIT",
"MS-PL"
] | 4 | 2015-07-26T20:50:43.000Z | 2017-08-19T01:46:57.000Z | src/kiezellisp-lib/compiler-binders.cs | jantolenaar/kiezellisp | fbf4a704af82fcbe93c5b360593226a6032e9f5b | [
"MIT",
"MS-PL"
] | null | null | null | src/kiezellisp-lib/compiler-binders.cs | jantolenaar/kiezellisp | fbf4a704af82fcbe93c5b360593226a6032e9f5b | [
"MIT",
"MS-PL"
] | 3 | 2017-02-21T09:40:07.000Z | 2020-11-26T18:57:41.000Z | #region Header
// Copyright (C) Jan Tolenaar. See the file LICENSE for details.
#endregion Header
namespace Kiezel
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System.Linq.Expressions;
using Sy... | 35.462709 | 146 | 0.574703 |
9317d3c454452c10cfde2490b3bf7c5d5fabef77 | 437 | cs | C# | src/Tests/HandlerGeneric/TheHandlerThatThrows.cs | SimonCropp/NServiceBus.Sentry | c4704c1c677a0bc8ebcd76ef85b73ce1d05f0938 | [
"MIT"
] | null | null | null | src/Tests/HandlerGeneric/TheHandlerThatThrows.cs | SimonCropp/NServiceBus.Sentry | c4704c1c677a0bc8ebcd76ef85b73ce1d05f0938 | [
"MIT"
] | null | null | null | src/Tests/HandlerGeneric/TheHandlerThatThrows.cs | SimonCropp/NServiceBus.Sentry | c4704c1c677a0bc8ebcd76ef85b73ce1d05f0938 | [
"MIT"
] | null | null | null | public class GenericHandler :
IHandleMessages<StartGenericHandler<string>>
{
ManualResetEvent resetEvent;
public GenericHandler(ManualResetEvent resetEvent) =>
this.resetEvent = resetEvent;
public Task Handle(StartGenericHandler<string> message, IMessageHandlerContext context)
{
c... | 29.133333 | 91 | 0.71167 |
11e339a967a1fd7cd4cbd531045c44c61ba28753 | 382 | cs | C# | tests/SapNwRfc.Tests/SapNameAttributeTests.cs | campersau/SapNwRfc-1 | 5c3f483c353d246ba1cb9eccebaba3cc860019a0 | [
"MIT"
] | 101 | 2020-04-02T11:00:25.000Z | 2022-03-30T21:03:01.000Z | tests/SapNwRfc.Tests/SapNameAttributeTests.cs | harunemre/SapNwRfc | 99af1b668dd64211ace3a739a5ae65433bae9f6a | [
"MIT"
] | 59 | 2020-04-09T09:39:58.000Z | 2022-03-14T12:55:32.000Z | tests/SapNwRfc.Tests/SapNameAttributeTests.cs | harunemre/SapNwRfc | 99af1b668dd64211ace3a739a5ae65433bae9f6a | [
"MIT"
] | 26 | 2020-07-15T13:29:12.000Z | 2022-03-28T23:06:24.000Z | using FluentAssertions;
using Xunit;
namespace SapNwRfc.Tests
{
public sealed class SapNameAttributeTests
{
[Fact]
public void Constructor_PassName_ShouldSetNameProperty()
{
// Act
var attribute = new SapNameAttribute("SomeName");
// Assert
... | 20.105263 | 64 | 0.586387 |
11ed1cce5d2112c2ee69b0f07c07b076111159d1 | 2,539 | cs | C# | sdk/dotnet/Jobs/V4/GetTenant.cs | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/dotnet/Jobs/V4/GetTenant.cs | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/dotnet/Jobs/V4/GetTenant.cs | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | // *** 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;
using Pulumi.Utilities... | 32.139241 | 233 | 0.631745 |
6c75e094c0231e80bd80dfff7341f34f40c9f2fc | 359 | cs | C# | src/CRoute.Base.Infrastructure/Exceptions/EventHandlerNotRegisteredException.cs | m-adamkiewicz/CRoute.Base | 439fe6b5a641d6453d8c1b3e2589806e22cf72c1 | [
"MIT"
] | null | null | null | src/CRoute.Base.Infrastructure/Exceptions/EventHandlerNotRegisteredException.cs | m-adamkiewicz/CRoute.Base | 439fe6b5a641d6453d8c1b3e2589806e22cf72c1 | [
"MIT"
] | 2 | 2019-08-09T20:27:37.000Z | 2019-09-08T16:32:14.000Z | src/CRoute.Base.Infrastructure/Exceptions/EventHandlerNotRegisteredException.cs | m-adamkiewicz/CRoute.Base | 439fe6b5a641d6453d8c1b3e2589806e22cf72c1 | [
"MIT"
] | null | null | null | using CRoute.Base.Core.Exceptions;
namespace CRoute.Base.Infrastructure.Exceptions
{
public class EventHandlerNotRegisteredException : CRouteException
{
private const string _code = "event_handler_not_registered";
public EventHandlerNotRegisteredException(string message)
: base(_cod... | 27.615385 | 69 | 0.70195 |
5094a2fb70da3dbe0693da55814f4271c4af7fcf | 4,401 | cs | C# | Assets/Scripts/DataTypes/Jade/MDF/Modifiers/Ambiance/Ambiance_Modifier.cs | Adsolution/Ray1Map | 13907ff4b3d86b39f17140cc5c10de6162778367 | [
"MIT"
] | 29 | 2020-02-28T13:16:02.000Z | 2022-03-29T09:03:03.000Z | Assets/Scripts/DataTypes/Jade/MDF/Modifiers/Ambiance/Ambiance_Modifier.cs | Adsolution/Ray1Map | 13907ff4b3d86b39f17140cc5c10de6162778367 | [
"MIT"
] | 3 | 2021-04-11T05:08:21.000Z | 2022-03-02T21:53:49.000Z | Assets/Scripts/DataTypes/Jade/MDF/Modifiers/Ambiance/Ambiance_Modifier.cs | Adsolution/Ray1Map | 13907ff4b3d86b39f17140cc5c10de6162778367 | [
"MIT"
] | 4 | 2020-08-15T21:39:35.000Z | 2022-01-16T12:16:51.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BinarySerializer;
namespace R1Engine.Jade {
public class Ambiance_Modifier : MDF_Modifier {
public uint Version { get; set; }
public Ambiance_Filter.Flags Filters { get; set; }
public uint ... | 70.983871 | 193 | 0.765508 |
0b05c8ea5e708d92b45f50d3388e0b65833c46eb | 1,163 | cs | C# | BeautySalon.Common/ErrorMessages.cs | ChristinaNikolova/BeautySalon | 15f6b771fb3d014d4f4b2fc007439391f9536364 | [
"MIT"
] | 3 | 2020-12-15T19:12:06.000Z | 2020-12-19T08:52:55.000Z | BeautySalon.Common/ErrorMessages.cs | ChristinaNikolova/BeautySalon | 15f6b771fb3d014d4f4b2fc007439391f9536364 | [
"MIT"
] | null | null | null | BeautySalon.Common/ErrorMessages.cs | ChristinaNikolova/BeautySalon | 15f6b771fb3d014d4f4b2fc007439391f9536364 | [
"MIT"
] | 2 | 2020-12-28T14:00:36.000Z | 2021-01-05T19:22:52.000Z | namespace BeautySalon.Common
{
public static class ErrorMessages
{
public const string InputModel = "The {0} must be at least {2} and at max {1} characters long!";
public const string InputModelMaxLength = "The {0} must be at max {1} characters long.";
// User
public const str... | 40.103448 | 146 | 0.699914 |
945af0a848b57de594b00d8ae3c11f2bbde22a0f | 864 | cs | C# | View/Watershed/TerrainBrowser.xaml.cs | HydrologicEngineeringCenter/HEC-FDA | 2e8efc21fddd57432460f018bf4a13260610afc5 | [
"MIT"
] | 2 | 2021-10-18T19:11:09.000Z | 2022-02-10T02:39:34.000Z | View/Watershed/TerrainBrowser.xaml.cs | HydrologicEngineeringCenter/HEC-FDA | 2e8efc21fddd57432460f018bf4a13260610afc5 | [
"MIT"
] | 135 | 2021-09-02T20:02:56.000Z | 2022-03-14T21:32:22.000Z | View/Watershed/TerrainBrowser.xaml.cs | HydrologicEngineeringCenter/HEC-FDA | 2e8efc21fddd57432460f018bf4a13260610afc5 | [
"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;... | 25.411765 | 109 | 0.703704 |
bfe8cf00f196aa96eeb9fba81204ddfbd5e28de1 | 1,536 | cs | C# | LeetCode_Solutions/helpers/ListNodeHelpers.cs | ZeyuWangGit/Leetcode_Question_And_Solution | 017105615ccef537a25d51f679c01285bf06848b | [
"MIT"
] | null | null | null | LeetCode_Solutions/helpers/ListNodeHelpers.cs | ZeyuWangGit/Leetcode_Question_And_Solution | 017105615ccef537a25d51f679c01285bf06848b | [
"MIT"
] | null | null | null | LeetCode_Solutions/helpers/ListNodeHelpers.cs | ZeyuWangGit/Leetcode_Question_And_Solution | 017105615ccef537a25d51f679c01285bf06848b | [
"MIT"
] | null | null | null | namespace LeetCode_Solutions.helpers
{
public static class ListNodeHelpers
{
public static ListNode CreateLinkedList(int[] values)
{
var head = new ListNode(values[0]);
var current = head;
for (int i = 1; i < values.Length; i++)
{
... | 26.033898 | 75 | 0.407552 |
13830558e8ec99ef89142d9e34faef3932f75b31 | 740 | cs | C# | FinancialService/Services/FinancialService.cs | JohanSmarius/GrpcDemo | ae337ce58e4171de22547192ea872272fa3936d8 | [
"MIT"
] | null | null | null | FinancialService/Services/FinancialService.cs | JohanSmarius/GrpcDemo | ae337ce58e4171de22547192ea872272fa3936d8 | [
"MIT"
] | 2 | 2020-11-17T16:14:18.000Z | 2020-11-17T16:14:47.000Z | FinancialService/Services/FinancialService.cs | JohanSmarius/GrpcDemo | ae337ce58e4171de22547192ea872272fa3936d8 | [
"MIT"
] | null | null | null | using FinancialService.Protos;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace FinancialService.Services
{
public class FinancialService : Protos.FinancialService.FinancialServiceBase
{
private readonly ILogger<FinancialService> _logger;
... | 28.461538 | 113 | 0.706757 |
2855370110d94cef7665ff19683dd3cd5257cd0c | 2,406 | cs | C# | src/OTA-Library/MultiModalOfferTypeTravelerCharacteristics.cs | Franklin89/OTA-Library | bfa2793aa9393ab37f527a89be95130bb10deffe | [
"MIT"
] | 8 | 2016-09-30T12:07:05.000Z | 2018-05-13T07:41:02.000Z | src/OTA-Library/MultiModalOfferTypeTravelerCharacteristics.cs | Franklin89/OTA-Library | bfa2793aa9393ab37f527a89be95130bb10deffe | [
"MIT"
] | 1 | 2016-09-15T15:51:28.000Z | 2016-09-30T07:56:03.000Z | src/OTA-Library/MultiModalOfferTypeTravelerCharacteristics.cs | Franklin89/OTA-Library | bfa2793aa9393ab37f527a89be95130bb10deffe | [
"MIT"
] | 7 | 2017-06-13T11:08:39.000Z | 2021-07-29T07:08:55.000Z | using System.Collections.Generic;
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serializat... | 30.846154 | 118 | 0.583541 |
e916a9f4c64a8bd1dfe0e91f27c55c78caaebd42 | 624 | cs | C# | Two.Application/ShoppingCart/Commands/AddFood/AddFoodCommandHandler.cs | AmazingSuka/two-bros | 8cb667e14e1a73fba949537b7e7ec054d8ce668a | [
"MIT"
] | null | null | null | Two.Application/ShoppingCart/Commands/AddFood/AddFoodCommandHandler.cs | AmazingSuka/two-bros | 8cb667e14e1a73fba949537b7e7ec054d8ce668a | [
"MIT"
] | 4 | 2021-09-28T05:37:13.000Z | 2022-03-02T09:54:34.000Z | Two.Application/ShoppingCart/Commands/AddFood/AddFoodCommandHandler.cs | DulkinDmitriy/two-bros | 11a7236c1a92220161960213ef3c1f9ff71d1eab | [
"MIT"
] | null | null | null | using MediatR;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Boxters.Application.ShoppingCart.Commands.AddFood
{
public class AddFoodCommandHandler : IRequestHandler<AddFoodCommand, Unit>
{
... | 24.96 | 93 | 0.698718 |
b00f34588525f2f730ef4b8a5a8d44c43ce727c5 | 352 | cs | C# | C# OOP Exams/OOPExam100421/OOPTasks/AquaShop/Models/Decorations/Ornament.cs | ErsanYashar/-SoftUni-Exams | 61509674d434ddd1a307a1d31da6db284e657327 | [
"MIT"
] | null | null | null | C# OOP Exams/OOPExam100421/OOPTasks/AquaShop/Models/Decorations/Ornament.cs | ErsanYashar/-SoftUni-Exams | 61509674d434ddd1a307a1d31da6db284e657327 | [
"MIT"
] | null | null | null | C# OOP Exams/OOPExam100421/OOPTasks/AquaShop/Models/Decorations/Ornament.cs | ErsanYashar/-SoftUni-Exams | 61509674d434ddd1a307a1d31da6db284e657327 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace AquaShop.Models.Decorations
{
public class Ornament : Decoration
{
private const int DefaultComfort = 1;
private const decimal DefaultPrice = 5;
public Ornament()
: base(DefaultComfort, DefaultPri... | 19.555556 | 48 | 0.636364 |
722a41be659c9b760089a6eae74b3aaaa07d6e45 | 450 | cs | C# | LoggingServices/Logging/LogLevel.cs | HelloKitty/.NetLoggingServices | 4ded05c877021a761cc2a6d373b06c899dedd8e6 | [
"MIT"
] | null | null | null | LoggingServices/Logging/LogLevel.cs | HelloKitty/.NetLoggingServices | 4ded05c877021a761cc2a6d373b06c899dedd8e6 | [
"MIT"
] | null | null | null | LoggingServices/Logging/LogLevel.cs | HelloKitty/.NetLoggingServices | 4ded05c877021a761cc2a6d373b06c899dedd8e6 | [
"MIT"
] | 1 | 2020-03-14T00:22:45.000Z | 2020-03-14T00:22:45.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Logging.Services
{
/// <summary>
/// Flags enum that indicates the logging level of something.
/// </summary>
[Flags]
public enum LogLevel : byte
{
Error = 1, //Error logs
Warning = ... | 21.428571 | 66 | 0.686667 |
c2428d71702dd0704e3b7d4098ad4d74fea684d2 | 13,126 | cs | C# | Templates/SnippetTemplatesService.cs | steffbeckers/abp-templates | 2539c383c5786f9276ee3f35f7e72d6fcb4a51a3 | [
"MIT"
] | 7 | 2021-11-13T12:30:23.000Z | 2022-03-14T16:46:57.000Z | Templates/SnippetTemplatesService.cs | steffbeckers/abp-templates | 2539c383c5786f9276ee3f35f7e72d6fcb4a51a3 | [
"MIT"
] | 1 | 2021-11-15T20:42:59.000Z | 2021-11-15T20:42:59.000Z | Templates/SnippetTemplatesService.cs | steffbeckers/abp-templates | 2539c383c5786f9276ee3f35f7e72d6fcb4a51a3 | [
"MIT"
] | null | null | null | using HandlebarsDotNet;
using HandlebarsDotNet.Helpers;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using SteffBeckers.Abp.Generator.Helpers;
using SteffBeckers.Abp.Generator.Realtime;
using SteffBeckers.Abp.Generator.Settings;
using System.Diagnostics;
using System.Te... | 36.15978 | 142 | 0.565062 |
2654c0596e4bdc63a09dd756d4e57b95d2f11333 | 860 | cs | C# | Backend/Backend.DAL/TaskManagerDesignBuilder.cs | NoskovEugene/TaskManager | c5db6b030f563233ac11579450cc7f0bbdaabdda | [
"Apache-2.0"
] | null | null | null | Backend/Backend.DAL/TaskManagerDesignBuilder.cs | NoskovEugene/TaskManager | c5db6b030f563233ac11579450cc7f0bbdaabdda | [
"Apache-2.0"
] | null | null | null | Backend/Backend.DAL/TaskManagerDesignBuilder.cs | NoskovEugene/TaskManager | c5db6b030f563233ac11579450cc7f0bbdaabdda | [
"Apache-2.0"
] | null | null | null | using Backend.Common.Helpers;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace Backend.DAL;
public class TaskManagerDesignBuilder : IDesignTimeDbContextFactory<TaskManagerContext>
{
public TaskManagerContext CreateDbContext(strin... | 37.391304 | 87 | 0.734884 |
ca5decd13d488208f8e3a16115fc3514edf5290b | 589 | cs | C# | LearningCSharp/StackPost.cs | tool4gh/LearningCSharp2 | 924cacbc00140e26937e19e86717d82c696767fc | [
"MIT"
] | null | null | null | LearningCSharp/StackPost.cs | tool4gh/LearningCSharp2 | 924cacbc00140e26937e19e86717d82c696767fc | [
"MIT"
] | null | null | null | LearningCSharp/StackPost.cs | tool4gh/LearningCSharp2 | 924cacbc00140e26937e19e86717d82c696767fc | [
"MIT"
] | null | null | null | using System;
namespace LearningCSharp
{
class StackPost
{
private int Id;
private string Title { get; set; }
private string Description { get; set; }
private DateTime PostDate { get; set; }
public void Post(int id, string title, string description)
... | 25.608696 | 92 | 0.536503 |
c5b55fd39e5839c11cc75d3bdc40aa92255fada4 | 537 | cs | C# | Libs/GizmoFort.Connector.ERPNext/ERPTypes/Body_part/Body_partService.cs | dmequus/gizmofort.connector.erpnext | b07aafc903741d2fdf0a51d37b23bf10cfee6062 | [
"MIT"
] | null | null | null | Libs/GizmoFort.Connector.ERPNext/ERPTypes/Body_part/Body_partService.cs | dmequus/gizmofort.connector.erpnext | b07aafc903741d2fdf0a51d37b23bf10cfee6062 | [
"MIT"
] | null | null | null | Libs/GizmoFort.Connector.ERPNext/ERPTypes/Body_part/Body_partService.cs | dmequus/gizmofort.connector.erpnext | b07aafc903741d2fdf0a51d37b23bf10cfee6062 | [
"MIT"
] | null | null | null | using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Body_part
{
public class Body_partService : SubServiceBase<ERPBody_part>
{
public Body_partSe... | 31.588235 | 68 | 0.731844 |
b9d32c26fa7dbfc74064b1198ea9f01ec216e824 | 7,903 | cs | C# | DotNet/OTP.NET-2010/Otp/OtpCookedConnection.cs | spoconnor/ElixirMessagingServer | ccbb19e33800f9b0a1500115dc858bc8e8b7730e | [
"MIT"
] | 1 | 2017-05-16T08:14:21.000Z | 2017-05-16T08:14:21.000Z | DotNet/OTP.NET-2010/Otp/OtpCookedConnection.cs | spoconnor/ElixirMessagingServer | ccbb19e33800f9b0a1500115dc858bc8e8b7730e | [
"MIT"
] | null | null | null | DotNet/OTP.NET-2010/Otp/OtpCookedConnection.cs | spoconnor/ElixirMessagingServer | ccbb19e33800f9b0a1500115dc858bc8e8b7730e | [
"MIT"
] | null | null | null | /*``The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public License along with this software. If not, it can be
* retrieved via the world wide web at http... | 27.158076 | 97 | 0.630773 |
6a30d2ce9c1d3b652992eb6a423ccdcf5a66a34c | 767 | cs | C# | src/MongoFramework/Infrastructure/EntityCommandBuilder.cs | slang25/MongoFramework | 019d633f248012f45ad86231c40e27b6b5d43a66 | [
"MIT"
] | null | null | null | src/MongoFramework/Infrastructure/EntityCommandBuilder.cs | slang25/MongoFramework | 019d633f248012f45ad86231c40e27b6b5d43a66 | [
"MIT"
] | null | null | null | src/MongoFramework/Infrastructure/EntityCommandBuilder.cs | slang25/MongoFramework | 019d633f248012f45ad86231c40e27b6b5d43a66 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using MongoFramework.Infrastructure.Commands;
using MongoFramework.Infrastructure.Mutation;
namespace MongoFramework.Infrastructure
{
public static class EntityCommandBuilder<TEntity> where TEntity : class
{
public static IWriteCommand<TEntity> Cr... | 25.566667 | 86 | 0.760104 |
bed0d867167fd07bf1ab3f87485cbb4368c07f6a | 4,180 | cs | C# | dllInventoryScaners/dllInventoryScaners/frmAddSettings.cs | nonenane/dllInventoryScaners | 2aeb001e6135abb8dfd1af7539f8b8b1f0f80795 | [
"Apache-2.0"
] | null | null | null | dllInventoryScaners/dllInventoryScaners/frmAddSettings.cs | nonenane/dllInventoryScaners | 2aeb001e6135abb8dfd1af7539f8b8b1f0f80795 | [
"Apache-2.0"
] | null | null | null | dllInventoryScaners/dllInventoryScaners/frmAddSettings.cs | nonenane/dllInventoryScaners | 2aeb001e6135abb8dfd1af7539f8b8b1f0f80795 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Nwuram.Framework.Logging;
namespace dllInventoryScaners
{
public partial class frmAddSettings : Form
{
private i... | 34.833333 | 168 | 0.537081 |
83a3425e2d6944cd7529c5045ebd6c6fab8d0c9f | 608 | cs | C# | Assets/Scripts/PlayerSetup.cs | hau5tastic/zombies | e011346fa751ac05825a1ccabab64c93b07049b3 | [
"MIT"
] | null | null | null | Assets/Scripts/PlayerSetup.cs | hau5tastic/zombies | e011346fa751ac05825a1ccabab64c93b07049b3 | [
"MIT"
] | null | null | null | Assets/Scripts/PlayerSetup.cs | hau5tastic/zombies | e011346fa751ac05825a1ccabab64c93b07049b3 | [
"MIT"
] | null | null | null | using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
public class PlayerSetup : NetworkBehaviour {
[SerializeField]
Behaviour[] componentsToDisable;
[SerializeField]
GameObject playerMesh;
[SerializeField]
GameObject gun;
void Start()
{
if(!isLocalPlaye... | 19.612903 | 64 | 0.560855 |
ef6cdd0793e866d2d5aef42b5d44ec2ad5ec74b1 | 3,872 | cs | C# | Source/Events.Processing/EventHandlers/EventHandlersService.cs | dolittle/Runtime | 38c75ed7cca149f90776833d1440a389071b9d60 | [
"MIT"
] | 12 | 2018-06-28T12:50:40.000Z | 2022-02-15T19:46:09.000Z | Source/Events.Processing/EventHandlers/EventHandlersService.cs | dolittle/Runtime | 38c75ed7cca149f90776833d1440a389071b9d60 | [
"MIT"
] | 116 | 2018-02-13T13:18:26.000Z | 2022-03-04T16:57:45.000Z | Source/Events.Processing/EventHandlers/EventHandlersService.cs | dolittle/Runtime | 38c75ed7cca149f90776833d1440a389071b9d60 | [
"MIT"
] | 10 | 2018-06-10T11:42:20.000Z | 2021-04-14T15:11:31.000Z | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading;
using System.Threading.Tasks;
using Dolittle.Runtime.Events.Processing.Contracts;
using Dolittle.Runtime.Execution;
using Dolittle.Runtime.Servic... | 45.552941 | 149 | 0.668905 |
e670f12d875a43679f376bfc43e01c641171dacb | 1,344 | cs | C# | src/MdDocs/CommandLineHelpOptions.cs | ap0llo/mddocs | f552f50050dcbf2509e46d464a708986f49f97c0 | [
"MIT"
] | 6 | 2019-09-05T13:42:12.000Z | 2021-11-07T10:23:10.000Z | src/MdDocs/CommandLineHelpOptions.cs | ap0llo/mddocs | f552f50050dcbf2509e46d464a708986f49f97c0 | [
"MIT"
] | 38 | 2019-12-17T20:59:26.000Z | 2022-03-14T12:07:43.000Z | src/MdDocs/CommandLineHelpOptions.cs | ap0llo/mddocs | f552f50050dcbf2509e46d464a708986f49f97c0 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using CommandLine;
using Grynwald.Utilities.Configuration;
namespace Grynwald.MdDocs
{
/// <summary>
/// Options for the "commandlinehelp" command.
/// </summary>
[Verb("commandlinehelp", HelpText = "Generate command line help for .NET console application implemented usi... | 38.4 | 149 | 0.668899 |
faa13bb6c7cea5d0ecff8ae2f2e6d05c00e927cd | 1,823 | cs | C# | PickandPlaceV2-3/PickandPlaceV2/KflopLocation.cs | briandorey/DIY-Pick-and-Place-Software | f0ca8b742fdfa1d0f06102c3383df01c2cf5247b | [
"MIT"
] | 6 | 2017-06-21T18:26:52.000Z | 2021-07-14T02:51:09.000Z | PickandPlaceV2.2/PickandPlaceV2/KflopLocation.cs | briandorey/DIY-Pick-and-Place-Software | f0ca8b742fdfa1d0f06102c3383df01c2cf5247b | [
"MIT"
] | 1 | 2019-04-30T02:25:59.000Z | 2019-04-30T02:25:59.000Z | PickandPlaceV2-3/PickandPlaceV2/KflopLocation.cs | briandorey/DIY-Pick-and-Place-Software | f0ca8b742fdfa1d0f06102c3383df01c2cf5247b | [
"MIT"
] | 2 | 2019-10-11T15:16:18.000Z | 2020-03-11T21:48:16.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PickandPlaceV2
{
public class KflopLocation
{
public int PlacementNozzle { get; set; }
public double PickSpeed { get; set; }
public double PlaceSpeed { get; set... | 28.484375 | 141 | 0.589139 |
f9bd0a13b05182f241a19c4d6a4626b7b0bd662d | 1,194 | cs | C# | src/Libraries/microCommerce.MongoDb/IMongoRepository.cs | crazyants/microCommerce | 3dcb087c73f126170bf431c1ed58042c9144f9eb | [
"MIT"
] | 3 | 2019-04-26T09:20:29.000Z | 2021-02-22T14:01:55.000Z | src/Libraries/microCommerce.MongoDb/IMongoRepository.cs | BOBO41/microCommerce | 04a5a79c7c4e364cbf56d08e8bc09749ed117c4c | [
"MIT"
] | null | null | null | src/Libraries/microCommerce.MongoDb/IMongoRepository.cs | BOBO41/microCommerce | 04a5a79c7c4e364cbf56d08e8bc09749ed117c4c | [
"MIT"
] | 2 | 2019-05-22T09:40:27.000Z | 2021-05-09T07:44:51.000Z | using MongoDB.Driver.Linq;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace microCommerce.MongoDb
{
public interface IMongoRepository<T> where T : MongoEntity
{
IMongoDbContext Context { get; }
IMongoQueryable<T> Table { get... | 34.114286 | 66 | 0.644891 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.