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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4eba4165720e3a8c6d15f38c3fd5f250a1e8aa05 | 20,806 | cs | C# | src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs | NMijat1024/azure-powershell | 252f3d2e7f6eea1aedd0401fcb7ee21f4525c564 | [
"MIT"
] | 3 | 2018-12-15T01:12:42.000Z | 2018-12-15T01:12:47.000Z | src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs | NMijat1024/azure-powershell | 252f3d2e7f6eea1aedd0401fcb7ee21f4525c564 | [
"MIT"
] | 2 | 2017-01-11T06:42:42.000Z | 2017-01-18T09:10:22.000Z | src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs | NMijat1024/azure-powershell | 252f3d2e7f6eea1aedd0401fcb7ee21f4525c564 | [
"MIT"
] | 2 | 2018-11-13T19:37:13.000Z | 2018-11-26T14:00:35.000Z | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | 50.014423 | 210 | 0.63722 |
fb615bdd4e1257c1ef3a7be92fbee4353338e71a | 147 | cs | C# | GitTest/MyClass.cs | Andrej-Csharp/GitTest | 898b214cbfb265a1bacf96f7b3351fc88892ed1b | [
"MIT"
] | null | null | null | GitTest/MyClass.cs | Andrej-Csharp/GitTest | 898b214cbfb265a1bacf96f7b3351fc88892ed1b | [
"MIT"
] | null | null | null | GitTest/MyClass.cs | Andrej-Csharp/GitTest | 898b214cbfb265a1bacf96f7b3351fc88892ed1b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace GitTest
{
class MyClass
{
//buiegbubgiruvir
}
}
| 12.25 | 33 | 0.666667 |
78db20d6cbcfbfd5d19c8c1d4e026da81e3fedbc | 1,372 | cs | C# | src/CosmosStack.Validation/CosmosStack/Validation/Internals/Rules/CorrectValueRule.Logic.cs | cosmos-loops/cosmos-validation | f6821e1813443069a586142841ffac0e745d1e76 | [
"Apache-2.0"
] | 5 | 2021-03-24T06:52:20.000Z | 2021-08-13T09:37:37.000Z | src/CosmosStack.Validation/CosmosStack/Validation/Internals/Rules/CorrectValueRule.Logic.cs | cosmos-loops/cosmos-validation | f6821e1813443069a586142841ffac0e745d1e76 | [
"Apache-2.0"
] | 1 | 2021-07-28T17:16:50.000Z | 2021-07-31T08:05:40.000Z | src/CosmosStack.Validation/CosmosStack/Validation/Internals/Rules/CorrectValueRule.Logic.cs | cosmos-loops/cosmos-validation | f6821e1813443069a586142841ffac0e745d1e76 | [
"Apache-2.0"
] | 1 | 2021-03-13T00:38:10.000Z | 2021-03-13T00:38:10.000Z | using CosmosStack.Validation.Internals.Conditions;
namespace CosmosStack.Validation.Internals.Rules
{
internal class LogicCorrectValueRule : CorrectValueRule
{
/// <summary>
/// The internal logic, <br />
/// True = AND (default) <br />
/// False = OR
/// </summary>
... | 34.3 | 103 | 0.53863 |
60447fcfc94cba76d31ecfcf6e720d67ec4ee095 | 4,225 | cs | C# | src/Files/DiskFileSource.cs | Lokad/ScratchSpace | e13fc40f9433d97984e7c7edf4a6710dd155c74c | [
"BSD-3-Clause"
] | null | null | null | src/Files/DiskFileSource.cs | Lokad/ScratchSpace | e13fc40f9433d97984e7c7edf4a6710dd155c74c | [
"BSD-3-Clause"
] | null | null | null | src/Files/DiskFileSource.cs | Lokad/ScratchSpace | e13fc40f9433d97984e7c7edf4a6710dd155c74c | [
"BSD-3-Clause"
] | null | null | null | using Lokad.ScratchSpace.Blocks;
using Lokad.ScratchSpace.Mapping;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
namespace Lokad.ScratchSpace.Files
{
/// <summary>
/// Allocates memory-mapped files on the disk, each associated with an
/// inte... | 35.504202 | 111 | 0.556686 |
8f0c541434bbbe023a802aaf92297785a86e2640 | 1,323 | cs | C# | src/DicewareGeneratorTest/UnitTestWordlistReader.cs | HCarlb/DicewarePhraseGenerator | 2c21a05bd2912eca4bcab1efee763bb150760a40 | [
"MIT"
] | null | null | null | src/DicewareGeneratorTest/UnitTestWordlistReader.cs | HCarlb/DicewarePhraseGenerator | 2c21a05bd2912eca4bcab1efee763bb150760a40 | [
"MIT"
] | null | null | null | src/DicewareGeneratorTest/UnitTestWordlistReader.cs | HCarlb/DicewarePhraseGenerator | 2c21a05bd2912eca4bcab1efee763bb150760a40 | [
"MIT"
] | null | null | null | using DicewareGenerator.Models;
using DicewareGenerator.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DicewareGeneratorTest;
[TestClass]
public class UnitTestWordlistReader
{
... | 27 | 86 | 0.567649 |
a44e444e495fc2d6c57a94e7a735f190a3fc1585 | 2,626 | cs | C# | WPF/WpfDemo/Animations/RectangleAnimationWindow.xaml.cs | chenxi45477/NotePractice | 5033c84e5b483c69dc85cfc161db895cfb823b4a | [
"Apache-2.0"
] | null | null | null | WPF/WpfDemo/Animations/RectangleAnimationWindow.xaml.cs | chenxi45477/NotePractice | 5033c84e5b483c69dc85cfc161db895cfb823b4a | [
"Apache-2.0"
] | null | null | null | WPF/WpfDemo/Animations/RectangleAnimationWindow.xaml.cs | chenxi45477/NotePractice | 5033c84e5b483c69dc85cfc161db895cfb823b4a | [
"Apache-2.0"
] | 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.Animatio... | 32.419753 | 150 | 0.634806 |
b42724c222940afdd0b6bd1e0ff2c56344c3f5ee | 24,770 | cs | C# | csharp/src/Apache.Arrow/Ipc/ArrowStreamWriter.cs | sutoiku/arrow | 97b06d99aa1af46f92e83f9c8ca669f54802b257 | [
"Apache-2.0"
] | 1 | 2020-07-03T08:14:13.000Z | 2020-07-03T08:14:13.000Z | csharp/src/Apache.Arrow/Ipc/ArrowStreamWriter.cs | sutoiku/arrow | 97b06d99aa1af46f92e83f9c8ca669f54802b257 | [
"Apache-2.0"
] | null | null | null | csharp/src/Apache.Arrow/Ipc/ArrowStreamWriter.cs | sutoiku/arrow | 97b06d99aa1af46f92e83f9c8ca669f54802b257 | [
"Apache-2.0"
] | 1 | 2021-02-15T05:29:37.000Z | 2021-02-15T05:29:37.000Z | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not... | 36.696296 | 128 | 0.609084 |
e8b69479cd76e293244b6b01fac26a3d2f935cb3 | 2,210 | cs | C# | KSK PU/3 July 2017/Employee.cs | mmivanova/Exams-PU | 633850f7bbe7dd3508e8fed2a2366ecbebf1e06c | [
"MIT"
] | 1 | 2020-09-30T13:48:40.000Z | 2020-09-30T13:48:40.000Z | KSK PU/3 July 2017/Employee.cs | mmivanova/Exams-PU | 633850f7bbe7dd3508e8fed2a2366ecbebf1e06c | [
"MIT"
] | null | null | null | KSK PU/3 July 2017/Employee.cs | mmivanova/Exams-PU | 633850f7bbe7dd3508e8fed2a2366ecbebf1e06c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Runtime.InteropServices;
using System.Text;
namespace _3_July_2017
{
class Employee
{
private string name;
private string personalID;
private string nameInLatin;
private string cou... | 20.654206 | 115 | 0.632127 |
bd90206c0fa0f3a424f14ec36f3950560826380a | 5,344 | cs | C# | SimpleJournal/Dialogs/AboutDialog.xaml.cs | andyld97/SimpleJournal | 9bc58e50be77799bb4008f431b105faef647e576 | [
"MIT"
] | 3 | 2021-04-14T14:19:33.000Z | 2022-03-14T06:06:59.000Z | SimpleJournal/Dialogs/AboutDialog.xaml.cs | andyld97/SimpleJournal | 9bc58e50be77799bb4008f431b105faef647e576 | [
"MIT"
] | 11 | 2021-04-14T15:56:31.000Z | 2022-03-19T11:37:09.000Z | SimpleJournal/Dialogs/AboutDialog.xaml.cs | andyld97/SimpleJournal | 9bc58e50be77799bb4008f431b105faef647e576 | [
"MIT"
] | null | null | null | using Microsoft.Web.WebView2.Core;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace SimpleJournal
{
/// <summary>
/// Interaktionslogik für About.xaml
/// </summary>
public partial class AboutDialog : ... | 38.446043 | 182 | 0.564184 |
2bda10301dca1b877c55e141eb89191ac0301de8 | 446 | cs | C# | Options.cs | Centeva/Pakrat | ad80d0ea3e1201197e1c534e34c9c9bc0cecea1a | [
"MIT"
] | null | null | null | Options.cs | Centeva/Pakrat | ad80d0ea3e1201197e1c534e34c9c9bc0cecea1a | [
"MIT"
] | null | null | null | Options.cs | Centeva/Pakrat | ad80d0ea3e1201197e1c534e34c9c9bc0cecea1a | [
"MIT"
] | 1 | 2020-03-04T17:17:19.000Z | 2020-03-04T17:17:19.000Z | using CommandLine;
namespace Packrat
{
public class Options
{
[VerbOption("pack", HelpText = "Remove duplicate files.")]
public PathOptions PackVerb { get; set; }
[VerbOption("unpack", HelpText = "Restore duplicate files.")]
public PathOptions UnpackVerb { get; set; }... | 23.473684 | 70 | 0.580717 |
a7aed4d94284496d04811d56885d5a95d71a2f99 | 3,255 | cs | C# | SampleBrowser.Maui/Samples/Presentation/Samples/PPTXToPDF/PPTXToPDF.xaml.cs | syncfusion/maui-demos | fa235e44f75ed83513c27d4a425c2cb0949f18e0 | [
"Net-SNMP",
"Xnet",
"Info-ZIP"
] | 21 | 2021-09-30T08:33:05.000Z | 2022-03-27T18:13:22.000Z | SampleBrowser.Maui/Samples/Presentation/Samples/PPTXToPDF/PPTXToPDF.xaml.cs | syncfusion/maui-demos | fa235e44f75ed83513c27d4a425c2cb0949f18e0 | [
"Net-SNMP",
"Xnet",
"Info-ZIP"
] | 8 | 2021-10-07T12:51:06.000Z | 2022-03-31T09:42:37.000Z | SampleBrowser.Maui/Samples/Presentation/Samples/PPTXToPDF/PPTXToPDF.xaml.cs | syncfusion/maui-demos | fa235e44f75ed83513c27d4a425c2cb0949f18e0 | [
"Net-SNMP",
"Xnet",
"Info-ZIP"
] | 9 | 2021-09-29T20:02:19.000Z | 2022-03-22T08:28:41.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
// appli... | 40.6875 | 153 | 0.660215 |
7d573b2c8771af18eb0e8788ccf79ff8ff9e78ae | 2,716 | cs | C# | Source/CodeSmith.Core/Threading/WIGStartInfo.cs | darbio/Exceptionless | 6075915855b5749d8930cc05267ccd066e90ad2b | [
"Apache-2.0"
] | 1 | 2019-06-13T16:01:19.000Z | 2019-06-13T16:01:19.000Z | Source/CodeSmith.Core/Threading/WIGStartInfo.cs | mahizsas/Exceptionless | 219b10e4f43538401acffe9da3095f7a411402dd | [
"Apache-2.0"
] | 3 | 2018-05-16T02:10:34.000Z | 2018-05-16T02:11:13.000Z | Source/CodeSmith.Core/Threading/WIGStartInfo.cs | mahizsas/Exceptionless | 219b10e4f43538401acffe9da3095f7a411402dd | [
"Apache-2.0"
] | null | null | null | // Ami Bar
// amibar@gmail.com
namespace CodeSmith.Core.Threading
{
/// <summary>
/// Summary description for WIGStartInfo.
/// </summary>
public class WIGStartInfo
{
/// <summary>
/// Use the caller's security context
/// </summary>
private bool _useCallerCallContext;
/// <summary>
/// Use the calle... | 27.16 | 85 | 0.745582 |
7d5ec180f5e818a38e00ca30e8ce067418f389cd | 513 | cs | C# | TicTacTubeTest/Processors/SimpleTestScheduler.cs | Reason1337/TicTacTube | bd52b03759660d37ea752f4a5ca6695ad38986af | [
"MIT"
] | null | null | null | TicTacTubeTest/Processors/SimpleTestScheduler.cs | Reason1337/TicTacTube | bd52b03759660d37ea752f4a5ca6695ad38986af | [
"MIT"
] | null | null | null | TicTacTubeTest/Processors/SimpleTestScheduler.cs | Reason1337/TicTacTube | bd52b03759660d37ea752f4a5ca6695ad38986af | [
"MIT"
] | null | null | null | using TicTacTubeCore.Pipelines;
using TicTacTubeCore.Sources.Files;
using TicTacTubeTest.Schedulers;
namespace TicTacTubeTest.Processors
{
public class SimpleTestScheduler
{
public readonly IDataPipelineBuilder Builder;
public readonly BaseSchedulerImpl Scheduler;
public SimpleTestScheduler()
{
Schedule... | 21.375 | 49 | 0.773879 |
892f48991be5f0acf37573920e86ea03012ea5c8 | 891 | cs | C# | Infrastructure/Data/StoreContext.cs | baitul10/WebAPI | 9789ef9fd9cbf7343e6e607bf255851bcf30f99d | [
"Apache-2.0"
] | 1 | 2021-05-21T11:28:46.000Z | 2021-05-21T11:28:46.000Z | Infrastructure/Data/StoreContext.cs | baitul10/WebAPI | 9789ef9fd9cbf7343e6e607bf255851bcf30f99d | [
"Apache-2.0"
] | null | null | null | Infrastructure/Data/StoreContext.cs | baitul10/WebAPI | 9789ef9fd9cbf7343e6e607bf255851bcf30f99d | [
"Apache-2.0"
] | null | null | null | using Core.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.Data
{
public class StoreContext : DbContext
{
public StoreContext(DbContextOptions<StoreContext>... | 25.457143 | 85 | 0.659933 |
2b489856904644253fe29566433cae9eecd2aa7f | 61,728 | cs | C# | Plugins/AM_MSGFDB_PlugIn/CreateMSGFDBSuffixArrayFiles.cs | PNNL-Comp-Mass-Spec/DMS-Analysis-Manager | 79dbf8e6bd8ae6634f094b369cedae63457c3d00 | [
"BSD-2-Clause"
] | 2 | 2021-02-09T10:17:21.000Z | 2021-03-15T03:32:28.000Z | Plugins/AM_MSGFDB_PlugIn/CreateMSGFDBSuffixArrayFiles.cs | PNNL-Comp-Mass-Spec/DMS-Analysis-Manager | 79dbf8e6bd8ae6634f094b369cedae63457c3d00 | [
"BSD-2-Clause"
] | null | null | null | Plugins/AM_MSGFDB_PlugIn/CreateMSGFDBSuffixArrayFiles.cs | PNNL-Comp-Mass-Spec/DMS-Analysis-Manager | 79dbf8e6bd8ae6634f094b369cedae63457c3d00 | [
"BSD-2-Clause"
] | null | null | null | //*********************************************************************************************************
// Written by Matthew Monroe for the US Department of Energy
// Pacific Northwest National Laboratory, Richland, WA
// Created 07/29/2011
//
//***************************************************************... | 44.665702 | 166 | 0.516411 |
d3d627333fd5459545d319c3cabea141735f5e2b | 168 | cs | C# | Popcron.Sheets/Responses/AddDimensionGroupResponse.cs | popcron/sheets | d66d906d5510271517d5fb342dd530006482d84f | [
"MIT"
] | 22 | 2018-10-08T08:04:04.000Z | 2022-03-21T12:00:44.000Z | Popcron.Sheets/Responses/AddDimensionGroupResponse.cs | psenough/NPlusPlusAssistant | db85397f0d2e56ae8131858f6f15548055fa1db3 | [
"MIT"
] | 2 | 2022-01-15T16:19:20.000Z | 2022-02-10T02:03:52.000Z | Popcron.Sheets/Responses/AddDimensionGroupResponse.cs | popcron/sheets | d66d906d5510271517d5fb342dd530006482d84f | [
"MIT"
] | 4 | 2018-11-11T18:30:52.000Z | 2022-03-13T09:19:18.000Z | using System;
namespace Popcron.Sheets
{
[Serializable]
public class AddDimensionGroupResponse
{
public DimensionGroup[] dimensionGroups;
}
}
| 15.272727 | 48 | 0.690476 |
5891c2c28eb761701eb433de9909a5247b1ac2d8 | 513 | cs | C# | src/Discord.Net.Rest/API/Rest/ModifyApplicationCommandParams.cs | Cenngo/Discord.Net | 2e4b877f3af0d57444709e6c8e7248289d3a988b | [
"MIT"
] | 1,762 | 2019-01-29T14:18:55.000Z | 2022-03-31T22:23:36.000Z | src/Discord.Net.Rest/API/Rest/ModifyApplicationCommandParams.cs | Cenngo/Discord.Net | 2e4b877f3af0d57444709e6c8e7248289d3a988b | [
"MIT"
] | 742 | 2019-01-29T03:48:54.000Z | 2022-03-31T20:35:24.000Z | src/Discord.Net.Rest/API/Rest/ModifyApplicationCommandParams.cs | Cenngo/Discord.Net | 2e4b877f3af0d57444709e6c8e7248289d3a988b | [
"MIT"
] | 648 | 2019-01-29T20:51:28.000Z | 2022-03-31T02:20:04.000Z | using Newtonsoft.Json;
namespace Discord.API.Rest
{
internal class ModifyApplicationCommandParams
{
[JsonProperty("name")]
public Optional<string> Name { get; set; }
[JsonProperty("description")]
public Optional<string> Description { get; set; }
[JsonProperty("options"... | 25.65 | 73 | 0.647173 |
589dfb74a135b606d0d36ced09dfe6760adc3b01 | 732 | cs | C# | 03. ASP.NET-Web-API-Architecture/LiveDemo-2015-SourceControlSystem/Server/SourceControlSystem.Api/Models/Projects/SoftwareProjectDetailsResponseModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | 8 | 2015-10-23T07:21:45.000Z | 2019-04-22T06:03:39.000Z | 03. ASP.NET-Web-API-Architecture/LiveDemo-2015-SourceControlSystem/Server/SourceControlSystem.Api/Models/Projects/SoftwareProjectDetailsResponseModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | null | null | null | 03. ASP.NET-Web-API-Architecture/LiveDemo-2015-SourceControlSystem/Server/SourceControlSystem.Api/Models/Projects/SoftwareProjectDetailsResponseModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | 26 | 2015-10-29T06:33:21.000Z | 2021-05-10T05:24:16.000Z | namespace SourceControlSystem.Api.Models.Projects
{
using Infrastructure.Mapping;
using SourceControlSystem.Models;
using System;
using System.Linq;
using AutoMapper;
public class SoftwareProjectDetailsResponseModel : IMapFrom<SoftwareProject>, IHaveCustomMappings
{
public int Id {... | 28.153846 | 101 | 0.655738 |
31c8b804f5305a5002f35c8ba489afb059cc344f | 16,539 | cs | C# | Educ8IT.AspNetCore.SimpleApi/Common/Conversion.cs | AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi | f0c73a2b70d3036c9e1d6ae56a89ffa2a62647ab | [
"Apache-2.0"
] | 1 | 2021-03-18T10:27:46.000Z | 2021-03-18T10:27:46.000Z | Educ8IT.AspNetCore.SimpleApi/Common/Conversion.cs | AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi | f0c73a2b70d3036c9e1d6ae56a89ffa2a62647ab | [
"Apache-2.0"
] | 1 | 2021-12-10T18:40:44.000Z | 2021-12-31T17:41:25.000Z | Educ8IT.AspNetCore.SimpleApi/Common/Conversion.cs | AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi | f0c73a2b70d3036c9e1d6ae56a89ffa2a62647ab | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Aaron Reynolds. All rights reserved. Licensed under the Apache License, Version 2.0.
using Educ8IT.AspNetCore.SimpleApi.ThirdParty;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace Educ8IT.AspNetCore.SimpleApi.Common
{
/// <summary>
/// Common d... | 31.805769 | 168 | 0.484491 |
303e3dc628435f5fb99df1bbaf04222d34957507 | 1,714 | cs | C# | AspNetPushNotification/Controllers/PushNotificationsController.cs | lillo42/WebPushNotification | 911fe88f11ce50f323a76d3e532400d07bad8f62 | [
"MIT"
] | null | null | null | AspNetPushNotification/Controllers/PushNotificationsController.cs | lillo42/WebPushNotification | 911fe88f11ce50f323a76d3e532400d07bad8f62 | [
"MIT"
] | null | null | null | AspNetPushNotification/Controllers/PushNotificationsController.cs | lillo42/WebPushNotification | 911fe88f11ce50f323a76d3e532400d07bad8f62 | [
"MIT"
] | null | null | null | using AspNetPushNotification.Models;
using AspNetPushNotification.Service;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace AspNetPushNotification.Controllers
{
[Route("api/[controller]")]
public class PushNotificationsController : Controller
{
private readonly... | 36.468085 | 135 | 0.701867 |
bbc2abfdf3c1ead2e9ef660b9d6f8e023bb3cfef | 4,623 | cs | C# | Midterm/Midterm/Program.cs | usf-comp494-spring2021/erickt | 9e49b71e12dc387fbcc49ec76113f798b0c521d0 | [
"MIT"
] | null | null | null | Midterm/Midterm/Program.cs | usf-comp494-spring2021/erickt | 9e49b71e12dc387fbcc49ec76113f798b0c521d0 | [
"MIT"
] | null | null | null | Midterm/Midterm/Program.cs | usf-comp494-spring2021/erickt | 9e49b71e12dc387fbcc49ec76113f798b0c521d0 | [
"MIT"
] | null | null | null | /***********************************************************************
Title: C# 494 - Midterm
Author: Erick Tenorio
Course: COMP 494
Due Date: March 22, 2021
Environment: Visual C#
Objective: Enhance the Calculator class to include two new methods,
the Mean (Average) method and Median ... | 42.805556 | 100 | 0.567164 |
8bad9ce40405350387a752331e6c96859100ed3b | 4,398 | cs | C# | src/Prise/AssemblyLoading/DefaultAssemblyLoadStrategy.cs | jonilviv/Prise | beff93110a78eaceda69ae9e7ba73b1c6baaffc2 | [
"MIT"
] | 1 | 2022-03-29T21:34:17.000Z | 2022-03-29T21:34:17.000Z | src/Prise/AssemblyLoading/DefaultAssemblyLoadStrategy.cs | lucapisano/Prise | 582a01e2faa39366daad0fee09a62382874811ab | [
"MIT"
] | null | null | null | src/Prise/AssemblyLoading/DefaultAssemblyLoadStrategy.cs | lucapisano/Prise | 582a01e2faa39366daad0fee09a62382874811ab | [
"MIT"
] | null | null | null | using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace Prise.AssemblyLoading
{
public class DefaultAssemblyLoadStrategy : IAssemblyLoadStrategy
{
public virtual AssemblyFromStrategy LoadAssembly(
string initialPluginLoadDirectory,
AssemblyN... | 52.357143 | 165 | 0.686676 |
e32daee392701f98516efe0c88b79f980584a567 | 7,235 | cs | C# | ExchangeActiveSync/Source/MS-ASPROV/Adapter/MS-ASPROVAdapter.cs | v-yahan/Interop-TestSuites | 343f13f3c26110250a7d2b8d38539cb81e7988d0 | [
"MIT"
] | 29 | 2016-09-07T19:06:02.000Z | 2022-01-12T02:24:29.000Z | ExchangeActiveSync/Source/MS-ASPROV/Adapter/MS-ASPROVAdapter.cs | v-yahan/Interop-TestSuites | 343f13f3c26110250a7d2b8d38539cb81e7988d0 | [
"MIT"
] | 26 | 2016-11-11T04:47:31.000Z | 2022-03-11T09:43:25.000Z | ExchangeActiveSync/Source/MS-ASPROV/Adapter/MS-ASPROVAdapter.cs | v-yahan/Interop-TestSuites | 343f13f3c26110250a7d2b8d38539cb81e7988d0 | [
"MIT"
] | 38 | 2015-12-09T01:35:50.000Z | 2022-03-25T09:45:25.000Z | namespace Microsoft.Protocols.TestSuites.MS_ASPROV
{
using System.Xml.XPath;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.Common.DataStructures;
using Microsoft.Protocols.TestTools;
/// <summary>
/// Adapter class of MS-ASPROV.
/// </summary>
... | 44.937888 | 145 | 0.632481 |
8d922e6d8c2dd71871e587cf23b39dc7441e589b | 1,061 | cs | C# | MP3PlayingGetTest/MP3PlayingGetTest/Form1.cs | Asteriskx/MP3Info | d095e4a05faaa2b6958a5d9a7312b32c2fcd4f64 | [
"MIT"
] | null | null | null | MP3PlayingGetTest/MP3PlayingGetTest/Form1.cs | Asteriskx/MP3Info | d095e4a05faaa2b6958a5d9a7312b32c2fcd4f64 | [
"MIT"
] | null | null | null | MP3PlayingGetTest/MP3PlayingGetTest/Form1.cs | Asteriskx/MP3Info | d095e4a05faaa2b6958a5d9a7312b32c2fcd4f64 | [
"MIT"
] | null | null | null | using System;
using System.Diagnostics;
using System.Windows.Forms;
using Shell32;
namespace MP3PlayingGetTest
{
public partial class Form1 : Form
{
private MP3Info mp3;
public Form1()
{
InitializeComponent();
mp3 = new MP3Info();
}
... | 24.113636 | 66 | 0.469369 |
3613ae34919aca8dc0e62bbe414f3d0856b4f908 | 485 | cs | C# | Tests/GlueTestProject/GlueTestProject/GlueTestProject/Screens/EventScreen.Event.cs | patridge/FlatRedBall | 01e0212afeb977a10244796494dcaf9c800a3770 | [
"MIT"
] | 110 | 2016-01-14T14:46:16.000Z | 2022-03-27T19:00:48.000Z | Tests/GlueTestProject/GlueTestProject/GlueTestProject/Screens/EventScreen.Event.cs | patridge/FlatRedBall | 01e0212afeb977a10244796494dcaf9c800a3770 | [
"MIT"
] | 471 | 2016-08-21T14:48:15.000Z | 2022-03-31T20:22:50.000Z | Tests/GlueTestProject/GlueTestProject/GlueTestProject/Screens/EventScreen.Event.cs | patridge/FlatRedBall | 01e0212afeb977a10244796494dcaf9c800a3770 | [
"MIT"
] | 33 | 2016-01-25T23:30:03.000Z | 2022-02-18T07:24:45.000Z | using System;
using FlatRedBall;
using FlatRedBall.Input;
using Microsoft.Xna.Framework.Graphics;
using GlueTestProject.Entities;
using GlueTestProject.Entities.EntityFolder;
using GlueTestProject.Screens;
namespace GlueTestProject.Screens
{
public partial class EventScreen
{
void OnEventEntityInstanceAfter... | 22.045455 | 80 | 0.719588 |
76e5b8ca046a325b132e0ebf6e1c77ae982b8c6c | 4,721 | cs | C# | samples/ColumnDisplaySamples/JobColumnSample.cs | mawosoft/Mawosoft.Extensions.BenchmarkDotNet | e4840898356d9008221a6e1bff14f3a9e223130d | [
"MIT"
] | null | null | null | samples/ColumnDisplaySamples/JobColumnSample.cs | mawosoft/Mawosoft.Extensions.BenchmarkDotNet | e4840898356d9008221a6e1bff14f3a9e223130d | [
"MIT"
] | 23 | 2021-10-13T21:16:24.000Z | 2022-03-30T09:37:20.000Z | samples/ColumnDisplaySamples/JobColumnSample.cs | mawosoft/Mawosoft.Extensions.BenchmarkDotNet | e4840898356d9008221a6e1bff14f3a9e223130d | [
"MIT"
] | null | null | null | // Copyright (c) 2021-2022 Matthias Wolf, Mawosoft.
using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using BenchmarkDotNet.Toolchains.DotNetCli;
using BenchmarkDotNet.Toolchains.InPro... | 41.778761 | 104 | 0.639907 |
4efeed9f9bcc2598be45e5936d26451300f037e7 | 304 | cs | C# | src/jogging/BusinessLogic/Common/UserPrincipal.cs | treshnikov/net-core-trainings | f2b111ade977216f36cbc59c83cdc01eae2e4114 | [
"MIT"
] | null | null | null | src/jogging/BusinessLogic/Common/UserPrincipal.cs | treshnikov/net-core-trainings | f2b111ade977216f36cbc59c83cdc01eae2e4114 | [
"MIT"
] | null | null | null | src/jogging/BusinessLogic/Common/UserPrincipal.cs | treshnikov/net-core-trainings | f2b111ade977216f36cbc59c83cdc01eae2e4114 | [
"MIT"
] | null | null | null | namespace BusinessLogic.Common
{
public interface IUserPrincipal
{
long UserId { get; }
}
public class UserPrincipal : IUserPrincipal
{
public long UserId { get; }
public UserPrincipal(long userId)
{
UserId = userId;
}
}
} | 17.882353 | 47 | 0.552632 |
7a12320ada3ac010cd01c60df06575551426958a | 822 | cs | C# | src/Parser.Tests/FktiTest.cs | KamushekDev/Scheduler.API | 5571d87339a8b2cf4e592f3bc2c4f83b0d3b160e | [
"MIT"
] | null | null | null | src/Parser.Tests/FktiTest.cs | KamushekDev/Scheduler.API | 5571d87339a8b2cf4e592f3bc2c4f83b0d3b160e | [
"MIT"
] | null | null | null | src/Parser.Tests/FktiTest.cs | KamushekDev/Scheduler.API | 5571d87339a8b2cf4e592f3bc2c4f83b0d3b160e | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using System.IO;
using Xunit;
namespace Parser.Tests
{
public class FktiTest
{
[Fact]
public async Task Fkti_4_1_Test()
{
var parser = new LetiTimetableParser();
var file = File.OpenRead(@"../../../TestFiles/fkti-4-1.xlsx");
... | 24.909091 | 74 | 0.521898 |
3c4755485fba40dd7fad8867751c2a5d245e7ba5 | 2,642 | cs | C# | src/VASPSuite.EtherGate.Abstractions/ValueObjects/ConfirmationLevel.cs | VASP-Suite/VaspSuite.EtherGate | 22a1059fcdcd65cb6d311eaf5fa254b93673b03b | [
"MIT"
] | null | null | null | src/VASPSuite.EtherGate.Abstractions/ValueObjects/ConfirmationLevel.cs | VASP-Suite/VaspSuite.EtherGate | 22a1059fcdcd65cb6d311eaf5fa254b93673b03b | [
"MIT"
] | 4 | 2020-10-06T11:29:25.000Z | 2020-10-06T11:33:49.000Z | src/VASPSuite.EtherGate.Abstractions/ValueObjects/ConfirmationLevel.cs | VASP-Suite/VaspSuite.EtherGate | 22a1059fcdcd65cb6d311eaf5fa254b93673b03b | [
"MIT"
] | 1 | 2020-10-09T12:22:39.000Z | 2020-10-09T12:22:39.000Z | using System;
using System.Globalization;
using System.Numerics;
using JetBrains.Annotations;
// ReSharper disable once CheckNamespace
namespace VASPSuite.EtherGate
{
[PublicAPI]
public readonly struct ConfirmationLevel : IComparable<ConfirmationLevel>, IEquatable<ConfirmationLevel>
{
public static... | 24.924528 | 108 | 0.528388 |
2ebde4495991d1e6b066151c11fbaf3347d5957d | 541 | cs | C# | src/ArgentPonyWarcraftClient/Models/GameDataApi/Talent/TalentsIndex.cs | Krysztal/warcraft | 8ebe1a8e51c23711262335e33e28a8524c60c4fc | [
"MIT"
] | null | null | null | src/ArgentPonyWarcraftClient/Models/GameDataApi/Talent/TalentsIndex.cs | Krysztal/warcraft | 8ebe1a8e51c23711262335e33e28a8524c60c4fc | [
"MIT"
] | null | null | null | src/ArgentPonyWarcraftClient/Models/GameDataApi/Talent/TalentsIndex.cs | Krysztal/warcraft | 8ebe1a8e51c23711262335e33e28a8524c60c4fc | [
"MIT"
] | null | null | null | using System.Text.Json.Serialization;
namespace ArgentPonyWarcraftClient
{
/// <summary>
/// An index of talents.
/// </summary>
public record TalentsIndex
{
/// <summary>
/// Gets links for the index of talents.
/// </summary>
[JsonPropertyName("_links")]
p... | 23.521739 | 55 | 0.558226 |
4c79199ceca3a9aa718e34cfde7072eb33c040de | 999 | cs | C# | Peer.Domain/PartialIdentifier.cs | wareismymind/peer | 01f5d1f4bf4c781d34be47b779443a18c2ae2723 | [
"MIT"
] | 5 | 2021-10-17T18:45:57.000Z | 2022-01-31T19:52:44.000Z | Peer.Domain/PartialIdentifier.cs | wareismymind/peer | 01f5d1f4bf4c781d34be47b779443a18c2ae2723 | [
"MIT"
] | 68 | 2021-08-29T19:52:04.000Z | 2022-02-14T18:36:17.000Z | Peer.Domain/PartialIdentifier.cs | wareismymind/peer | 01f5d1f4bf4c781d34be47b779443a18c2ae2723 | [
"MIT"
] | 1 | 2021-07-09T12:42:00.000Z | 2021-07-09T12:42:00.000Z | using System;
using System.Collections.Generic;
using Peer.Domain.Util;
using wimm.Secundatives;
namespace Peer.Domain
{
public class PartialIdentifier
{
public string Value { get; set; }
public IEnumerable<string> Segments { get; set; }
public static Result<PartialIdentifier, ParsePa... | 26.289474 | 88 | 0.595596 |
e9fd1172610e6e16a14e8b69aa93871ba3ab0078 | 380 | cs | C# | C#/C#2/ExamPrep/C Part 2 20132014 24 Jan 2014 Evening STRANGELANDNUMBERS/03.Digits/Program.cs | kossov/Telerik-Academy | c39f92f80224e14fa1601d55ca010e356b883467 | [
"MIT"
] | null | null | null | C#/C#2/ExamPrep/C Part 2 20132014 24 Jan 2014 Evening STRANGELANDNUMBERS/03.Digits/Program.cs | kossov/Telerik-Academy | c39f92f80224e14fa1601d55ca010e356b883467 | [
"MIT"
] | null | null | null | C#/C#2/ExamPrep/C Part 2 20132014 24 Jan 2014 Evening STRANGELANDNUMBERS/03.Digits/Program.cs | kossov/Telerik-Academy | c39f92f80224e14fa1601d55ca010e356b883467 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main(string[] args)
{
bool[,] patterns = new bool[,]
{
{true,true,true}
{true,false,true}
{true,false,true}
{... | 19 | 39 | 0.560526 |
eab38738f01e488aebc324acfc6c8f8eec0c67f9 | 323 | cs | C# | EssentialBackup/Models/BackupSettings.cs | besedinalex/essential-backup | b01d6e9e701d5f5c3746fd3d1952f34a1a4defb5 | [
"MIT"
] | null | null | null | EssentialBackup/Models/BackupSettings.cs | besedinalex/essential-backup | b01d6e9e701d5f5c3746fd3d1952f34a1a4defb5 | [
"MIT"
] | null | null | null | EssentialBackup/Models/BackupSettings.cs | besedinalex/essential-backup | b01d6e9e701d5f5c3746fd3d1952f34a1a4defb5 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace EssentialBackup.Models
{
public class BackupSettings
{
public string UserName { get; set; }
public string MachineName { get; set; }
public List<string> SourceDirectories { get; set; }
public string TargetDirectory { get; set; }
... | 21.533333 | 59 | 0.653251 |
3a8c8aee3703ebe3014e27893031cc4d8a7dc984 | 950 | cs | C# | Src/VsVimShared/Constants.cs | oysteinkrog/VsVim | 73f18f01eeeb73b612c06aa813e4d0f4fdbfcf9c | [
"Apache-2.0"
] | 1 | 2019-06-27T11:34:35.000Z | 2019-06-27T11:34:35.000Z | Src/VsVimShared/Constants.cs | oysteinkrog/VsVim | 73f18f01eeeb73b612c06aa813e4d0f4fdbfcf9c | [
"Apache-2.0"
] | null | null | null | Src/VsVimShared/Constants.cs | oysteinkrog/VsVim | 73f18f01eeeb73b612c06aa813e4d0f4fdbfcf9c | [
"Apache-2.0"
] | null | null | null | using System;
namespace VsVim
{
internal static class Constants
{
/// <summary>
/// Content Type name and display name for C++ projects
/// </summary>
internal const string CPlusPlusContentType = "C/C++";
/// <summary>
/// Content Type name and disp... | 31.666667 | 141 | 0.594737 |
3b614f7b7be8cb59f782c4bb12abc5fe58a9afce | 4,617 | cs | C# | ClubManagementSystem/ExcilentStudent.Designer.cs | Rajib-Kumar/Club-Management-System | 923854144a46e56a5882419e6f8457eb50c49622 | [
"MIT"
] | 1 | 2020-02-02T11:51:29.000Z | 2020-02-02T11:51:29.000Z | ClubManagementSystem/ExcilentStudent.Designer.cs | Rajib-Kumar/Club-Management-System | 923854144a46e56a5882419e6f8457eb50c49622 | [
"MIT"
] | null | null | null | ClubManagementSystem/ExcilentStudent.Designer.cs | Rajib-Kumar/Club-Management-System | 923854144a46e56a5882419e6f8457eb50c49622 | [
"MIT"
] | null | null | null | namespace ClubManagementSystem
{
partial class ExcilentStudent
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// ... | 47.112245 | 159 | 0.588911 |
a94567216022d065983551fa14e9ff299fdf0759 | 810 | cs | C# | Assets/Scripts/CameraFollow2DPlatformer.cs | estevaosaleme/unity-2d-game | 4e396500b9a5d6c7965ce324ba293d1aaef04af7 | [
"MIT"
] | null | null | null | Assets/Scripts/CameraFollow2DPlatformer.cs | estevaosaleme/unity-2d-game | 4e396500b9a5d6c7965ce324ba293d1aaef04af7 | [
"MIT"
] | 1 | 2021-10-09T23:22:13.000Z | 2021-10-09T23:22:13.000Z | Assets/Scripts/CameraFollow2DPlatformer.cs | estevaosaleme/unity-2d-game | 4e396500b9a5d6c7965ce324ba293d1aaef04af7 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollow2DPlatformer : MonoBehaviour
{
public Transform target; // what the camera is following
public float smoothing; // dampening effect
Vector3 offset;
float lowY;
// Start is called before the f... | 24.545455 | 104 | 0.675309 |
a9a84707166ec76ab0e405abde9b3d51c26ea92e | 5,712 | cs | C# | Razor/RazorEnhanced/Gumps.cs | madmunki/razorenhanced | b092008c7fc9a89e804a2fd64a59a3b842f54c0f | [
"Apache-2.0"
] | 1 | 2021-01-11T07:28:22.000Z | 2021-01-11T07:28:22.000Z | Razor/RazorEnhanced/Gumps.cs | madmunki/razorenhanced | b092008c7fc9a89e804a2fd64a59a3b842f54c0f | [
"Apache-2.0"
] | null | null | null | Razor/RazorEnhanced/Gumps.cs | madmunki/razorenhanced | b092008c7fc9a89e804a2fd64a59a3b842f54c0f | [
"Apache-2.0"
] | null | null | null | using Assistant;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace RazorEnhanced
{
public class Gumps
{
public static void CloseGump(uint gumpid)
{
if (gumpid == 0)
Assistant.Client.Instance.SendToClientWait(new CloseGump(World.Player.CurrentGumpI));
else
Assi... | 25.162996 | 159 | 0.685399 |
a9dd25d4682a67e56ff9eca73e410fd63205f22a | 1,122 | cs | C# | src/Merchello.Core/Persistence/Factories/CatalogInventoryFactory.cs | bowserm/Merchello | 5a12f0164bb868e6a2f07a1804e8ddc5656a9021 | [
"MIT"
] | null | null | null | src/Merchello.Core/Persistence/Factories/CatalogInventoryFactory.cs | bowserm/Merchello | 5a12f0164bb868e6a2f07a1804e8ddc5656a9021 | [
"MIT"
] | null | null | null | src/Merchello.Core/Persistence/Factories/CatalogInventoryFactory.cs | bowserm/Merchello | 5a12f0164bb868e6a2f07a1804e8ddc5656a9021 | [
"MIT"
] | null | null | null | using Merchello.Core.Models;
using Merchello.Core.Models.Rdbms;
namespace Merchello.Core.Persistence.Factories
{
internal class CatalogInventoryFactory : IEntityFactory<ICatalogInventory, CatalogInventoryDto>
{
public ICatalogInventory BuildEntity(CatalogInventoryDto dto)
{
... | 34 | 99 | 0.546346 |
c4cd4f489e524bc22114d10374210c4c152c3db4 | 521 | cs | C# | td/Correction/SkyMoon/SkyMoon/SkyMoon/MainViewModel.cs | Julien-Mialon/Cours-Xamarin | e50ace6c582282cdb00fdf813d2d311056c31915 | [
"MIT"
] | 4 | 2020-02-15T06:26:33.000Z | 2022-03-25T14:33:05.000Z | td/Correction/SkyMoon/SkyMoon/SkyMoon/MainViewModel.cs | Julien-Mialon/Cours-Xamarin | e50ace6c582282cdb00fdf813d2d311056c31915 | [
"MIT"
] | null | null | null | td/Correction/SkyMoon/SkyMoon/SkyMoon/MainViewModel.cs | Julien-Mialon/Cours-Xamarin | e50ace6c582282cdb00fdf813d2d311056c31915 | [
"MIT"
] | 6 | 2020-02-15T08:51:36.000Z | 2022-03-29T13:22:38.000Z | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
using Storm.Mvvm;
using Storm.Mvvm.Services;
using Xamarin.Forms;
namespace SkyMoon
{
public class MainViewModel : ViewModelBase
{
public ICommand NextCommand { get; }
public MainViewModel()
{
NextCommand = new... | 19.296296 | 86 | 0.752399 |
904f52b35c663b443e136fbca4ca664b7b8d345f | 1,913 | cs | C# | XCode/Events/ActionDelegatedEventHandler.cs | theseventhman/X | 851f2742a04a1f54459139d35aa739a6d1d81863 | [
"MIT"
] | 21 | 2018-08-17T01:54:26.000Z | 2021-06-29T08:03:18.000Z | XCode/Events/ActionDelegatedEventHandler.cs | theseventhman/X | 851f2742a04a1f54459139d35aa739a6d1d81863 | [
"MIT"
] | null | null | null | XCode/Events/ActionDelegatedEventHandler.cs | theseventhman/X | 851f2742a04a1f54459139d35aa739a6d1d81863 | [
"MIT"
] | 12 | 2018-05-06T14:02:30.000Z | 2021-04-22T12:14:19.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XCode
{
/// <summary>
/// 表示代理给定的领域事件处理委托的领域事件处理器。
/// </summary>
/// <typeparam name="TEvent"></typeparam>
internal sealed class ActionDelegatedEventHandler<TEvent> : IEventHandler<TEvent> where TEve... | 29.430769 | 108 | 0.589127 |
f40993d8b18bcb3eea33ab813f8838be8898579f | 550 | cs | C# | ReadRepository.Cosmos/IReadContext.cs | cliveontoast/SENEC.Home-V2-publisher | 7ecdb77d0741b7bba53e5a496ab2f2727be5115f | [
"MIT"
] | null | null | null | ReadRepository.Cosmos/IReadContext.cs | cliveontoast/SENEC.Home-V2-publisher | 7ecdb77d0741b7bba53e5a496ab2f2727be5115f | [
"MIT"
] | null | null | null | ReadRepository.Cosmos/IReadContext.cs | cliveontoast/SENEC.Home-V2-publisher | 7ecdb77d0741b7bba53e5a496ab2f2727be5115f | [
"MIT"
] | null | null | null | using Microsoft.Azure.Cosmos;
using Repository.Model;
using System.Linq;
namespace ReadRepository.Cosmos
{
public interface IReadContext
{
IOrderedQueryable<T> GetQueryable<T>();
}
public class ReadContainer : IReadContext
{
private readonly Container _container;
public R... | 20.37037 | 56 | 0.630909 |
6e496f34f829a8db79986397b0c080c248a80d54 | 1,149 | cs | C# | first project/first project/Old tests/BrowserLogReadingTests.cs | zayolya/Selenium-course | 29a1a11683e3428acedd065db0bd74193b897f8e | [
"Apache-2.0"
] | null | null | null | first project/first project/Old tests/BrowserLogReadingTests.cs | zayolya/Selenium-course | 29a1a11683e3428acedd065db0bd74193b897f8e | [
"Apache-2.0"
] | null | null | null | first project/first project/Old tests/BrowserLogReadingTests.cs | zayolya/Selenium-course | 29a1a11683e3428acedd065db0bd74193b897f8e | [
"Apache-2.0"
] | null | null | null | using System.Collections.ObjectModel;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace first_project
{
/* [TestFixture]
public class BrowserLogReadingTests : TestBase
{
[Test]
public void ReadBrowserlog()
{
LogintoAdminPanel();
... | 34.818182 | 137 | 0.583986 |
6e970f92a2f9504bc76b759eb873aaf3feb84a02 | 245 | cs | C# | source/Dovetail.SDK.ModelMap/Serialization/Overrides/IModelMapOverrideParser.cs | idonthaveafifaaddiction/dovetail-bootstrap | ced8854c1d0d720ad5a60001c5c228006adb64be | [
"Apache-2.0"
] | 3 | 2015-04-08T15:48:50.000Z | 2019-07-17T17:29:21.000Z | source/Dovetail.SDK.ModelMap/Serialization/Overrides/IModelMapOverrideParser.cs | DovetailSoftware/dovetail-bootstrap | 86fae56b83ee17f90e9549af14cbf885c5cd7972 | [
"Apache-2.0"
] | 18 | 2015-02-25T02:41:27.000Z | 2021-07-28T15:22:51.000Z | source/Dovetail.SDK.ModelMap/Serialization/Overrides/IModelMapOverrideParser.cs | idonthaveafifaaddiction/dovetail-bootstrap | ced8854c1d0d720ad5a60001c5c228006adb64be | [
"Apache-2.0"
] | 4 | 2015-06-29T23:55:56.000Z | 2021-04-21T14:25:11.000Z | namespace Dovetail.SDK.ModelMap.Serialization.Overrides
{
public interface IModelMapOverrideParser
{
bool ShouldParse(string filePath);
bool Matches(ModelMap map, string filePath);
void Parse(ModelMap map, string filePath);
}
} | 27.222222 | 57 | 0.763265 |
6e97e9d51a1e46416223c2d378b839067bb158a2 | 1,757 | cs | C# | TinyRoomAcoustics/MirrorMethod/MirroredRoomIndex.cs | sinshu/tinyroomacoustics | 8a99ddace9ee8e108c7f223c3f4d28dc13f7ecb5 | [
"MIT"
] | 6 | 2020-10-06T15:57:44.000Z | 2021-05-17T10:31:02.000Z | TinyRoomAcoustics/MirrorMethod/MirroredRoomIndex.cs | sinshu/tinyroomacoustics | 8a99ddace9ee8e108c7f223c3f4d28dc13f7ecb5 | [
"MIT"
] | null | null | null | TinyRoomAcoustics/MirrorMethod/MirroredRoomIndex.cs | sinshu/tinyroomacoustics | 8a99ddace9ee8e108c7f223c3f4d28dc13f7ecb5 | [
"MIT"
] | 1 | 2020-10-25T23:37:41.000Z | 2020-10-25T23:37:41.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using MathNet.Numerics;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
namespace TinyRoomAcoustics.MirrorMethod
{
/// <summary>
/// Represents the index of a mirrored room generated in... | 30.293103 | 111 | 0.565737 |
794abae82d684da03f62239f6c71637823aaa4d0 | 13,719 | cs | C# | Controllers/ContentItemController.cs | david-poindexter/Dnn.StructuredContent | 7f5abeeee893d4514195bb62ecc2bf15c2825f08 | [
"MIT"
] | null | null | null | Controllers/ContentItemController.cs | david-poindexter/Dnn.StructuredContent | 7f5abeeee893d4514195bb62ecc2bf15c2825f08 | [
"MIT"
] | 14 | 2021-11-01T21:04:55.000Z | 2022-03-01T21:09:13.000Z | Controllers/ContentItemController.cs | david-poindexter/Dnn.StructuredContent | 7f5abeeee893d4514195bb62ecc2bf15c2825f08 | [
"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
namespace StructuredContent
{
using System;
using System.Collections.Generic;
using System.Data;
usi... | 43.00627 | 192 | 0.563161 |
6b6e0a54f1789eb138661ab0a64af9cbe24ed24f | 64,334 | cs | C# | Bagitprocess.cs | ford-foundation/Aurora | 1acf9d03474a7e1a619dbfde97460fded1b9b9ac | [
"MIT"
] | null | null | null | Bagitprocess.cs | ford-foundation/Aurora | 1acf9d03474a7e1a619dbfde97460fded1b9b9ac | [
"MIT"
] | null | null | null | Bagitprocess.cs | ford-foundation/Aurora | 1acf9d03474a7e1a619dbfde97460fded1b9b9ac | [
"MIT"
] | 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 Renci.SshNet.Common;
using Renci.SshNet;
using System.IO;
using System.Diagnostics;
using BAGIT_FILE_TRANSFER;
using... | 45.305634 | 221 | 0.445876 |
111abbd6e0557ef80cc5eec5a99e3ddf87430ced | 420 | cshtml | C# | HairSalon/Views/Stylists/Edit.cshtml | sangel217/HairSalon.Solution | 7531aac983fa768622240f3042d54a5bf04cffdf | [
"MIT"
] | 1 | 2019-07-16T20:42:06.000Z | 2019-07-16T20:42:06.000Z | HairSalon/Views/Stylists/Edit.cshtml | sangel217/HairSalon.Solution | 7531aac983fa768622240f3042d54a5bf04cffdf | [
"MIT"
] | null | null | null | HairSalon/Views/Stylists/Edit.cshtml | sangel217/HairSalon.Solution | 7531aac983fa768622240f3042d54a5bf04cffdf | [
"MIT"
] | null | null | null | @using HairSalon.Models;
@{
Layout = "_Layout";
}
<body>
<h1>Edit @Model.GetStylistName()</h1>
<h3>Edit here:</h3>
<form action="/stylists/@Model.GetId()" method="post">
<label for="newStylist">Stylist name</label>
<input id="newStylist" name="newStylist" type="text">
<button type="submit">Edit</button>
</f... | 20 | 55 | 0.645238 |
f745dff21aee7ff22c67777e0ecb054101fc365d | 387 | cs | C# | UnreliableService/ServiceController.cs | BobAtParticular/Case00041696 | bfcd9ee0a4376a262b859549ad10450a7932f406 | [
"MIT"
] | null | null | null | UnreliableService/ServiceController.cs | BobAtParticular/Case00041696 | bfcd9ee0a4376a262b859549ad10450a7932f406 | [
"MIT"
] | null | null | null | UnreliableService/ServiceController.cs | BobAtParticular/Case00041696 | bfcd9ee0a4376a262b859549ad10450a7932f406 | [
"MIT"
] | null | null | null | using System;
using System.Web.Http;
namespace UnreliableService
{
public class ServiceController : ApiController
{
public IHttpActionResult Get()
{
return Ok();
}
public void Post([FromBody] Guid batchDataItemId)
{
Console.WriteLine($"POST for ... | 20.368421 | 89 | 0.599483 |
739e649cfaf043d104d6793f52f857360d78b574 | 3,240 | cs | C# | src/OpenVsixSignTool.Core/OpcPart.cs | manuelxmarquez/OpenOpcSignTool | c7af9496c8754e7d5338ac4f1813821d4ef6b711 | [
"MIT"
] | 21 | 2017-08-12T15:57:02.000Z | 2021-11-30T16:31:29.000Z | src/OpenVsixSignTool.Core/OpcPart.cs | manuelxmarquez/OpenOpcSignTool | c7af9496c8754e7d5338ac4f1813821d4ef6b711 | [
"MIT"
] | 20 | 2017-09-12T22:20:42.000Z | 2022-03-04T23:30:01.000Z | src/OpenVsixSignTool.Core/OpcPart.cs | manuelxmarquez/OpenOpcSignTool | c7af9496c8754e7d5338ac4f1813821d4ef6b711 | [
"MIT"
] | 11 | 2017-09-07T02:43:28.000Z | 2022-02-03T10:05:55.000Z | using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Xml.Linq;
namespace OpenVsixSignTool.Core
{
/// <summary>
/// Represents a part inside of a package.
/// </summary>
public class OpcPart : IEquatable<OpcPart>
{
internal OpcRelationships _relationsh... | 31.153846 | 187 | 0.550617 |
6c8767dd624db93fdd58f7a7faaff029afe6111d | 1,954 | cs | C# | Server/InstantMessagingServerApp/App_Start/UnityConfig.cs | nojkhieppso/Messenger | 0fd85c2d2613f6dad0135859865312fe088c74e7 | [
"MIT-0"
] | 12 | 2017-07-08T13:52:02.000Z | 2021-09-17T15:04:13.000Z | Server/InstantMessagingServerApp/App_Start/UnityConfig.cs | nojkhieppso/Messenger | 0fd85c2d2613f6dad0135859865312fe088c74e7 | [
"MIT-0"
] | 6 | 2017-10-08T15:25:01.000Z | 2021-05-09T12:48:05.000Z | Server/InstantMessagingServerApp/App_Start/UnityConfig.cs | nojkhieppso/Messenger | 0fd85c2d2613f6dad0135859865312fe088c74e7 | [
"MIT-0"
] | 6 | 2017-10-14T12:24:12.000Z | 2022-02-15T03:23:13.000Z | using InstantMessagingServerApp.Repositories;
using InstantMessagingServerApp.Services;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Microsoft.Practices.Unity;
using System.Web.Http;
using Unity.WebApi;
namespace InstantMessagingServerApp
{
public class UnityHubActivator : IHubActivat... | 38.313725 | 101 | 0.698567 |
50461f253e6e16a7086d15524a0bfd4700dde7cd | 385 | cs | C# | VSIX/RapidXaml.Shared/Telemetry/CoreDetails.cs | bijington/Rapid-XAML-Toolkit | cb21008b70c0dbced5da4c4cbe2cbf08ecd95457 | [
"MIT"
] | 327 | 2019-09-26T05:39:53.000Z | 2022-03-28T12:48:31.000Z | VSIX/RapidXaml.Shared/Telemetry/CoreDetails.cs | bijington/Rapid-XAML-Toolkit | cb21008b70c0dbced5da4c4cbe2cbf08ecd95457 | [
"MIT"
] | 147 | 2019-12-03T13:09:53.000Z | 2022-03-18T11:41:42.000Z | VSIX/RapidXaml.Shared/Telemetry/CoreDetails.cs | bijington/Rapid-XAML-Toolkit | cb21008b70c0dbced5da4c4cbe2cbf08ecd95457 | [
"MIT"
] | 21 | 2020-03-06T23:24:45.000Z | 2022-03-08T14:44:24.000Z | // Copyright (c) Matt Lacey Ltd. All rights reserved.
// Licensed under the MIT license.
using System.Reflection;
namespace RapidXamlToolkit.Telemetry
{
public static class CoreDetails
{
public static string GetVersion()
{
var assembly = Assembly.GetCallingAssembly();
... | 21.388889 | 57 | 0.646753 |
0402de9c780e77e84fc96ec8ae8c6eace1f886f1 | 4,234 | cs | C# | cdmdotnet.Performance/ActionInfo.cs | cdmdotnet/performance | 693b501b5a20797fcd98c2ff93bece79f9ae7c94 | [
"MIT"
] | null | null | null | cdmdotnet.Performance/ActionInfo.cs | cdmdotnet/performance | 693b501b5a20797fcd98c2ff93bece79f9ae7c94 | [
"MIT"
] | null | null | null | cdmdotnet.Performance/ActionInfo.cs | cdmdotnet/performance | 693b501b5a20797fcd98c2ff93bece79f9ae7c94 | [
"MIT"
] | null | null | null | namespace cdmdotnet.Performance
{
/// <summary>
/// Class to hold information about the action method which performance metrics are being gathered
/// </summary>
public class ActionInfo
{
public ActionInfo(int processId, string categoryName, string actionType, string controllerName, string actionName, string ht... | 32.569231 | 153 | 0.687766 |
f0f8bb34d51723fa128d3a4628f13a3fa0d20791 | 1,344 | cs | C# | ProjectReferencesBuilder.Tests/HelpersTests/WarningHelpersTests/EndOfLifeWarningHelperTests.cs | Doug-Murphy/Project-Info-Lister | 419bfa68cd30d04545e347da70f88c06c915f6e8 | [
"MIT"
] | null | null | null | ProjectReferencesBuilder.Tests/HelpersTests/WarningHelpersTests/EndOfLifeWarningHelperTests.cs | Doug-Murphy/Project-Info-Lister | 419bfa68cd30d04545e347da70f88c06c915f6e8 | [
"MIT"
] | 4 | 2020-12-18T19:11:02.000Z | 2021-08-14T00:05:22.000Z | ProjectReferencesBuilder.Tests/HelpersTests/WarningHelpersTests/EndOfLifeWarningHelperTests.cs | Doug-Murphy/Project-Info-Lister | 419bfa68cd30d04545e347da70f88c06c915f6e8 | [
"MIT"
] | null | null | null | using ProjectReferencesBuilder.Entities.Models;
using ProjectReferencesBuilder.Helpers.WarningHelpers;
using System.Collections.Generic;
using Xunit;
namespace ProjectReferencesBuilder.Tests.HelpersTests.WarningHelpersTests
{
public class EndOfLifeWarningHelperTests
{
private const string _mockedAbsol... | 44.8 | 125 | 0.703125 |
c2c763458c306a616b23e741065045b64547d512 | 2,167 | cs | C# | BLTools.WPF/BLTools.WPF.45/InputText.xaml.cs | bollylu/BLTools | 75c8b903626a4d36fcd6b57ec4708c8aa9451868 | [
"MIT"
] | null | null | null | BLTools.WPF/BLTools.WPF.45/InputText.xaml.cs | bollylu/BLTools | 75c8b903626a4d36fcd6b57ec4708c8aa9451868 | [
"MIT"
] | null | null | null | BLTools.WPF/BLTools.WPF.45/InputText.xaml.cs | bollylu/BLTools | 75c8b903626a4d36fcd6b57ec4708c8aa9451868 | [
"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;... | 26.753086 | 148 | 0.692201 |
098b3cbb2bb87c64a1a7237fefdb6fd5b8e8f5db | 248 | cs | C# | 8kyu/(8 kyu) Counting sheep/(8 kyu) Counting sheep.cs | e1r0nd/codewars | dc98484281345e7675eb5e8a51c192e2fa77c443 | [
"MIT"
] | 49 | 2018-04-30T06:42:45.000Z | 2021-07-22T16:39:02.000Z | 8kyu/(8 kyu) Counting sheep/(8 kyu) Counting sheep.cs | nis24jit/codewars-3 | 1a0d910af12f8af6e1070c31a30ba3c785a9b857 | [
"MIT"
] | 1 | 2020-08-31T02:36:53.000Z | 2020-08-31T10:14:00.000Z | 8kyu/(8 kyu) Counting sheep/(8 kyu) Counting sheep.cs | nis24jit/codewars-3 | 1a0d910af12f8af6e1070c31a30ba3c785a9b857 | [
"MIT"
] | 25 | 2018-04-02T20:57:58.000Z | 2021-05-28T15:24:51.000Z | using System;
public static class Kata
{
public static int CountSheeps(bool[] sheeps)
{
int res = 0;
for (int i = 0; i < sheeps.Length; i++)
{
if (sheeps[i] == true)
{
res++;
}
}
return res;
}
}
| 13.777778 | 46 | 0.491935 |
329feb3a73c0b92f2751cb1c0b5f9862b12fa201 | 468 | cs | C# | src/UiPath.Workflow/Debugger/ListExtensions.cs | aTiKhan/corewf | d67559798e00a813f677b67921564ce52d4fe373 | [
"MIT"
] | 241 | 2020-12-12T10:04:59.000Z | 2022-03-29T13:12:12.000Z | src/UiPath.Workflow/Debugger/ListExtensions.cs | aTiKhan/corewf | d67559798e00a813f677b67921564ce52d4fe373 | [
"MIT"
] | 50 | 2020-12-20T00:47:01.000Z | 2022-03-30T21:50:23.000Z | src/UiPath.Workflow/Debugger/ListExtensions.cs | aTiKhan/corewf | d67559798e00a813f677b67921564ce52d4fe373 | [
"MIT"
] | 50 | 2020-12-14T09:59:27.000Z | 2022-03-29T16:40:09.000Z | // This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
namespace System.Activities.Debugger
{
using System.Collections.Generic;
internal static class ListExtensions
{
internal static BinarySearchResult MyBinary... | 29.25 | 88 | 0.702991 |
eb8486c9c73048b3390d8d2903049cf96ac2fb5e | 612 | cs | C# | Assets/Plugins/EditorTodo/Scripts/Data/TodoElementData.cs | Yusuke57/EditorTodo | cee9c3ca9d8cf7112b212609155d9c85d8b6e439 | [
"MIT"
] | 2 | 2022-03-01T08:14:50.000Z | 2022-03-04T05:26:28.000Z | Assets/Plugins/EditorTodo/Scripts/Data/TodoElementData.cs | Yusuke57/EditorTodo | cee9c3ca9d8cf7112b212609155d9c85d8b6e439 | [
"MIT"
] | null | null | null | Assets/Plugins/EditorTodo/Scripts/Data/TodoElementData.cs | Yusuke57/EditorTodo | cee9c3ca9d8cf7112b212609155d9c85d8b6e439 | [
"MIT"
] | null | null | null | using System;
namespace EditorTodo.Data
{
[Serializable]
public class TodoElementData
{
public string title;
public string description;
public TodoState state;
public bool IsDone
{
get => state == TodoState.Done;
set => state = value ? TodoSt... | 19.741935 | 67 | 0.51634 |
eba0cee3244fc5051e6313a615e69c399f63cb88 | 91 | cshtml | C# | WebAPI_NG_TokenbasedAuth/WebAPI_NG_TokenbasedAuth/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml | FernandoPucci/WebAPI | d65cdd403b82e0786d6aac89260e924bfc955d65 | [
"MIT"
] | 1 | 2017-05-02T11:37:13.000Z | 2017-05-02T11:37:13.000Z | WebAPI_NG_TokenbasedAuth/WebAPI_NG_TokenbasedAuth/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml | FernandoPucci/WebAPI | d65cdd403b82e0786d6aac89260e924bfc955d65 | [
"MIT"
] | null | null | null | WebAPI_NG_TokenbasedAuth/WebAPI_NG_TokenbasedAuth/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml | FernandoPucci/WebAPI | d65cdd403b82e0786d6aac89260e924bfc955d65 | [
"MIT"
] | null | null | null | @using WebAPI_NG_TokenbasedAuth.Areas.HelpPage
@model ImageSample
<img src="@Model.Src" /> | 22.75 | 46 | 0.791209 |
1357e6115150896ba6b8825d0d72d6a95bb98e47 | 11,928 | cs | C# | Application/Nfs/FileSystem/NfsDirectory.cs | shellscape/Snarf | 38b57dff7a964019aa449ef906a7ebef2ed5e1d6 | [
"MIT"
] | 7 | 2015-12-20T07:28:06.000Z | 2021-01-18T04:56:28.000Z | Application/Nfs/FileSystem/NfsDirectory.cs | shellscape/Snarf | 38b57dff7a964019aa449ef906a7ebef2ed5e1d6 | [
"MIT"
] | null | null | null | Application/Nfs/FileSystem/NfsDirectory.cs | shellscape/Snarf | 38b57dff7a964019aa449ef906a7ebef2ed5e1d6 | [
"MIT"
] | 2 | 2015-01-18T16:19:27.000Z | 2015-04-21T14:15:06.000Z | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace Snarf.Nfs.FileSystem {
internal class NfsDirectory {
private FileSystemInfo _fsInfo;
// keep these between calls so subsequent calls getting the rest of the contents of a directory are fast.
private String _cached... | 29.524752 | 107 | 0.676811 |
136a457d63b774afe2725bc686ceb315936f5e01 | 2,479 | cs | C# | src/Cofoundry.Domain/Domain/PageTemplates/Models/PageTemplateSummary.cs | hur1can3/cofoundry | 0818e5990c1a98a570f62fb480ab8884609b3007 | [
"MIT"
] | 780 | 2016-09-13T13:42:05.000Z | 2022-03-30T14:29:17.000Z | src/Cofoundry.Domain/Domain/PageTemplates/Models/PageTemplateSummary.cs | hur1can3/cofoundry | 0818e5990c1a98a570f62fb480ab8884609b3007 | [
"MIT"
] | 502 | 2016-10-31T17:30:36.000Z | 2022-03-30T13:27:59.000Z | src/Cofoundry.Domain/Domain/PageTemplates/Models/PageTemplateSummary.cs | hur1can3/cofoundry | 0818e5990c1a98a570f62fb480ab8884609b3007 | [
"MIT"
] | 145 | 2017-03-01T20:29:25.000Z | 2022-03-15T15:53:03.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// A Page Template represents a physical view template file and is used
/// by a Page to render out content. This summary object is intended to
... | 31.782051 | 83 | 0.587737 |
13743b972f4c637de9652121dce3466e5b8b2de4 | 32,108 | cs | C# | invar-example/target/generated-sources/example/csharp/Test/Xyz/TestNest.cs | struqt/invar | 4547a6de593839ae68e19bc108918fb0d2530d5e | [
"MIT"
] | 7 | 2016-08-26T05:10:20.000Z | 2017-08-09T14:28:56.000Z | invar-example/target/generated-sources/example/csharp/Test/Xyz/TestNest.cs | struqt/invar | 4547a6de593839ae68e19bc108918fb0d2530d5e | [
"MIT"
] | null | null | null | invar-example/target/generated-sources/example/csharp/Test/Xyz/TestNest.cs | struqt/invar | 4547a6de593839ae68e19bc108918fb0d2530d5e | [
"MIT"
] | null | null | null | /*===-----------------------------* C# *---------------------------------===//
//
// THIS FILE IS GENERATED BY INVAR. DO NOT EDIT !!!
//
//===----------------------------------------------------------------------===*/
namespace Test.Xyz {
using System.Collections.Generic;
using System.IO;
using System.T... | 46.94152 | 122 | 0.411019 |
28b4ed4ae4e578e87b56bcd0a7f44e25b5967d54 | 2,667 | cs | C# | src/GeoJsonVT/Processing/VectorTileSimplifier.cs | pksorensen/S-Innovations.VectorTiles | d69ccad14307dc341297085eca757da0a265e028 | [
"Unlicense"
] | null | null | null | src/GeoJsonVT/Processing/VectorTileSimplifier.cs | pksorensen/S-Innovations.VectorTiles | d69ccad14307dc341297085eca757da0a265e028 | [
"Unlicense"
] | null | null | null | src/GeoJsonVT/Processing/VectorTileSimplifier.cs | pksorensen/S-Innovations.VectorTiles | d69ccad14307dc341297085eca757da0a265e028 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SInnovations.VectorTiles.GeoJsonVT.Processing
{
public class VectorTileSimplifier
{
public void simplify(List<double[]> points, double tolerance)
{
var sqTo... | 25.893204 | 114 | 0.356955 |
26d752f48a649e6b0348bf2d62cb151250af54fe | 2,418 | cs | C# | Source/Borg/BorgSpawn.cs | contrivancecompanychicago/BorgRace | 8b4f58783247a915280f76799a49553719c11210 | [
"MIT"
] | 1 | 2021-01-06T20:08:19.000Z | 2021-01-06T20:08:19.000Z | Source/Borg/BorgSpawn.cs | contrivancecompanychicago/BorgRace | 8b4f58783247a915280f76799a49553719c11210 | [
"MIT"
] | null | null | null | Source/Borg/BorgSpawn.cs | contrivancecompanychicago/BorgRace | 8b4f58783247a915280f76799a49553719c11210 | [
"MIT"
] | null | null | null | using System; // Base C# library
using RimWorld; // RimWorld's base game library. Contains lots of hardcodedgame data
using Verse; // RimWorld's second main library. Holds more "functional" classes than RimWorld's game data classes
using System.Reflection; // Reflection is a way to access private data that is origally... | 38.380952 | 221 | 0.614144 |
f8b9f2abf6116b540fb660d3b619e34160e86fcd | 252 | cs | C# | SnkrsBank.Domain.Models/UserRating.cs | ddxkalin/SnkrsBank | 92310ecad165ae22b4759b3f87dda28810136341 | [
"MIT"
] | 1 | 2021-12-08T08:43:45.000Z | 2021-12-08T08:43:45.000Z | SnkrsBank.Domain.Models/UserRating.cs | ddxkalin/SnkrsBank | 92310ecad165ae22b4759b3f87dda28810136341 | [
"MIT"
] | null | null | null | SnkrsBank.Domain.Models/UserRating.cs | ddxkalin/SnkrsBank | 92310ecad165ae22b4759b3f87dda28810136341 | [
"MIT"
] | null | null | null | namespace SnkrsBank.Domain.Models
{
public class UserRating
{
public User User { get; set; }
public string UserId { get; set; }
public Rating Rating { get; set; }
public string RatingId { get; set; }
}
}
| 18 | 44 | 0.575397 |
198b49ef9abd79c3da9b460e05fb56db0c8fa88e | 11,641 | cs | C# | EntityRelationship/OialBerBridge/OialBerBridge.AttachRules.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | 12 | 2018-01-11T15:55:39.000Z | 2021-02-18T19:22:50.000Z | EntityRelationship/OialBerBridge/OialBerBridge.AttachRules.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | null | null | null | EntityRelationship/OialBerBridge/OialBerBridge.AttachRules.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | 9 | 2018-02-02T14:16:04.000Z | 2021-11-15T19:45:25.000Z | using System;
using System.Reflection;
// Common Public License Copyright Notice
// /**************************************************************************\
// * Natural Object-Role Modeling Architect for Visual Studio *
// * ... | 57.915423 | 254 | 0.742977 |
26c37442016201a8842288592b77f4ed87f3171b | 4,969 | cs | C# | server/gameserver/logic/monsters/Editions/Edition 1/Minions.cs | xoxobby/LoE-Realm-NC-2 | ebfb8681a13f85f451739d575c8174b47072b211 | [
"MIT"
] | 2 | 2018-10-31T21:36:05.000Z | 2018-10-31T22:35:43.000Z | server/gameserver/logic/monsters/Editions/Edition 1/Minions.cs | xoxobby/LoE-Realm-NC-2 | ebfb8681a13f85f451739d575c8174b47072b211 | [
"MIT"
] | null | null | null | server/gameserver/logic/monsters/Editions/Edition 1/Minions.cs | xoxobby/LoE-Realm-NC-2 | ebfb8681a13f85f451739d575c8174b47072b211 | [
"MIT"
] | 12 | 2018-11-08T14:35:04.000Z | 2019-11-08T15:03:04.000Z | using LoESoft.GameServer.logic.behaviors;
using LoESoft.GameServer.logic.transitions;
namespace LoESoft.GameServer.logic
{
partial class BehaviorDb
{
/// Fiery Succubus
/// index 0: Fire Shard (dmg: 80)
/// index 1: Fire Enchanted Bullet (dmg: 150)
private class Fiery_Succubus
... | 45.172727 | 155 | 0.536124 |
ca6c02c89ee1531f22ba51731a3663dcb3dd2ad7 | 59,700 | cs | C# | Projects/Core/Forms/FormControls/TreeView/MultiSelectTreeView/TreeView.cs | tariqhamid/.NetScaffolder | 566cd89ac52fe46d2c41753a8b3df639dd1c20aa | [
"MIT"
] | 1 | 2018-04-17T11:29:02.000Z | 2018-04-17T11:29:02.000Z | Projects/Core/Forms/FormControls/TreeView/MultiSelectTreeView/TreeView.cs | tariqhamid/.NetScaffolder | 566cd89ac52fe46d2c41753a8b3df639dd1c20aa | [
"MIT"
] | null | null | null | Projects/Core/Forms/FormControls/TreeView/MultiSelectTreeView/TreeView.cs | tariqhamid/.NetScaffolder | 566cd89ac52fe46d2c41753a8b3df639dd1c20aa | [
"MIT"
] | null | null | null | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TreeView.cs" company="DotnetScaffolder">
// MIT
// </copyright>
// --------------------------------------------------------------------------------------------------------------... | 35.963855 | 172 | 0.463987 |
6a139346027e1f80b04d6cd60468655081796acb | 136 | cs | C# | R2.Aspect.Preprocessing/BuiltIn/TrimStringInNestedObjectAttribute.cs | sonbua/LinkExtractor | de10527cee983d5bb862c8a9f790439b3d444d8d | [
"MIT"
] | null | null | null | R2.Aspect.Preprocessing/BuiltIn/TrimStringInNestedObjectAttribute.cs | sonbua/LinkExtractor | de10527cee983d5bb862c8a9f790439b3d444d8d | [
"MIT"
] | 2 | 2018-09-14T04:29:52.000Z | 2018-09-14T06:28:13.000Z | R2.Aspect.Preprocessing/BuiltIn/TrimStringInNestedObjectAttribute.cs | sonbua/LinkExtractor | de10527cee983d5bb862c8a9f790439b3d444d8d | [
"MIT"
] | null | null | null | using System;
namespace R2.Aspect.Preprocessing.BuiltIn
{
public class TrimStringInNestedObjectAttribute : Attribute
{
}
} | 17 | 62 | 0.742647 |
83ab993ba00db70095d5dc35ffc443e6ab09cd03 | 527 | cs | C# | src/Stories/Validation/BusinessRules/ReferralCodeRule.cs | mattrobineau/stories | 4c16763ceea94cb3f4bb83fdc4b732fc59bf0302 | [
"MIT"
] | 1 | 2017-08-31T01:33:48.000Z | 2017-08-31T01:33:48.000Z | src/Stories/Validation/BusinessRules/ReferralCodeRule.cs | mattrobineau/stories | 4c16763ceea94cb3f4bb83fdc4b732fc59bf0302 | [
"MIT"
] | 42 | 2017-08-10T03:13:44.000Z | 2018-02-05T02:49:50.000Z | src/Stories/Validation/BusinessRules/ReferralCodeRule.cs | mattrobineau/stories | 4c16763ceea94cb3f4bb83fdc4b732fc59bf0302 | [
"MIT"
] | 1 | 2017-09-05T03:45:43.000Z | 2017-09-05T03:45:43.000Z | using Stories.Services;
using System;
namespace Stories.Validation.BusinessRules
{
public class ReferralCodeRule : IReferralCodeRule
{
public ValidationResult Validate(string code)
{
var model = new ValidationResult { IsValid = true };
if (!Guid.TryParse(code, out Guid... | 23.954545 | 66 | 0.559772 |
83b9129520a6e20664df8e9e8577426e852706e3 | 35,775 | cs | C# | Assets/[Scripts]/GridManager.cs | vineetk0807/GAME3011_A3_KumarVineet | 62fc1ba0a66748c428e0dd0a572a98ef202f5b92 | [
"MIT"
] | null | null | null | Assets/[Scripts]/GridManager.cs | vineetk0807/GAME3011_A3_KumarVineet | 62fc1ba0a66748c428e0dd0a572a98ef202f5b92 | [
"MIT"
] | null | null | null | Assets/[Scripts]/GridManager.cs | vineetk0807/GAME3011_A3_KumarVineet | 62fc1ba0a66748c428e0dd0a572a98ef202f5b92 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridManager : MonoBehaviour
{
// Display the public struct in Inspector
[System.Serializable]
public struct GemPrefab
{
public GemType type;
public GameObject gemPrefab;
}
// Grid dime... | 33.8138 | 151 | 0.434242 |
83385c00bca684d80496221f1921ab7967733746 | 1,091 | cs | C# | Assets/Scripts/_ProvidedBase/SFXHandler.cs | Sloster/GAD170-20T1 | c7a1ce7c9c4df748722649d9f4330f237630fe9d | [
"MIT"
] | null | null | null | Assets/Scripts/_ProvidedBase/SFXHandler.cs | Sloster/GAD170-20T1 | c7a1ce7c9c4df748722649d9f4330f237630fe9d | [
"MIT"
] | null | null | null | Assets/Scripts/_ProvidedBase/SFXHandler.cs | Sloster/GAD170-20T1 | c7a1ce7c9c4df748722649d9f4330f237630fe9d | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Simple SFX feedback for basic game events
///
/// Provided with framework, no modification required
/// </summary>
public class SFXHandler : MonoBehaviour
{
public AudioClip levelUpClip;
public AudioClip playerWi... | 20.980769 | 56 | 0.633364 |
e657b49062e679ea9c5b18e7258d880f349ee724 | 253 | cs | C# | TechTalk.SpecFlow.VsIntegration.Implementation/LanguageService/IScenarioOutlineBlock.cs | ozslab/SpecFlow.VisualStudio | 04e971c0a73924b16fb047aa1d0bcff0c326ff1d | [
"BSD-3-Clause"
] | 40 | 2015-04-10T11:57:17.000Z | 2019-12-10T20:06:23.000Z | TechTalk.SpecFlow.VsIntegration.Implementation/LanguageService/IScenarioOutlineBlock.cs | ozslab/SpecFlow.VisualStudio | 04e971c0a73924b16fb047aa1d0bcff0c326ff1d | [
"BSD-3-Clause"
] | 74 | 2020-04-27T07:45:06.000Z | 2021-11-22T10:45:57.000Z | TechTalk.SpecFlow.VsIntegration.Implementation/LanguageService/IScenarioOutlineBlock.cs | ozslab/SpecFlow.VisualStudio | 04e971c0a73924b16fb047aa1d0bcff0c326ff1d | [
"BSD-3-Clause"
] | 86 | 2015-03-07T00:56:54.000Z | 2019-11-18T10:57:54.000Z | using System.Collections.Generic;
namespace TechTalk.SpecFlow.VsIntegration.Implementation.LanguageService
{
public interface IScenarioOutlineBlock : IScenarioBlock
{
IEnumerable<IScenarioOutlineExampleSet> ExampleSets { get; }
}
} | 28.111111 | 72 | 0.778656 |
fa3ea15d6c6a4b0d35717712930c124a1d6e6bc5 | 1,011 | cs | C# | Systems/DialogueSystem/Editor/Actions/LinkDialogueNodes.cs | BrunoBiluca/UnityFoundation | 9e94e8807afa61afdb196c0153861d7d698eadae | [
"Apache-2.0"
] | 7 | 2021-03-13T18:31:20.000Z | 2021-09-29T22:01:50.000Z | Systems/DialogueSystem/Editor/Actions/LinkDialogueNodes.cs | BrunoBiluca/UnityFoundation | 9e94e8807afa61afdb196c0153861d7d698eadae | [
"Apache-2.0"
] | null | null | null | Systems/DialogueSystem/Editor/Actions/LinkDialogueNodes.cs | BrunoBiluca/UnityFoundation | 9e94e8807afa61afdb196c0153861d7d698eadae | [
"Apache-2.0"
] | 1 | 2022-03-17T21:19:28.000Z | 2022-03-17T21:19:28.000Z | using Assets.UnityFoundation.DialogueSystem;
using UnityEditor;
namespace Assets.UnityFoundation.Systems.DialogueSystem.Editor
{
public class LinkDialogueNodes : IDialogueEditorAction
{
public static LinkDialogueNodes Create(DialogueNode node)
{
return new LinkDialogueNodes(node);
... | 27.324324 | 97 | 0.619189 |
8d424340fed58778ced9582a168c6a59ec7beadb | 3,517 | cs | C# | Microsoft.Research/Contracts/System.Core/Sources/System.Diagnostics.PerformanceData.cs | jeroen-mostert/CodeContracts | a7df47aaf1b6570abc07191a32a0afa29f9838e8 | [
"MIT"
] | 778 | 2015-01-15T21:59:13.000Z | 2019-05-04T04:14:50.000Z | Microsoft.Research/Contracts/System.Core/Sources/System.Diagnostics.PerformanceData.cs | tom-englert/CodeContracts | 7255a95ec1de1453518852030de285d0fa001c11 | [
"MIT"
] | 460 | 2015-01-16T06:30:35.000Z | 2019-02-26T16:13:29.000Z | Microsoft.Research/Contracts/System.Core/Sources/System.Diagnostics.PerformanceData.cs | tom-englert/CodeContracts | 7255a95ec1de1453518852030de285d0fa001c11 | [
"MIT"
] | 198 | 2015-01-15T22:02:07.000Z | 2019-04-10T14:09:57.000Z | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... | 38.648352 | 463 | 0.746943 |
4cc04add9fd08ecaa686b2c2f605ccd6088d24a4 | 169 | cs | C# | Agent.cs | believable-agents/agents-core | 1ea3a446d5cbb9da2e75b02e1d20d9e3b42080fb | [
"MIT"
] | null | null | null | Agent.cs | believable-agents/agents-core | 1ea3a446d5cbb9da2e75b02e1d20d9e3b42080fb | [
"MIT"
] | null | null | null | Agent.cs | believable-agents/agents-core | 1ea3a446d5cbb9da2e75b02e1d20d9e3b42080fb | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ei.Agents.Core
{
public class Agent : MonoBehaviour
{
}
}
| 15.363636 | 38 | 0.692308 |
fe9461283053a9228c5acffaae8f924357be294f | 2,511 | cs | C# | MyTcpSockets/Extensions/TcpDataReaderUtils.cs | MyJetTools/MyTcpSockets | 70e4924dc118e7863ebace10db78748a44e5d592 | [
"MIT"
] | 1 | 2020-06-05T15:13:06.000Z | 2020-06-05T15:13:06.000Z | MyTcpSockets/Extensions/TcpDataReaderUtils.cs | MyJetTools/MyTcpSockets | 70e4924dc118e7863ebace10db78748a44e5d592 | [
"MIT"
] | 2 | 2020-08-29T07:33:43.000Z | 2021-02-23T22:36:52.000Z | MyTcpSockets/Extensions/TcpDataReaderUtils.cs | MyJetTools/MyTcpSockets | 70e4924dc118e7863ebace10db78748a44e5d592 | [
"MIT"
] | null | null | null | using System;
namespace MyTcpSockets.Extensions
{
public class TcpDataReaderAsSequence
{
private readonly byte[] _buffer;
public int PositionStart { get; private set; }
public int PositionEnd { get; private set; }
public TcpDataReaderAsSequence(byte[] buffer)... | 25.363636 | 106 | 0.491039 |
71a45cd53063d8e8f3582d48dd508b48f32cf601 | 3,803 | cs | C# | tests/Durian.AnalysisServices.Tests/SymbolExtensions/IsEquivalentTo.cs | piotrstenke/Durian | 128957e5bab07d38a234518dd9bf04d915295dce | [
"MIT"
] | 18 | 2021-06-04T18:10:49.000Z | 2022-03-15T18:10:50.000Z | tests/Durian.AnalysisServices.Tests/SymbolExtensions/IsEquivalentTo.cs | piotrstenke/Durian | 128957e5bab07d38a234518dd9bf04d915295dce | [
"MIT"
] | null | null | null | tests/Durian.AnalysisServices.Tests/SymbolExtensions/IsEquivalentTo.cs | piotrstenke/Durian | 128957e5bab07d38a234518dd9bf04d915295dce | [
"MIT"
] | null | null | null | // Copyright (c) Piotr Stenke. All rights reserved.
// Licensed under the MIT license.
using System;
using Durian.Analysis.Extensions;
using Durian.TestServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Xunit;
namespace Durian.Analysis.Tests.SymbolExtensions
{
public sealed cl... | 34.889908 | 102 | 0.725743 |
cab3443714cc03f7f5359c83f9fd54fe37ab7eb4 | 895 | cs | C# | samples/OnlinePhoneBook/SimlifiedPhoneBookClient/Program.cs | majidbigdeli/scs | c7454031ff52a63b3a0eea46ed4ffefdaf7dbcb1 | [
"MIT"
] | 3 | 2021-03-29T10:06:04.000Z | 2021-03-31T18:46:30.000Z | samples/OnlinePhoneBook/SimlifiedPhoneBookClient/Program.cs | majidbigdeli/MBT | c7454031ff52a63b3a0eea46ed4ffefdaf7dbcb1 | [
"MIT"
] | null | null | null | samples/OnlinePhoneBook/SimlifiedPhoneBookClient/Program.cs | majidbigdeli/MBT | c7454031ff52a63b3a0eea46ed4ffefdaf7dbcb1 | [
"MIT"
] | null | null | null | using System;
using Hik.Communication.Mbt.Communication.EndPoints.Tcp;
using Hik.Communication.MbtServices.Client;
using PhoneBookCommonLib;
/* This is the simplest client application that uses phone book server.
* (Just 2 lines of code to connect to the server and call a method.
*/
namespace SimlifiedPhoneBookCli... | 31.964286 | 121 | 0.683799 |
150816999d8b6c22c563b5c85708ca9e185e8faa | 746 | cs | C# | src/EDC/Components/Softeq.NetKit.Components.EventBus/EventSubscriptionInfo.cs | Softeq/NetKit.Auth | 796dbc2e11e15804a315501338667bd5fec2b470 | [
"MIT"
] | 1 | 2019-06-24T13:47:45.000Z | 2019-06-24T13:47:45.000Z | Softeq.NetKit.Components.EventBus/EventSubscriptionInfo.cs | Softeq/EventDrivenCommunication | b31d87d8952bb09ac7ea2b85c223f6c8c1c41d36 | [
"MIT"
] | null | null | null | Softeq.NetKit.Components.EventBus/EventSubscriptionInfo.cs | Softeq/EventDrivenCommunication | b31d87d8952bb09ac7ea2b85c223f6c8c1c41d36 | [
"MIT"
] | 2 | 2019-04-22T13:08:07.000Z | 2021-08-06T09:54:57.000Z | // Developed by Softeq Development Corporation
// http://www.softeq.com
using System;
namespace Softeq.NetKit.Components.EventBus
{
public class EventSubscriptionInfo
{
public bool IsDynamic { get; }
public Type HandlerType { get; }
private EventSubscriptionInfo(bool isDynamic, Type ... | 24.866667 | 71 | 0.640751 |
81e82e8f41778cea1fac4edc931909405041da73 | 187 | cs | C# | src/Models/Environment.cs | jamesmcroft/Insomnia.NET | 5c7bebdec91718e1a238a07047c66ea881f3568b | [
"MIT"
] | null | null | null | src/Models/Environment.cs | jamesmcroft/Insomnia.NET | 5c7bebdec91718e1a238a07047c66ea881f3568b | [
"MIT"
] | null | null | null | src/Models/Environment.cs | jamesmcroft/Insomnia.NET | 5c7bebdec91718e1a238a07047c66ea881f3568b | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace Insomnia.NET.Models
{
public class Environment : BaseResource
{
public Dictionary<string, string> Data { get; set; }
}
}
| 18.7 | 60 | 0.679144 |
86e9509975b5af6a4121e55769eca02f9178e3e9 | 1,838 | cs | C# | PingPlugin/PingTrackers/ComponentModelPingTracker.cs | Bluefissure/PingPlugin | ce70185e4fe2faf68ceff7fc41d1de270c7e0a72 | [
"MIT"
] | null | null | null | PingPlugin/PingTrackers/ComponentModelPingTracker.cs | Bluefissure/PingPlugin | ce70185e4fe2faf68ceff7fc41d1de270c7e0a72 | [
"MIT"
] | null | null | null | PingPlugin/PingTrackers/ComponentModelPingTracker.cs | Bluefissure/PingPlugin | ce70185e4fe2faf68ceff7fc41d1de270c7e0a72 | [
"MIT"
] | null | null | null | using Dalamud.Logging;
using PingPlugin.GameAddressDetectors;
using System;
using System.Net.NetworkInformation;
using System.Threading;
using System.Threading.Tasks;
namespace PingPlugin.PingTrackers
{
public class ComponentModelPingTracker : PingTracker
{
private readonly Ping ping;
public ... | 30.131148 | 147 | 0.485854 |
5338a7c49044efc5daf35e2d08c5707239498a36 | 8,828 | cs | C# | src/Commands/Advobot.Settings/Commands/BotSettings.cs | advorange/Advobot | aa2581542f43931fec25b18c9679089c4d3fbd1b | [
"MIT"
] | 9 | 2017-03-13T00:47:18.000Z | 2021-12-26T08:47:42.000Z | src/Commands/Advobot.Settings/Commands/BotSettings.cs | advorange/Advobot | aa2581542f43931fec25b18c9679089c4d3fbd1b | [
"MIT"
] | 4 | 2018-09-08T15:06:23.000Z | 2020-12-11T01:45:32.000Z | src/Commands/Advobot.Settings/Commands/BotSettings.cs | advorange/Advobot | aa2581542f43931fec25b18c9679089c4d3fbd1b | [
"MIT"
] | 2 | 2019-01-12T09:42:20.000Z | 2021-05-29T19:46:06.000Z | using Advobot.Attributes;
using Discord.Commands;
namespace Advobot.Settings.Commands;
[Category(nameof(BotSettings))]
public sealed class BotSettings : ModuleBase
{
#warning reenable
/*
[LocalizedGroup(nameof(Groups.ModifyPrefix))][LocalizedAlias(nameof(Aliases.ModifyPrefix))]
[Summary("")]
[RequireBotOwner]
... | 32.575646 | 134 | 0.778092 |
35feef3eccd589af9ced99a33bfc611c7283a88b | 1,597 | cs | C# | Scripts/MiscObjects.cs | tobiagru/HololensObjectDetectionApp | 8e39c9a86471d5c61685472f0e8c6da5325e098d | [
"Apache-2.0"
] | 2 | 2020-12-05T08:52:24.000Z | 2021-06-13T15:39:08.000Z | Scripts/MiscObjects.cs | tobiagru/HololensObjectDetectionApp | 8e39c9a86471d5c61685472f0e8c6da5325e098d | [
"Apache-2.0"
] | null | null | null | Scripts/MiscObjects.cs | tobiagru/HololensObjectDetectionApp | 8e39c9a86471d5c61685472f0e8c6da5325e098d | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Outputs
{
// TODO does float make more sense? Response is probably floa anyhow, maybe even float16
public float[,] detection_scores { get; set; }
public float[,] detection_classes { get; set; }
... | 25.349206 | 92 | 0.658735 |
494bf7d822bd5f4dda9e43118a9ef56c7c01d4c1 | 866 | cs | C# | src/IdentityGuard.Blazor.Ui/Pages/Users/Claims.razor.cs | swiftwaterlabs/IdentityGuard | d34656df5be02e97a3278b8cf10555e20cbe2bfe | [
"MIT"
] | null | null | null | src/IdentityGuard.Blazor.Ui/Pages/Users/Claims.razor.cs | swiftwaterlabs/IdentityGuard | d34656df5be02e97a3278b8cf10555e20cbe2bfe | [
"MIT"
] | null | null | null | src/IdentityGuard.Blazor.Ui/Pages/Users/Claims.razor.cs | swiftwaterlabs/IdentityGuard | d34656df5be02e97a3278b8cf10555e20cbe2bfe | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityGuard.Blazor.Ui.Services;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
namespace IdentityGuard.Blazor.Ui.Pages.Users
{
public partial class Claims
{
[Inject]
public IUse... | 29.862069 | 119 | 0.698614 |
05d75555212cf35b8c5f53517d75e520edcf4e90 | 1,266 | cs | C# | TLCGen.Parts/TLCGen.Dialogs/InputBoxWindow.xaml.cs | PeterSnijders/TLCGen | c27f5970c103d4b90ae90b0035eef5f036a929d3 | [
"MIT"
] | 6 | 2017-04-04T08:28:42.000Z | 2021-05-08T10:45:52.000Z | TLCGen.Parts/TLCGen.Dialogs/InputBoxWindow.xaml.cs | PeterSnijders/TLCGen | c27f5970c103d4b90ae90b0035eef5f036a929d3 | [
"MIT"
] | 44 | 2016-08-15T09:31:49.000Z | 2019-09-15T17:23:16.000Z | TLCGen.Parts/TLCGen.Dialogs/InputBoxWindow.xaml.cs | PeterSnijders/TLCGen | c27f5970c103d4b90ae90b0035eef5f036a929d3 | [
"MIT"
] | 12 | 2016-12-01T11:35:58.000Z | 2021-12-20T15:52:56.000Z | using System.Windows;
using System.Windows.Controls;
namespace TLCGen.Dialogs
{
/// <summary>
/// Interaction logic for InputBoxWindow.xaml
/// </summary>
public partial class InputBoxWindow : Window
{
public string Explanation
{
get => (string)ExplanationLabel.Content;... | 24.346154 | 82 | 0.539494 |
7f51f3e31c8876c94209d6103fa2f26be158923b | 1,853 | cs | C# | source/Cli/Views/_BlankCmd.cs | contensive/Contensive50 | 94e2ccbd02eb55a0d974d3cbb5005bf279a6b0df | [
"Apache-2.0"
] | 2 | 2019-10-20T22:57:57.000Z | 2020-05-27T23:27:57.000Z | source/Cli/Views/_BlankCmd.cs | contensive/Contensive5 | 3cd4c8d14d98b0f4157c010547d9fe1c87f45620 | [
"Apache-2.0"
] | 93 | 2019-07-04T20:41:30.000Z | 2020-09-20T10:47:40.000Z | source/Cli/Views/_BlankCmd.cs | contensive/Contensive5 | 3cd4c8d14d98b0f4157c010547d9fe1c87f45620 | [
"Apache-2.0"
] | null | null | null |
using System;
namespace Contensive.CLI {
//
static class BlankCmd {
//
// ====================================================================================================
/// <summary>
/// help text for this command
/// </summary>
internal static readonly s... | 39.425532 | 163 | 0.423098 |
6f7b9f45a852d856e7912734b0f51d5515fe9b15 | 6,485 | cs | C# | Assets/kwUtils/Runtime/TerrainTool/KwTerrain/MeshJobs.cs | Cat-du-Fromage/KaizerWaldUtils | 7caaa4d477100b767a30c7bf9f9fd54887abf0d3 | [
"MIT"
] | null | null | null | Assets/kwUtils/Runtime/TerrainTool/KwTerrain/MeshJobs.cs | Cat-du-Fromage/KaizerWaldUtils | 7caaa4d477100b767a30c7bf9f9fd54887abf0d3 | [
"MIT"
] | null | null | null | Assets/kwUtils/Runtime/TerrainTool/KwTerrain/MeshJobs.cs | Cat-du-Fromage/KaizerWaldUtils | 7caaa4d477100b767a30c7bf9f9fd54887abf0d3 | [
"MIT"
] | null | null | null | using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace KWUtils.KwTerrain
{
//=====================================================================
// JOB SYSTEM
//================================================================... | 35.054054 | 130 | 0.501465 |
d4d0a7eb7a884815f1bd0b6b5eaaeacb8bed7ad6 | 144 | cs | C# | tdsl/ACI318_FUNCTIONS.cs | usmanshamsi/tdsl | 744cf219a98306f6c5375bf57cb0df5ddd35b9f5 | [
"Unlicense"
] | null | null | null | tdsl/ACI318_FUNCTIONS.cs | usmanshamsi/tdsl | 744cf219a98306f6c5375bf57cb0df5ddd35b9f5 | [
"Unlicense"
] | null | null | null | tdsl/ACI318_FUNCTIONS.cs | usmanshamsi/tdsl | 744cf219a98306f6c5375bf57cb0df5ddd35b9f5 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace sdu
{
class aci318
{
}
}
| 11.076923 | 33 | 0.645833 |
0cb937d4f8c43a58c9ca52614c073c2224820689 | 499 | cs | C# | C#Fundamentals/01. BasicSyntaxConditionalStatementsAndLoops/P44.IntervalOfNumbers/Program.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | C#Fundamentals/01. BasicSyntaxConditionalStatementsAndLoops/P44.IntervalOfNumbers/Program.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | C#Fundamentals/01. BasicSyntaxConditionalStatementsAndLoops/P44.IntervalOfNumbers/Program.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | namespace P44.IntervalOfNumbers
{
using System;
class Program
{
static void Main()
{
var number1 = byte.Parse(Console.ReadLine());
var number2 = byte.Parse(Console.ReadLine());
var smallerNumber = Math.Min(number1, number2);
var biggerNumber... | 23.761905 | 63 | 0.517034 |
43951573fbff7f749d8bfb169227c05403d3c0bb | 1,411 | cs | C# | XamarinApp/BoardGameMeet/Views/CustomControllers/ExpandableViewCustom.cs | pbeaulieu26/BoardGameMeet | 07fdc66f4190e1faaa880b5317f080147d05fc03 | [
"Apache-2.0"
] | null | null | null | XamarinApp/BoardGameMeet/Views/CustomControllers/ExpandableViewCustom.cs | pbeaulieu26/BoardGameMeet | 07fdc66f4190e1faaa880b5317f080147d05fc03 | [
"Apache-2.0"
] | null | null | null | XamarinApp/BoardGameMeet/Views/CustomControllers/ExpandableViewCustom.cs | pbeaulieu26/BoardGameMeet | 07fdc66f4190e1faaa880b5317f080147d05fc03 | [
"Apache-2.0"
] | null | null | null | using Expandable;
using System.Windows.Input;
using Xamarin.Forms;
namespace BoardGameMeet.Views.CustomControllers
{
public class ExpandableViewCustom : ExpandableView
{
public static readonly BindableProperty ExpandCommandProperty =
BindableProperty.Create(nameof(ExpandCommand), typeof(IC... | 28.795918 | 109 | 0.608788 |
1e7528cab0f53b2646c5fee4ba9e38714bd47b73 | 6,080 | cs | C# | src/Dlbr.CommonLogin.IdentityModel.Windows/ValidateDLIUserService/Reference.cs | SEGES-IT/Dlbr.CommonLogin.IdentityModel | 1a2ac22b103ed9bbf28265504e26bf6c15ff0004 | [
"MIT"
] | null | null | null | src/Dlbr.CommonLogin.IdentityModel.Windows/ValidateDLIUserService/Reference.cs | SEGES-IT/Dlbr.CommonLogin.IdentityModel | 1a2ac22b103ed9bbf28265504e26bf6c15ff0004 | [
"MIT"
] | null | null | null | src/Dlbr.CommonLogin.IdentityModel.Windows/ValidateDLIUserService/Reference.cs | SEGES-IT/Dlbr.CommonLogin.IdentityModel | 1a2ac22b103ed9bbf28265504e26bf6c15ff0004 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 48.64 | 232 | 0.673849 |
389221dbb637c002eb799003e570a3494e42aee5 | 5,625 | cs | C# | src/Api.Data/Data/Migrations/20210602175838_incial.Designer.cs | LincolnLink/API_do_AngularMaterial | ca326824c18e705329bfb727e17b19d66fc43621 | [
"MIT"
] | null | null | null | src/Api.Data/Data/Migrations/20210602175838_incial.Designer.cs | LincolnLink/API_do_AngularMaterial | ca326824c18e705329bfb727e17b19d66fc43621 | [
"MIT"
] | null | null | null | src/Api.Data/Data/Migrations/20210602175838_incial.Designer.cs | LincolnLink/API_do_AngularMaterial | ca326824c18e705329bfb727e17b19d66fc43621 | [
"MIT"
] | null | null | null | // <auto-generated />
using System;
using Data.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Data.Mig... | 32.327586 | 75 | 0.444267 |
ac53c77db3d2f5850ca344f46cb9cb14905f4ea8 | 3,042 | cshtml | C# | Geonorge.Forvaltningsinformasjon.Web/Views/Shared/_Layout.cshtml | kartverket/Geonorge.Forvaltningsinformasjon | 69a0adcb3d9fe2423deb01b897195e69101fc38e | [
"MIT"
] | 1 | 2021-09-23T21:40:16.000Z | 2021-09-23T21:40:16.000Z | Geonorge.Forvaltningsinformasjon.Web/Views/Shared/_Layout.cshtml | kartverket/Geonorge.Forvaltningsinformasjon | 69a0adcb3d9fe2423deb01b897195e69101fc38e | [
"MIT"
] | 1 | 2019-04-11T15:40:33.000Z | 2019-04-11T15:40:33.000Z | Geonorge.Forvaltningsinformasjon.Web/Views/Shared/_Layout.cshtml | kartverket/Geonorge.Forvaltningsinformasjon | 69a0adcb3d9fe2423deb01b897195e69101fc38e | [
"MIT"
] | null | null | null | @using Microsoft.AspNetCore.Mvc.Localization
@using System.IO
@inject ApplicationSettings AppSettings
@inject IViewLocalizer Localizer
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Geonorge.Forvaltningsinformasjon - ... | 43.457143 | 150 | 0.637081 |
87c7bf3d97a3be8f3cf824b1a5c00119453e1218 | 40,794 | cs | C# | src/libraries/System.Linq.Expressions/tests/BinaryOperators/Arithmetic/BinaryShiftTests.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 9,402 | 2019-11-25T23:26:24.000Z | 2022-03-31T23:19:41.000Z | src/libraries/System.Linq.Expressions/tests/BinaryOperators/Arithmetic/BinaryShiftTests.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 37,522 | 2019-11-25T23:30:32.000Z | 2022-03-31T23:58:30.000Z | src/libraries/System.Linq.Expressions/tests/BinaryOperators/Arithmetic/BinaryShiftTests.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 3,629 | 2019-11-25T23:29:16.000Z | 2022-03-31T21:52:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static class BinaryShiftTests
{
#region Test methods
[Theory, ClassData(typeof(CompilationType... | 36.685252 | 136 | 0.485071 |
5b9e6f4e065b260ace78ac22eb5d100cc6958c2c | 2,100 | cs | C# | src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/CarePlanIntent.cs | itye-msft/fhir-codegen | 478e36b9dc209c8d74a7692286806aafa9a14ea8 | [
"MIT"
] | 46 | 2020-07-14T22:10:04.000Z | 2022-03-29T16:35:00.000Z | src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/CarePlanIntent.cs | QPC-database/fhir-codegen | 5416a392d7da28235a3cbc6366dee54d54807eaa | [
"MIT"
] | 28 | 2020-07-07T18:34:55.000Z | 2022-02-14T12:05:27.000Z | src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/CarePlanIntent.cs | QPC-database/fhir-codegen | 5416a392d7da28235a3cbc6366dee54d54807eaa | [
"MIT"
] | 26 | 2020-07-20T15:19:41.000Z | 2022-03-02T15:41:08.000Z | // <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// Codes indicating the degree of authority/intentionality associated with a care plan.
/// </summary>
public static class CarePlanInt... | 34.42623 | 245 | 0.650952 |
1f1348044cc27d8fdc3f5d7c3fa34054a421296f | 1,233 | cs | C# | TilesAndRemindersLibrary/Model/DataItems/DataItemTask.cs | WindowsNotifications/TilesAndRemindersApp | c6e4f8c12e94d79e86e324cecd3b8c0d906961ee | [
"MIT"
] | null | null | null | TilesAndRemindersLibrary/Model/DataItems/DataItemTask.cs | WindowsNotifications/TilesAndRemindersApp | c6e4f8c12e94d79e86e324cecd3b8c0d906961ee | [
"MIT"
] | null | null | null | TilesAndRemindersLibrary/Model/DataItems/DataItemTask.cs | WindowsNotifications/TilesAndRemindersApp | c6e4f8c12e94d79e86e324cecd3b8c0d906961ee | [
"MIT"
] | null | null | null | using SQLite.Net.Attributes;
using System;
using System.Collections.Generic;
namespace TilesAndRemindersLibrary.Model.DataItems
{
public class DataItemTask : BindableBase
{
[PrimaryKey]
[AutoIncrement]
public int Id { get; set; }
private DateTimeOffset _startTime;
... | 23.711538 | 56 | 0.547445 |
e77daabfca822734a5206b56420434262f02803f | 928 | cs | C# | AIDEBackendMaster/GDC.PH.AIDE.BusinessLayer/clsBirthdayKeys.cs | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 2 | 2019-05-23T06:34:35.000Z | 2019-10-17T05:12:24.000Z | AIDEBackendMaster/GDC.PH.AIDE.BusinessLayer/clsBirthdayKeys.cs | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 32 | 2019-05-23T12:48:45.000Z | 2020-07-23T10:28:25.000Z | AIDEBackendMaster/GDC.PH.AIDE.BusinessLayer/clsBirthdayKeys.cs | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T10:43:08.000Z | 2019-08-29T06:49:15.000Z | using System;
using System.Collections.Generic;
using System.Text;
///////////////////////////////////
// AEVAN CAMILLE BATONGBACAL //
///////////////////////////////////
namespace GDC.PH.AIDE.BusinessLayer
{
public class clsBirthdayKeys
{
#region Data Members
int _eMP_ID;
string _emai... | 17.846154 | 45 | 0.4375 |
4f6e20529d181e6e929d1277928448904f86a50b | 1,051 | cs | C# | src/BlueForest.Messaging.JsonRpc/JsonRpcPubSubHandlerBlock.Client.cs | pandaGaume/PubSubJsonRpc | 30a39789b29b44f553b65866df51ff1aeb52c67d | [
"Apache-2.0"
] | 2 | 2021-04-07T08:52:57.000Z | 2022-02-26T18:36:29.000Z | src/BlueForest.Messaging.JsonRpc/JsonRpcPubSubHandlerBlock.Client.cs | pandaGaume/PubSubJsonRpc | 30a39789b29b44f553b65866df51ff1aeb52c67d | [
"Apache-2.0"
] | null | null | null | src/BlueForest.Messaging.JsonRpc/JsonRpcPubSubHandlerBlock.Client.cs | pandaGaume/PubSubJsonRpc | 30a39789b29b44f553b65866df51ff1aeb52c67d | [
"Apache-2.0"
] | 1 | 2021-08-02T12:17:46.000Z | 2021-08-02T12:17:46.000Z | using Microsoft.Extensions.Caching.Memory;
using StreamJsonRpc;
using StreamJsonRpc.Protocol;
using System.Collections.Generic;
using System.Threading;
namespace BlueForest.Messaging.JsonRpc
{
public partial class JsonRpcPubSubHandlerBlock
{
MemoryCache _requestCache = new MemoryCache(new MemoryCacheO... | 30.911765 | 98 | 0.581351 |
144a94fb24f27b68706371aae971a677dffc3fb6 | 17,549 | cs | C# | Assets/Sisus/Power Inspector/Code/Editor/Inspector/Core/Manager/Mouseovered.cs | rafaeldolfe/MasterServerChess | dd66eeafca9b97372caf5dd7572cec6a5e8d17e2 | [
"MIT"
] | null | null | null | Assets/Sisus/Power Inspector/Code/Editor/Inspector/Core/Manager/Mouseovered.cs | rafaeldolfe/MasterServerChess | dd66eeafca9b97372caf5dd7572cec6a5e8d17e2 | [
"MIT"
] | null | null | null | Assets/Sisus/Power Inspector/Code/Editor/Inspector/Core/Manager/Mouseovered.cs | rafaeldolfe/MasterServerChess | dd66eeafca9b97372caf5dd7572cec6a5e8d17e2 | [
"MIT"
] | null | null | null | #define SAFE_MODE
//#define DEBUG_SET_INSPECTOR
//#define DEBUG_SET_INSPECTOR_PART
//#define DEBUG_SET_SELECTABLE
//#define DEBUG_CLEAR
using JetBrains.Annotations;
using UnityEngine;
using static Sisus.PI.NullExtensions;
namespace Sisus
{
public delegate void InspectorChanged(IInspector from, IInspector to);
//... | 27.463224 | 449 | 0.674967 |
2fa1f9fdcaa2c0896e74ab179a10e2952154df11 | 383 | cs | C# | Northwind.Application/Rooms/Commands/UpdateRoom/UpdateRoomCommand.cs | marcinbialy/Northwind_room | ae10fd5d70dc94983015a6ffccc08cc8eb6672d6 | [
"MIT"
] | null | null | null | Northwind.Application/Rooms/Commands/UpdateRoom/UpdateRoomCommand.cs | marcinbialy/Northwind_room | ae10fd5d70dc94983015a6ffccc08cc8eb6672d6 | [
"MIT"
] | 6 | 2020-09-04T15:26:13.000Z | 2022-02-26T09:47:08.000Z | Northwind.Application/Rooms/Commands/UpdateRoom/UpdateRoomCommand.cs | marcinbialy/Northwind_room | ae10fd5d70dc94983015a6ffccc08cc8eb6672d6 | [
"MIT"
] | null | null | null | using MediatR;
using Northwind.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Northwind.Application.Rooms.Commands.UpdateRoom
{
public class UpdateRoomCommand : IRequest
{
public int RoomId { get; set; }
public string RoomName { get; set; }
... | 23.9375 | 60 | 0.704961 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.