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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34776190588f3715388b5e3c9b4a2b91e711debc | 4,173 | cs | C# | Source/ReactiveProperty.NETStandard/ReadOnlyReactiveProperty.cs | MeilCli/ReactiveProperty | c66f2244f7979c873be26b160e91cdd923de8e00 | [
"MIT"
] | null | null | null | Source/ReactiveProperty.NETStandard/ReadOnlyReactiveProperty.cs | MeilCli/ReactiveProperty | c66f2244f7979c873be26b160e91cdd923de8e00 | [
"MIT"
] | null | null | null | Source/ReactiveProperty.NETStandard/ReadOnlyReactiveProperty.cs | MeilCli/ReactiveProperty | c66f2244f7979c873be26b160e91cdd923de8e00 | [
"MIT"
] | null | null | null | using Reactive.Bindings.Extensions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace Reactive.Bindings
{
/// <summary>
/// Read only version R... | 36.605263 | 133 | 0.613228 |
34bf7a1c27e1239900dda302b12f1193a397f630 | 1,278 | cs | C# | src/Exceptional/Analyzers/IsThrowingSystemExceptionAnalyzer.cs | rudidlo/ExceptionalReSharper | 12654790a5b4cceb3f99e2064044625f4a7bf488 | [
"MS-PL"
] | 137 | 2015-11-21T01:06:35.000Z | 2021-04-14T06:12:17.000Z | src/Exceptional/Analyzers/IsThrowingSystemExceptionAnalyzer.cs | fireundubh/ExceptionalReSharper | 65e58cd06c2c32d421d65a0b478983825e29dea5 | [
"MS-PL"
] | 100 | 2015-11-26T13:00:48.000Z | 2022-03-27T03:59:24.000Z | src/Exceptional/Analyzers/IsThrowingSystemExceptionAnalyzer.cs | fireundubh/ExceptionalReSharper | 65e58cd06c2c32d421d65a0b478983825e29dea5 | [
"MS-PL"
] | 42 | 2015-12-21T05:33:32.000Z | 2021-04-25T12:37:22.000Z | using JetBrains.ReSharper.Daemon;
using JetBrains.ReSharper.Feature.Services.Daemon;
using ReSharper.Exceptional.Highlightings;
using ReSharper.Exceptional.Models;
namespace ReSharper.Exceptional.Analyzers
{
using JetBrains.DocumentModel;
/// <summary>
/// Analyzes whether a throw statement throws System.... | 35.5 | 78 | 0.63928 |
65625e74e1f6085ac212be8e208f7cdc16a52f4e | 621 | cs | C# | Droid/Renderes/UIFunctions_Droid.cs | jbravobr/LifeCycleExample | 45f5e71405032423b972b55f6294b52a5e8b833e | [
"MIT"
] | null | null | null | Droid/Renderes/UIFunctions_Droid.cs | jbravobr/LifeCycleExample | 45f5e71405032423b972b55f6294b52a5e8b833e | [
"MIT"
] | null | null | null | Droid/Renderes/UIFunctions_Droid.cs | jbravobr/LifeCycleExample | 45f5e71405032423b972b55f6294b52a5e8b833e | [
"MIT"
] | null | null | null | using System;
using Android.Widget;
using LifeCycleExample.Droid;
using Xamarin.Forms;
[assembly: Xamarin.Forms.Dependency(typeof(UIFunctions_Droid))]
namespace LifeCycleExample.Droid
{
public class UIFunctions_Droid : IUIFunctions
{
public UIFunctions_Droid()
{
}
public void ... | 23 | 101 | 0.657005 |
db2fd175efbad4739264c412469de1670c4decbc | 621 | cs | C# | src/R4Mvc.Tools/View.cs | BrianSchroer/R4MVC | a1843c113aa09bc3ab2a46bc7e3adea74546355a | [
"Apache-2.0"
] | null | null | null | src/R4Mvc.Tools/View.cs | BrianSchroer/R4MVC | a1843c113aa09bc3ab2a46bc7e3adea74546355a | [
"Apache-2.0"
] | null | null | null | src/R4Mvc.Tools/View.cs | BrianSchroer/R4MVC | a1843c113aa09bc3ab2a46bc7e3adea74546355a | [
"Apache-2.0"
] | null | null | null | using System;
namespace R4Mvc.Tools
{
public class View
{
public View(string areaName, string controllerName, string viewName, Uri relativePath, string templateKind)
{
AreaName = areaName;
ControllerName = controllerName;
ViewName = viewName;
Rela... | 27 | 115 | 0.600644 |
31857a2a4edccae754ddc59e59cca4f3f1a467cc | 507 | cs | C# | PluginManager.Wpf/Windows/SetupWindow.xaml.cs | jgyo/PluginManager | 7e36dcec42f420c953d0e24d6960b83d2cd157e2 | [
"MIT"
] | 3 | 2021-06-06T19:13:24.000Z | 2021-11-28T06:28:43.000Z | PluginManager.Wpf/Windows/SetupWindow.xaml.cs | jgyo/PluginManager | 7e36dcec42f420c953d0e24d6960b83d2cd157e2 | [
"MIT"
] | 16 | 2021-05-22T21:00:12.000Z | 2021-06-25T00:28:07.000Z | PluginManager.Wpf/Windows/SetupWindow.xaml.cs | jgyo/PluginManager | 7e36dcec42f420c953d0e24d6960b83d2cd157e2 | [
"MIT"
] | null | null | null | namespace PluginManager.Wpf.Windows
{
using PluginManager.Wpf.Utilities;
using System.Windows;
/// <summary>
/// Interaction logic for SetupWindow.xaml.
/// </summary>
public partial class SetupWindow : Window
{
/// <summary>
/// Initializes a new instance of the <see cref=... | 24.142857 | 78 | 0.583826 |
45a5642128c5c1a4b52a82e99ce5261178124017 | 1,599 | cs | C# | ControleDeGastos.Repository/CartaoRepository.cs | luizous/spending-control-web | 5fb58c9e181e21c553ee6beb3e6b48d0ed60b572 | [
"MIT"
] | 2 | 2019-11-07T04:01:01.000Z | 2019-11-07T17:00:16.000Z | ControleDeGastos.Repository/CartaoRepository.cs | luizous/spending-control-web | 5fb58c9e181e21c553ee6beb3e6b48d0ed60b572 | [
"MIT"
] | 19 | 2019-10-11T12:03:10.000Z | 2019-12-03T02:13:11.000Z | ControleDeGastos.Repository/CartaoRepository.cs | luizous/spending-control-web | 5fb58c9e181e21c553ee6beb3e6b48d0ed60b572 | [
"MIT"
] | 1 | 2019-12-19T17:46:09.000Z | 2019-12-19T17:46:09.000Z | using ControleDeGastos.Domain;
using ControleDeGastos.Repository.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ControleDeGastos.Repository
{
public class CartaoRepository : ICartaoRepository<Cartao>
{
#region Atributos
private readonly Context _contex... | 23.173913 | 69 | 0.50469 |
01638a1e6448353bb18e6f77b887d98641c8ba75 | 6,715 | cs | C# | AzureSQL.LoadTests/AzureSQL.LoadTests/ReadFileTests.cs | KelvinVail/AzureSQL.LoadTests | a4139cd51f7fb179641700921aa863804d913d43 | [
"MIT"
] | 1 | 2021-09-11T16:34:04.000Z | 2021-09-11T16:34:04.000Z | AzureSQL.LoadTests/AzureSQL.LoadTests/ReadFileTests.cs | KelvinVail/AzureSQL.LoadTests | a4139cd51f7fb179641700921aa863804d913d43 | [
"MIT"
] | null | null | null | AzureSQL.LoadTests/AzureSQL.LoadTests/ReadFileTests.cs | KelvinVail/AzureSQL.LoadTests | a4139cd51f7fb179641700921aa863804d913d43 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.IO;
using Azure;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using CsvHelper;
using Parquet;
using Parquet.Data;
using Sylvan.Data;
using Sylvan.Data.Csv... | 36.693989 | 115 | 0.560983 |
e34e0f10bacdbfa7e71f2dae85a311dbb4192193 | 673 | cs | C# | src/Workspaces/Core/Portable/Options/IOption.cs | missymessa/roslyn | eef79a718aff8423fe01549d3bd759e8d9f58746 | [
"MIT"
] | 1 | 2020-03-23T03:45:25.000Z | 2020-03-23T03:45:25.000Z | src/Workspaces/Core/Portable/Options/IOption.cs | missymessa/roslyn | eef79a718aff8423fe01549d3bd759e8d9f58746 | [
"MIT"
] | null | null | null | src/Workspaces/Core/Portable/Options/IOption.cs | missymessa/roslyn | eef79a718aff8423fe01549d3bd759e8d9f58746 | [
"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.
#nullable enable
using System;
using System.Collections.Immutable;
#if CODE_STYLE
namespace Microsoft.CodeAnalysi... | 24.925926 | 71 | 0.701337 |
8217c908314aee4374b2bf138523332cda703312 | 2,036 | cs | C# | SqlBulkTools.NetStandard/DataTableOperations/DataTableColumns.cs | JordanMarr/SqlBulkTools | 5749f2c5e37fc6934075f6b3dc24aae2d8ed66d9 | [
"MIT"
] | 15 | 2021-02-12T08:17:09.000Z | 2021-06-01T12:23:53.000Z | SqlBulkTools.NetStandard/DataTableOperations/DataTableColumns.cs | JordanMarr/SqlBulkTools | 5749f2c5e37fc6934075f6b3dc24aae2d8ed66d9 | [
"MIT"
] | null | null | null | SqlBulkTools.NetStandard/DataTableOperations/DataTableColumns.cs | JordanMarr/SqlBulkTools | 5749f2c5e37fc6934075f6b3dc24aae2d8ed66d9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
// ReSharper disable once CheckNamespace
namespace SqlBulkTools
{
/// <summary>
///
/// </summary>
public class DataTableColumns<T>
{
private HashSet<st... | 35.719298 | 111 | 0.606582 |
76608e2be9833fabeba2a19a0a94ace41aaeafd0 | 537 | cs | C# | QuickStop.Components/Exceptions/HotelBookReferenceNotFoundException.cs | FDemin/Quick-Stop | 1338c8502eb295584eec962ba4c244f0d1d41b90 | [
"MIT"
] | null | null | null | QuickStop.Components/Exceptions/HotelBookReferenceNotFoundException.cs | FDemin/Quick-Stop | 1338c8502eb295584eec962ba4c244f0d1d41b90 | [
"MIT"
] | null | null | null | QuickStop.Components/Exceptions/HotelBookReferenceNotFoundException.cs | FDemin/Quick-Stop | 1338c8502eb295584eec962ba4c244f0d1d41b90 | [
"MIT"
] | null | null | null | using System;
namespace QuickStop.Components.Exceptions
{
/// <summary>
/// Represents a reference not found on Hotel Book exception.
/// </summary>
public class HotelBookReferenceNotFoundException : Exception
{
/// <summary>
/// Initializes a new Instance of <see cref="HotelBookRef... | 29.833333 | 137 | 0.655493 |
76fb7bc2af9d054246f059e598d9f6c7fb0cc218 | 155 | cs | C# | Assets/_Main/Scripts/_GameArchitectureHelpers/Variables/Editor/FloatReferenceDrawer.cs | alwayssmile11a1/LineRunner.Unity.Game | d1bf903a682957a56e41edff5e6265fe5504104a | [
"MIT"
] | null | null | null | Assets/_Main/Scripts/_GameArchitectureHelpers/Variables/Editor/FloatReferenceDrawer.cs | alwayssmile11a1/LineRunner.Unity.Game | d1bf903a682957a56e41edff5e6265fe5504104a | [
"MIT"
] | null | null | null | Assets/_Main/Scripts/_GameArchitectureHelpers/Variables/Editor/FloatReferenceDrawer.cs | alwayssmile11a1/LineRunner.Unity.Game | d1bf903a682957a56e41edff5e6265fe5504104a | [
"MIT"
] | null | null | null | using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(FloatReference))]
public class FloatReferenceDrawer : VariableReferenceDrawer
{
}
| 17.222222 | 59 | 0.812903 |
b60ecc468241ff86a511b7c3b293268ef90a6040 | 1,069 | cs | C# | Clash SL Server [UCS 7.4.0]/Utilities/TweetNaCl/xsalsa20.cs | skyprolk/Clash-Of-SL | a0051aed6ee84ffdc97c6fd494fc611f8cf0538a | [
"MIT"
] | null | null | null | Clash SL Server [UCS 7.4.0]/Utilities/TweetNaCl/xsalsa20.cs | skyprolk/Clash-Of-SL | a0051aed6ee84ffdc97c6fd494fc611f8cf0538a | [
"MIT"
] | null | null | null | Clash SL Server [UCS 7.4.0]/Utilities/TweetNaCl/xsalsa20.cs | skyprolk/Clash-Of-SL | a0051aed6ee84ffdc97c6fd494fc611f8cf0538a | [
"MIT"
] | null | null | null | namespace CSS.Utilities.TweetNaCl
{
public class xsalsa20
{
public static readonly byte[] sigma =
{
(byte) 'e', (byte) 'x', (byte) 'p', (byte) 'a', (byte) 'n', (byte) 'd', (byte) ' ', (byte) '3', (byte) '2', (byte) '-', (byte) 'b', (byte) 'y', (byte) 't', (byte) 'e', (byte) ' ', (by... | 36.862069 | 202 | 0.54724 |
7a224f2d6a109106de8357792e0acd1e8a4ce5cd | 945 | cs | C# | src/eon-lib.core.level-0/Reflection/MethodUtilities.cs | vitalik-mironov/eon-lib | df09a9d930519f492b39ed11b16b7fca24bd324b | [
"MIT"
] | null | null | null | src/eon-lib.core.level-0/Reflection/MethodUtilities.cs | vitalik-mironov/eon-lib | df09a9d930519f492b39ed11b16b7fca24bd324b | [
"MIT"
] | null | null | null | src/eon-lib.core.level-0/Reflection/MethodUtilities.cs | vitalik-mironov/eon-lib | df09a9d930519f492b39ed11b16b7fca24bd324b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Eon.Reflection {
public static class MethodUtilities {
public static bool IsMatchSignature(this MethodBase method, IEnumerable<Type> argTypes) {
if (method is null)
throw new ArgumentNullException(paramNa... | 31.5 | 175 | 0.722751 |
8cbe77924ff302ca2a8d3a414e1b017c601b1977 | 1,097 | cs | C# | KilyCore.EntityFrameWork/EntityMapping/Function/FunctionVeinTagMap.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | 4 | 2017-09-29T08:13:13.000Z | 2021-02-22T17:39:35.000Z | KilyCore.EntityFrameWork/EntityMapping/Function/FunctionVeinTagMap.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | null | null | null | KilyCore.EntityFrameWork/EntityMapping/Function/FunctionVeinTagMap.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | 1 | 2017-09-29T08:40:06.000Z | 2017-09-29T08:40:06.000Z | using System;
using System.Collections.Generic;
using System.Text;
using KilyCore.EntityFrameWork.Model.Function;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点29分
/// </summary>
namespace KilyCore.EntityFrameWork.EntityMapping.... | 34.28125 | 91 | 0.703737 |
3052169d7263885708fb56feb24be336a2871840 | 3,873 | cshtml | C# | Integrations/asti.CustomerServiceApplication/asti.CustomerServiceApplication/Views/Home/Index.cshtml | codelaborators-network/AllTheSmallThings | 0f96fa9635ae267ad393dde3015b8b049d4c0c50 | [
"MIT"
] | 1 | 2017-03-20T00:43:22.000Z | 2017-03-20T00:43:22.000Z | Integrations/asti.CustomerServiceApplication/asti.CustomerServiceApplication/Views/Home/Index.cshtml | codelaborators-network/AllTheSmallThings | 0f96fa9635ae267ad393dde3015b8b049d4c0c50 | [
"MIT"
] | null | null | null | Integrations/asti.CustomerServiceApplication/asti.CustomerServiceApplication/Views/Home/Index.cshtml | codelaborators-network/AllTheSmallThings | 0f96fa9635ae267ad393dde3015b8b049d4c0c50 | [
"MIT"
] | null | null | null | @{
Layout = "~/Views/Shared/_CustomerServiceLayout.cshtml";
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Customer Service Logger</h1>
<div class="row">
<div class="col-xs-6">
<input type="text" id="username" placeholder="username" />
</div>
<div class="c... | 33.678261 | 130 | 0.495998 |
2e93207464044d576d44224cafe408c3eb263aa8 | 2,464 | cs | C# | LiskSharp.Core/Api/Messages/Common/BaseRequest.cs | Rajbandi/LiskSharp | 9014769fe92752697c6609a52a46f0c822cdb655 | [
"Apache-2.0"
] | 1 | 2018-02-17T09:18:54.000Z | 2018-02-17T09:18:54.000Z | LiskSharp.Core/Api/Messages/Common/BaseRequest.cs | Rajbandi/LiskSharp | 9014769fe92752697c6609a52a46f0c822cdb655 | [
"Apache-2.0"
] | null | null | null | LiskSharp.Core/Api/Messages/Common/BaseRequest.cs | Rajbandi/LiskSharp | 9014769fe92752697c6609a52a46f0c822cdb655 | [
"Apache-2.0"
] | 3 | 2016-10-27T11:16:53.000Z | 2018-06-07T15:11:22.000Z | #region copyright
// <copyright file="BaseRequest.cs" >
// Copyright (c) 2016 All Rights Reserved
// Licensed under MIT
// </copyright>
// <author>Raj Bandi</author>
// <date>26/6/2016</date>
// <summary></summary>
#endregion
using System.Collections.Generic;
using System.Reflection;
using LiskSharp.Core.Api.Models;
u... | 29.686747 | 89 | 0.515422 |
4c05795cfc657d09491db55a5918c8d38c2256e3 | 523 | cs | C# | db4o.net/Db4objects.Db4o/Db4objects.Db4o/Ext/EmergencyShutdownReadOnlyException.cs | iboxdb/db4o-gpl | 16a56c3517d9b69f7fd1f915f4fd5b2218ced1f0 | [
"Net-SNMP",
"Xnet"
] | 24 | 2019-08-25T12:58:07.000Z | 2022-03-04T11:20:37.000Z | db4o.net/Db4objects.Db4o/Db4objects.Db4o/Ext/EmergencyShutdownReadOnlyException.cs | iboxdb/db4o-gpl | 16a56c3517d9b69f7fd1f915f4fd5b2218ced1f0 | [
"Net-SNMP",
"Xnet"
] | null | null | null | db4o.net/Db4objects.Db4o/Db4objects.Db4o/Ext/EmergencyShutdownReadOnlyException.cs | iboxdb/db4o-gpl | 16a56c3517d9b69f7fd1f915f4fd5b2218ced1f0 | [
"Net-SNMP",
"Xnet"
] | 10 | 2019-08-30T10:25:41.000Z | 2022-02-13T17:40:23.000Z | /* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */
using Db4objects.Db4o.Ext;
namespace Db4objects.Db4o.Ext
{
/// <summary>
/// A previous IO exception has switched the database file
/// to read-only mode for controlled shutdown.
/// </summary>
/// <remarks>
/// A previous IO exceptio... | 26.15 | 67 | 0.684512 |
4c4c6822024a4da7cd5ae757797ca7320643bcd9 | 599 | cs | C# | AdventOfCode.Year2019.Test/Day01Test.cs | hoest/AdventOfCode | 525aa509dfdc816853becb5a01d88bec1f14f652 | [
"MIT"
] | null | null | null | AdventOfCode.Year2019.Test/Day01Test.cs | hoest/AdventOfCode | 525aa509dfdc816853becb5a01d88bec1f14f652 | [
"MIT"
] | null | null | null | AdventOfCode.Year2019.Test/Day01Test.cs | hoest/AdventOfCode | 525aa509dfdc816853becb5a01d88bec1f14f652 | [
"MIT"
] | null | null | null | namespace AdventOfCode.Year2019.Test {
using Xunit;
public class Day01Test {
[Fact]
public void FuelRequired_Test() {
Assert.Equal(2, Day01.FuelRequired(12));
Assert.Equal(2, Day01.FuelRequired(14));
Assert.Equal(654, Day01.FuelRequired(1969));
Assert.Equal(33583, Day01.FuelRequired... | 27.227273 | 54 | 0.662771 |
ea9315059c72a72a2a65458d2d2ca30bdbd793d2 | 1,892 | cs | C# | Exam Preparation/Andrey's/CSharp-Web-Basics-Exam-Preparation-Part-1-Resources/Andreys/Services/ProductsService.cs | miraDask/Web-Basics | a0aea098055f8f411aa482a8f810ed732aed6e68 | [
"MIT"
] | null | null | null | Exam Preparation/Andrey's/CSharp-Web-Basics-Exam-Preparation-Part-1-Resources/Andreys/Services/ProductsService.cs | miraDask/Web-Basics | a0aea098055f8f411aa482a8f810ed732aed6e68 | [
"MIT"
] | null | null | null | Exam Preparation/Andrey's/CSharp-Web-Basics-Exam-Preparation-Part-1-Resources/Andreys/Services/ProductsService.cs | miraDask/Web-Basics | a0aea098055f8f411aa482a8f810ed732aed6e68 | [
"MIT"
] | null | null | null | namespace Andreys.Services
{
using Andreys.Data;
using Andreys.Models;
using Andreys.ViewModels.Products;
using System;
using System.Collections.Generic;
using System.Linq;
public class ProductsService : IProductsService
{
private readonly AndreysDbContext db;
public P... | 29.107692 | 92 | 0.541226 |
3a48d3057b43d6d929bfdcc68a33d6b8c6aedda1 | 1,624 | cs | C# | src/Models/LinkLine.cs | praefervidus/markdown-composer | 127fc33abadfa49f6906688c894254815152227d | [
"MIT"
] | null | null | null | src/Models/LinkLine.cs | praefervidus/markdown-composer | 127fc33abadfa49f6906688c894254815152227d | [
"MIT"
] | null | null | null | src/Models/LinkLine.cs | praefervidus/markdown-composer | 127fc33abadfa49f6906688c894254815152227d | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Text;
namespace markdown_composer.Models
{
public class LinkLine : ILine
{
public string MarkdownText { get => GetMarkdownText(); }
public bool IsTocCompatible { get; set; }
public string ProjectPath { get; }
public string HeadingName ... | 36.088889 | 124 | 0.54064 |
e13b348282ee6f93e8f1d35a7744b2d94ccca89a | 2,355 | cs | C# | 2.ProgrammingFundamentals/02_MethodsAndSolutions/Lab_07_GreaterOfTwoValues/greaterOfTwoValues.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | 1 | 2018-07-17T07:43:49.000Z | 2018-07-17T07:43:49.000Z | 2.ProgrammingFundamentals/02_MethodsAndSolutions/Lab_07_GreaterOfTwoValues/greaterOfTwoValues.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | 2.ProgrammingFundamentals/02_MethodsAndSolutions/Lab_07_GreaterOfTwoValues/greaterOfTwoValues.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | using System;
namespace Lab_07_GreaterOfTwoValues
{
public class greaterOfTwoValues
{
public static void Main(string[] args)
{
var typeOfInput = Console.ReadLine();
var firstInput = string.Empty;
var secondInput = string.Empty;
Input(typeOfInpu... | 27.068966 | 88 | 0.507431 |
d2449fbc0bf54cdf2a4096a3db4da8e6c49599b7 | 260 | cs | C# | src/Microsoft.Azure.CosmosEventSourcing/Projections/IProjectionKey.cs | Rabosa616/azure-cosmos-dotnet-repository | b38bda3301beed210f4ee96bdb389ff174602329 | [
"MIT"
] | null | null | null | src/Microsoft.Azure.CosmosEventSourcing/Projections/IProjectionKey.cs | Rabosa616/azure-cosmos-dotnet-repository | b38bda3301beed210f4ee96bdb389ff174602329 | [
"MIT"
] | null | null | null | src/Microsoft.Azure.CosmosEventSourcing/Projections/IProjectionKey.cs | Rabosa616/azure-cosmos-dotnet-repository | b38bda3301beed210f4ee96bdb389ff174602329 | [
"MIT"
] | null | null | null | // Copyright (c) IEvangelist. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Azure.CosmosEventSourcing.Projections;
/// <summary>
/// A marker typed used to process projections.
/// </summary>
public interface IProjectionKey
{
} | 21.666667 | 58 | 0.753846 |
1c048ead6587e26d0d1a4e08281b359588303f34 | 1,250 | cs | C# | source/R5T.B0000.X001/Code/Constants/Characters.cs | SafetyCone/R5T.B0000 | b446cb0f2a4bcd64a6b394f1b4ed02a95254278a | [
"MIT"
] | null | null | null | source/R5T.B0000.X001/Code/Constants/Characters.cs | SafetyCone/R5T.B0000 | b446cb0f2a4bcd64a6b394f1b4ed02a95254278a | [
"MIT"
] | null | null | null | source/R5T.B0000.X001/Code/Constants/Characters.cs | SafetyCone/R5T.B0000 | b446cb0f2a4bcd64a6b394f1b4ed02a95254278a | [
"MIT"
] | null | null | null | using System;
namespace R5T.B0000.X001
{
public static partial class Characters
{
public static char Ampersand => '&';
public static char Asterix => '*';
public static char At => '@';
public static char Backslash => '\\';
public static char CloseBrace => ']';
p... | 31.25 | 51 | 0.5696 |
24039e4a2e26512a6562aa646ea45f7c7c1dff03 | 261 | cshtml | C# | AdventureWorksCosmos.UI/Pages/Components/Categories/Default.cshtml | rbmathis/AdventureWorksCosmos | 76937e418ba690b58260d8ab4d47ae50682a1bae | [
"MIT"
] | 87 | 2018-08-15T11:28:25.000Z | 2022-02-09T23:05:23.000Z | AdventureWorksCosmos.UI/Pages/Components/Categories/Default.cshtml | turkmvc/AdventureWorksCosmos | e4eeb90792700b6b8d075df2ff30ca4e927a32fd | [
"MIT"
] | 3 | 2019-04-03T02:01:23.000Z | 2021-03-12T05:51:06.000Z | AdventureWorksCosmos.UI/Pages/Components/Categories/Default.cshtml | turkmvc/AdventureWorksCosmos | e4eeb90792700b6b8d075df2ff30ca4e927a32fd | [
"MIT"
] | 27 | 2018-08-25T13:15:24.000Z | 2022-03-23T15:29:07.000Z | @model List<AdventureWorksCosmos.Products.Models.ProductCategory>
<ul class="nav navbar-nav">
@foreach (var category in Model)
{
<li><a asp-page="/Products/Index" asp-route-id="@category.ProductCategoryId">@category.Name</a></li>
}
</ul>
| 26.1 | 108 | 0.678161 |
24296e3a23459153b5e8f556193230922766838f | 276 | cs | C# | Philadelphia.Web/Mvp/Views/FlexSpacer.cs | todo-it/philadelphia | df5c67cf66025f62cd0666fe94983b9db94c298c | [
"Apache-2.0"
] | 3 | 2019-03-26T21:54:41.000Z | 2020-06-12T01:58:29.000Z | Philadelphia.Web/Mvp/Views/FlexSpacer.cs | todo-it/philadelphia | df5c67cf66025f62cd0666fe94983b9db94c298c | [
"Apache-2.0"
] | 14 | 2019-03-22T13:37:43.000Z | 2019-05-06T12:00:08.000Z | Philadelphia.Web/Mvp/Views/FlexSpacer.cs | todo-it/philadelphia | df5c67cf66025f62cd0666fe94983b9db94c298c | [
"Apache-2.0"
] | null | null | null | using Bridge.Html5;
using Philadelphia.Common;
namespace Philadelphia.Web {
public class FlexSpacer : IView<HTMLElement> {
private readonly HTMLElement _el = (new HTMLDivElement()).With(x => x.Style.Flex = "1");
public HTMLElement Widget => _el;
}
}
| 27.6 | 96 | 0.681159 |
f3fae086e0aa751d563566416063cbc5cd243585 | 2,314 | cs | C# | src/Usain.Slack/Models/Blocks/Elements/Menus/ConversationMultiSelectMenu.cs | Ciaanh/Usain | 63eaddbe4bc1eb244efe735444542579e6b80935 | [
"MIT"
] | 4 | 2021-01-22T10:46:58.000Z | 2022-02-12T11:28:29.000Z | src/Usain.Slack/Models/Blocks/Elements/Menus/ConversationMultiSelectMenu.cs | Ciaanh/Usain | 63eaddbe4bc1eb244efe735444542579e6b80935 | [
"MIT"
] | null | null | null | src/Usain.Slack/Models/Blocks/Elements/Menus/ConversationMultiSelectMenu.cs | Ciaanh/Usain | 63eaddbe4bc1eb244efe735444542579e6b80935 | [
"MIT"
] | 1 | 2021-01-22T13:18:48.000Z | 2021-01-22T13:18:48.000Z | namespace Usain.Slack.Models.Blocks.Elements.Menus
{
using System.Text.Json.Serialization;
using Composition;
/// <summary>
/// Works with block types: Section, Input.
/// This multi-select menu will populate its options with a list
/// of public and private channels, DMs, and MPIMs visible to ... | 42.851852 | 109 | 0.6707 |
d992a12f852d3ce7ef9fd8add55d901795f19e62 | 8,423 | cs | C# | MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.Client/SoapInvoker.cs | Indomitable/monodevelop-tfs-addin | 7978de9fa3435f6065e7a0704535e6bac3fccd1a | [
"MIT"
] | 13 | 2015-02-11T15:24:51.000Z | 2017-11-08T19:45:36.000Z | MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.Client/SoapInvoker.cs | jmatthiesen/monodevelop-tfs-addin | 7978de9fa3435f6065e7a0704535e6bac3fccd1a | [
"MIT"
] | 10 | 2015-01-08T04:32:42.000Z | 2018-08-25T13:20:32.000Z | MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.Client/SoapInvoker.cs | jmatthiesen/monodevelop-tfs-addin | 7978de9fa3435f6065e7a0704535e6bac3fccd1a | [
"MIT"
] | 17 | 2015-01-19T17:35:06.000Z | 2020-04-28T11:30:05.000Z | //
// SoapInvoker.cs
//
// Author:
// Ventsislav Mladenov <vmladenov.mladenov@gmail.com>
//
// Copyright (c) 2013 Ventsislav Mladenov
//
// 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 Softwa... | 40.109524 | 142 | 0.551585 |
aa55e070e2200e377fd9cc1e3eafc59582e7c555 | 337 | cs | C# | Models/Web/Nodes/AddPeerModel.cs | YouJinTou/Blockchain | fe3d9e3a6d54b92c23fa23e1215490c4fc20f224 | [
"MIT"
] | null | null | null | Models/Web/Nodes/AddPeerModel.cs | YouJinTou/Blockchain | fe3d9e3a6d54b92c23fa23e1215490c4fc20f224 | [
"MIT"
] | null | null | null | Models/Web/Nodes/AddPeerModel.cs | YouJinTou/Blockchain | fe3d9e3a6d54b92c23fa23e1215490c4fc20f224 | [
"MIT"
] | null | null | null | using System;
using System.ComponentModel.DataAnnotations;
namespace Models.Web.Nodes
{
public class AddPeerModel
{
[Required(ErrorMessage = "Name is required.")]
public string Name { get; set; }
[Required(ErrorMessage = "Address is required.")]
public Uri NetworkAddress { get... | 22.466667 | 57 | 0.649852 |
e44fddd0335a3c7c1260e1dbaf04f20fe13d40a3 | 11,025 | cs | C# | test/EntityFramework/UnitTests/Internal/DatabaseCreatorTests.cs | TerraVenil/entityframework | 70998a4be0ed566ad3f21d6c5a51016b7c16f9bd | [
"Apache-2.0"
] | 24 | 2015-02-03T22:04:08.000Z | 2021-04-28T05:41:09.000Z | test/EntityFramework/UnitTests/Internal/DatabaseCreatorTests.cs | erkansezgin/entityframework | 70998a4be0ed566ad3f21d6c5a51016b7c16f9bd | [
"Apache-2.0"
] | 1 | 2015-08-02T07:32:06.000Z | 2015-08-02T07:32:06.000Z | test/EntityFramework/UnitTests/Internal/DatabaseCreatorTests.cs | erkansezgin/entityframework | 70998a4be0ed566ad3f21d6c5a51016b7c16f9bd | [
"Apache-2.0"
] | 53 | 2015-03-27T05:03:11.000Z | 2022-03-31T22:22:58.000Z | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Internal
{
using System.Data.Entity.Config;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Migrations;
using Syste... | 44.635628 | 135 | 0.574059 |
e4a8ab80e282d67e5075c3006935a2325ee923a8 | 4,068 | cs | C# | Healthcare020.WinUI/Forms/AdminDashboard/PredefinedData/frmRoles.cs | fahirmdz/HealthCare020 | 6202f3914d448fba1d6290e0893152042bd99a81 | [
"MIT"
] | null | null | null | Healthcare020.WinUI/Forms/AdminDashboard/PredefinedData/frmRoles.cs | fahirmdz/HealthCare020 | 6202f3914d448fba1d6290e0893152042bd99a81 | [
"MIT"
] | null | null | null | Healthcare020.WinUI/Forms/AdminDashboard/PredefinedData/frmRoles.cs | fahirmdz/HealthCare020 | 6202f3914d448fba1d6290e0893152042bd99a81 | [
"MIT"
] | 2 | 2020-11-05T19:37:37.000Z | 2021-10-02T00:06:28.000Z | using Healthcare020.WinUI.Forms.AbstractForms;
using Healthcare020.WinUI.Helpers.Dialogs;
using Healthcare020.WinUI.Properties;
using Healthcare020.WinUI.Services;
using HealthCare020.Core.Constants;
using HealthCare020.Core.Models;
using HealthCare020.Core.ResourceParameters;
using System;
using System.Drawing;
using... | 35.068966 | 162 | 0.567355 |
c4c7f2ff0538a50e310a09bf2075f78146d2d6cb | 4,385 | cs | C# | src/OrleansIndexing/Core/Interfaces/IIndexUpdateGenerator.cs | philbe/OrleansIndexing-old | 7241d7f7c89971f3bfeef883291c66a95d4b8b5e | [
"MIT"
] | null | null | null | src/OrleansIndexing/Core/Interfaces/IIndexUpdateGenerator.cs | philbe/OrleansIndexing-old | 7241d7f7c89971f3bfeef883291c66a95d4b8b5e | [
"MIT"
] | null | null | null | src/OrleansIndexing/Core/Interfaces/IIndexUpdateGenerator.cs | philbe/OrleansIndexing-old | 7241d7f7c89971f3bfeef883291c66a95d4b8b5e | [
"MIT"
] | null | null | null | using Orleans;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Orleans.Indexing
{
/// <summary>
/// This interface specifies a method that each index should define
/// for extracting the part of the grain state it is interested... | 46.648936 | 113 | 0.678677 |
f46eb9a1712c3b3d72c490877fc3b3ea0cc4d921 | 7,726 | cs | C# | CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Read/Biff/SupbookRecord.cs | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | null | null | null | CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Read/Biff/SupbookRecord.cs | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | 6 | 2020-03-04T21:44:08.000Z | 2022-03-31T18:50:46.000Z | CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Read/Biff/SupbookRecord.cs | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | 1 | 2018-06-08T19:38:47.000Z | 2018-06-08T19:38:47.000Z | /*********************************************************************
*
* Copyright (C) 2002 Andrew Khan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of th... | 22.459302 | 141 | 0.591509 |
d6c2a811a2e8e14711a4ca96edcdb3cf589a3ab0 | 3,515 | cs | C# | src/ZeroLog.Tests/AllocationTests.cs | scottstephens/ZeroLog | b7027d1e71fd8418312ca0e5108d0877e59b7063 | [
"MIT"
] | null | null | null | src/ZeroLog.Tests/AllocationTests.cs | scottstephens/ZeroLog | b7027d1e71fd8418312ca0e5108d0877e59b7063 | [
"MIT"
] | null | null | null | src/ZeroLog.Tests/AllocationTests.cs | scottstephens/ZeroLog | b7027d1e71fd8418312ca0e5108d0877e59b7063 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Threading;
using NCrunch.Framework;
using NFluent;
using NUnit.Framework;
using ZeroLog.Appenders;
using ZeroLog.Config;
namespace ZeroLog.Tests
{
[TestFixture]
public class AllocationTests
{
private WaitableAppender _waitableAppender;
private st... | 30.565217 | 126 | 0.538549 |
6ee2b81908969596c5dc183c3738669d266fb83b | 289 | cs | C# | PrismaWEB.Application/Interface/Sistema/ISPaginaAppService.cs | LeonardoVanelli/Gest-oSpaca | 338cba3ec4c7995c50d75e83e1219112e993e84e | [
"MIT"
] | null | null | null | PrismaWEB.Application/Interface/Sistema/ISPaginaAppService.cs | LeonardoVanelli/Gest-oSpaca | 338cba3ec4c7995c50d75e83e1219112e993e84e | [
"MIT"
] | null | null | null | PrismaWEB.Application/Interface/Sistema/ISPaginaAppService.cs | LeonardoVanelli/Gest-oSpaca | 338cba3ec4c7995c50d75e83e1219112e993e84e | [
"MIT"
] | null | null | null | using ProjetoModeloDDD.Domain.Entities;
using System;
using System.Collections.Generic;
namespace ProjetoModeloDDD.Application.Interface
{
public interface ISPaginaAppService : IAppServiceBase<SPagina>
{
void GerarPaginasCriadas(IEnumerable<Type> exportedTypes);
}
}
| 22.230769 | 66 | 0.782007 |
6ee6d978bbca09be2821da01d113bc714525a39b | 72,107 | cs | C# | Chromatics/DeviceInterfaces/CorsairInterface.cs | liamdawson/Chromatics | f6a4c1a200dda221440980a430ca408c692eb891 | [
"MIT"
] | null | null | null | Chromatics/DeviceInterfaces/CorsairInterface.cs | liamdawson/Chromatics | f6a4c1a200dda221440980a430ca408c692eb891 | [
"MIT"
] | null | null | null | Chromatics/DeviceInterfaces/CorsairInterface.cs | liamdawson/Chromatics | f6a4c1a200dda221440980a430ca408c692eb891 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Chromatics.CorsairLibs;
using Chromatics.DeviceInterfaces.EffectLibrary;
using Chromatics.FFXIVInterfaces;
using CUE.NET;
using CUE.NET.Brushes;
using ... | 46.400901 | 169 | 0.443424 |
797bcc6e3184806e8a7dc23540208f88f329874c | 1,284 | cs | C# | src/rentACar/Persistence/PersistenceServiceRegistration.cs | salihozkara/RentACarArchitecture | 0a3be128bbc5aee3a2e0ba1d65a54814881e26ad | [
"MIT"
] | 2 | 2022-03-06T13:23:35.000Z | 2022-03-17T08:14:59.000Z | src/rentACar/Persistence/PersistenceServiceRegistration.cs | salihozkara/RentACarArchitecture | 0a3be128bbc5aee3a2e0ba1d65a54814881e26ad | [
"MIT"
] | null | null | null | src/rentACar/Persistence/PersistenceServiceRegistration.cs | salihozkara/RentACarArchitecture | 0a3be128bbc5aee3a2e0ba1d65a54814881e26ad | [
"MIT"
] | null | null | null | using Application.Services.Repositories;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Persistence.Context;
using Persistence.Repositories;
namespace Persistence;
public static class PersistenceServiceRegistration
{
public sta... | 34.702703 | 98 | 0.714953 |
7c78f91541e3a21d6f70cfa62bf5b1c4afd04c5d | 3,231 | cs | C# | gui/ViewModel/SettingsViewModel.cs | ginocoates/wii-capture | adc0b9da244b3d6e62a99ab1be8d4fd596f9d3e9 | [
"MIT"
] | null | null | null | gui/ViewModel/SettingsViewModel.cs | ginocoates/wii-capture | adc0b9da244b3d6e62a99ab1be8d4fd596f9d3e9 | [
"MIT"
] | null | null | null | gui/ViewModel/SettingsViewModel.cs | ginocoates/wii-capture | adc0b9da244b3d6e62a99ab1be8d4fd596f9d3e9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using wiicapture.gui.Messages;
using wiicapture.gui.Views;
namespace wiicapture.gui.ViewModel
{
publ... | 29.372727 | 101 | 0.579387 |
8069ea2d33d86d5e73148019926a82beeb9fc287 | 282 | cs | C# | source/DoubleCacheTests/Serialization/MsgPackItemSerializerTests.cs | ehvattum/DoubleCache | 5105c33b53c206e2d755a2be8b2002b70ff745ae | [
"MIT"
] | 35 | 2016-01-04T19:05:19.000Z | 2021-10-04T11:48:42.000Z | source/DoubleCacheTests/Serialization/MsgPackItemSerializerTests.cs | AurumAS/DoubleCache | 5105c33b53c206e2d755a2be8b2002b70ff745ae | [
"MIT"
] | 19 | 2016-01-04T15:31:51.000Z | 2018-05-17T20:41:30.000Z | source/DoubleCacheTests/Serialization/MsgPackItemSerializerTests.cs | ehvattum/DoubleCache | 5105c33b53c206e2d755a2be8b2002b70ff745ae | [
"MIT"
] | 17 | 2016-01-04T15:17:54.000Z | 2021-08-28T23:54:08.000Z | using DoubleCache.Serialization;
namespace DoubleCacheTests.Serialization
{
public class MsgPackItemSerializerTests : ItemSerializerTests
{
public MsgPackItemSerializerTests()
{
serializer = new MsgPackItemSerializer();
}
}
}
| 21.692308 | 65 | 0.670213 |
6b9585ee8a549f8c24295e34dbe1933204302431 | 2,258 | cs | C# | LMS.UI/App.xaml.cs | Stayrony/LibraryManagementSystem | 132fce4f27e176539310abeb483e2ebce1e57b1a | [
"MS-PL"
] | 2 | 2017-05-06T20:33:08.000Z | 2017-05-06T20:37:06.000Z | LMS.UI/App.xaml.cs | Stayrony/LibraryManagementSystem | 132fce4f27e176539310abeb483e2ebce1e57b1a | [
"MS-PL"
] | null | null | null | LMS.UI/App.xaml.cs | Stayrony/LibraryManagementSystem | 132fce4f27e176539310abeb483e2ebce1e57b1a | [
"MS-PL"
] | null | null | null | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="App.xaml.cs" company="">
//
// </copyright>
// <summary>
// Interaction logic for App.xaml
// </summary>
// -----------------------------------------------------------... | 39.614035 | 121 | 0.541187 |
2de59cfe88c7a2e0746ebce52f904011930b00de | 31,087 | cs | C# | MilitarySymbols/MilitarySymbolToGraphicLayersMaker.cs | csmoore/military-symbols-dotnet | 9b484334d02d7c057851b46c13f462229e59e65c | [
"Apache-2.0",
"MS-PL"
] | 14 | 2018-08-27T10:41:44.000Z | 2022-01-21T19:19:09.000Z | MilitarySymbols/MilitarySymbolToGraphicLayersMaker.cs | csmoore/military-symbols-dotnet | 9b484334d02d7c057851b46c13f462229e59e65c | [
"Apache-2.0",
"MS-PL"
] | 1 | 2020-08-05T06:54:02.000Z | 2020-08-05T12:54:16.000Z | MilitarySymbols/MilitarySymbolToGraphicLayersMaker.cs | csmoore/military-symbols-dotnet | 9b484334d02d7c057851b46c13f462229e59e65c | [
"Apache-2.0",
"MS-PL"
] | 1 | 2018-05-16T17:36:55.000Z | 2018-05-16T17:36:55.000Z | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 40.372727 | 133 | 0.591984 |
61664f0334aa279fa6b60d70aa05b3871a1d683c | 8,340 | cs | C# | GridViewWebApi/GridViewWebApi/Controllers/GridViewController.cs | HeyWesItsJess/GridViewWebApi | a37331787fc991b9a18887bc651a0a8dd321f998 | [
"MIT"
] | null | null | null | GridViewWebApi/GridViewWebApi/Controllers/GridViewController.cs | HeyWesItsJess/GridViewWebApi | a37331787fc991b9a18887bc651a0a8dd321f998 | [
"MIT"
] | null | null | null | GridViewWebApi/GridViewWebApi/Controllers/GridViewController.cs | HeyWesItsJess/GridViewWebApi | a37331787fc991b9a18887bc651a0a8dd321f998 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using GridViewWebApi.Services;
using GridViewWebApi.Models;
using System;
namespace GridViewWebApi.Controllers
{
public class GridViewController : ApiController
{
GridViewDataService da... | 59.571429 | 163 | 0.666906 |
73bfaf43b565ffe6eea7dd80b593bbbb6c978d46 | 6,355 | cs | C# | Code/Light.DependencyInjection.Tests/DependencyOverrideTests.cs | feO2x/Light.DependencyInjection | badfedd3661e555c91a680e49608f6025023659f | [
"MIT"
] | 1 | 2016-10-28T13:46:43.000Z | 2016-10-28T13:46:43.000Z | Code/Light.DependencyInjection.Tests/DependencyOverrideTests.cs | feO2x/Light.DependencyInjection | badfedd3661e555c91a680e49608f6025023659f | [
"MIT"
] | 24 | 2016-08-04T13:16:33.000Z | 2017-12-03T07:15:07.000Z | Code/Light.DependencyInjection.Tests/DependencyOverrideTests.cs | feO2x/Light.DependencyInjection | badfedd3661e555c91a680e49608f6025023659f | [
"MIT"
] | null | null | null | using FluentAssertions;
using Light.DependencyInjection.Registrations;
using Light.DependencyInjection.Services;
using Light.GuardClauses;
using Xunit;
// ReSharper disable ClassNeverInstantiated.Global
namespace Light.DependencyInjection.Tests
{
[Trait("Category", "Functional Tests")]
public sealed class De... | 50.84 | 209 | 0.59166 |
b2e864e909a9d7e0d7b7abfc6b98cf687738bb1e | 1,376 | cs | C# | src/lib/PnP.Framework.Test/Framework/Functional/Implementation/WorkflowImplementation.cs | jackpoz/pnpframework | fa1df849ccaf5961c52169cd53fc07f592ed5e92 | [
"MIT"
] | 122 | 2020-10-06T13:07:52.000Z | 2022-03-30T17:05:34.000Z | src/lib/PnP.Framework.Test/Framework/Functional/Implementation/WorkflowImplementation.cs | jackpoz/pnpframework | fa1df849ccaf5961c52169cd53fc07f592ed5e92 | [
"MIT"
] | 447 | 2020-10-09T07:10:25.000Z | 2022-03-31T17:52:55.000Z | src/lib/PnP.Framework.Test/Framework/Functional/Implementation/WorkflowImplementation.cs | jackpoz/pnpframework | fa1df849ccaf5961c52169cd53fc07f592ed5e92 | [
"MIT"
] | 90 | 2020-10-06T14:44:39.000Z | 2022-03-17T10:45:40.000Z | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PnP.Framework.Provisioning.Connectors;
using PnP.Framework.Provisioning.Model;
using PnP.Framework.Provisioning.ObjectHandlers;
using PnP.Framework.Test.Framework.Functional.Validators;
using System;
namespace PnP.Framework.Test.Framework.Functional.Implementa... | 44.387097 | 164 | 0.678052 |
9f3d2c8b3db69eed16bea7e5dc0726a6485b8a28 | 947 | cs | C# | test/EntityFrameworkCore.Triggered.Tests/Stubs/TriggerServiceStub.cs | ScriptBox99/EntityFrameworkCore.Triggered | a179a0209c6d2d33706b59e59b869a71989c4894 | [
"MIT"
] | 240 | 2020-09-20T17:28:45.000Z | 2022-03-28T09:17:26.000Z | test/EntityFrameworkCore.Triggered.Tests/Stubs/TriggerServiceStub.cs | ScriptBox99/EntityFrameworkCore.Triggered | a179a0209c6d2d33706b59e59b869a71989c4894 | [
"MIT"
] | 29 | 2020-09-23T19:28:24.000Z | 2022-03-31T08:54:43.000Z | test/EntityFrameworkCore.Triggered.Tests/Stubs/TriggerServiceStub.cs | ScriptBox99/EntityFrameworkCore.Triggered | a179a0209c6d2d33706b59e59b869a71989c4894 | [
"MIT"
] | 18 | 2020-12-08T08:17:45.000Z | 2022-03-28T13:51:31.000Z | using System;
using Microsoft.EntityFrameworkCore;
namespace EntityFrameworkCore.Triggered.Tests.Stubs
{
public class TriggerServiceStub : ITriggerService
{
public int CreateSessionCalls;
public IServiceProvider ServiceProvider;
public TriggerSessionStub LastSession;
public IT... | 33.821429 | 187 | 0.710665 |
673a5a02999438f372555fe7a0d6f30124c2ffbe | 1,690 | cs | C# | samples/Movies/__build/vs/uwp/MoviesUI/MovieDetailsPage.xaml.cs | Bhaskers-Blu-Org2/pmod | 92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a | [
"MIT"
] | 19 | 2019-06-16T02:29:24.000Z | 2022-03-01T23:20:25.000Z | samples/Movies/__build/vs/uwp/MoviesUI/MovieDetailsPage.xaml.cs | microsoft/pmod | 92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a | [
"MIT"
] | null | null | null | samples/Movies/__build/vs/uwp/MoviesUI/MovieDetailsPage.xaml.cs | microsoft/pmod | 92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a | [
"MIT"
] | 5 | 2019-11-03T11:40:25.000Z | 2020-08-05T14:56:13.000Z | /***
* Copyright (C) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
*
* File:MovieDetailsPage.xaml.cs
****/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Interop... | 29.137931 | 107 | 0.661538 |
ec8c951df1cc2ac64e7a379d91581033938fb8e2 | 245 | cs | C# | SpreadCommander.Common/Code/IFileViewer.cs | VassilievVV/SpreadCommander | 949130a0e719e0f0371216960ec3f800eccbdd2d | [
"Apache-2.0"
] | 3 | 2020-08-31T13:55:26.000Z | 2020-11-11T02:03:24.000Z | SpreadCommander.Common/Code/IFileViewer.cs | VassilievVV/SpreadCommander | 949130a0e719e0f0371216960ec3f800eccbdd2d | [
"Apache-2.0"
] | null | null | null | SpreadCommander.Common/Code/IFileViewer.cs | VassilievVV/SpreadCommander | 949130a0e719e0f0371216960ec3f800eccbdd2d | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpreadCommander.Common.Code
{
public interface IFileViewer
{
void ViewFile(string fileName);
}
}
| 17.5 | 39 | 0.738776 |
505eceb541deaa3da109242bfd01d5d2cf2eb2ef | 726 | cs | C# | src/eShop.UWP/Views/Base/PageBase.cs | AsimKhan2019/eShop-on-UWP | e6a1a8d359980b9082407e2e3ccdda2de453eedd | [
"MIT"
] | 175 | 2017-09-23T14:44:42.000Z | 2022-03-10T22:43:36.000Z | src/eShop.UWP/Views/Base/PageBase.cs | AsimKhan2019/eShop-on-UWP | e6a1a8d359980b9082407e2e3ccdda2de453eedd | [
"MIT"
] | 6 | 2017-09-27T19:16:16.000Z | 2020-02-26T22:28:30.000Z | src/eShop.UWP/Views/Base/PageBase.cs | AsimKhan2019/eShop-on-UWP | e6a1a8d359980b9082407e2e3ccdda2de453eedd | [
"MIT"
] | 72 | 2017-09-27T23:08:12.000Z | 2022-03-10T12:09:50.000Z | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using eShop.UWP.ViewModels.Base;
namespace eShop.UWP.Views.Base
{
public class PageBase : Page
{
protected override void OnNavigatedTo(NavigationEventArgs e)
{
base.OnNavigatedTo(e);
var customViewModelB... | 27.923077 | 98 | 0.662534 |
0be547d88b176206ab8cb81537996e35eec1ffdd | 177 | cshtml | C# | sk-templates/init/default.v9/src/Project/[projectName].Website/code/Views/Layouts/DefaultLayout.cshtml | trnktms/Helix.Skeleton | 3cc969f9c3ae1727b923e9914f4312b8c0d4b771 | [
"MIT"
] | 14 | 2017-11-24T15:16:17.000Z | 2020-01-09T08:17:56.000Z | sk-templates/init/default.v9/src/Project/[projectName].Website/code/Views/Layouts/DefaultLayout.cshtml | trnktms/Helix.Skeleton | 3cc969f9c3ae1727b923e9914f4312b8c0d4b771 | [
"MIT"
] | 12 | 2018-01-30T07:01:58.000Z | 2019-04-30T09:07:59.000Z | sk-templates/init/default/src/Project/[projectName].Website/code/Views/Layouts/DefaultLayout.cshtml | trnktms/Helix.Skeleton | 3cc969f9c3ae1727b923e9914f4312b8c0d4b771 | [
"MIT"
] | 2 | 2017-10-31T15:54:09.000Z | 2018-06-25T11:55:15.000Z | <html>
<head></head>
<body>
@Html.Sitecore().Placeholder("phHeader")
@Html.Sitecore().Placeholder("phMain")
@Html.Sitecore().Placeholder("phFooter")
</body>
</html>
| 19.666667 | 44 | 0.649718 |
329d52448337b0cbe1dcfb9c930fba7aa0a02abe | 3,597 | cshtml | C# | HtmlToPdf.Web/Views/Convert/Index.cshtml | goshaus/Command-dev | 9e2febb9969e2c664124b04d124ac2155d68dcb2 | [
"MIT"
] | null | null | null | HtmlToPdf.Web/Views/Convert/Index.cshtml | goshaus/Command-dev | 9e2febb9969e2c664124b04d124ac2155d68dcb2 | [
"MIT"
] | null | null | null | HtmlToPdf.Web/Views/Convert/Index.cshtml | goshaus/Command-dev | 9e2febb9969e2c664124b04d124ac2155d68dcb2 | [
"MIT"
] | null | null | null | @model HtmlToPdf.Web.Models.Convert.ConvertViewModel
<section id="banner">
<div class="inner">
<h1>Html To Pdf converter</h1>
<ul class="actions">
<li><a href="#converter" class="button alt scrolly big">Let's start</a></li>
</ul>
</div>
</section>
<article id="converter" c... | 52.130435 | 148 | 0.51682 |
f552aa9f9660305c622a76b4a53d0f8343532d37 | 428 | cs | C# | src/AWS.Deploy.Orchestration/IOrchestratorInteractiveService.cs | 96malhar/aws-dotnet-deploy | aacb712b5be4f1816ad9cb6933927c1b4d93811c | [
"MIT"
] | null | null | null | src/AWS.Deploy.Orchestration/IOrchestratorInteractiveService.cs | 96malhar/aws-dotnet-deploy | aacb712b5be4f1816ad9cb6933927c1b4d93811c | [
"MIT"
] | null | null | null | src/AWS.Deploy.Orchestration/IOrchestratorInteractiveService.cs | 96malhar/aws-dotnet-deploy | aacb712b5be4f1816ad9cb6933927c1b4d93811c | [
"MIT"
] | null | null | null | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Orchestration
{
public interface IOrchestratorInteractiveService
{
void LogSectionStart(string sectionName, string? description);
void LogErrorMessage(string? messa... | 25.176471 | 70 | 0.71729 |
92655f5650e0c2c323c09c14cc35c57f9b9e0f72 | 1,699 | cs | C# | src/Transformalize.Provider.Velocity/VelocityLogSystem.cs | dalenewman/Transformalize.Provider.Velocity | 52e4bf3f06711092069f6c763b46f620c646287f | [
"Apache-2.0"
] | 1 | 2019-03-29T04:59:59.000Z | 2019-03-29T04:59:59.000Z | src/Transformalize.Provider.Velocity/VelocityLogSystem.cs | dalenewman/Transformalize.Provider.Velocity | 52e4bf3f06711092069f6c763b46f620c646287f | [
"Apache-2.0"
] | null | null | null | src/Transformalize.Provider.Velocity/VelocityLogSystem.cs | dalenewman/Transformalize.Provider.Velocity | 52e4bf3f06711092069f6c763b46f620c646287f | [
"Apache-2.0"
] | null | null | null | #region license
// Transformalize
// Configurable Extract, Transform, and Load
// Copyright 2013-2019 Dale Newman
//
// 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://... | 32.056604 | 75 | 0.618011 |
e953640db9920debca0c066ad70166da66e86e6c | 5,842 | cs | C# | ExpressionLibrary/Expressions/LetExpression.cs | middas/ExpressionCalculator | 3c03df06a51e216c86a02db64a837e3817baa3b1 | [
"MIT"
] | 1 | 2019-12-03T21:29:30.000Z | 2019-12-03T21:29:30.000Z | ExpressionLibrary/Expressions/LetExpression.cs | middas/ExpressionCalculator | 3c03df06a51e216c86a02db64a837e3817baa3b1 | [
"MIT"
] | null | null | null | ExpressionLibrary/Expressions/LetExpression.cs | middas/ExpressionCalculator | 3c03df06a51e216c86a02db64a837e3817baa3b1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExpressionLibrary.Expressions
{
internal class LetExpression : IExpression
{
private const string ValidLetPattern = "^[Ll][Ee][Tt] *\\(";
private const string ValidVariablePattern... | 35.406061 | 133 | 0.489216 |
9a10120402d556cbc858babf2f646d21a1c10c4f | 4,293 | cs | C# | JsonSchema/ValidationOptions.cs | amosonn/json-everything | 8978d241f3b1a6d84f4b55987754e3cb9a5c725d | [
"MIT"
] | null | null | null | JsonSchema/ValidationOptions.cs | amosonn/json-everything | 8978d241f3b1a6d84f4b55987754e3cb9a5c725d | [
"MIT"
] | null | null | null | JsonSchema/ValidationOptions.cs | amosonn/json-everything | 8978d241f3b1a6d84f4b55987754e3cb9a5c725d | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Json.Schema
{
/// <summary>
/// Allows configuration of the validation process.
/// </summary>
public class ValidationOptions
{
private Uri _defaultBaseUri;
/// <summary>
/// The default settings.
/// <... | 33.80315 | 142 | 0.717447 |
5d2cf3931fe36fd71f7fe5e8841735163d2b23c3 | 7,742 | cs | C# | src/Akka.Cluster/Serialization/Protocol/ClusterMessages.cs | cuteant/akka.net | e7ebdc3f0420221f7b158a7d5719212391f231e4 | [
"Apache-2.0"
] | null | null | null | src/Akka.Cluster/Serialization/Protocol/ClusterMessages.cs | cuteant/akka.net | e7ebdc3f0420221f7b158a7d5719212391f231e4 | [
"Apache-2.0"
] | null | null | null | src/Akka.Cluster/Serialization/Protocol/ClusterMessages.cs | cuteant/akka.net | e7ebdc3f0420221f7b158a7d5719212391f231e4 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using Akka.Serialization.Protocol;
using MessagePack;
namespace Akka.Cluster.Serialization.Protocol
{
/****************************************
* Internal Cluster Action Messages
****************************************/
// Join
[MessagePackObject... | 25.467105 | 127 | 0.555154 |
b959b8ca5dedee3b3db4a97fbdc5017fb415ca7e | 2,563 | cs | C# | Assets/Scripts/PlayerAnimationController.cs | marcciosilva/gravity-shifter | df073880916c1c15d6ea7381eedd4c70941993a7 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/PlayerAnimationController.cs | marcciosilva/gravity-shifter | df073880916c1c15d6ea7381eedd4c70941993a7 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/PlayerAnimationController.cs | marcciosilva/gravity-shifter | df073880916c1c15d6ea7381eedd4c70941993a7 | [
"Apache-2.0"
] | null | null | null | #undef DEBUG
using UnityEngine;
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(SpriteRenderer))]
public class PlayerAnimationController : MonoBehaviour
{
private const float verticalVelocityThreshold = 0.2f;
private const float horizontalVelocityThreshold... | 29.802326 | 104 | 0.626219 |
b057f935275794070a49eaeda16582f744c90a9f | 99 | cs | C# | extensions/Ntrada.Extensions.RabbitMq/Contexts/NullContext.cs | snatch-dev/Ntrada | 84f088263d821cc9907a24a68d4fcc832693b539 | [
"MIT"
] | 97 | 2019-09-16T21:34:08.000Z | 2022-03-25T04:37:43.000Z | extensions/Ntrada.Extensions.RabbitMq/Contexts/NullContext.cs | spetz/ngate | 84f088263d821cc9907a24a68d4fcc832693b539 | [
"MIT"
] | 11 | 2019-09-09T17:02:45.000Z | 2019-09-14T05:08:01.000Z | extensions/Ntrada.Extensions.RabbitMq/Contexts/NullContext.cs | snatch-dev/Ntrada | 84f088263d821cc9907a24a68d4fcc832693b539 | [
"MIT"
] | 24 | 2019-10-05T05:46:26.000Z | 2022-03-20T17:40:36.000Z | namespace Ntrada.Extensions.RabbitMq.Contexts
{
internal sealed class NullContext
{
}
} | 16.5 | 45 | 0.717172 |
1912e5500a415e97b7c019c333c8edb9567d5076 | 271 | cs | C# | QSF/QSF/Examples/GaugeControl/VerticalGaugeGalleryExample/VerticalGaugeGalleryItem1.xaml.cs | crisper91/xamarin_telerik | c44ee863d06bf904a34dd64e22c984370596ec0c | [
"RSA-MD"
] | 96 | 2018-02-04T16:18:08.000Z | 2022-03-24T23:18:30.000Z | QSF/QSF/Examples/GaugeControl/VerticalGaugeGalleryExample/VerticalGaugeGalleryItem1.xaml.cs | crisper91/xamarin_telerik | c44ee863d06bf904a34dd64e22c984370596ec0c | [
"RSA-MD"
] | 31 | 2018-11-07T11:52:50.000Z | 2022-01-20T16:16:58.000Z | QSF/QSF/Examples/GaugeControl/VerticalGaugeGalleryExample/VerticalGaugeGalleryItem1.xaml.cs | crisper91/xamarin_telerik | c44ee863d06bf904a34dd64e22c984370596ec0c | [
"RSA-MD"
] | 92 | 2018-02-12T11:58:32.000Z | 2022-01-24T21:54:02.000Z | using Xamarin.Forms;
namespace QSF.Examples.GaugeControl.VerticalGaugeGalleryExample
{
public partial class VerticalGaugeGalleryItem1 : ContentView
{
public VerticalGaugeGalleryItem1()
{
this.InitializeComponent();
}
}
}
| 20.846154 | 64 | 0.678967 |
c25d2255b3a19c06fbdce40aaead5769e2e0bf6f | 17,651 | cs | C# | src/Rendering/ScaleDiagramRenderer.cs | KrzysztofKowalski/scalex | acf7c19101ed75359ce8d91ff9e9a99cb75ed59a | [
"MIT"
] | 1 | 2018-11-27T17:05:23.000Z | 2018-11-27T17:05:23.000Z | src/Rendering/ScaleDiagramRenderer.cs | KrzysztofKowalski/scalex | acf7c19101ed75359ce8d91ff9e9a99cb75ed59a | [
"MIT"
] | null | null | null | src/Rendering/ScaleDiagramRenderer.cs | KrzysztofKowalski/scalex | acf7c19101ed75359ce8d91ff9e9a99cb75ed59a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Webprofusion.Scalex.Guitar;
using Webprofusion.Scalex.Music;
using Webprofusion.Scalex.Util;
namespace Webprofusion.Scalex.Rendering
{
/// <summary>
/// Renders the fretboard scale diagram for the current settings to the provided Graphics context
/// <... | 46.328084 | 347 | 0.564897 |
681f09fa2d1d21a57932f0f2a2d6b302f850619f | 1,948 | cs | C# | src/PedroLamas.WP7.CTTObjectos/Model/ObjectModel.cs | PedroLamas/PedroLamas.WP7.CTTObjectos | 2e1234ca0e61ed15285f80e9264832e932a56392 | [
"MIT"
] | 1 | 2022-03-27T14:48:28.000Z | 2022-03-27T14:48:28.000Z | src/PedroLamas.WP7.CTTObjectos/Model/ObjectModel.cs | pedrolamas/PedroLamas.WP7.CTTObjectos | 2e1234ca0e61ed15285f80e9264832e932a56392 | [
"MIT"
] | null | null | null | src/PedroLamas.WP7.CTTObjectos/Model/ObjectModel.cs | pedrolamas/PedroLamas.WP7.CTTObjectos | 2e1234ca0e61ed15285f80e9264832e932a56392 | [
"MIT"
] | null | null | null | using GalaSoft.MvvmLight;
namespace PedroLamas.WP7.CTTObjectos.Model
{
public class ObjectModel : ObservableObject
{
private string _objectId;
private string _description;
private string _etag;
private CttObjectTrackingState _state;
#region Properties
public s... | 20.505263 | 89 | 0.404517 |
683bc783d500d3500d1c76ec7adc7fd173a5c06f | 1,014 | cs | C# | Shuttle.Access.Application/AccessClientSection.cs | Shuttle/Shuttle.Access | 6747459d7eecb1a2550061acea46bab22abde945 | [
"BSD-3-Clause"
] | 1 | 2017-11-01T08:41:14.000Z | 2017-11-01T08:41:14.000Z | Shuttle.Access.Application/AccessClientSection.cs | Shuttle/Shuttle.Access | 6747459d7eecb1a2550061acea46bab22abde945 | [
"BSD-3-Clause"
] | 8 | 2020-07-16T01:29:53.000Z | 2021-08-18T06:15:51.000Z | Shuttle.Access.Application/AccessClientSection.cs | Shuttle/Shuttle.Access | 6747459d7eecb1a2550061acea46bab22abde945 | [
"BSD-3-Clause"
] | 2 | 2018-03-16T20:47:37.000Z | 2021-08-20T03:03:42.000Z | using System.Configuration;
using Shuttle.Core.Configuration;
namespace Shuttle.Access.Application
{
public class AccessClientSection : ConfigurationSection
{
[ConfigurationProperty("url", IsRequired = true)]
public string Url => (string)this["url"];
[ConfigurationProperty("identityNa... | 33.8 | 102 | 0.658777 |
3fc22f8b6929126b7fd65e9c9d53beadd1c053fc | 1,841 | cs | C# | BattleshipGameEngine/Exceptions.cs | yonimn2000/battleship-game-library | 43b86368aa24af241dd7d8bacbc5ba86b37460b8 | [
"MIT"
] | null | null | null | BattleshipGameEngine/Exceptions.cs | yonimn2000/battleship-game-library | 43b86368aa24af241dd7d8bacbc5ba86b37460b8 | [
"MIT"
] | null | null | null | BattleshipGameEngine/Exceptions.cs | yonimn2000/battleship-game-library | 43b86368aa24af241dd7d8bacbc5ba86b37460b8 | [
"MIT"
] | null | null | null | using System;
using System.Drawing;
namespace YonatanMankovich.BattleshipGameEngine
{
public class BoardIsFullException : Exception
{
public BoardIsFullException(string msg = "") : base(msg) { }
public BoardIsFullException(Board board, string msg = "") : this($"The board {board.Size} is full.... | 40.911111 | 145 | 0.668115 |
fa73b520fe33eb89707979bbdb30cfc30f08a28b | 976 | cs | C# | BitMover.Challenge/BitMover.Challenge.Console/Program.cs | zombinome/bitmover-challenge | 83f40da7f3c529936c4abe054f3ee20e8368ebf7 | [
"Apache-2.0"
] | null | null | null | BitMover.Challenge/BitMover.Challenge.Console/Program.cs | zombinome/bitmover-challenge | 83f40da7f3c529936c4abe054f3ee20e8368ebf7 | [
"Apache-2.0"
] | null | null | null | BitMover.Challenge/BitMover.Challenge.Console/Program.cs | zombinome/bitmover-challenge | 83f40da7f3c529936c4abe054f3ee20e8368ebf7 | [
"Apache-2.0"
] | null | null | null | using BitMover.Challenge.Mocks;
using BitMover.Challenge.Service;
// Initializing mocks
await InMemDb.InitAsync();
await LicenseRepository.Initialize(50, 0);
await LockingRepository.Initialize();
var dbRepository = new LicenseRepository();
var messageSender = new BillingMessageSender();
var analyticsApi = new Analyt... | 30.5 | 99 | 0.752049 |
205985881aa6eb98875ad661676eaf42b151dcb1 | 195 | cs | C# | src/ZstdSharp/Unsafe/fseWkspMax_t.cs | CHeavyarms/ZstdSharp | 4382633b00d8b7ee0d106acaf714fd9b45bb1356 | [
"MIT"
] | 45 | 2021-04-14T11:04:10.000Z | 2022-03-15T02:13:19.000Z | src/ZstdSharp/Unsafe/fseWkspMax_t.cs | CHeavyarms/ZstdSharp | 4382633b00d8b7ee0d106acaf714fd9b45bb1356 | [
"MIT"
] | 5 | 2021-05-12T18:59:38.000Z | 2021-12-06T18:07:15.000Z | src/ZstdSharp/Unsafe/fseWkspMax_t.cs | CHeavyarms/ZstdSharp | 4382633b00d8b7ee0d106acaf714fd9b45bb1356 | [
"MIT"
] | 6 | 2021-06-15T15:39:13.000Z | 2022-03-10T07:31:44.000Z | using System;
namespace ZstdSharp.Unsafe
{
public unsafe partial struct fseWkspMax_t
{
public fixed uint CTable_max[2561];
public _workspace_e__Union workspace;
}
}
| 16.25 | 45 | 0.692308 |
98f0725dbb60dec2f3f169d067e38c1a990a79f7 | 843 | cs | C# | Plugins/NPOI/Aspose.Cells Vs NPOI HWPF and XWPF v1.3/SplitCellsInExcel/NPOI HWPF and XWPF/Program.cs | sergioruizdeveloper/Aspose.Cells-for-.NET | e0a946a5a1fd60164268f41546e424270ac7cbd9 | [
"MIT"
] | 157 | 2016-05-08T05:12:41.000Z | 2022-03-29T11:37:26.000Z | Plugins/NPOI/Aspose.Cells Vs NPOI HWPF and XWPF v1.3/SplitCellsInExcel/NPOI HWPF and XWPF/Program.cs | sergioruizdeveloper/Aspose.Cells-for-.NET | e0a946a5a1fd60164268f41546e424270ac7cbd9 | [
"MIT"
] | 13 | 2016-06-24T12:04:29.000Z | 2022-03-15T02:37:15.000Z | Plugins/NPOI/Aspose.Cells Vs NPOI HWPF and XWPF v1.3/SplitCellsInExcel/NPOI HWPF and XWPF/Program.cs | sergioruizdeveloper/Aspose.Cells-for-.NET | e0a946a5a1fd60164268f41546e424270ac7cbd9 | [
"MIT"
] | 71 | 2016-04-09T07:15:53.000Z | 2022-03-29T07:38:07.000Z | using System.IO;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
namespace SplitCellInExecl
{
class Program
{
static HSSFWorkbook hssfworkbook;
static void Main(string[] args)
{
hssfworkbook = new HSSFWorkbook();
ISheet sheet1 = hssfworkbook... | 33.72 | 87 | 0.591934 |
c752cd7f230ca6f2e0eaf4bc3c470c88ef7ce191 | 3,080 | cs | C# | Me20.Bot/Dialogs/LUISDialog.cs | r-hryniewski/Me20 | 8065672203ffdf5b36edfacbbe022c184029631f | [
"MIT"
] | 3 | 2017-03-01T21:32:39.000Z | 2019-06-19T13:07:42.000Z | Me20.Bot/Dialogs/LUISDialog.cs | r-hryniewski/Me20 | 8065672203ffdf5b36edfacbbe022c184029631f | [
"MIT"
] | null | null | null | Me20.Bot/Dialogs/LUISDialog.cs | r-hryniewski/Me20 | 8065672203ffdf5b36edfacbbe022c184029631f | [
"MIT"
] | null | null | null | using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.FormFlow;
using Microsoft.Bot.Builder.Luis;
using Microsoft.Bot.Builder.Luis.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace Me20.Bot.Dialog... | 34.222222 | 245 | 0.631494 |
c0bbe47dc7de2ca6c13225968de93f552787f417 | 1,921 | cs | C# | Scheduling.Engine/Scheduling/CronExpressionGenerator.cs | Isopolito/AzureSchedulingService | bb1e2bc0e4ef8c3e4682e891d9bfada24dfbe97d | [
"MIT"
] | 2 | 2020-05-21T20:37:08.000Z | 2021-02-22T18:09:49.000Z | Scheduling.Engine/Scheduling/CronExpressionGenerator.cs | Isopolito/AzureSchedulingService | bb1e2bc0e4ef8c3e4682e891d9bfada24dfbe97d | [
"MIT"
] | null | null | null | Scheduling.Engine/Scheduling/CronExpressionGenerator.cs | Isopolito/AzureSchedulingService | bb1e2bc0e4ef8c3e4682e891d9bfada24dfbe97d | [
"MIT"
] | 1 | 2020-03-09T09:22:42.000Z | 2020-03-09T09:22:42.000Z | using System.Collections.Generic;
using CronEspresso.NETCore;
using CronEspresso.NETCore.Enums;
using Scheduling.SharedPackage.Enums;
using Scheduling.SharedPackage.Extensions;
using Scheduling.SharedPackage.Models;
namespace Scheduling.Engine.Scheduling
{
internal class CronExpressionGenerator : ICronExpressionG... | 37.666667 | 154 | 0.631963 |
986f6e5f78df8954ad588ae17c29a732376de1f4 | 172 | cs | C# | C17/src/PageController/Pages/Employees/ICreateOrEditModel.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | 46 | 2020-11-24T08:43:46.000Z | 2022-02-24T07:36:35.000Z | C17/src/PageController/Pages/Employees/ICreateOrEditModel.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | null | null | null | C17/src/PageController/Pages/Employees/ICreateOrEditModel.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | 29 | 2020-12-02T15:45:14.000Z | 2022-03-19T15:05:12.000Z | using PageController.Data.Models;
namespace PageController.Pages.Employees
{
public interface ICreateOrEditModel
{
Employee Employee { get; set; }
}
} | 19.111111 | 40 | 0.703488 |
996c049c970c8a1fe5b8c27501e884e8933412d2 | 218 | cs | C# | src/BlazorTypography/Internal/StringExtensions.cs | chanan/BlazorTypography | 92b73390ea953d92d2fb3f8ce39e88977bb6e290 | [
"Unlicense"
] | 13 | 2019-07-19T01:20:31.000Z | 2022-03-06T06:33:13.000Z | src/BlazorTypography/Internal/StringExtensions.cs | chanan/BlazorTypography | 92b73390ea953d92d2fb3f8ce39e88977bb6e290 | [
"Unlicense"
] | 4 | 2019-08-08T13:16:02.000Z | 2020-02-02T17:43:58.000Z | src/BlazorTypography/Internal/StringExtensions.cs | chanan/BlazorTypography | 92b73390ea953d92d2fb3f8ce39e88977bb6e290 | [
"Unlicense"
] | 7 | 2019-08-24T10:39:29.000Z | 2021-08-17T02:35:37.000Z | namespace BlazorTypography.Internal
{
internal static class StringExtensions
{
public static string FixDecimal(this string input)
{
return input.Replace(',', '.');
}
}
} | 21.8 | 58 | 0.591743 |
71b4912c9e80292dda842569ed12827e977b4b98 | 432 | cs | C# | File/DrawingFile/Point.cs | jibonaronno/ArduinoLadder | 238a44673347d237883a9a4cb0254b0465be03fe | [
"MIT"
] | 43 | 2015-05-22T20:07:36.000Z | 2022-02-23T04:28:23.000Z | File/DrawingFile/Point.cs | oscarmaya/ArduinoLadder | 238a44673347d237883a9a4cb0254b0465be03fe | [
"MIT"
] | 3 | 2015-01-21T20:42:56.000Z | 2017-09-27T09:48:04.000Z | File/DrawingFile/Point.cs | oscarmaya/ArduinoLadder | 238a44673347d237883a9a4cb0254b0465be03fe | [
"MIT"
] | 25 | 2015-01-01T15:09:39.000Z | 2021-10-05T02:37:19.000Z | using System;
using System.Xml.Serialization;
namespace LadderLogic.File.DrawingFile
{
[Serializable]
public class Point
{
public override int GetHashCode()
{
unchecked
{
return (X.GetHashCode()*397) ^ Y.GetHashCode();
}
}
public double X { get; set; }
public double Y { get; set; }
[X... | 13.5 | 51 | 0.650463 |
54f322b14a17181ee1b1c31a214dc3efbf35a8b3 | 355 | cs | C# | FlooringMastery.UI/FlooringMastery.Models/Product.cs | dtalon42/Portfolio | ab638acc703848292b91c8709e64e6c4ffa7af19 | [
"Apache-2.0"
] | null | null | null | FlooringMastery.UI/FlooringMastery.Models/Product.cs | dtalon42/Portfolio | ab638acc703848292b91c8709e64e6c4ffa7af19 | [
"Apache-2.0"
] | null | null | null | FlooringMastery.UI/FlooringMastery.Models/Product.cs | dtalon42/Portfolio | ab638acc703848292b91c8709e64e6c4ffa7af19 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlooringMastery.Models
{
public class Product
{
public string productType { get; set; }
public decimal costPerSquareFoot { get; set; }
public decimal LaborCostP... | 22.1875 | 59 | 0.701408 |
88976a1139d333e79f88d29780ab17630d5e81e1 | 2,840 | cs | C# | App.Web/Lib/ViewModels/RoleVm.cs | Geekballs/MVC5.Template | a5be929b39e0046c330b52d7afdc907e4436c902 | [
"MIT"
] | null | null | null | App.Web/Lib/ViewModels/RoleVm.cs | Geekballs/MVC5.Template | a5be929b39e0046c330b52d7afdc907e4436c902 | [
"MIT"
] | null | null | null | App.Web/Lib/ViewModels/RoleVm.cs | Geekballs/MVC5.Template | a5be929b39e0046c330b52d7afdc907e4436c902 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace App.Web.Lib.ViewModels
{
public class RoleVm
{
public class Index
{
public Guid RoleId { get; set; }
public string RoleName { get; set; }... | 34.216867 | 102 | 0.566901 |
88a1b29d5c7614b7847a96490b6087579c1b80f4 | 427 | cs | C# | src/coverlet.core/Abstractions/IRetryHelper.cs | mdsol/coverlet | ebbf0424495de04e334beaabf626244fe9b80b06 | [
"MIT"
] | 1,665 | 2018-02-01T00:15:14.000Z | 2020-05-02T16:48:57.000Z | src/coverlet.core/Abstractions/IRetryHelper.cs | mdsol/coverlet | ebbf0424495de04e334beaabf626244fe9b80b06 | [
"MIT"
] | 692 | 2018-03-13T09:58:13.000Z | 2020-05-03T17:16:54.000Z | src/coverlet.core/Abstractions/IRetryHelper.cs | mdsol/coverlet | ebbf0424495de04e334beaabf626244fe9b80b06 | [
"MIT"
] | 249 | 2018-03-21T12:57:42.000Z | 2020-04-28T08:07:31.000Z | // Copyright (c) Toni Solarin-Sodara
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Coverlet.Core.Abstractions
{
internal interface IRetryHelper
{
void Retry(Action action, Func<TimeSpan> backoffStrategy, int maxAttemptCou... | 30.5 | 101 | 0.723653 |
21df88bd945e03a35e7ffe7d549ee60a54adaa28 | 1,121 | cs | C# | ProLab/Anime.cs | MustafaLopaev/NetflixReplica | d5b90e3f09570471771048588d8fb2b395c1d4e0 | [
"MIT"
] | 5 | 2020-06-04T13:39:14.000Z | 2021-05-12T11:45:02.000Z | ProLab/Anime.cs | MustafaLopaev/NetflixReplica | d5b90e3f09570471771048588d8fb2b395c1d4e0 | [
"MIT"
] | null | null | null | ProLab/Anime.cs | MustafaLopaev/NetflixReplica | d5b90e3f09570471771048588d8fb2b395c1d4e0 | [
"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.Threading.Tasks;
using System.Windows.Forms;
namespace ProLab
{
public partial class Anime : Form
{
public string tableName;
... | 24.911111 | 80 | 0.615522 |
1525426a7000e8802c61860336604e7c6ff491d8 | 2,190 | cs | C# | Coocoo3D/RenderPipeline/PostProcess.cs | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 50 | 2020-07-14T06:51:26.000Z | 2022-03-27T12:51:15.000Z | Coocoo3D/RenderPipeline/PostProcess.cs | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 1 | 2021-08-05T06:30:15.000Z | 2021-11-23T04:41:08.000Z | Coocoo3D/RenderPipeline/PostProcess.cs | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 8 | 2020-11-30T02:48:37.000Z | 2022-03-14T13:23:07.000Z | using Coocoo3D.Core;
using Coocoo3D.Present;
using Coocoo3DGraphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Coocoo3D.RenderPipeline
{
public class PostProcess : RenderPipeline
{
... | 37.118644 | 148 | 0.657991 |
60b74dc71ffad573604aa67fdd6108eeabe92300 | 291 | cs | C# | BukvarixBot.Core/Abstractions/ICSVWordParser.cs | rhorvald/BukvarixBot | aeb0c8e88aff0ead7bc944e2d0a3b205024e340f | [
"MIT"
] | null | null | null | BukvarixBot.Core/Abstractions/ICSVWordParser.cs | rhorvald/BukvarixBot | aeb0c8e88aff0ead7bc944e2d0a3b205024e340f | [
"MIT"
] | null | null | null | BukvarixBot.Core/Abstractions/ICSVWordParser.cs | rhorvald/BukvarixBot | aeb0c8e88aff0ead7bc944e2d0a3b205024e340f | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BukvarixBot.Core.Abstractions
{
interface ICSVWordParser
: IWordParser<IEnumerable<string>>, IUidWordProvider<string, int>
{
}
}
| 20.785714 | 74 | 0.71134 |
2cae2a99c2072ac60019e9a558e23ad297ec176d | 2,779 | cs | C# | SGNWebCore/HttpClients/ClientesApiClient.cs | danielft11/SGNWebCore | 7a838478ee8e0b85d084eb9305abe32e9a6c5446 | [
"MIT"
] | null | null | null | SGNWebCore/HttpClients/ClientesApiClient.cs | danielft11/SGNWebCore | 7a838478ee8e0b85d084eb9305abe32e9a6c5446 | [
"MIT"
] | null | null | null | SGNWebCore/HttpClients/ClientesApiClient.cs | danielft11/SGNWebCore | 7a838478ee8e0b85d084eb9305abe32e9a6c5446 | [
"MIT"
] | null | null | null | using Domain.Models;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace SGNWebCore.HttpClients
{
public class ClientesApiClient
{
private readonly HttpClient _httpClient;
... | 36.090909 | 112 | 0.653832 |
065ded3210c16a5fbbd59809ea7cfc3b13137748 | 18,952 | cs | C# | DumpBinParser/DumpBinProcessor.cs | kinchungwong/DumpBinParser | 92cc83cc44fc8f0eeaef122a69944ec9442d27d0 | [
"MIT"
] | null | null | null | DumpBinParser/DumpBinProcessor.cs | kinchungwong/DumpBinParser | 92cc83cc44fc8f0eeaef122a69944ec9442d27d0 | [
"MIT"
] | null | null | null | DumpBinParser/DumpBinProcessor.cs | kinchungwong/DumpBinParser | 92cc83cc44fc8f0eeaef122a69944ec9442d27d0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DumpBinParser
{
using MultiValueDictionaryExtensions;
public static class DumpBinProcessor
{
public static List<string> GetDependents(string inputFilename... | 40.582441 | 135 | 0.422172 |
4d3fc098f7c738ee2ee92fdb7c582ddac3c977d8 | 1,480 | cs | C# | Source/NSprak/Language/Values/Number.cs | Seti-0/NSprak | c41e5473c5ff68707a85b5ce7b145db10e99bce0 | [
"MIT"
] | null | null | null | Source/NSprak/Language/Values/Number.cs | Seti-0/NSprak | c41e5473c5ff68707a85b5ce7b145db10e99bce0 | [
"MIT"
] | 1 | 2021-01-30T14:02:33.000Z | 2022-01-28T23:00:47.000Z | Source/NSprak/Language/Values/Number.cs | Seti-0/NSprak | c41e5473c5ff68707a85b5ce7b145db10e99bce0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSprak.Language.Values
{
public class SprakNumber : Value
{
public double Value { get; }
public override SprakType Type => SprakType.Number;
public SprakNumbe... | 24.262295 | 75 | 0.536486 |
c36b04fb46750b538e290956bd391dd96fedcea9 | 17,339 | cs | C# | JSYCRM/DAL/m_worker_excel_import.cs | buxiaoyang/JSYCRM | 3ac7d05132768a725046ed7a404189b4da5422c1 | [
"Apache-2.0"
] | null | null | null | JSYCRM/DAL/m_worker_excel_import.cs | buxiaoyang/JSYCRM | 3ac7d05132768a725046ed7a404189b4da5422c1 | [
"Apache-2.0"
] | null | null | null | JSYCRM/DAL/m_worker_excel_import.cs | buxiaoyang/JSYCRM | 3ac7d05132768a725046ed7a404189b4da5422c1 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web;
namespace JSYCRM.DAL
{
public class m_worker_excel_import
{
//我的工友,工友信息库导入
public String getWorkerImportList(DataTable dtInput, Boolean isPool, Guid sessionUse... | 50.997059 | 155 | 0.469635 |
7e340313861ed6ebb9ed7349e1da459aa4820ea3 | 2,297 | cs | C# | ToMigrate/Raven.Database/Bundles/Replication/Tasks/ReplicationTaskBase.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2017-03-02T13:05:14.000Z | 2017-03-02T13:05:14.000Z | ToMigrate/Raven.Database/Bundles/Replication/Tasks/ReplicationTaskBase.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2019-03-12T12:10:52.000Z | 2019-03-12T12:10:52.000Z | ToMigrate/Raven.Database/Bundles/Replication/Tasks/ReplicationTaskBase.cs | aviv86/ravendb | 3ee33d576fecd2c47dc7a9f5b671a46731fed659 | [
"Linux-OpenIB"
] | null | null | null | // -----------------------------------------------------------------------
// <copyright file="ItemsReplicationTaskBase.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------... | 35.890625 | 142 | 0.560296 |
0f21246432812bf00b3bcd9060d1cf43f2df2bba | 685 | cs | C# | BaseCore/DependencyResolver.cs | ntgentil/CqrsProjeto | 1e54619b3064910c71d335c63362b6049ae9adce | [
"MIT"
] | null | null | null | BaseCore/DependencyResolver.cs | ntgentil/CqrsProjeto | 1e54619b3064910c71d335c63362b6049ae9adce | [
"MIT"
] | null | null | null | BaseCore/DependencyResolver.cs | ntgentil/CqrsProjeto | 1e54619b3064910c71d335c63362b6049ae9adce | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
namespace BaseCore
{
internal class DependencyResolver
{
private readonly IServiceProvider _serviceProvider;
public DependencyResolver(IServiceProvider serviceProvider)
{
_servi... | 25.37037 | 74 | 0.681752 |
af65c4098096907b0c015a9be81b149911275cba | 718 | cs | C# | Assets/ai_movment.cs | DeadZFrame/Project-Virus | b2bbc28ef728ebf8cd560e0dba7daf3a533404c3 | [
"MIT"
] | null | null | null | Assets/ai_movment.cs | DeadZFrame/Project-Virus | b2bbc28ef728ebf8cd560e0dba7daf3a533404c3 | [
"MIT"
] | null | null | null | Assets/ai_movment.cs | DeadZFrame/Project-Virus | b2bbc28ef728ebf8cd560e0dba7daf3a533404c3 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ai_movment : MonoBehaviour
{
public Rigidbody rb;
public float force = 100000;
public float speed = 5;
public void FixedUpdate()
{
move();
}
public void move()
{
rb.MovePosition(... | 23.933333 | 95 | 0.62117 |
6fd2740c0ca3b3d552bf8478972afe5b51cb3f8c | 309 | cs | C# | EPlast/EPlast/Mapping/UserAuthentication/ResetPasswordProfile.cs | Toxa2202/plast | f68d661a96d27e558e0245d09d2d6b8558f5c4cc | [
"MIT"
] | 22 | 2020-08-27T07:59:24.000Z | 2022-02-16T14:16:29.000Z | EPlast/EPlast/Mapping/UserAuthentication/ResetPasswordProfile.cs | Toxa2202/plast | f68d661a96d27e558e0245d09d2d6b8558f5c4cc | [
"MIT"
] | 1,929 | 2020-08-31T07:34:33.000Z | 2022-03-31T18:07:08.000Z | EPlast/EPlast/Mapping/UserAuthentication/ResetPasswordProfile.cs | Toxa2202/plast | f68d661a96d27e558e0245d09d2d6b8558f5c4cc | [
"MIT"
] | 10 | 2020-08-30T22:43:32.000Z | 2022-01-25T11:48:51.000Z | using AutoMapper;
using EPlast.BLL.DTO.Account;
using EPlast.ViewModels;
namespace EPlast.Models.Mapping
{
public class ResetPasswordProfile : Profile
{
public ResetPasswordProfile()
{
CreateMap<ResetPasswordViewModel, ResetPasswordDto>().ReverseMap();
}
}
}
| 20.6 | 79 | 0.676375 |
afca09e564ae28ccf541be3d89cc99ac409f5f5b | 808 | cs | C# | src/Chat/Extensions/SecureStringExtensions.cs | AdisonCavani/Chat | 30a0f7c71fea520a058920086e568b87dd2af313 | [
"MIT"
] | null | null | null | src/Chat/Extensions/SecureStringExtensions.cs | AdisonCavani/Chat | 30a0f7c71fea520a058920086e568b87dd2af313 | [
"MIT"
] | null | null | null | src/Chat/Extensions/SecureStringExtensions.cs | AdisonCavani/Chat | 30a0f7c71fea520a058920086e568b87dd2af313 | [
"MIT"
] | null | null | null | using System;
using System.Runtime.InteropServices;
using System.Security;
namespace Chat.Extensions;
public static class SecureStringExtensions
{
public static string Unsecure(this SecureString secureString)
{
// Make sure we have a secure string
if (secureString == null)
return ... | 26.064516 | 85 | 0.642327 |
cc99021384fa91017710ee643aaa6064318580c1 | 246 | cs | C# | BookStoresWebAPI/BookStoresWebAPI/Models/Job.cs | Gandjurov/BookStores | 2772a2929822d69f8d24c1bd99dcebf804b20993 | [
"MIT"
] | null | null | null | BookStoresWebAPI/BookStoresWebAPI/Models/Job.cs | Gandjurov/BookStores | 2772a2929822d69f8d24c1bd99dcebf804b20993 | [
"MIT"
] | null | null | null | BookStoresWebAPI/BookStoresWebAPI/Models/Job.cs | Gandjurov/BookStores | 2772a2929822d69f8d24c1bd99dcebf804b20993 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
#nullable disable
namespace BookStoresWebAPI.Models
{
public partial class Job
{
public short JobId { get; set; }
public string JobDesc { get; set; }
}
}
| 17.571429 | 44 | 0.626016 |
0c8dc303764adcb46ab0d7e5e3d2a78de4381bd9 | 471 | cs | C# | Rocket.Libraries.TaskRunner/Configuration/RocketConfigurationProvider.cs | rocket-libs/Rocket.Libraries.TaskRunner | fc0f2c7695e1b12036415efb4647bb57248de0c9 | [
"MIT"
] | null | null | null | Rocket.Libraries.TaskRunner/Configuration/RocketConfigurationProvider.cs | rocket-libs/Rocket.Libraries.TaskRunner | fc0f2c7695e1b12036415efb4647bb57248de0c9 | [
"MIT"
] | null | null | null | Rocket.Libraries.TaskRunner/Configuration/RocketConfigurationProvider.cs | rocket-libs/Rocket.Libraries.TaskRunner | fc0f2c7695e1b12036415efb4647bb57248de0c9 | [
"MIT"
] | null | null | null | using Microsoft.Extensions.Options;
namespace Rocket.Libraries.TaskRunner.Configuration
{
public class RocketConfigurationProvider : IRocketConfigurationProvider
{
public TaskRunnerSettings TaskRunnerSettings { get; }
public RocketConfigurationProvider(IOptionsSnapshot<TaskRunnerSettings> tas... | 33.642857 | 106 | 0.764331 |
0cd33d7b544ba0f40aa272982a0ae90bb175460e | 19,604 | cs | C# | CategoryControllers/TravelController.cs | TheArchitect123/Tongue-Twister- | 402700872e79b01d3e244d0040c53638c0532821 | [
"Apache-2.0"
] | 1 | 2016-12-01T11:34:24.000Z | 2016-12-01T11:34:24.000Z | CategoryControllers/TravelController.cs | TheArchitect123/Tongue-Twister- | 402700872e79b01d3e244d0040c53638c0532821 | [
"Apache-2.0"
] | null | null | null | CategoryControllers/TravelController.cs | TheArchitect123/Tongue-Twister- | 402700872e79b01d3e244d0040c53638c0532821 | [
"Apache-2.0"
] | null | null | null | using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using CoreFoundation;
using UIKit;
namespace FrenchPhraseBook
{
public partial class TravelController : UITableViewController
{
public List<string> travelDict = new List<string>(){
{"This is my ... | 35.514493 | 398 | 0.705978 |
3d3d199ef09b031923d541667a941ff68f611d3f | 3,195 | cs | C# | scoi/Models/Monitor_ventas/ModeloTicketAsignacionVenta.cs | elgael06/Scoi-api-web | bf32fe2f950d22e45a191fe467ee8c9e6b9fd0a7 | [
"Apache-2.0"
] | 1 | 2019-08-21T19:08:16.000Z | 2019-08-21T19:08:16.000Z | scoi/Models/Monitor_ventas/ModeloTicketAsignacionVenta.cs | elgael06/Scoi-api-web | bf32fe2f950d22e45a191fe467ee8c9e6b9fd0a7 | [
"Apache-2.0"
] | 3 | 2021-03-09T12:04:49.000Z | 2021-09-01T19:16:26.000Z | scoi/obj/Release/AspnetCompileMerge/Source/Models/Monitor_ventas/ModeloTicketAsignacionVenta.cs | elgael06/Scoi-api-web | bf32fe2f950d22e45a191fe467ee8c9e6b9fd0a7 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApplication.Models.Monitor_flujo_de_inventario;
namespace WebApplication.Models.Monitor_ventas
{
public class ModeloTicketAsignacionVenta : ModeloBaseAsignacionVenta
{
public ModeloTicketAsignacionVenta(List<... | 42.6 | 94 | 0.592488 |
ac7e2a7c211987acc9e583fa768fd8de6b74b85e | 1,780 | cs | C# | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_TextureFormat.cs | zhukunqian/unity5-slua | 3d74ddf163fc5034c3a15087255b8d6e1f300be4 | [
"MIT"
] | null | null | null | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_TextureFormat.cs | zhukunqian/unity5-slua | 3d74ddf163fc5034c3a15087255b8d6e1f300be4 | [
"MIT"
] | null | null | null | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_TextureFormat.cs | zhukunqian/unity5-slua | 3d74ddf163fc5034c3a15087255b8d6e1f300be4 | [
"MIT"
] | null | null | null | using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_TextureFormat : LuaObject {
static public void reg(IntPtr l) {
getEnumTable(l,"UnityEngine.TextureFormat");
addMember(l,1,"Alpha8");
addMember(l,2,"ARGB4444");
addMember(l,3,"RGB24")... | 29.666667 | 56 | 0.694382 |
4a02a81498814b1bba92ab4fa133b972c5c6fcef | 1,877 | cshtml | C# | src/Blogifier/Views/Themes/Standard/Shared/Header.cshtml | aco228/fit.english | af9d34af7d9738f0ba487e63d06727ea0eacca4a | [
"MIT"
] | null | null | null | src/Blogifier/Views/Themes/Standard/Shared/Header.cshtml | aco228/fit.english | af9d34af7d9738f0ba487e63d06727ea0eacca4a | [
"MIT"
] | null | null | null | src/Blogifier/Views/Themes/Standard/Shared/Header.cshtml | aco228/fit.english | af9d34af7d9738f0ba487e63d06727ea0eacca4a | [
"MIT"
] | null | null | null | @inject IDataService DataService
@{
var facebook = DataService.CustomFields.GetCustomValue("facebook");
var twitter = DataService.CustomFields.GetCustomValue("twitter");
var github = DataService.CustomFields.GetCustomValue("github");
}
<header class="blog-header d-flex flex-column">
<div class="container d-flex">
... | 31.283333 | 111 | 0.639851 |
388d95b3ef7833a5b628c2fee10261e652e3b07f | 1,052 | cs | C# | FluentDesign_Demo/FluentDesign_Demo/XtraUserControl1.cs | Seda11/WinForms_DevExpress_Tutorials | 99b8dbd6245dab4b05b7e840d1b9b09b2a05b628 | [
"MIT"
] | null | null | null | FluentDesign_Demo/FluentDesign_Demo/XtraUserControl1.cs | Seda11/WinForms_DevExpress_Tutorials | 99b8dbd6245dab4b05b7e840d1b9b09b2a05b628 | [
"MIT"
] | null | null | null | FluentDesign_Demo/FluentDesign_Demo/XtraUserControl1.cs | Seda11/WinForms_DevExpress_Tutorials | 99b8dbd6245dab4b05b7e840d1b9b09b2a05b628 | [
"MIT"
] | null | null | null | using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FluentDesign_Demo
{
public partial class XtraUserControlKate... | 25.658537 | 89 | 0.625475 |
ac4d673c0095bf95a7f5814e9ae751154886a379 | 535 | cs | C# | SortingPagination/DataAccess/Entities/Order.cs | marcominerva/OrderPagination | ef27a5c3a0071eb5bc0f4991e74493bf92f003a1 | [
"MIT"
] | 2 | 2020-11-16T19:38:28.000Z | 2021-09-06T17:24:50.000Z | SortingPagination/DataAccess/Entities/Order.cs | marcominerva/OrderPagination | ef27a5c3a0071eb5bc0f4991e74493bf92f003a1 | [
"MIT"
] | null | null | null | SortingPagination/DataAccess/Entities/Order.cs | marcominerva/OrderPagination | ef27a5c3a0071eb5bc0f4991e74493bf92f003a1 | [
"MIT"
] | null | null | null | using System;
namespace SortingPagination.DataAccess.Entities
{
public class Order
{
public int OrderId { get; set; }
public string CustomerId { get; set; }
public DateTime OrderDate { get; set; }
public DateTime? ShippedDate { get; set; }
public string ShipName { g... | 20.576923 | 50 | 0.603738 |
ad340d6298515eeb0495b2586f4911e6f5bc4f2b | 2,289 | cs | C# | Source/Core/Plugins/EventProcessor/Default/30_SimpleErrorPlugin.cs | olegip/Exceptionless | e9acd33020da40e0aae890594289cea34a699515 | [
"Apache-2.0"
] | null | null | null | Source/Core/Plugins/EventProcessor/Default/30_SimpleErrorPlugin.cs | olegip/Exceptionless | e9acd33020da40e0aae890594289cea34a699515 | [
"Apache-2.0"
] | 3 | 2018-05-16T02:10:34.000Z | 2018-05-16T02:11:13.000Z | Source/Core/Plugins/EventProcessor/Default/30_SimpleErrorPlugin.cs | olegip/Exceptionless | e9acd33020da40e0aae890594289cea34a699515 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Linq;
using CodeSmith.Core.Component;
using CodeSmith.Core.Extensions;
using Exceptionless.Core.Repositories;
using Exceptionless.Core.Utility;
using Exceptionless.Models.Data;
using MongoDB.Bson.Serialization;
namespace Exceptionless.Core.Plugins.EventProcessor {
[Priority(30)]
pub... | 43.188679 | 144 | 0.627785 |
87642004c16090c92be49c9e271c8b980edce879 | 1,823 | cs | C# | SmartPlugMonitor/Toolbox/Win32TrayIcon.cs | ChrisDeadman/SmartPlugMonitor | 0948e26ac0135d2550c2dc1cb5f023cc47023b21 | [
"MIT"
] | null | null | null | SmartPlugMonitor/Toolbox/Win32TrayIcon.cs | ChrisDeadman/SmartPlugMonitor | 0948e26ac0135d2550c2dc1cb5f023cc47023b21 | [
"MIT"
] | null | null | null | SmartPlugMonitor/Toolbox/Win32TrayIcon.cs | ChrisDeadman/SmartPlugMonitor | 0948e26ac0135d2550c2dc1cb5f023cc47023b21 | [
"MIT"
] | null | null | null | using System;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
namespace SmartPlugMonitor.Toolbox
{
public class Win32TrayIcon : ITrayIcon
{
private readonly NotifyIcon notifyIcon;
public Win32TrayIcon ()
{
notifyIcon = new NotifyIcon ();... | 27.208955 | 74 | 0.507954 |
8ea907ab6d6af0afe358db79f639f3732f32e129 | 1,551 | cs | C# | Homework/C#Fundamentals/C# OOP Basics/3. Encapsulation/Exercises/06.FootballTeamGenerator/TEam.cs | GitHarr/SoftUni | 1c51efc70a97a1be17e2590a9243d01a9be343aa | [
"MIT"
] | null | null | null | Homework/C#Fundamentals/C# OOP Basics/3. Encapsulation/Exercises/06.FootballTeamGenerator/TEam.cs | GitHarr/SoftUni | 1c51efc70a97a1be17e2590a9243d01a9be343aa | [
"MIT"
] | null | null | null | Homework/C#Fundamentals/C# OOP Basics/3. Encapsulation/Exercises/06.FootballTeamGenerator/TEam.cs | GitHarr/SoftUni | 1c51efc70a97a1be17e2590a9243d01a9be343aa | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Team
{
private string name;
private HashSet<Player> players;
public Team(string name)
{
this.Name = name;
this.players = new HashSet<Player>();
}
public string Name
{
... | 20.68 | 100 | 0.526112 |
1f3640b2a2766cae3aeec702ed5d85076a1994cd | 335 | cs | C# | TestHeros.Migrator/TestHeros.Migrator.Data/Repositories/HeroRepository.cs | pflausino/TestHeros.Migrator | 0bb746001bee8373e6a177677ece1943a30d2c0e | [
"MIT"
] | null | null | null | TestHeros.Migrator/TestHeros.Migrator.Data/Repositories/HeroRepository.cs | pflausino/TestHeros.Migrator | 0bb746001bee8373e6a177677ece1943a30d2c0e | [
"MIT"
] | null | null | null | TestHeros.Migrator/TestHeros.Migrator.Data/Repositories/HeroRepository.cs | pflausino/TestHeros.Migrator | 0bb746001bee8373e6a177677ece1943a30d2c0e | [
"MIT"
] | null | null | null | using System;
using NHibernate;
using TestHeros.Migrator.Domain.Entities;
using TestHeros.Migrator.Domain.Interfaces;
namespace TestHeros.Migrator.Data.Repositories
{
public class HeroRepository : Repository<Hero>, IHeroRepository
{
public HeroRepository(ISession session) : base(session)
{
... | 22.333333 | 67 | 0.722388 |
e722a019d19f5c648ede35c3e4545e5519ec716c | 408 | cs | C# | Assets/ImmVisClientLibraryUnity/Examples/DataAnalysis/Scripts/Menu/ErrorScreen.cs | imdavi/ImmVisUnityClient | b8f31e8a765cd23763f1c5ca1a25ce08e9c5357b | [
"MIT"
] | 1 | 2021-05-15T19:25:00.000Z | 2021-05-15T19:25:00.000Z | Assets/ImmVisClientLibraryUnity/Examples/DataAnalysis/Scripts/Menu/ErrorScreen.cs | imdavi/ImmVisUnityClient | b8f31e8a765cd23763f1c5ca1a25ce08e9c5357b | [
"MIT"
] | null | null | null | Assets/ImmVisClientLibraryUnity/Examples/DataAnalysis/Scripts/Menu/ErrorScreen.cs | imdavi/ImmVisUnityClient | b8f31e8a765cd23763f1c5ca1a25ce08e9c5357b | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class ErrorScreen : BaseScreen
{
[SerializeField]
private TextMeshProUGUI textComponent;
protected override void OnShow(object data = null)
{
if (data != null && data is Exception)
... | 20.4 | 59 | 0.666667 |
e736d0c2c8b78b673db46aa7061234c3923600e2 | 8,939 | cs | C# | Symtab/ClassSymbol.cs | kaby76/Piggy | b869fc3d42eaf72e1d0dca544abf0dd4faceaedd | [
"MIT"
] | 31 | 2018-10-29T15:30:38.000Z | 2021-10-09T19:23:46.000Z | Symtab/ClassSymbol.cs | kaby76/Piggy | b869fc3d42eaf72e1d0dca544abf0dd4faceaedd | [
"MIT"
] | 18 | 2018-12-12T15:31:56.000Z | 2019-03-13T14:58:08.000Z | Symtab/ClassSymbol.cs | kaby76/Piggy | b869fc3d42eaf72e1d0dca544abf0dd4faceaedd | [
"MIT"
] | null | null | null | namespace org.antlr.symtab
{
using System.Collections.Generic;
/// <summary>
/// A symbol representing the class. It is a kind of data aggregate
/// that has much in common with a struct.
/// </summary>
public class ClassSymbol : DataAggregateSymbol
{
protected internal string sup... | 31.364912 | 113 | 0.45542 |
e774b190510c4f0d5bbc83e109395d36ec5dedf6 | 1,021 | cs | C# | src/Umbraco.Web/PublishedCache/IPublishedCaches.cs | nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround | 68299d792f29c184715b815e9c86ce7b345affdd | [
"MIT"
] | 1 | 2019-03-25T06:12:31.000Z | 2019-03-25T06:12:31.000Z | src/Umbraco.Web/PublishedCache/IPublishedCaches.cs | nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround | 68299d792f29c184715b815e9c86ce7b345affdd | [
"MIT"
] | 4 | 2021-05-11T14:49:02.000Z | 2022-03-02T08:44:31.000Z | src/Umbraco.Web/PublishedCache/IPublishedCaches.cs | nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround | 68299d792f29c184715b815e9c86ce7b345affdd | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Umbraco.Web.PublishedCache
{
/// <summary>
/// Provides caches (content and media).
/// </summary>
/// <remarks>Groups caches that _may_ be related.</remarks>
interface IPublishedCaches
{
//... | 35.206897 | 93 | 0.666993 |
e79cdbe3d104b0b9e869d806fe8db00d12bbb366 | 1,663 | cs | C# | src/SharedTransitions/Platforms/Android/NavigationTransitionListener.cs | roubachof/Xamarin.Plugin.SharedTransitions | 039308aced5c4184473fe2af51612da72577ab16 | [
"MIT"
] | 338 | 2019-08-18T21:53:09.000Z | 2022-03-30T20:59:50.000Z | src/SharedTransitions/Platforms/Android/NavigationTransitionListener.cs | roubachof/Xamarin.Plugin.SharedTransitions | 039308aced5c4184473fe2af51612da72577ab16 | [
"MIT"
] | 58 | 2019-08-18T20:51:40.000Z | 2022-02-18T01:55:29.000Z | src/SharedTransitions/Platforms/Android/NavigationTransitionListener.cs | roubachof/Xamarin.Plugin.SharedTransitions | 039308aced5c4184473fe2af51612da72577ab16 | [
"MIT"
] | 44 | 2019-08-18T21:53:12.000Z | 2022-03-22T00:50:59.000Z | using System;
using System.Diagnostics;
#if __ANDROID_29__
using SupportTransitions = AndroidX.Transitions;
#else
using SupportTransitions = Android.Support.Transitions;
#endif
namespace Plugin.SharedTransitions.Platforms.Android
{
public class NavigationTransitionListener : SupportTransitions.TransitionListener... | 31.980769 | 92 | 0.641612 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.