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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
433c29540b9a08edf65cc67c257d037f8298f0c7 | 1,882 | cs | C# | src/SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceTests/Steps/LegalEntityRemovedSteps.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 7a7449f65555fb91231f30050e20bbe56506b462 | [
"MIT"
] | 1 | 2020-09-29T20:33:56.000Z | 2020-09-29T20:33:56.000Z | src/SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceTests/Steps/LegalEntityRemovedSteps.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 7a7449f65555fb91231f30050e20bbe56506b462 | [
"MIT"
] | 6 | 2019-12-11T19:08:12.000Z | 2022-02-22T11:31:50.000Z | src/SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceTests/Steps/LegalEntityRemovedSteps.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 7a7449f65555fb91231f30050e20bbe56506b462 | [
"MIT"
] | 1 | 2021-04-11T08:39:15.000Z | 2021-04-11T08:39:15.000Z | using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Messages.Events;
using SFA.DAS.Reservations.Data;
using SFA.DAS.Reservations.Domain.AccountLegalEntities;
using TechTalk.SpecFlow;
namespace SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceT... | 36.901961 | 128 | 0.689692 |
43645eaebf4520186ee109931a99ddd00b86a076 | 5,007 | cs | C# | curso_testes_integracao/testes-integracao/tests/Testes/CadastraTarefaHandlerExecute.cs | deividt/alura_cursos_csharp | f6793311866466bfa3bc5fcf876cf013c54327ed | [
"MIT"
] | null | null | null | curso_testes_integracao/testes-integracao/tests/Testes/CadastraTarefaHandlerExecute.cs | deividt/alura_cursos_csharp | f6793311866466bfa3bc5fcf876cf013c54327ed | [
"MIT"
] | null | null | null | curso_testes_integracao/testes-integracao/tests/Testes/CadastraTarefaHandlerExecute.cs | deividt/alura_cursos_csharp | f6793311866466bfa3bc5fcf876cf013c54327ed | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using Alura.CoisasAFazer.Core.Commands;
using Alura.CoisasAFazer.Core.Models;
using Alura.CoisasAFazer.Infrastructure;
using Alura.CoisasAFazer.Services.Handlers;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace Testes
{
pub... | 36.282609 | 120 | 0.566207 |
588d73a7f24543cc4d795eae0e9df5ca03acb40c | 2,635 | cs | C# | src/Orc.AutomaticSupport/ViewModels/RequestSupportViewModel.cs | Orcomp/Orc.AutomaticSupport | e3d6c3cb18f0c569be5cc96fedc4e0835fd14cb1 | [
"MIT"
] | 4 | 2016-01-04T21:12:32.000Z | 2022-03-29T03:40:47.000Z | src/Orc.AutomaticSupport/ViewModels/RequestSupportViewModel.cs | Orcomp/Orc.AutomaticSupport | e3d6c3cb18f0c569be5cc96fedc4e0835fd14cb1 | [
"MIT"
] | 188 | 2018-12-18T13:50:02.000Z | 2021-06-25T15:17:21.000Z | src/Orc.AutomaticSupport/ViewModels/RequestSupportViewModel.cs | Orcomp/Orc.AutomaticSupport | e3d6c3cb18f0c569be5cc96fedc4e0835fd14cb1 | [
"MIT"
] | 3 | 2015-04-22T08:09:12.000Z | 2016-01-04T21:12:36.000Z | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RequestSupportViewModel.cs" company="WildGums">
// Copyright (c) 2008 - 2014 WildGums. All rights reserved.
// </copyright>
// --------------------------------------------------... | 37.112676 | 122 | 0.636433 |
36ec0de984688266ee0df3385a5647d687b43659 | 317 | cs | C# | xUnitExtensions.Microsoft/Excel/MSOneDriveExcelDataAttribute.cs | R2dical/Xunit | 4b55dfa3567259265ccd963df127c0794ace7399 | [
"MIT"
] | null | null | null | xUnitExtensions.Microsoft/Excel/MSOneDriveExcelDataAttribute.cs | R2dical/Xunit | 4b55dfa3567259265ccd963df127c0794ace7399 | [
"MIT"
] | null | null | null | xUnitExtensions.Microsoft/Excel/MSOneDriveExcelDataAttribute.cs | R2dical/Xunit | 4b55dfa3567259265ccd963df127c0794ace7399 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Reflection;
using Xunit.Sdk;
namespace Xunit.Microsoft.Excel
{
public sealed class OneDriveExcelDataAttribute : DataAttribute
{
public override IEnumerable<object[]> GetData(MethodInfo testMethod)
{
throw new NotImplementedException();
}
}
}
| 19.8125 | 70 | 0.77918 |
2e4e9e6604d0a5d70c7cb0d1e3c8af0952739dc1 | 2,739 | cs | C# | asp.net/source/Aspire/Global/GlobalResponse.cs | sc1994/AspireAdmin | c0225febae4a4d6981ae95d263794ec1eb081b9b | [
"MIT"
] | null | null | null | asp.net/source/Aspire/Global/GlobalResponse.cs | sc1994/AspireAdmin | c0225febae4a4d6981ae95d263794ec1eb081b9b | [
"MIT"
] | null | null | null | asp.net/source/Aspire/Global/GlobalResponse.cs | sc1994/AspireAdmin | c0225febae4a4d6981ae95d263794ec1eb081b9b | [
"MIT"
] | null | null | null | // <copyright file="GlobalResponse.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Aspire
{
using System;
using System.Diagnostics;
using System.Linq;
using Newtonsoft.Json;
/// <summary>
/// Global Response.
/// </summa... | 34.2375 | 113 | 0.490325 |
2ecba3c6a4fc5f60cdd49266a9cd4ce921ccc785 | 595 | cs | C# | easyInject/IOC/imp/BindingKey.cs | ericknajjar/easyInject | a8633f99d65c22a5fc5d5a4af8f4b7fe178671fa | [
"MIT"
] | null | null | null | easyInject/IOC/imp/BindingKey.cs | ericknajjar/easyInject | a8633f99d65c22a5fc5d5a4af8f4b7fe178671fa | [
"MIT"
] | null | null | null | easyInject/IOC/imp/BindingKey.cs | ericknajjar/easyInject | a8633f99d65c22a5fc5d5a4af8f4b7fe178671fa | [
"MIT"
] | null | null | null | using System;
namespace EasyInject.IOC
{
public class BindingKey: IBindingKey
{
public BindingKey (object key)
{
Key = key;
}
public override bool Equals (object obj)
{
IBindingKey other = obj as IBindingKey;
if(other == null) return false;
return other.Key.Equals(Key);
}
public overri... | 13.837209 | 55 | 0.647059 |
e9de552d75fcf47ecc9878caede34a7c97794317 | 8,324 | cs | C# | AutoYolikes/CaptchaService/2Captcha.cs | nttrung9x/auto-yoliker | ba09719c0752a314bc3df4128374c9c5af9bbbde | [
"MIT"
] | 1 | 2021-04-23T22:07:32.000Z | 2021-04-23T22:07:32.000Z | AutoYolikes/CaptchaService/2Captcha.cs | heo001997/auto-yoliker | 978ce259559ec529d0cdee26bd87fe38d89ea0f7 | [
"MIT"
] | null | null | null | AutoYolikes/CaptchaService/2Captcha.cs | heo001997/auto-yoliker | 978ce259559ec529d0cdee26bd87fe38d89ea0f7 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using AutoYolikes.CaptchaService;
namespace AutoYolikes
{
public class _2Captcha:CaptchaS... | 40.21256 | 151 | 0.393441 |
e9df19407eb4556ba01929c12c38cc6daf711ebb | 3,358 | cs | C# | Pkcs11Gram.Core/ProviderInstallerBase.cs | Mjollnirs/Pkcs11Gram | e4bb7bb35e04e9668bb282aa840b26bfc6a9a5d9 | [
"Apache-2.0"
] | null | null | null | Pkcs11Gram.Core/ProviderInstallerBase.cs | Mjollnirs/Pkcs11Gram | e4bb7bb35e04e9668bb282aa840b26bfc6a9a5d9 | [
"Apache-2.0"
] | null | null | null | Pkcs11Gram.Core/ProviderInstallerBase.cs | Mjollnirs/Pkcs11Gram | e4bb7bb35e04e9668bb282aa840b26bfc6a9a5d9 | [
"Apache-2.0"
] | null | null | null | // Project: Pkcs11Gram.Core
// File: TokenInstallerBase.cs
//
// Copyright 2018 Mjollnir<mjollnir@59k.org>
//
// 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.... | 34.265306 | 99 | 0.634306 |
3a365b5acfd4aa8ba790c35b75e424028e8ef810 | 6,902 | cs | C# | commander/CartridgeEditorWindow.Designer.cs | fel88/Commander | c9fba1703083ff5cf21043c62533a2fa24666f4f | [
"MIT"
] | null | null | null | commander/CartridgeEditorWindow.Designer.cs | fel88/Commander | c9fba1703083ff5cf21043c62533a2fa24666f4f | [
"MIT"
] | null | null | null | commander/CartridgeEditorWindow.Designer.cs | fel88/Commander | c9fba1703083ff5cf21043c62533a2fa24666f4f | [
"MIT"
] | 1 | 2021-04-29T05:20:54.000Z | 2021-04-29T05:20:54.000Z | namespace commander
{
partial class CartridgeEditorWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 46.013333 | 155 | 0.600406 |
9da5700e7467fce57bb17e8a30a9ff2694ffe7f5 | 372 | cs | C# | tests/RangeTests.cs | mohammadalsaleh88/AspnetCoreDockerAdvanced | 336f4853c6136112ea92d002cfd8945e4ca57bae | [
"MIT"
] | null | null | null | tests/RangeTests.cs | mohammadalsaleh88/AspnetCoreDockerAdvanced | 336f4853c6136112ea92d002cfd8945e4ca57bae | [
"MIT"
] | null | null | null | tests/RangeTests.cs | mohammadalsaleh88/AspnetCoreDockerAdvanced | 336f4853c6136112ea92d002cfd8945e4ca57bae | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using Xunit;
using api.Controllers;
namespace tests
{
public class RangeTests
{
[Fact]
public void Test1()
{
var range = new api.Controllers.Range { Count = 3 };
var generated = range.Of(() => "");
Assert... | 19.578947 | 65 | 0.510753 |
4b80bddd5f41c3d6c2665a59bf46edf762e48c9f | 1,244 | cs | C# | AgileMapper.PerformanceTester.Net461/ConcreteMappers/ExpressMapper/ExpressMapperDeepMapper.cs | WeiiWang/AgileMapper | 4b76ad85468ce38752c4c26ad19f7679e102568f | [
"MIT"
] | 440 | 2016-10-04T08:41:30.000Z | 2022-03-28T21:40:08.000Z | AgileMapper.PerformanceTester.Net461/ConcreteMappers/ExpressMapper/ExpressMapperDeepMapper.cs | WeiiWang/AgileMapper | 4b76ad85468ce38752c4c26ad19f7679e102568f | [
"MIT"
] | 110 | 2016-10-04T11:43:41.000Z | 2022-03-31T16:32:13.000Z | AgileMapper.PerformanceTester.Net461/ConcreteMappers/ExpressMapper/ExpressMapperDeepMapper.cs | WeiiWang/AgileMapper | 4b76ad85468ce38752c4c26ad19f7679e102568f | [
"MIT"
] | 23 | 2016-10-04T10:19:15.000Z | 2021-06-18T10:04:12.000Z | namespace AgileObjects.AgileMapper.PerformanceTester.Net45.ConcreteMappers.ExpressMapper
{
using System.Collections.Generic;
using global::ExpressMapper;
using global::ExpressMapper.Extensions;
using PerformanceTesting.AbstractMappers;
using static PerformanceTesting.TestClasses.Deep;
public c... | 37.69697 | 89 | 0.568328 |
e19f56671f7a2ae738641f3cea9d47e252db1a0c | 32,155 | cs | C# | Daramee.Winston.Shared/WinstonInterop.cs | daramkun/Winston | 20f99fc3093552bd7aa8a8a3c426d42a8c6dcc73 | [
"MIT"
] | 1 | 2022-03-27T14:32:55.000Z | 2022-03-27T14:32:55.000Z | Daramee.Winston.Shared/WinstonInterop.cs | daramkun/Winston | 20f99fc3093552bd7aa8a8a3c426d42a8c6dcc73 | [
"MIT"
] | null | null | null | Daramee.Winston.Shared/WinstonInterop.cs | daramkun/Winston | 20f99fc3093552bd7aa8a8a3c426d42a8c6dcc73 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Daramee.Winston
{
internal static class WinstonInterop
{
[Flags]
public enum OperationFlag : uint
{
None = 0x0000,
MultiDestinationFiles = 0x0001,
ConfirmMouse = 0x0002,
Silent ... | 53.413621 | 252 | 0.760504 |
b8697206fef84237b199b70d9d60f334d8527c10 | 348 | cs | C# | Skclusive.Blazor.TodoApp/TodoApp.Client/Components/Common/TodoComponent.cs | rafsanulhasan/Skclusive.Blazor.Samples | 1cc9f7254e12f6a80c3028cce311a4b4171fa09c | [
"MIT"
] | 188 | 2019-12-10T00:11:28.000Z | 2022-03-20T12:43:59.000Z | Skclusive.Blazor.TodoApp/TodoApp.Client/Components/Common/TodoComponent.cs | rafsanulhasan/Skclusive.Blazor.Samples | 1cc9f7254e12f6a80c3028cce311a4b4171fa09c | [
"MIT"
] | 13 | 2019-12-24T16:25:26.000Z | 2021-01-15T11:00:32.000Z | Skclusive.Blazor.TodoApp/TodoApp.Client/Components/Common/TodoComponent.cs | rafsanulhasan/Skclusive.Blazor.Samples | 1cc9f7254e12f6a80c3028cce311a4b4171fa09c | [
"MIT"
] | 65 | 2019-12-24T12:15:02.000Z | 2022-01-18T19:33:44.000Z | using Skclusive.TodoApp.State;
using Microsoft.AspNetCore.Components;
using Skclusive.Core.Component;
namespace Skclusive.TodoApp.Client
{
public class TodoComponent : PureComponentBase
{
[Parameter]
public RenderFragment ChildContent { get; set; }
[Inject]
public IAppState App... | 21.75 | 56 | 0.692529 |
a90298b7e5e971fa772ec4b64550fc4ce57c39c3 | 2,017 | cs | C# | Source/TheBoxSoftware.Reflection/Core/COFF/EventMetadataTableRow.cs | barry-jones/live-documenter | 4898561d429192587ee5efcd0ab91075a2d3f509 | [
"MIT"
] | 58 | 2018-12-28T20:40:07.000Z | 2022-03-01T06:34:12.000Z | Source/TheBoxSoftware.Reflection/Core/COFF/EventMetadataTableRow.cs | barry-jones/live-documenter | 4898561d429192587ee5efcd0ab91075a2d3f509 | [
"MIT"
] | 40 | 2018-12-28T15:49:48.000Z | 2021-09-01T19:31:20.000Z | Source/TheBoxSoftware.Reflection/Core/COFF/EventMetadataTableRow.cs | barry-jones/live-documenter | 4898561d429192587ee5efcd0ab91075a2d3f509 | [
"MIT"
] | 4 | 2019-01-22T07:12:02.000Z | 2021-09-01T19:17:51.000Z |
namespace TheBoxSoftware.Reflection.Core.COFF
{
using System;
public class EventMetadataTableRow : MetadataRow
{
private CodedIndex _eventTypeIndex;
private StringIndex _nameIndex;
private EventAttributes _eventFlags;
/// <summary>
/// Initialises a new instance o... | 33.616667 | 126 | 0.597422 |
d793363b2861d5c8cddea9149c1555e64f3d2123 | 8,603 | cs | C# | LeptonicaSharp/Extensions/BetterPictureBox.cs | VLunev/LeptonicaSharp | ed2802a3f9d39234da1cdf03c4f281fb3c203bc9 | [
"BSD-2-Clause"
] | null | null | null | LeptonicaSharp/Extensions/BetterPictureBox.cs | VLunev/LeptonicaSharp | ed2802a3f9d39234da1cdf03c4f281fb3c203bc9 | [
"BSD-2-Clause"
] | null | null | null | LeptonicaSharp/Extensions/BetterPictureBox.cs | VLunev/LeptonicaSharp | ed2802a3f9d39234da1cdf03c4f281fb3c203bc9 | [
"BSD-2-Clause"
] | null | null | null | using System.Collections.Generic;
using System.Collections;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System;
[DebuggerStepThrough()]
public class BetterPictureBox : PictureBox
{
private System.Drawing.Drawing2D.InterpolationMode _interpolationMode = System.Dr... | 26.069697 | 132 | 0.663373 |
1c113389c0e1426e3043fef6bbeabfc13f430f82 | 1,212 | cs | C# | TeamsSampleHub/SampleHubHTMLCSSVersion/SampleHub/Source/Models/CompanyCommunicatorTableData.cs | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | TeamsSampleHub/SampleHubHTMLCSSVersion/SampleHub/Source/Models/CompanyCommunicatorTableData.cs | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | TeamsSampleHub/SampleHubHTMLCSSVersion/SampleHub/Source/Models/CompanyCommunicatorTableData.cs | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | // <copyright file="CompanyCommunicatorTableData.cs" company="Microsoft">
// Copyright (c) Microsoft. All Rights Reserved.
// </copyright>
namespace BrandHome.Models
{
/// <summary>
/// Class for accessing storage table
/// </summary>
public class CompanyCommunicatorTableData
{
/// <summar... | 27.545455 | 77 | 0.572607 |
baac3401b8ac83a511749a8d21298cc7e42085b7 | 575 | cs | C# | Trader.Trading.Binance/BinanceUnknownResponseException.cs | JorgeCandeias/Trader | 6cccfa14f4a78eb1c63efa147101c12d444cdc03 | [
"MIT"
] | 13 | 2021-09-03T20:51:49.000Z | 2022-03-28T18:16:12.000Z | Trader.Trading.Binance/BinanceUnknownResponseException.cs | JorgeCandeias/Trader | 6cccfa14f4a78eb1c63efa147101c12d444cdc03 | [
"MIT"
] | null | null | null | Trader.Trading.Binance/BinanceUnknownResponseException.cs | JorgeCandeias/Trader | 6cccfa14f4a78eb1c63efa147101c12d444cdc03 | [
"MIT"
] | 2 | 2021-11-19T17:24:13.000Z | 2022-03-31T17:46:26.000Z | using System.Runtime.Serialization;
namespace Outcompute.Trader.Trading.Binance;
[Serializable]
public class BinanceUnknownResponseException : BinanceException
{
public BinanceUnknownResponseException()
{
}
public BinanceUnknownResponseException(string? message) : base(message)
{
}
publ... | 25 | 118 | 0.756522 |
ee17fd1b444aabc10cc400035bb1963aca19a0ad | 2,392 | cs | C# | MovieAPI/Repositories/SerialRepository.cs | Patrol981/.NET-CRUD-Movie-API | 11ee5a1ebf9a4da4f15c2f895f80055a13227cae | [
"MIT"
] | null | null | null | MovieAPI/Repositories/SerialRepository.cs | Patrol981/.NET-CRUD-Movie-API | 11ee5a1ebf9a4da4f15c2f895f80055a13227cae | [
"MIT"
] | null | null | null | MovieAPI/Repositories/SerialRepository.cs | Patrol981/.NET-CRUD-Movie-API | 11ee5a1ebf9a4da4f15c2f895f80055a13227cae | [
"MIT"
] | null | null | null | using MovieAPI.Interfaces;
using MovieAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MovieAPI.Repositories {
public class SerialRepository : ISerialRepository {
private readonly DBContext _dbContext;
public SerialRepository(DBContext db... | 33.690141 | 105 | 0.701087 |
ee89d9bde6afe3366950d6e08ad43fe26e1108cb | 817 | cs | C# | DbDataAccess/Models/BulbModel.cs | RomanPankin/StreetLights | 17ef60580c44c424411b9beb0e7490b53deed01f | [
"Apache-2.0"
] | null | null | null | DbDataAccess/Models/BulbModel.cs | RomanPankin/StreetLights | 17ef60580c44c424411b9beb0e7490b53deed01f | [
"Apache-2.0"
] | null | null | null | DbDataAccess/Models/BulbModel.cs | RomanPankin/StreetLights | 17ef60580c44c424411b9beb0e7490b53deed01f | [
"Apache-2.0"
] | null | null | null | using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DbDataAccess
{
public class BulbModel
{
public Guid Id { get; set; }
/// <summary>
/// The maximum temperature a bulb can sustain till auto-shutdown in Celcius
/// </su... | 27.233333 | 84 | 0.569155 |
6d317732fcce383fa052158315b7c19a9cefe1ca | 333 | cs | C# | FoxTunes.Core/Playlist/PlaylistItemScriptRunner.cs | Raimusoft/FoxTunes | 86802c72c43539b0ea9048be94a59c65d6810f91 | [
"MIT"
] | 22 | 2021-04-25T21:29:08.000Z | 2022-03-13T04:43:20.000Z | FoxTunes.Core/Playlist/PlaylistItemScriptRunner.cs | Raimusoft/FoxTunes | 86802c72c43539b0ea9048be94a59c65d6810f91 | [
"MIT"
] | 10 | 2021-04-08T09:09:51.000Z | 2022-01-07T18:55:09.000Z | FoxTunes.Core/Playlist/PlaylistItemScriptRunner.cs | Raimusoft/FoxTunes | 86802c72c43539b0ea9048be94a59c65d6810f91 | [
"MIT"
] | 1 | 2021-04-25T21:29:11.000Z | 2021-04-25T21:29:11.000Z | using FoxTunes.Interfaces;
namespace FoxTunes
{
public class PlaylistItemScriptRunner : ScriptRunner<PlaylistItem>
{
public PlaylistItemScriptRunner(IScriptingContext scriptingContext, PlaylistItem playlistItem, string script) : base(scriptingContext, playlistItem, script)
{
... | 25.615385 | 165 | 0.708709 |
b19a3e08f5729ed4b8c4f98e7027cfb2bf6bea0c | 645 | cs | C# | ChargeMate/Models/MercedesAPIDetails.cs | bilginkilic/mbx-istanbul-mobile-app | ee52012ca79fb55a6209870802e216e49fda629b | [
"MIT"
] | null | null | null | ChargeMate/Models/MercedesAPIDetails.cs | bilginkilic/mbx-istanbul-mobile-app | ee52012ca79fb55a6209870802e216e49fda629b | [
"MIT"
] | null | null | null | ChargeMate/Models/MercedesAPIDetails.cs | bilginkilic/mbx-istanbul-mobile-app | ee52012ca79fb55a6209870802e216e49fda629b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ChargeMate.Models
{
public class Longitude
{
public double value { get; set; }
public string retrievalstatus { get; set; }
public int timestamp { get; set; }
}
public class Latitude
... | 23.035714 | 51 | 0.606202 |
da8c965d807cc6b0fc854abbad4935d260a01dc6 | 146 | cs | C# | HW14CreationalDesignPatternes/CreationalPatterns/Pattern2.SimpleFactory/TeaAmount.cs | MarinMarinov/High-Quality-Code | 89eed566728c812c67ff39cfe360adfdb9a37927 | [
"MIT"
] | null | null | null | HW14CreationalDesignPatternes/CreationalPatterns/Pattern2.SimpleFactory/TeaAmount.cs | MarinMarinov/High-Quality-Code | 89eed566728c812c67ff39cfe360adfdb9a37927 | [
"MIT"
] | null | null | null | HW14CreationalDesignPatternes/CreationalPatterns/Pattern2.SimpleFactory/TeaAmount.cs | MarinMarinov/High-Quality-Code | 89eed566728c812c67ff39cfe360adfdb9a37927 | [
"MIT"
] | null | null | null | namespace Pattern2.SimpleFactory
{
public enum TeaAmount
{
Small = 150,
Medium = 250,
Big = 350
}
}
| 14.6 | 34 | 0.493151 |
f4f075c30fde29a16042124afe1ebc966be2ebfd | 865 | cs | C# | Chapter02/Examples/Abstraction/Progress/ProgressBarGood.cs | PacktWorkshops/The-C-Sharp-Workshop | 419a2da968e6b79a1389a46636f58de6d2d61dfb | [
"MIT"
] | 3 | 2020-11-08T20:38:05.000Z | 2021-08-05T15:59:30.000Z | Chapter02/Examples/Abstraction/Progress/ProgressBarGood.cs | PacktWorkshops/The-C-Sharp-Workshop | 419a2da968e6b79a1389a46636f58de6d2d61dfb | [
"MIT"
] | null | null | null | Chapter02/Examples/Abstraction/Progress/ProgressBarGood.cs | PacktWorkshops/The-C-Sharp-Workshop | 419a2da968e6b79a1389a46636f58de6d2d61dfb | [
"MIT"
] | 6 | 2020-09-05T17:10:43.000Z | 2021-06-06T19:36:37.000Z | using System;
namespace Chapter02.Examples.Abstraction.Progress
{
public class ProgressBarGood
{
private const float Tolerance = 0.001f;
private float _current;
public float Current
{
get => _current;
set
{
if (value >= Max)
... | 21.097561 | 71 | 0.403468 |
9e2c231e3d3b105447ea47e115ccb8b76d8ce5ed | 553 | cs | C# | Utilities/Editor/EditorGUILayoutPlus.cs | Betterfly-Ben/BetterCode | 7e5ce125916a191e643bf59dbee09a73e6bcd8e0 | [
"MIT"
] | null | null | null | Utilities/Editor/EditorGUILayoutPlus.cs | Betterfly-Ben/BetterCode | 7e5ce125916a191e643bf59dbee09a73e6bcd8e0 | [
"MIT"
] | null | null | null | Utilities/Editor/EditorGUILayoutPlus.cs | Betterfly-Ben/BetterCode | 7e5ce125916a191e643bf59dbee09a73e6bcd8e0 | [
"MIT"
] | null | null | null | #if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Betterfly.BetterCode {
public static class EditorGUILayoutPlus {
/// <summary>
/// 扩展EditorGUILayout.Space,使可以指定行数
/// </summary>
/// <param name="lineCount">Line count</param>
public... | 20.481481 | 48 | 0.674503 |
f46ee78f19c7570cf0f466454dbf1fbd5059f260 | 2,356 | cs | C# | src/Epos.Utilities/DebugThrow.cs | JTOne123/Epos.Foundation | bdc73ccd14414a147c99f3b353188feb13844a90 | [
"MIT"
] | 3 | 2017-10-14T13:52:30.000Z | 2018-11-07T08:08:54.000Z | src/Epos.Utilities/DebugThrow.cs | JTOne123/Epos.Foundation | bdc73ccd14414a147c99f3b353188feb13844a90 | [
"MIT"
] | 14 | 2017-10-11T09:50:23.000Z | 2018-06-04T18:39:54.000Z | src/Epos.Utilities/DebugThrow.cs | JTOne123/Epos.Foundation | bdc73ccd14414a147c99f3b353188feb13844a90 | [
"MIT"
] | 1 | 2020-06-25T13:17:41.000Z | 2020-06-25T13:17:41.000Z | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Epos.Utilities
{
/// <summary>Collection of utility methods for parameter assertions that
/// will not be compiled into release builds for optimal performance.</summary>
public static class... | 44.45283 | 105 | 0.633701 |
d6333d05c12dcd4e35c2380db6d847143cf79493 | 771 | cs | C# | server/Models/SimpleInvoice/InvoiceLine.cs | go2ismail/BlazorExampleGithubInvoiceManagement | 02b02c40380e9601497cce1d57bd720f1ef33a66 | [
"MIT"
] | 25 | 2021-04-26T15:29:52.000Z | 2022-03-15T08:26:19.000Z | server/Models/SimpleInvoice/InvoiceLine.cs | weedkiller/BlazorExampleInvoiceManagementSoftware | 02b02c40380e9601497cce1d57bd720f1ef33a66 | [
"MIT"
] | null | null | null | server/Models/SimpleInvoice/InvoiceLine.cs | weedkiller/BlazorExampleInvoiceManagementSoftware | 02b02c40380e9601497cce1d57bd720f1ef33a66 | [
"MIT"
] | 9 | 2021-05-13T03:29:44.000Z | 2022-03-10T06:58:38.000Z | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SimpleInvoiceManagementSoftware.Models.SimpleInvoice
{
[Table("InvoiceLine", Schema = "dbo")]
public partial class InvoiceLine
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identi... | 16.76087 | 62 | 0.596628 |
d6abe97889a0abe861c736153f9d741716c79167 | 566 | cs | C# | PAMU_CDS/Auxiliary/PowerAutomateMockupException.cs | thygesteffensen/PAMU_CDS | e2eb383d5c2a99704a23c139c38dc91e51351e86 | [
"MIT"
] | 2 | 2021-02-27T10:39:38.000Z | 2021-03-07T15:09:16.000Z | PAMU_CDS/Auxiliary/PowerAutomateMockupException.cs | thygesteffensen/PAMU_CDS | e2eb383d5c2a99704a23c139c38dc91e51351e86 | [
"MIT"
] | 15 | 2020-12-01T08:24:14.000Z | 2021-01-31T12:22:59.000Z | PAMU_CDS/Auxiliary/PowerAutomateMockupException.cs | thygesteffensen/PAMU_CDS | e2eb383d5c2a99704a23c139c38dc91e51351e86 | [
"MIT"
] | null | null | null | using System;
using System.Runtime.Serialization;
namespace PAMU_CDS.Auxiliary
{
public class PowerAutomateException : Exception
{
public PowerAutomateException()
{
}
public PowerAutomateException(string message) : base(message)
{
}
public PowerAutomat... | 23.583333 | 112 | 0.651943 |
6eb3bb339e1b7a36e4cc68869959e7a990dcbce8 | 230 | cs | C# | Modern/Enums/EntityAction.cs | MineLibOrg/MineLib.Network | 41092784fc4324581430e56a60998a04f2853ccd | [
"MIT"
] | 11 | 2016-05-06T08:57:29.000Z | 2021-11-23T02:45:47.000Z | Modern/Enums/EntityAction.cs | codingwatching/MineLib.Network | 41092784fc4324581430e56a60998a04f2853ccd | [
"MIT"
] | null | null | null | Modern/Enums/EntityAction.cs | codingwatching/MineLib.Network | 41092784fc4324581430e56a60998a04f2853ccd | [
"MIT"
] | 6 | 2016-06-26T17:08:34.000Z | 2021-07-13T17:15:45.000Z | namespace MineLib.Network.Modern.Enums
{
public enum EntityAction
{
Crouch = 1,
UnCrouch = 2,
LeaveBed = 3,
StartSprinting = 4,
StopSprinting = 5,
}
}
| 19.166667 | 39 | 0.478261 |
b1e5d8df888fd295b4ccee2a902328ecf99c3688 | 650 | cs | C# | JitEvolution.Api.Dtos/Analyzer/AppDetailDto.cs | L1nde/JitEvolution | c588b5c5046ea69d7c199457725e7d89f511f4ac | [
"MIT"
] | null | null | null | JitEvolution.Api.Dtos/Analyzer/AppDetailDto.cs | L1nde/JitEvolution | c588b5c5046ea69d7c199457725e7d89f511f4ac | [
"MIT"
] | 1 | 2021-12-22T18:42:26.000Z | 2021-12-22T18:42:26.000Z | JitEvolution.Api.Dtos/Analyzer/AppDetailDto.cs | L1nde/JitEvolution | c588b5c5046ea69d7c199457725e7d89f511f4ac | [
"MIT"
] | null | null | null | using System.Runtime.Serialization;
namespace JitEvolution.Api.Dtos.Analyzer
{
[DataContract]
public class AppDetailDto : IDto
{
[DataMember]
public string Id { get; set; }
[DataMember]
public string Name { get; set; }
[DataMember]
public string AppKey { g... | 21.666667 | 69 | 0.592308 |
dcb5c4036ea57994fb513830c53b68fa0a354d36 | 706 | cs | C# | TeraCompass/Capture/TeraModule/Tera.Core/Game/Messages/Server/S_DESPAWN_NPC.cs | SoliaRdi/TeraCompass | f2c0aa36e19d0f6ec0275a926831902277b97fbb | [
"MIT"
] | 9 | 2018-08-27T11:55:23.000Z | 2019-10-09T11:58:33.000Z | TeraCompass/Capture/TeraModule/Tera.Core/Game/Messages/Server/S_DESPAWN_NPC.cs | unnamed44/TeraCompass | adccdefa7b6a64e0cb78b04788cb93fe2e336496 | [
"MIT"
] | null | null | null | TeraCompass/Capture/TeraModule/Tera.Core/Game/Messages/Server/S_DESPAWN_NPC.cs | unnamed44/TeraCompass | adccdefa7b6a64e0cb78b04788cb93fe2e336496 | [
"MIT"
] | 2 | 2018-11-06T16:07:11.000Z | 2019-12-29T12:25:54.000Z | using TeraCompass.Tera.Core.Game.Services;
namespace TeraCompass.Tera.Core.Game.Messages.Server
{
public class SDespawnNpc : ParsedMessage
{
internal SDespawnNpc(TeraMessageReader reader) : base(reader)
{
Npc = reader.ReadEntityId();
Position = reader.ReadVector3f();
... | 32.090909 | 97 | 0.603399 |
dcf4cb42953840bb87842b704ab2b80dad0f9f2c | 698 | cs | C# | ClickerUnityClient/Assets/Scripts/Reaction/UpgradeCommandReaction.cs | KonH/GameSystem | 60bc0a7a08d487471870276c6a198de8855689a7 | [
"MIT"
] | 4 | 2020-04-22T19:39:36.000Z | 2021-12-24T06:52:31.000Z | ClickerUnityClient/Assets/Scripts/Reaction/UpgradeCommandReaction.cs | KonH/GameSystem | 60bc0a7a08d487471870276c6a198de8855689a7 | [
"MIT"
] | null | null | null | ClickerUnityClient/Assets/Scripts/Reaction/UpgradeCommandReaction.cs | KonH/GameSystem | 60bc0a7a08d487471870276c6a198de8855689a7 | [
"MIT"
] | null | null | null | using System.Threading;
using System.Threading.Tasks;
using Clicker.Common.Command;
using Clicker.Common.Config;
using Clicker.Common.State;
using Clicker.UnityClient.View;
using Core.Client.UnityClient.CommandExecution;
namespace Clicker.UnityClient.Reaction {
public sealed class UpgradeCommandReaction : UnityComman... | 33.238095 | 139 | 0.816619 |
42553ab699699ab3c54c28478f2dc02560763e0e | 2,371 | cs | C# | source/UnaryHeap.Utilities/MazeGenerator/LatticeMazeLayout.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | 1 | 2016-08-23T20:23:29.000Z | 2016-08-23T20:23:29.000Z | source/UnaryHeap.Utilities/MazeGenerator/LatticeMazeLayout.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | null | null | null | source/UnaryHeap.Utilities/MazeGenerator/LatticeMazeLayout.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | null | null | null | using System.Linq;
using UnaryHeap.Utilities.Core;
using UnaryHeap.Utilities.D2;
namespace MazeGenerator
{
class LatticeMazeLayout : IMazeLayout
{
int size;
public LatticeMazeLayout(int size)
{
this.size = size;
}
public void Generate(out Gr... | 36.476923 | 89 | 0.411219 |
f7370901ba3ee2b0a6e02ada4af65395c8a2706d | 438 | cs | C# | Buienradar Tracker/Controllers/HomeController.cs | Eld1nH/BuienradarTracker | 3d54711921156543f00e59c963a57a6032eea885 | [
"MIT"
] | null | null | null | Buienradar Tracker/Controllers/HomeController.cs | Eld1nH/BuienradarTracker | 3d54711921156543f00e59c963a57a6032eea885 | [
"MIT"
] | null | null | null | Buienradar Tracker/Controllers/HomeController.cs | Eld1nH/BuienradarTracker | 3d54711921156543f00e59c963a57a6032eea885 | [
"MIT"
] | null | null | null | using Buienradar_Tracker.Models;
using Buienradar_Tracker.Services;
using System.Web.Mvc;
namespace Buienradar_Tracker.Controllers
{
public class HomeController : Controller
{
private WeatherDataReader _weatherDataReader = new WeatherDataReader();
public ActionResult Index()
{
... | 24.333333 | 79 | 0.694064 |
f76342913c025a87ce1ab4ff8e5caaed5ffced66 | 1,873 | cs | C# | ElasticSearchTester.Utils/DummyUtils.cs | KeenMate/elasticsearch-roles-permissions | f9ec1b38c93a27095127f31eac71e6ceaeb79d04 | [
"MIT"
] | null | null | null | ElasticSearchTester.Utils/DummyUtils.cs | KeenMate/elasticsearch-roles-permissions | f9ec1b38c93a27095127f31eac71e6ceaeb79d04 | [
"MIT"
] | null | null | null | ElasticSearchTester.Utils/DummyUtils.cs | KeenMate/elasticsearch-roles-permissions | f9ec1b38c93a27095127f31eac71e6ceaeb79d04 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using ElasticSearchTester.Data;
using ElasticSearchTester.Data.Models;
using Flurl.Http;
namespace ElasticSearchTester.Utils
{
public class DummyUtils
{
private readonly CoverageUtils coverage... | 26.013889 | 89 | 0.674319 |
73a942ca0205e3a1e202fbe38c82919d60f2a370 | 3,683 | cs | C# | tests/Utility/Generator.cs | ProphetLamb/PairSet | 44c0c47d8eff3449a9d646fcbd77198bf96f61c3 | [
"MIT"
] | null | null | null | tests/Utility/Generator.cs | ProphetLamb/PairSet | 44c0c47d8eff3449a9d646fcbd77198bf96f61c3 | [
"MIT"
] | null | null | null | tests/Utility/Generator.cs | ProphetLamb/PairSet | 44c0c47d8eff3449a9d646fcbd77198bf96f61c3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using Bogus;
using FluentAssertions;
using GenericRange;
using GenericRange.Extensions;
namespace KeyValueCollection.Tests.Utility
{
public static class Generator
{
private static read... | 39.180851 | 176 | 0.578876 |
e5a6f2212d43b717b1bb442109be32236b4e5a0e | 1,074 | cs | C# | osu.Framework/Graphics/UserInterface/BasicDirectorySelector.cs | vinaqq/osu-framework | 5448317811f56e8007e41109c37437819b0330ab | [
"MIT"
] | 1,143 | 2016-08-26T06:18:19.000Z | 2022-03-30T20:23:04.000Z | osu.Framework/Graphics/UserInterface/BasicDirectorySelector.cs | vinaqq/osu-framework | 5448317811f56e8007e41109c37437819b0330ab | [
"MIT"
] | 2,465 | 2016-08-27T12:43:10.000Z | 2022-03-31T04:41:56.000Z | osu.Framework/Graphics/UserInterface/BasicDirectorySelector.cs | vinaqq/osu-framework | 5448317811f56e8007e41109c37437819b0330ab | [
"MIT"
] | 579 | 2016-08-26T09:52:26.000Z | 2022-03-31T08:30:37.000Z | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicDirectorySelector : DirectorySel... | 42.96 | 190 | 0.755121 |
dd5740c854c15e5033e271955d739032403a8fa2 | 3,056 | cs | C# | Assets/_Project/Scripts/Utils/Extensions/Vector3Extensions.cs | LRP500/GlobalGameJam2019 | e5809581e289c5b3797c122fa894316fd468d4db | [
"Apache-2.0"
] | null | null | null | Assets/_Project/Scripts/Utils/Extensions/Vector3Extensions.cs | LRP500/GlobalGameJam2019 | e5809581e289c5b3797c122fa894316fd468d4db | [
"Apache-2.0"
] | null | null | null | Assets/_Project/Scripts/Utils/Extensions/Vector3Extensions.cs | LRP500/GlobalGameJam2019 | e5809581e289c5b3797c122fa894316fd468d4db | [
"Apache-2.0"
] | 1 | 2020-12-30T16:57:20.000Z | 2020-12-30T16:57:20.000Z | using System.Collections.Generic;
using UnityEngine;
namespace Extensions
{
/// <summary>
/// Extension methods for UnityEngine.Vector3
/// </summary>
public static class Vector3Extensions
{
/// <summary>
/// Finds the position closest to the given one
/// </summary>
... | 31.183673 | 100 | 0.501636 |
c2a3d87463c1b93544f68dd88912a962f5ed665a | 3,612 | cs | C# | Unity/Assets/Scripts/Main/MainController.cs | namseungngil/ItNews | 6fe6f270a1c23047dc379704a4ed9f3ff76d390d | [
"MIT"
] | null | null | null | Unity/Assets/Scripts/Main/MainController.cs | namseungngil/ItNews | 6fe6f270a1c23047dc379704a4ed9f3ff76d390d | [
"MIT"
] | null | null | null | Unity/Assets/Scripts/Main/MainController.cs | namseungngil/ItNews | 6fe6f270a1c23047dc379704a4ed9f3ff76d390d | [
"MIT"
] | null | null | null | using UnityEngine;
//using System;
using System.Collections;
using System.Collections.Generic;
public class MainController : Main
{
private const string PANEL_1000 = "Panel:1000";
private List<GameObject> listGObj;
private GoogleMobileAdsManager googleMobileAdsManager;
private Webview webview;
private Vector3 no... | 23.153846 | 106 | 0.670543 |
cf7af133c0140e4f4eb9aef77a8eed1d23998393 | 971 | cs | C# | tests/Meziantou.Framework.Win32.Lsa.Tests/LsaPrivateDataTests.cs | nibblersrevenge/Meziantou.Framework | 38e65c9829082c8b98613e0888f66440c327b7c3 | [
"MIT"
] | 304 | 2018-01-31T09:02:24.000Z | 2022-03-29T13:08:05.000Z | tests/Meziantou.Framework.Win32.Lsa.Tests/LsaPrivateDataTests.cs | nibblersrevenge/Meziantou.Framework | 38e65c9829082c8b98613e0888f66440c327b7c3 | [
"MIT"
] | 183 | 2018-12-13T09:40:09.000Z | 2022-03-22T00:05:18.000Z | tests/Meziantou.Framework.Win32.Lsa.Tests/LsaPrivateDataTests.cs | nibblersrevenge/Meziantou.Framework | 38e65c9829082c8b98613e0888f66440c327b7c3 | [
"MIT"
] | 60 | 2018-03-24T05:34:14.000Z | 2022-03-29T02:18:32.000Z | using FluentAssertions;
using TestUtilities;
using Xunit;
namespace Meziantou.Framework.Win32.Lsa.Tests
{
[Collection("LsaPrivateDataTests")]
public sealed class LsaPrivateDataTests
{
[RunIfWindowsAdministratorFact]
public void LsaPrivateData_SetGetRemove()
{
// Set
... | 27.742857 | 76 | 0.609681 |
578f1b61e5260de129782867a4b8558fa74004ce | 612 | cs | C# | Assets/Scripts/landscapeScripts/Catapult.cs | akimaleo/Unity3D-ExproreThat | 7fff51a3797cf16e2e4faed532a04760c104992c | [
"MIT"
] | null | null | null | Assets/Scripts/landscapeScripts/Catapult.cs | akimaleo/Unity3D-ExproreThat | 7fff51a3797cf16e2e4faed532a04760c104992c | [
"MIT"
] | null | null | null | Assets/Scripts/landscapeScripts/Catapult.cs | akimaleo/Unity3D-ExproreThat | 7fff51a3797cf16e2e4faed532a04760c104992c | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
public class Catapult : MonoBehaviour,IUse
{
Animator cat;
public bool isAnim;
Transform theSun;
void Start()
{
cat = GetComponent<Animator>();
cat.enabled = false;
isAnim = true;
theSun = GameObject.Find("Directional Li... | 18.545455 | 64 | 0.535948 |
f5e34ea04dc8b30a9c2e1b673a6b9acc9b80b2e2 | 446 | cs | C# | BMSF.WPF.Utilities/Properties/AssemblyInfo.cs | nickguletskii/BMSF | 3cb3fdc5f1919fb2b8f1200b7b2930feb2d58428 | [
"MIT"
] | null | null | null | BMSF.WPF.Utilities/Properties/AssemblyInfo.cs | nickguletskii/BMSF | 3cb3fdc5f1919fb2b8f1200b7b2930feb2d58428 | [
"MIT"
] | null | null | null | BMSF.WPF.Utilities/Properties/AssemblyInfo.cs | nickguletskii/BMSF | 3cb3fdc5f1919fb2b8f1200b7b2930feb2d58428 | [
"MIT"
] | null | null | null | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("BMSF.WPF.Utilities")]
[assembly: AssemblyDescription("A set of utlities for WPF applications")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Nick Guletskii")]
[assembly: AssemblyProduct("BMSF")]
[assembly: As... | 34.307692 | 73 | 0.778027 |
eb7e56a4a15fa63bc050d4c9880490344fab1139 | 746 | cs | C# | ZeroLevel/Services/Extensions/StringExtensions.cs | ogoun/Zero | 6dc71702f53dee91fdc31575c2a08e560bab6a41 | [
"MIT"
] | null | null | null | ZeroLevel/Services/Extensions/StringExtensions.cs | ogoun/Zero | 6dc71702f53dee91fdc31575c2a08e560bab6a41 | [
"MIT"
] | null | null | null | ZeroLevel/Services/Extensions/StringExtensions.cs | ogoun/Zero | 6dc71702f53dee91fdc31575c2a08e560bab6a41 | [
"MIT"
] | null | null | null | using System;
using System.Text;
namespace ZeroLevel
{
public static class StringExtensions
{
public static bool EndsWith(this StringBuilder sb, string test)
{
if (sb == null || sb.Length < test.Length)
return false;
string end = sb.ToString(sb.Length -... | 28.692308 | 75 | 0.569705 |
688720c74db5dbb188ee7d303ccbb26ebd67bbe8 | 93 | cs | C# | FinalProject/Assets/Scripts/GUIManager.cs | Fernandes92/Project-Limbo | 7a4ced76d63b592adf95e288b7ce1bd31f53b65d | [
"Unlicense"
] | 1 | 2015-11-05T02:37:30.000Z | 2015-11-05T02:37:30.000Z | FinalProject/Assets/Scripts/GUIManager.cs | Fernandes92/Project-Limbo | 7a4ced76d63b592adf95e288b7ce1bd31f53b65d | [
"Unlicense"
] | null | null | null | FinalProject/Assets/Scripts/GUIManager.cs | Fernandes92/Project-Limbo | 7a4ced76d63b592adf95e288b7ce1bd31f53b65d | [
"Unlicense"
] | null | null | null | using UnityEngine;
using System.Collections;
public class GUIManager : MonoBehaviour {
}
| 11.625 | 41 | 0.774194 |
019d5192df59527f41779f0254fd15f7e118c10a | 811 | cs | C# | CalculadoraTeste/CalculadoraTeste/Program.cs | nalexi/GitClass | d7c2496c58d66c4dd724f013472226bdfab91cb0 | [
"MIT"
] | null | null | null | CalculadoraTeste/CalculadoraTeste/Program.cs | nalexi/GitClass | d7c2496c58d66c4dd724f013472226bdfab91cb0 | [
"MIT"
] | null | null | null | CalculadoraTeste/CalculadoraTeste/Program.cs | nalexi/GitClass | d7c2496c58d66c4dd724f013472226bdfab91cb0 | [
"MIT"
] | null | null | null | using CalculadoraClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculadoraTeste
{
class Program
{
static void Main(string[] args)
{
MostraCalculadora funcao = new MostraCalculadora();
... | 27.965517 | 72 | 0.649815 |
bf0712e2bcced53305bbdb31333e49bf3a4aef12 | 459 | cs | C# | Source/Charites/DataContextAttribute.cs | averrunci/Charites | f1c838e75507b3f67abe45e760cb6851d3e3ebe7 | [
"MIT"
] | null | null | null | Source/Charites/DataContextAttribute.cs | averrunci/Charites | f1c838e75507b3f67abe45e760cb6851d3e3ebe7 | [
"MIT"
] | null | null | null | Source/Charites/DataContextAttribute.cs | averrunci/Charites | f1c838e75507b3f67abe45e760cb6851d3e3ebe7 | [
"MIT"
] | null | null | null | // Copyright (C) 2018 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
namespace Charites.Windows.Mvc
{
/// <summary>
/// Specifies the target to inject a data context.
/// </summary>
[AttributeUsage(Attr... | 27 | 98 | 0.708061 |
bf9b6c1b16543e937d90b724bffc8671f4df77cd | 1,580 | cshtml | C# | Portal/AtomicArcade/Views/Shared/_navigationPartial.cshtml | cyberidian/samples | fefc3ed8f63d0bc5dee84a02e495621186a27638 | [
"BSD-2-Clause"
] | null | null | null | Portal/AtomicArcade/Views/Shared/_navigationPartial.cshtml | cyberidian/samples | fefc3ed8f63d0bc5dee84a02e495621186a27638 | [
"BSD-2-Clause"
] | null | null | null | Portal/AtomicArcade/Views/Shared/_navigationPartial.cshtml | cyberidian/samples | fefc3ed8f63d0bc5dee84a02e495621186a27638 | [
"BSD-2-Clause"
] | null | null | null | <nav class="">
<div class="container navbar-inverse main-nav">
<div class="navbar-header main-menu">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <sp... | 65.833333 | 305 | 0.55443 |
bff73e05cad36ece18da5a76379b01398dc70c37 | 22,330 | cs | C# | CnGalWebSite/CnGalWebSite.APIServer/Application/Search/ElasticSearches/ElasticsearchHelper.cs | LittleFish-233/CnGalWebSite | c75e4e07060e9277a75b24711f1f253d8ce846b2 | [
"MIT"
] | null | null | null | CnGalWebSite/CnGalWebSite.APIServer/Application/Search/ElasticSearches/ElasticsearchHelper.cs | LittleFish-233/CnGalWebSite | c75e4e07060e9277a75b24711f1f253d8ce846b2 | [
"MIT"
] | null | null | null | CnGalWebSite/CnGalWebSite.APIServer/Application/Search/ElasticSearches/ElasticsearchHelper.cs | LittleFish-233/CnGalWebSite | c75e4e07060e9277a75b24711f1f253d8ce846b2 | [
"MIT"
] | null | null | null | using CnGalWebSite.APIServer.Application.Helper;
using CnGalWebSite.APIServer.DataReositories;
using CnGalWebSite.DataModel.Application.Dtos;
using CnGalWebSite.DataModel.Application.Search.Dtos;
using CnGalWebSite.DataModel.Model;
using CnGalWebSite.DataModel.ViewModel.Search;
using Microsoft.EntityFrameworkCore;
usi... | 48.021505 | 245 | 0.587371 |
28d7a33a5ca36d49a56e33e4946c2c9aee01659b | 1,773 | cs | C# | Source/Mosa.Compiler.Metadata/Signatures/MethodSpecSignature.cs | uQr/MOSA-Project | 9a3e871a8f63aaa22dfeed165b9ffbe261e8686c | [
"BSD-3-Clause"
] | null | null | null | Source/Mosa.Compiler.Metadata/Signatures/MethodSpecSignature.cs | uQr/MOSA-Project | 9a3e871a8f63aaa22dfeed165b9ffbe261e8686c | [
"BSD-3-Clause"
] | null | null | null | Source/Mosa.Compiler.Metadata/Signatures/MethodSpecSignature.cs | uQr/MOSA-Project | 9a3e871a8f63aaa22dfeed165b9ffbe261e8686c | [
"BSD-3-Clause"
] | null | null | null | /*
* (c) 2008 MOSA - The Managed Operating System Alliance
*
* Licensed under the terms of the New BSD License.
*
* Authors:
* Michael Ruck (grover) <sharpos@michaelruck.de>
* Phil Garcia (tgiphil) <phil@thinkedge.com>
*/
using System;
using System.Text;
namespace Mosa.Compiler.Metadata.Signatures
{
/// <s... | 22.1625 | 78 | 0.626622 |
194b6072c8153c0bc48d2ba1f48d1f4b343947b7 | 12,433 | cs | C# | src/TradeUnionCommittee.Razor.Web.GUI/src/TradeUnionCommittee.Razor.Web.GUI/Configurations/AutoMapperProfile.cs | zavada-sergey/TradeUnionCommittee.App | 21e2de61410a505d7409cff2e2688765eaf261d2 | [
"MIT"
] | 2 | 2019-07-01T18:57:18.000Z | 2019-07-04T07:20:15.000Z | src/TradeUnionCommittee.Razor.Web.GUI/src/TradeUnionCommittee.Razor.Web.GUI/Configurations/AutoMapperProfile.cs | zavada-sergey/TradeUnionCommittee.App | 21e2de61410a505d7409cff2e2688765eaf261d2 | [
"MIT"
] | 3 | 2021-09-22T08:46:01.000Z | 2022-02-27T16:51:18.000Z | src/TradeUnionCommittee.Razor.Web.GUI/src/TradeUnionCommittee.Razor.Web.GUI/Configurations/AutoMapperProfile.cs | zavada-sergey/TradeUnionCommittee.App | 21e2de61410a505d7409cff2e2688765eaf261d2 | [
"MIT"
] | 2 | 2019-05-15T07:48:13.000Z | 2019-05-15T08:30:22.000Z | using AutoMapper;
using System;
using TradeUnionCommittee.BLL.DTO;
using TradeUnionCommittee.BLL.DTO.Children;
using TradeUnionCommittee.BLL.DTO.Employee;
using TradeUnionCommittee.BLL.DTO.Family;
using TradeUnionCommittee.BLL.DTO.GrandChildren;
using TradeUnionCommittee.BLL.Enums;
using TradeUnionCommittee.ViewModels... | 49.337302 | 140 | 0.708759 |
04da7655fdd0706324e06478f2ce8c581aada521 | 1,932 | cs | C# | sources/core/Stride.Core.Yaml.Tests/YamlTest.cs | Ethereal77/stride | f2d72c2ec7276dd87ddd51519986de65a691c254 | [
"MIT"
] | null | null | null | sources/core/Stride.Core.Yaml.Tests/YamlTest.cs | Ethereal77/stride | f2d72c2ec7276dd87ddd51519986de65a691c254 | [
"MIT"
] | null | null | null | sources/core/Stride.Core.Yaml.Tests/YamlTest.cs | Ethereal77/stride | f2d72c2ec7276dd87ddd51519986de65a691c254 | [
"MIT"
] | null | null | null | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Copyright (c) 2015 SharpYaml - Alexandre Mutel
// Copyright (c) 2008-2012 Ya... | 33.894737 | 99 | 0.550207 |
ca6c8dcda49c13dba7531f426e1eb600ada915f8 | 1,152 | cs | C# | TowerDefense2D/Assets/Scripts/EnemyMove/EnemyMoveSystem.cs | soeren-spindler/TowerDefense2D | 5aaee8b373163a477c534c2fe1cb19cf48081adf | [
"MIT"
] | null | null | null | TowerDefense2D/Assets/Scripts/EnemyMove/EnemyMoveSystem.cs | soeren-spindler/TowerDefense2D | 5aaee8b373163a477c534c2fe1cb19cf48081adf | [
"MIT"
] | null | null | null | TowerDefense2D/Assets/Scripts/EnemyMove/EnemyMoveSystem.cs | soeren-spindler/TowerDefense2D | 5aaee8b373163a477c534c2fe1cb19cf48081adf | [
"MIT"
] | null | null | null | using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
[UpdateInGroup(typeof(SimulationSystemGroup))]
[UpdateBefore(typeof(GameStateSystem))]
[UpdateBefore(typeof(EnemyAttackSystem))]
public class EnemyMoveSystem : SystemBase
{
protected override void OnUpdate()
{
var deltaTime = Time.D... | 33.882353 | 157 | 0.591146 |
ef450c718a15ed0af739de157118ba44850e1094 | 881 | cs | C# | operators/prometheus-exporter-operator/dotnet/Kubernetes/Crds/Operators/PrometheusExporterOperator/Monitoring/V1Alpha1/Inputs/PrometheusExporterSpecGrafanaDashboardArgs.cs | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | operators/prometheus-exporter-operator/dotnet/Kubernetes/Crds/Operators/PrometheusExporterOperator/Monitoring/V1Alpha1/Inputs/PrometheusExporterSpecGrafanaDashboardArgs.cs | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | 2 | 2020-09-18T17:12:23.000Z | 2020-12-30T19:40:56.000Z | operators/prometheus-exporter-operator/dotnet/Kubernetes/Crds/Operators/PrometheusExporterOperator/Monitoring/V1Alpha1/Inputs/PrometheusExporterSpecGrafanaDashboardArgs.cs | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | // *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.I... | 30.37931 | 141 | 0.68899 |
a2225bc9a296d39817d393d561913f43e9fd4bb3 | 15,258 | cs | C# | TrackDetails.Designer.cs | nikkilocke/AlbumRecorder | fe45bea3bed0a91e62d60585fc379ea5ed5a8b94 | [
"Apache-2.0"
] | 1 | 2017-08-31T20:00:09.000Z | 2017-08-31T20:00:09.000Z | TrackDetails.Designer.cs | nikkilocke/AlbumRecorder | fe45bea3bed0a91e62d60585fc379ea5ed5a8b94 | [
"Apache-2.0"
] | null | null | null | TrackDetails.Designer.cs | nikkilocke/AlbumRecorder | fe45bea3bed0a91e62d60585fc379ea5ed5a8b94 | [
"Apache-2.0"
] | null | null | null | namespace AlbumRecorder {
partial class TrackDetails {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources sho... | 42.980282 | 153 | 0.725455 |
e6463577093e80e8225f745e3b7bd394e4df0d59 | 316 | cs | C# | NbgHackathon.Domain/PassportValidationState.cs | nianton/NbgHackathon | b44811df044e27d69c2453db7808258914e5733b | [
"MIT"
] | null | null | null | NbgHackathon.Domain/PassportValidationState.cs | nianton/NbgHackathon | b44811df044e27d69c2453db7808258914e5733b | [
"MIT"
] | null | null | null | NbgHackathon.Domain/PassportValidationState.cs | nianton/NbgHackathon | b44811df044e27d69c2453db7808258914e5733b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NbgHackathon.Domain
{
public enum PassportValidationState
{
None,
MrzNotRecognized,
PassportExpired,
PhotoNotLocated,
Valid
}
}
| 17.555556 | 39 | 0.664557 |
70ed8997984539490ab96a8d8e11b98fa0d50219 | 457 | cs | C# | src/TimCodes.Mtd.Vat.Core/Constants/AuthorisationConstants.cs | timcodesdotnet/making-tax-digital-vat-simple | bbf1d0aa9eb7799cb6fc73e4cd60755f02022cae | [
"MIT"
] | null | null | null | src/TimCodes.Mtd.Vat.Core/Constants/AuthorisationConstants.cs | timcodesdotnet/making-tax-digital-vat-simple | bbf1d0aa9eb7799cb6fc73e4cd60755f02022cae | [
"MIT"
] | null | null | null | src/TimCodes.Mtd.Vat.Core/Constants/AuthorisationConstants.cs | timcodesdotnet/making-tax-digital-vat-simple | bbf1d0aa9eb7799cb6fc73e4cd60755f02022cae | [
"MIT"
] | 1 | 2022-02-15T21:55:08.000Z | 2022-02-15T21:55:08.000Z | namespace TimCodes.Mtd.Vat.Core.Constants
{
public class AuthorisationConstants
{
/// <summary>
/// The authorization_code is rendered in the title of a HTML page where you can parse the DOM to retrieve the code.
/// You can then programmatically close the window before the use... | 35.153846 | 126 | 0.647702 |
98d46ba7a98b204f258611acaab7b7c19ee032a7 | 292 | cs | C# | MonitorCommon/Caches/TimeBox.cs | gmanny/NetCommonLib | f0935839f21bb378f336fbfec7b38380ffc820f0 | [
"Apache-2.0"
] | 1 | 2021-09-08T19:25:21.000Z | 2021-09-08T19:25:21.000Z | MonitorCommon/Caches/TimeBox.cs | gmanny/NetCommonLib | f0935839f21bb378f336fbfec7b38380ffc820f0 | [
"Apache-2.0"
] | null | null | null | MonitorCommon/Caches/TimeBox.cs | gmanny/NetCommonLib | f0935839f21bb378f336fbfec7b38380ffc820f0 | [
"Apache-2.0"
] | null | null | null | using System;
namespace MonitorCommon.Caches
{
public class TimeBox<T>
{
public readonly DateTime time;
public readonly T value;
public TimeBox(DateTime time, T value)
{
this.time = time;
this.value = value;
}
}
} | 18.25 | 46 | 0.55137 |
22dd772198918009d3c8e4d943e18bd4df4d628c | 959 | cs | C# | LudumDare38/Utility/MathUtility.cs | Phyyl/LudumDare38 | b62c0251bf874ed4d0e41ea848eae4b71fe8d742 | [
"MIT"
] | null | null | null | LudumDare38/Utility/MathUtility.cs | Phyyl/LudumDare38 | b62c0251bf874ed4d0e41ea848eae4b71fe8d742 | [
"MIT"
] | null | null | null | LudumDare38/Utility/MathUtility.cs | Phyyl/LudumDare38 | b62c0251bf874ed4d0e41ea848eae4b71fe8d742 | [
"MIT"
] | null | null | null | using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Math;
namespace LudumDare38.Utility
{
public static class MathUtility
{
public static int Mod(int x, int mod)
{
return (x % mod + mod) % mod;
... | 21.311111 | 68 | 0.623566 |
71a5ddf556a8e44ddf2218b7a884ca841ae8cc96 | 1,243 | cs | C# | DustStream/Models/Project.cs | hai-tran/duststream | 5c07ef0ed87fed73be48c0942f755e0712d96de4 | [
"MIT"
] | null | null | null | DustStream/Models/Project.cs | hai-tran/duststream | 5c07ef0ed87fed73be48c0942f755e0712d96de4 | [
"MIT"
] | null | null | null | DustStream/Models/Project.cs | hai-tran/duststream | 5c07ef0ed87fed73be48c0942f755e0712d96de4 | [
"MIT"
] | 6 | 2020-04-20T03:39:13.000Z | 2020-07-09T05:02:33.000Z | using System;
using System.Text.Json.Serialization;
namespace DustStream.Models
{
public class AzureDevOpsSettings
{
public string Organization { get; set; }
public string Project { get; set; }
public string BuildDefinition { get; set; }
public string ReleaseDefinitio... | 28.906977 | 77 | 0.571199 |
54d947ce2993c3dece2bce8394b009f90087ecd6 | 20,040 | cs | C# | Consul/Agent.cs | rogeralsing/consuldotnet | 1358d5f8b23197c5c15dd6fe9e00076b54f742f8 | [
"Apache-2.0"
] | null | null | null | Consul/Agent.cs | rogeralsing/consuldotnet | 1358d5f8b23197c5c15dd6fe9e00076b54f742f8 | [
"Apache-2.0"
] | null | null | null | Consul/Agent.cs | rogeralsing/consuldotnet | 1358d5f8b23197c5c15dd6fe9e00076b54f742f8 | [
"Apache-2.0"
] | 1 | 2020-02-26T19:38:18.000Z | 2020-02-26T19:38:18.000Z | // -----------------------------------------------------------------------
// <copyright file="Agent.cs" company="PlayFab Inc">
// Copyright 2015 PlayFab Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You ma... | 34.492255 | 134 | 0.565768 |
d16dc58af2fc4832efb1830af594549cdcfb80e1 | 8,193 | cs | C# | VideoWeb/VideoWeb.UnitTests/Controllers/ConferenceController/GetConferencesForVHOfficerTests.cs | hmcts/vh-video-web | 0efdb5f1bfc99aad148b95f3d79ac2395fb386b8 | [
"MIT"
] | 9 | 2019-08-13T13:27:40.000Z | 2022-01-18T16:49:36.000Z | VideoWeb/VideoWeb.UnitTests/Controllers/ConferenceController/GetConferencesForVHOfficerTests.cs | hmcts/vh-video-web | 0efdb5f1bfc99aad148b95f3d79ac2395fb386b8 | [
"MIT"
] | 1,412 | 2019-08-21T13:07:35.000Z | 2022-03-31T16:10:35.000Z | VideoWeb/VideoWeb.UnitTests/Controllers/ConferenceController/GetConferencesForVHOfficerTests.cs | hmcts/vh-video-web | 0efdb5f1bfc99aad148b95f3d79ac2395fb386b8 | [
"MIT"
] | 4 | 2020-04-16T08:47:45.000Z | 2021-04-14T12:57:04.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Threading.Tasks;
using Autofac.Extras.Moq;
using Faker;
using FizzWare.NBuilder;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit... | 47.633721 | 260 | 0.652508 |
88400f2f95190de3ece7951c510d90e674809bdd | 949 | cs | C# | Assets/Scripts/SpawnPlayers.cs | opreradovic/GoldenRayRepo | 92fb7500e7dd1fe73876d111bf15661410910cbe | [
"MIT"
] | null | null | null | Assets/Scripts/SpawnPlayers.cs | opreradovic/GoldenRayRepo | 92fb7500e7dd1fe73876d111bf15661410910cbe | [
"MIT"
] | null | null | null | Assets/Scripts/SpawnPlayers.cs | opreradovic/GoldenRayRepo | 92fb7500e7dd1fe73876d111bf15661410910cbe | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
public class SpawnPlayers : MonoBehaviour
{
[SerializeField] private GameObject player1, player2;
[SerializeField] private float minX, minY, maxX, maxY;
private PhotonView view;
// Start is called before t... | 27.911765 | 97 | 0.653319 |
2abfe4d63aecdcb1f225b21dc6ac1151479b33c1 | 591 | cs | C# | src/Services/Order/Order.Application/Mappings/MappingProfile.cs | mehmetkaradeniz/ms | 963906ff66341cda0ae01a96c600e7d41dce99b5 | [
"MIT"
] | null | null | null | src/Services/Order/Order.Application/Mappings/MappingProfile.cs | mehmetkaradeniz/ms | 963906ff66341cda0ae01a96c600e7d41dce99b5 | [
"MIT"
] | null | null | null | src/Services/Order/Order.Application/Mappings/MappingProfile.cs | mehmetkaradeniz/ms | 963906ff66341cda0ae01a96c600e7d41dce99b5 | [
"MIT"
] | null | null | null | using AutoMapper;
using Order.Application.Features.Orders.Commands.CheckoutOrder;
using Order.Application.Features.Orders.Commands.UpdateOrder;
using Order.Application.Features.Orders.Queries.GetOrdersList;
using Order.Domain.Entities;
namespace Order.Application.Mappings
{
public class MappingProfile : Profile
... | 29.55 | 72 | 0.71912 |
219d52e1f41e9e2eb480594882d6114259d37e74 | 2,247 | cs | C# | Parser/Tests/Parser.Data.Tests/RepositoriesTests/StoredCombatStatisticsProjectionRepositoryTests/Constructor_Should.cs | shakuu/parser | 1cc7f0c8405db24deff5269fa1f237a32169f1f4 | [
"MIT"
] | null | null | null | Parser/Tests/Parser.Data.Tests/RepositoriesTests/StoredCombatStatisticsProjectionRepositoryTests/Constructor_Should.cs | shakuu/parser | 1cc7f0c8405db24deff5269fa1f237a32169f1f4 | [
"MIT"
] | null | null | null | Parser/Tests/Parser.Data.Tests/RepositoriesTests/StoredCombatStatisticsProjectionRepositoryTests/Constructor_Should.cs | shakuu/parser | 1cc7f0c8405db24deff5269fa1f237a32169f1f4 | [
"MIT"
] | null | null | null | using System;
using Moq;
using NUnit.Framework;
using Parser.Common.Contracts;
using Parser.Data.Contracts;
using Parser.Data.Repositories;
namespace Parser.Data.Tests.RepositoriesTests.StoredCombatStatisticsProjectionRepositoryTests
{
[TestFixture]
public class Constructor_Should
{
[Test]
... | 39.421053 | 150 | 0.70138 |
151e5bd3bc6f9c1c192f9f358332b88d1463d2bb | 1,808 | cs | C# | ConsoleApp1/5.3.9.djelitelji/Program.cs | robertlucic66/AlgebraCSharp2019-1 | 5fd1a736bf39e981c21cd30fdb2b49d82e24497d | [
"MIT"
] | null | null | null | ConsoleApp1/5.3.9.djelitelji/Program.cs | robertlucic66/AlgebraCSharp2019-1 | 5fd1a736bf39e981c21cd30fdb2b49d82e24497d | [
"MIT"
] | null | null | null | ConsoleApp1/5.3.9.djelitelji/Program.cs | robertlucic66/AlgebraCSharp2019-1 | 5fd1a736bf39e981c21cd30fdb2b49d82e24497d | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _5._3._9.djelitelji
{
class Program
{
static void Main(string[] args)
{
// 5.3.9 Djelitelji
// Napišite program koji za uneseni prirodni broj is... | 25.464789 | 110 | 0.467367 |
15755309f0f3eb130ffe5223658f84c30a47392a | 12,980 | cshtml | C# | TresEmpanadas/Views/Pedidos/EditarPedido.cshtml | Max-UNLaM/pw3-empanadas | 9ebe4cb14d293344fb752d447ceaa6459b4b7b96 | [
"MIT"
] | null | null | null | TresEmpanadas/Views/Pedidos/EditarPedido.cshtml | Max-UNLaM/pw3-empanadas | 9ebe4cb14d293344fb752d447ceaa6459b4b7b96 | [
"MIT"
] | null | null | null | TresEmpanadas/Views/Pedidos/EditarPedido.cshtml | Max-UNLaM/pw3-empanadas | 9ebe4cb14d293344fb752d447ceaa6459b4b7b96 | [
"MIT"
] | null | null | null | @model TresEmpanadas.Pedido
<link rel="stylesheet"
type="text/css"
href="@Url.Content("~/Content/Stylesheet/Validaciones.css")" />
@using (Html.BeginForm("EditarPedido", "Pedidos", FormMethod.Post, new { enctype = "multipart/form-data", onsubmit = "return validateForm()" }))
{
@Html.AntiForgeryToken()
... | 59 | 198 | 0.442604 |
60c553abc113c73878bd73e88e7118927190e38b | 3,244 | cs | C# | src/Phun.Tests/Routing/ResourceVirtualFileTests.cs | noogen/phuncms | 94f270c8366df6f748b318ec54cd07a86a8d4aea | [
"MIT"
] | 5 | 2015-01-23T20:04:15.000Z | 2015-06-24T07:27:44.000Z | src/Phun.Tests/Routing/ResourceVirtualFileTests.cs | noogen/phuncms | 94f270c8366df6f748b318ec54cd07a86a8d4aea | [
"MIT"
] | null | null | null | src/Phun.Tests/Routing/ResourceVirtualFileTests.cs | noogen/phuncms | 94f270c8366df6f748b318ec54cd07a86a8d4aea | [
"MIT"
] | null | null | null | namespace Phun.Tests
{
using System;
using System.Web;
using Phun.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Phun.Extensions;
using Phun.Routing;
/// <summary>
/// Unit tests for resource virtual file
/// </summary>
[TestClass]
public class ... | 30.895238 | 111 | 0.552096 |
6380de817718d6e78975e019cebbf392e2ec7874 | 317 | cs | C# | C# OOP/07Solid/LoggerApp/Appenders/IAppender.cs | zjelev/SoftUni | c28e2517ab1253d6994cd8b40f8ecc3616d3d13e | [
"MIT"
] | null | null | null | C# OOP/07Solid/LoggerApp/Appenders/IAppender.cs | zjelev/SoftUni | c28e2517ab1253d6994cd8b40f8ecc3616d3d13e | [
"MIT"
] | null | null | null | C# OOP/07Solid/LoggerApp/Appenders/IAppender.cs | zjelev/SoftUni | c28e2517ab1253d6994cd8b40f8ecc3616d3d13e | [
"MIT"
] | null | null | null | using System;
using LoggerApp.Common;
using LoggerApp.Layouts;
namespace LoggerApp.Appenders
{
public interface IAppender
{
ILayout Layout { get; }
ReportLevel ReportLevel { get; set; }
void Append(DateTime dateTime, ReportLevel reportLevel, string message);
}
}
| 19.8125 | 81 | 0.656151 |
2cc0f5cc6943af1ab267ed1e6309daa977a2ee3a | 2,188 | cs | C# | ServiceBroker.Queues.Tests/QueueTest.cs | alanta/servicebroker-queues | 1946abdf1aace023b0e1494d9ee338f71e7e6e1c | [
"BSD-3-Clause"
] | 1 | 2016-01-16T08:02:14.000Z | 2016-01-16T08:02:14.000Z | ServiceBroker.Queues.Tests/QueueTest.cs | alanta/servicebroker-queues | 1946abdf1aace023b0e1494d9ee338f71e7e6e1c | [
"BSD-3-Clause"
] | null | null | null | ServiceBroker.Queues.Tests/QueueTest.cs | alanta/servicebroker-queues | 1946abdf1aace023b0e1494d9ee338f71e7e6e1c | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Configuration;
using ServiceBroker.Queues.Storage;
using System.Data.SqlClient;
using System.Data;
using ServiceBroker.Queues.Tests.Utils;
namespace ServiceBroker.Queues.Tests
{
public abstract class QueueTest
{
protected void EnsureStorage( string connectionString )
... | 28.415584 | 96 | 0.584095 |
d1c6e4ea16d0005581aacfc6f17efc2583de38a4 | 8,947 | cs | C# | DryWetMidi/Smf/MidiWriter.cs | ronnieoverby/drywetmidi | 729591a78c1f1c67bc973369b3b0d79d18212d52 | [
"MIT"
] | 1 | 2021-01-12T03:28:13.000Z | 2021-01-12T03:28:13.000Z | DryWetMidi/Smf/MidiWriter.cs | ronnieoverby/drywetmidi | 729591a78c1f1c67bc973369b3b0d79d18212d52 | [
"MIT"
] | null | null | null | DryWetMidi/Smf/MidiWriter.cs | ronnieoverby/drywetmidi | 729591a78c1f1c67bc973369b3b0d79d18212d52 | [
"MIT"
] | null | null | null | using Melanchall.DryWetMidi.Common;
using System;
using System.IO;
namespace Melanchall.DryWetMidi.Smf
{
/// <summary>
/// Writer of the MIDI data types.
/// </summary>
public sealed class MidiWriter : IDisposable
{
#region Fields
private readonly BinaryWriter _binaryWriter;
... | 39.588496 | 114 | 0.597519 |
c358c8e747f9ad06323cbdf5c08d278f0cb195db | 572 | cs | C# | src/Tasks/Tasks/Lab6.Task2.Program.cs | Levchenkov/CSharpBasic | 569c7c1110c533da2ca51e3bdb07155cc4b5da6b | [
"MIT"
] | null | null | null | src/Tasks/Tasks/Lab6.Task2.Program.cs | Levchenkov/CSharpBasic | 569c7c1110c533da2ca51e3bdb07155cc4b5da6b | [
"MIT"
] | null | null | null | src/Tasks/Tasks/Lab6.Task2.Program.cs | Levchenkov/CSharpBasic | 569c7c1110c533da2ca51e3bdb07155cc4b5da6b | [
"MIT"
] | null | null | null | using Lab6;
namespace Tasks.Lab6.Task2
{
class Program
{
static void Main(string[] args)
{
var data = new string[]
{
"1",
"2",
"3"
};
var remoteService = new RemoteService();
var remote... | 20.428571 | 63 | 0.454545 |
49de03b98369cbca896944c59b4934bfab8c575c | 9,216 | cs | C# | unity-environment/Assets/ML-Agents/Examples/Car/Script/CarAgent.cs | AtwoodDeng/UnityML | 60848492f5b5c4cffbc4788b36dbae92a4ed583d | [
"Apache-2.0"
] | null | null | null | unity-environment/Assets/ML-Agents/Examples/Car/Script/CarAgent.cs | AtwoodDeng/UnityML | 60848492f5b5c4cffbc4788b36dbae92a4ed583d | [
"Apache-2.0"
] | null | null | null | unity-environment/Assets/ML-Agents/Examples/Car/Script/CarAgent.cs | AtwoodDeng/UnityML | 60848492f5b5c4cffbc4788b36dbae92a4ed583d | [
"Apache-2.0"
] | 1 | 2019-12-16T12:20:08.000Z | 2019-12-16T12:20:08.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAgents;
public class CarAgent : Agent {
[Header("Specific to Car")]
public GameObject target;
public Rigidbody m_rigidbody;
public CarArea area;
public float forwardForce = 40f;
public float turnForce = 1f;
public float tu... | 31.240678 | 132 | 0.688694 |
ff73bcd1d2657b35043ecd2e8673f3e210f31419 | 769 | cs | C# | Research/game-cheats/AstroCheats/program-learn-01/scratch.cs | coopersec/research-learning | da65e7999f0f9948c85dc2a74d15b25dbc3f7108 | [
"MIT"
] | 1 | 2022-02-10T23:59:46.000Z | 2022-02-10T23:59:46.000Z | Research/game-cheats/AstroCheats/program-learn-01/scratch.cs | coopersec/research-learning | da65e7999f0f9948c85dc2a74d15b25dbc3f7108 | [
"MIT"
] | null | null | null | Research/game-cheats/AstroCheats/program-learn-01/scratch.cs | coopersec/research-learning | da65e7999f0f9948c85dc2a74d15b25dbc3f7108 | [
"MIT"
] | null | null | null | namespace program_learn_01;
public class scratch
{
/*
* Create a function that implements a selection sort algorithm from scratch.
*/
public static void main(String[] args)
{
int[] arr = {5, 3, 6, 2, 10, 1};
selectionSort(arr);
for (int i = 0; i < arr.length; i++)
... | 22.617647 | 81 | 0.414824 |
ff8186dbec739ea9e9d868065c003ed3b9a1b29e | 7,045 | cs | C# | src/CoreValidation/Options/OptionsService.cs | Grosbo/CoreValidation | 4155fd9b3bbad10156eaa64eda765bf433a1b636 | [
"MIT"
] | null | null | null | src/CoreValidation/Options/OptionsService.cs | Grosbo/CoreValidation | 4155fd9b3bbad10156eaa64eda765bf433a1b636 | [
"MIT"
] | null | null | null | src/CoreValidation/Options/OptionsService.cs | Grosbo/CoreValidation | 4155fd9b3bbad10156eaa64eda765bf433a1b636 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using CoreValidation.Specifications;
using CoreValidation.Translations;
namespace CoreValidation.Options
{
internal static class OptionsService
{
public static IValidationContextOptions GetMerged(IValidationContextOptions baseOptions, ... | 35.40201 | 192 | 0.565224 |
69358add87d4bbc24b4640fa86d7c5858a1e7366 | 1,014 | cs | C# | CSharp_OOP/Polymorphism/2.02.VehiclesExtension/Models/Truck.cs | yovko93/Software-University | 031f27dfbe11c3a5d583bb0f6d4115dbed65e454 | [
"MIT"
] | null | null | null | CSharp_OOP/Polymorphism/2.02.VehiclesExtension/Models/Truck.cs | yovko93/Software-University | 031f27dfbe11c3a5d583bb0f6d4115dbed65e454 | [
"MIT"
] | null | null | null | CSharp_OOP/Polymorphism/2.02.VehiclesExtension/Models/Truck.cs | yovko93/Software-University | 031f27dfbe11c3a5d583bb0f6d4115dbed65e454 | [
"MIT"
] | null | null | null | using _2._02.VehiclesExtension.Common;
using System;
namespace _2._02.VehiclesExtension.Models
{
public class Truck : Vehicle
{
private const double FUEL_CONSUMPTION_INCR = 1.6;
private const double REFUEL_SUCC_COEFF = 0.95;
public Truck(double fuelQuantity, double fuelConsumption, d... | 28.166667 | 109 | 0.621302 |
37060c109de61a54d2e5edbd62b78d634b993527 | 629 | cs | C# | Vanguard/Assets/Scripts/EnemiesMovement.cs | jucimarjr/unitygames | 7d2419302915141771fd67acb8e87e124b1b9919 | [
"Apache-2.0"
] | 2 | 2021-05-23T01:03:07.000Z | 2021-07-04T02:43:15.000Z | Vanguard/Assets/Scripts/EnemiesMovement.cs | jucimarjr/unitygames | 7d2419302915141771fd67acb8e87e124b1b9919 | [
"Apache-2.0"
] | null | null | null | Vanguard/Assets/Scripts/EnemiesMovement.cs | jucimarjr/unitygames | 7d2419302915141771fd67acb8e87e124b1b9919 | [
"Apache-2.0"
] | 2 | 2019-08-05T13:14:43.000Z | 2020-11-02T19:13:32.000Z | using UnityEngine;
using System.Collections;
public class EnemiesMovement : MonoBehaviour
{
public float velocity;
public Vector2 direction;
// Use this for initialization
void Start()
{
GetComponent<Rigidbody2D>().velocity = direction.normalized * velocity;
}
// Update is called ... | 21.689655 | 83 | 0.63752 |
371b31676b322f6075be69eac7d71a362fff4737 | 1,068 | cs | C# | Examples/ch07/Ex04.AutoRegistration/Program.cs | huanlin/di-book-support | d6054e812a5e26a3988b2eb9ec52a46cd4c685a6 | [
"Apache-2.0"
] | 32 | 2015-01-08T00:58:32.000Z | 2021-09-18T04:23:48.000Z | Examples/ch07/Ex04.AutoRegistration/Program.cs | huanlin/di-book-support | d6054e812a5e26a3988b2eb9ec52a46cd4c685a6 | [
"Apache-2.0"
] | 1 | 2018-09-03T07:07:22.000Z | 2018-09-03T07:46:58.000Z | Examples/ch07/Ex04.AutoRegistration/Program.cs | huanlin/di-book-support | d6054e812a5e26a3988b2eb9ec52a46cd4c685a6 | [
"Apache-2.0"
] | 30 | 2015-02-15T14:59:50.000Z | 2021-08-08T16:55:39.000Z | using System;
using System.Linq;
using Unity;
using Unity.RegistrationByConvention;
using Ch07.Common.Contracts;
namespace Ex04.AutoRegistration
{
static class Program
{
static void Main(string[] args)
{
AutoRegisterationDemo();
}
static void AutoRegisterationDemo(... | 27.384615 | 80 | 0.562734 |
3744d6e8addb4cc494862d9b35b82582c6ab1915 | 352 | cs | C# | src/v2/Server.cs | TrakHound/TrakHound-Api | 84fee6730ca4ae22bed04cc010ebd745ced9a432 | [
"Apache-2.0"
] | 6 | 2017-02-18T13:15:54.000Z | 2020-09-18T07:02:10.000Z | src/v2/Server.cs | TrakHound/TrakHound-Api | 84fee6730ca4ae22bed04cc010ebd745ced9a432 | [
"Apache-2.0"
] | null | null | null | src/v2/Server.cs | TrakHound/TrakHound-Api | 84fee6730ca4ae22bed04cc010ebd745ced9a432 | [
"Apache-2.0"
] | 4 | 2017-06-07T20:23:17.000Z | 2021-03-06T00:25:16.000Z | // Copyright (c) 2017 TrakHound Inc, All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace TrakHound.Api.v2
{
public static class Server
{
public static Uri BaseUrl = new Uri("http... | 23.466667 | 72 | 0.693182 |
23b880121a430d414a0dcce9137adf88bb0b4839 | 1,799 | cs | C# | src/FubuMVC.Tests/Conventions/ControllerActions/Convention_404_Handler.cs | dineshkummarc/FubuMVC-old | 45568b18a230df985b4c7b948397dac6efa486eb | [
"Apache-2.0"
] | 1 | 2019-04-22T16:50:00.000Z | 2019-04-22T16:50:00.000Z | src/FubuMVC.Tests/Conventions/ControllerActions/Convention_404_Handler.cs | dineshkummarc/FubuMVC-old | 45568b18a230df985b4c7b948397dac6efa486eb | [
"Apache-2.0"
] | null | null | null | src/FubuMVC.Tests/Conventions/ControllerActions/Convention_404_Handler.cs | dineshkummarc/FubuMVC-old | 45568b18a230df985b4c7b948397dac6efa486eb | [
"Apache-2.0"
] | null | null | null | using System;
using FubuMVC.Core.Controller.Config;
using FubuMVC.Core.Conventions.ControllerActions;
using FubuMVC.Core.Util;
using NUnit.Framework;
namespace FubuMVC.Tests.Conventions.ControllerActions
{
[TestFixture]
public class Convention_404_Handler
{
private string expectedPrimary... | 32.125 | 97 | 0.635909 |
3d6253bef90bc1abe14e955cb84da31cab2177a8 | 15,571 | cs | C# | Passive.Test/DynamicModelTests/Paged.feature.cs | Talljoe/Passive | ee4f85d4215ca51b259103df89da5a7a05ea584d | [
"BSD-3-Clause"
] | null | null | null | Passive.Test/DynamicModelTests/Paged.feature.cs | Talljoe/Passive | ee4f85d4215ca51b259103df89da5a7a05ea584d | [
"BSD-3-Clause"
] | null | null | null | Passive.Test/DynamicModelTests/Paged.feature.cs | Talljoe/Passive | ee4f85d4215ca51b259103df89da5a7a05ea584d | [
"BSD-3-Clause"
] | 1 | 2021-08-16T08:19:15.000Z | 2021-08-16T08:19:15.000Z | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.6.1.0
// SpecFlow Generator Version:1.6.0.0
// Runtime Version:4.0.30319.235
//
// Changes to this fil... | 43.861972 | 250 | 0.622118 |
3d6f415885d5b851fad4d09cf7e84bb10984a1f3 | 438 | cs | C# | Server/Model/GameGather/CardFiveStar/FiveStarTotalPlayerResult/FiveStarTotalPlayerResult.cs | dingxing123/fivestar | af0775d79deb47ba7841e4245a2feb7648ebb826 | [
"MIT"
] | 121 | 2019-07-28T02:44:31.000Z | 2022-02-13T15:21:28.000Z | Server/Model/GameGather/CardFiveStar/FiveStarTotalPlayerResult/FiveStarTotalPlayerResult.cs | dingxing123/fivestar | af0775d79deb47ba7841e4245a2feb7648ebb826 | [
"MIT"
] | 2 | 2020-08-28T06:14:09.000Z | 2020-09-07T01:46:00.000Z | Server/Model/GameGather/CardFiveStar/FiveStarTotalPlayerResult/FiveStarTotalPlayerResult.cs | dingxing123/fivestar | af0775d79deb47ba7841e4245a2feb7648ebb826 | [
"MIT"
] | 72 | 2019-07-28T07:25:27.000Z | 2022-03-16T02:35:39.000Z | using System;
using System.Collections.Generic;
using System.Text;
using ETModel;
namespace ETHotfix
{
public partial class FiveStarTotalPlayerResult : Entity
{
public override void Dispose()
{
base.Dispose();
SeatIndex = 0;
HuPaiCount = 0;
ZiMoC... | 19.909091 | 59 | 0.545662 |
3ef8fc103989943e68971521b5fd2d3c6384cdb3 | 3,621 | cs | C# | C#OOP/01. Abstraction/CarsSalesman/ProgramEngine.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | C#OOP/01. Abstraction/CarsSalesman/ProgramEngine.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | C#OOP/01. Abstraction/CarsSalesman/ProgramEngine.cs | DIMITRINALU/SoftUni-Projects | 773095ead5bc7b65149b6573dc12925142a3fee9 | [
"MIT"
] | null | null | null | namespace CarsSalesman
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ProgramEngine
{
private readonly List<Car> cars;
private readonly List<Engine> engines;
public ProgramEngine()
{
this.cars = new List<Car>();
... | 30.686441 | 85 | 0.413698 |
4139739ab7c5b37f99252f54788e61b8d1e511f8 | 779 | cs | C# | PerfectSound/PerfectSound/Controllers/PodcastSeasonEpisodeController.cs | AnisaSuljic/Unit-tests | 0a502d84da924ad7b0c9b6b125b82e554ea5b6f5 | [
"MIT"
] | 1 | 2021-11-10T12:00:26.000Z | 2021-11-10T12:00:26.000Z | PerfectSound/PerfectSound/Controllers/PodcastSeasonEpisodeController.cs | AnisaSuljic/Unit-tests | 0a502d84da924ad7b0c9b6b125b82e554ea5b6f5 | [
"MIT"
] | null | null | null | PerfectSound/PerfectSound/Controllers/PodcastSeasonEpisodeController.cs | AnisaSuljic/Unit-tests | 0a502d84da924ad7b0c9b6b125b82e554ea5b6f5 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Mvc;
using PerfectSound.Interfaces;
using PerfectSound.Model.Model;
using PerfectSound.Model.Requests.PodcastSeasonEpisode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PerfectSound.Controllers
{
public class PodcastSeasonEpi... | 38.95 | 210 | 0.77792 |
fc3ca0962b06c18e1b3cfa4931f2f58e1e5ad2ca | 4,649 | cs | C# | YouGe.Core.Services/Sys/SysLoginService.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | null | null | null | YouGe.Core.Services/Sys/SysLoginService.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | null | null | null | YouGe.Core.Services/Sys/SysLoginService.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | 1 | 2021-06-21T12:48:15.000Z | 2021-06-21T12:48:15.000Z | using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading.Tasks;
using YouGe.Core.Common.Helper;
using YouGe.Core.Common.SystemConst;
using YouGe.Core.Common.YouGeException;
using YouGe.Core.Commons;
using YouGe.Core.Commons.Helper;
using YouGe.Core.DBEntitys.Sys;
usi... | 36.320313 | 184 | 0.550656 |
fc6d225be3a270d498e9650c4b85438a9fb3c1fa | 513 | csx | C# | src/Email/MailKit/run.csx | cesarrrguez/CSharpScripts | cff1a4971f1ad27f66ea9954d4ec521b51e86363 | [
"MIT"
] | 4 | 2021-03-25T22:30:01.000Z | 2021-05-07T09:30:37.000Z | src/Email/MailKit/run.csx | cesarrrguez/CSharpScripts | cff1a4971f1ad27f66ea9954d4ec521b51e86363 | [
"MIT"
] | null | null | null | src/Email/MailKit/run.csx | cesarrrguez/CSharpScripts | cff1a4971f1ad27f66ea9954d4ec521b51e86363 | [
"MIT"
] | 1 | 2021-08-28T03:28:38.000Z | 2021-08-28T03:28:38.000Z | #load "services.csx"
#r "nuget: MailKit, 2.13.0"
var mailService = new MailService();
mailService.SendMessage("James", "james@gmail.com", "César", "cesar.rrguez@gmail.com",
"Test email subject", "<p>Test email <strong>body</strong></p>");
WriteLine("POP 3:");
var messages = mailService.GetMe... | 30.176471 | 89 | 0.692008 |
1fc11c5e1d7ffc493753a8432727fd0bf2dc900c | 917 | cs | C# | samples/web/Identity/Liuliu.Demo.Core/Identity/Dtos/ChangePasswordDto.cs | ArcherTrister/ESoftor | 8826524b9f167de02e263c63ae1c846235847cf3 | [
"Apache-2.0"
] | null | null | null | samples/web/Identity/Liuliu.Demo.Core/Identity/Dtos/ChangePasswordDto.cs | ArcherTrister/ESoftor | 8826524b9f167de02e263c63ae1c846235847cf3 | [
"Apache-2.0"
] | null | null | null | samples/web/Identity/Liuliu.Demo.Core/Identity/Dtos/ChangePasswordDto.cs | ArcherTrister/ESoftor | 8826524b9f167de02e263c63ae1c846235847cf3 | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------
// <copyright file="ChangePasswordDto.cs" company="Hybrid开源团队">
// Copyright (c) 2014-2018 Hybrid. All rights reserved.
// </copyright>
// <site>https://www.lxking.cn</site>
// <last-editor>ArcherTrister</last-editor>
// <last-date>20... | 28.65625 | 75 | 0.463468 |
38873a539b060e9ffcc6f1df29bd291d8b6dc690 | 2,652 | cs | C# | Chapter 11/Final/MasteringEFCore.Performance.Final/Infrastructure/Queries/Posts/GetPaginatedPostQuery.cs | PacktPublishing/Mastering-Entity-Framework-Core-2.0 | ffbd2d1fd879df535db2d30c6a90a74fc34800af | [
"MIT"
] | 16 | 2018-01-08T02:32:31.000Z | 2022-01-15T06:33:15.000Z | Chapter 11/Final/MasteringEFCore.Performance.Final/Infrastructure/Queries/Posts/GetPaginatedPostQuery.cs | PacktPublishing/Mastering-Entity-Framework-Core | a015533272679e0a7c238f5dfb09eae00e4f9493 | [
"MIT"
] | 2 | 2018-02-11T00:58:31.000Z | 2020-03-11T14:19:35.000Z | Chapter 11/Final/MasteringEFCore.Performance.Final/Infrastructure/Queries/Posts/GetPaginatedPostQuery.cs | PacktPublishing/Mastering-Entity-Framework-Core | a015533272679e0a7c238f5dfb09eae00e4f9493 | [
"MIT"
] | 15 | 2017-12-13T09:23:07.000Z | 2021-09-25T23:33:07.000Z | using MasteringEFCore.Performance.Final.Core.Queries.Posts;
using MasteringEFCore.Performance.Final.Data;
using MasteringEFCore.Performance.Final.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MasteringEFCore.Perf... | 35.837838 | 106 | 0.531297 |
ad4896315acca10aa5b617c699fe92a2b03bf609 | 855 | cs | C# | Assets/_IMPORTED/Sci-fi Tower/Scripts/SimpleMovement.cs | Tropria/TD0415 | 562a371dc80e7f697027b9e54426fa1a70aab0b5 | [
"MIT"
] | 3 | 2017-10-27T17:10:09.000Z | 2019-07-11T08:18:02.000Z | Assets/_IMPORTED/Sci-fi Tower/Scripts/SimpleMovement.cs | Tropria/TD0415 | 562a371dc80e7f697027b9e54426fa1a70aab0b5 | [
"MIT"
] | null | null | null | Assets/_IMPORTED/Sci-fi Tower/Scripts/SimpleMovement.cs | Tropria/TD0415 | 562a371dc80e7f697027b9e54426fa1a70aab0b5 | [
"MIT"
] | 2 | 2017-10-11T08:38:55.000Z | 2021-09-13T11:53:00.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleMovement : MonoBehaviour {
public float moveSpeed;
public float rotationSpeed;
private Transform transf;
// Use this for initialization
void Start ()
{
transf = transform;
}
// Update is called once per fra... | 21.375 | 78 | 0.695906 |
87502acac1e5cc5d33976d55bd05162e80fdc554 | 793 | cs | C# | Crusher2/Crusher2/Strike2/Compare/CompareGenericParameter.cs | Drawaes/dotnetXperiments | 09a9aaae2a5d4e643aba97880ae90832af3c7bee | [
"MIT"
] | null | null | null | Crusher2/Crusher2/Strike2/Compare/CompareGenericParameter.cs | Drawaes/dotnetXperiments | 09a9aaae2a5d4e643aba97880ae90832af3c7bee | [
"MIT"
] | null | null | null | Crusher2/Crusher2/Strike2/Compare/CompareGenericParameter.cs | Drawaes/dotnetXperiments | 09a9aaae2a5d4e643aba97880ae90832af3c7bee | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using Mono.Cecil;
namespace Crusher2.Strike2.Compare
{
public class CompareGenericParameter : IEqualityComparer<GenericParameter>
{
private ModuleRebuilder _builder;
public CompareGenericParameter(ModuleRebuilder bu... | 26.433333 | 87 | 0.607818 |
e25628f2023685920711fec67234df7f244c1f09 | 2,414 | cs | C# | src/LiberisLabs.DogStatsD.Interceptors/DogStatsdWrapper.cs | LiberisLabs/DogStatsD.Interceptors | df2a0272b6d2616ced616ac5d9b135e71d792674 | [
"MIT"
] | 2 | 2015-12-23T16:16:10.000Z | 2019-08-16T11:43:33.000Z | src/LiberisLabs.DogStatsD.Interceptors/DogStatsdWrapper.cs | LiberisLabs/DogStatsD.Interceptors | df2a0272b6d2616ced616ac5d9b135e71d792674 | [
"MIT"
] | 1 | 2015-12-22T12:37:21.000Z | 2015-12-22T12:59:25.000Z | src/LiberisLabs.DogStatsD.Interceptors/DogStatsdWrapper.cs | LiberisLabs/DogStatsD.Interceptors | df2a0272b6d2616ced616ac5d9b135e71d792674 | [
"MIT"
] | null | null | null | using System;
using StatsdClient;
namespace LiberisLabs.DogStatsD.Interceptors
{
public class DogStatsDWrapper : IDogStatsD
{
public void Counter<T>(string statName, T value, double sampleRate = 1, string[] tags = null)
{
DogStatsd.Counter(statName, value, sampleRate, tags);
... | 37.138462 | 133 | 0.614333 |
3e2bbd08e917c08b81a290c183b80918ffc96653 | 3,609 | cs | C# | Simple.Smart.Chat.App/Infrastructure/Bot/BotCommunicationService.cs | carlos0202/simple-smart-chat | b3ff555dcd241b5ecd43f2ab1213fb61686cc19e | [
"MIT"
] | null | null | null | Simple.Smart.Chat.App/Infrastructure/Bot/BotCommunicationService.cs | carlos0202/simple-smart-chat | b3ff555dcd241b5ecd43f2ab1213fb61686cc19e | [
"MIT"
] | null | null | null | Simple.Smart.Chat.App/Infrastructure/Bot/BotCommunicationService.cs | carlos0202/simple-smart-chat | b3ff555dcd241b5ecd43f2ab1213fb61686cc19e | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Configuration;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Simple.Smart.Chat.App.Helpers;
using Simple.Smart.Chat.App.Infrastructure.Hubs;
using Simple.Smart.Chat.App.Models;
using System;
using System.Collections.Generic;
using System.Linq;... | 37.59375 | 120 | 0.598227 |
3e9f513f19e7cd037edc601f4809a181a4856045 | 3,581 | cs | C# | NPOI.SS.Formula.Functions/Subtotal.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | 1 | 2020-11-18T06:28:07.000Z | 2020-11-18T06:28:07.000Z | NPOI.SS.Formula.Functions/Subtotal.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | NPOI.SS.Formula.Functions/Subtotal.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | using NPOI.SS.Formula.Eval;
using System;
namespace NPOI.SS.Formula.Functions
{
/// Implementation for the Excel function SUBTOTAL<p>
///
/// <b>Syntax :</b> <br />
/// SUBTOTAL ( <b>functionCode</b>, <b>ref1</b>, ref2 ... ) <br />
/// <table border="1" cellpadding="1" cellspacing="0" summary="Parameter descr... | 34.104762 | 133 | 0.640882 |
20e0c4afbbe0a8ebd913a85e18205f11a8a7b884 | 759 | cs | C# | Models/FunctionManage.cs | Eastsai/DemoWeb | 13e911f70d7fbd3c9698b5003250c5fc4f4d3017 | [
"MIT"
] | null | null | null | Models/FunctionManage.cs | Eastsai/DemoWeb | 13e911f70d7fbd3c9698b5003250c5fc4f4d3017 | [
"MIT"
] | null | null | null | Models/FunctionManage.cs | Eastsai/DemoWeb | 13e911f70d7fbd3c9698b5003250c5fc4f4d3017 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using DemoWebDAO.DataModel;
namespace DemoWeb.Models
{
public class FunctionManage
{
[Display(Name = "功能")]
public Func Function { get; set; ... | 23.71875 | 59 | 0.616601 |
96e5bc8a5ec4a6cb54a3ef04a0e305c60b888640 | 4,401 | cs | C# | ITNight/5_Optimized/UlongCronExpressionBase.cs | enyim/ITNight2019Oct | 7bc4b0f6c23ec65a43daf303c8072feea5d91226 | [
"Apache-2.0"
] | null | null | null | ITNight/5_Optimized/UlongCronExpressionBase.cs | enyim/ITNight2019Oct | 7bc4b0f6c23ec65a43daf303c8072feea5d91226 | [
"Apache-2.0"
] | null | null | null | ITNight/5_Optimized/UlongCronExpressionBase.cs | enyim/ITNight2019Oct | 7bc4b0f6c23ec65a43daf303c8072feea5d91226 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// ulong + cached .TrailingZeroCount()
namespace ITNight.Optimized
{
// uses x64 intrinsics
public abstract class UlongCronExpressionBase
{
public static readonly Descriptor MinuteDescriptor = new Descriptor(0, 59);
public s... | 22.569231 | 97 | 0.663486 |
8c0abf3080b0bd615654cf7c83afddae800a6e9e | 414 | cs | C# | DirectN/DirectN/Generated/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs | riQQ/DirectN | 9f9ec790c317448b0f5ddfeea423959d8227ee1d | [
"MIT"
] | 1 | 2019-11-30T20:41:08.000Z | 2019-11-30T20:41:08.000Z | DirectN/DirectN/Generated/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs | bbday/DirectN | 5db37386f44078ffa082c6499a29361a50ea11a5 | [
"MIT"
] | null | null | null | DirectN/DirectN/Generated/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs | bbday/DirectN | 5db37386f44078ffa082c6499a29361a50ea11a5 | [
"MIT"
] | null | null | null | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11_3.h(1619,9)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D11_UNORDERED_ACCESS_VIEW_DESC1
{
public DXGI_FORMAT Format;
public D3D11_UAV_DIMENSIO... | 29.571429 | 84 | 0.751208 |
a9f82f3db4b93cd1989e8ddfa51e1bae800e8414 | 586 | cs | C# | src/In.ProjectEKA.HipService/UserAuth/Model/Demographics.cs | BahmniIndiaDistro/hip-service | f514ebae8306aedc3957f647263733b9a1777ce4 | [
"MIT"
] | 1 | 2020-07-07T02:06:45.000Z | 2020-07-07T02:06:45.000Z | src/In.ProjectEKA.HipService/UserAuth/Model/Demographics.cs | BahmniIndiaDistro/hip-service | f514ebae8306aedc3957f647263733b9a1777ce4 | [
"MIT"
] | 74 | 2020-07-19T11:13:13.000Z | 2021-11-23T13:03:27.000Z | src/In.ProjectEKA.HipService/UserAuth/Model/Demographics.cs | BahmniIndiaDistro/hip-service | f514ebae8306aedc3957f647263733b9a1777ce4 | [
"MIT"
] | 4 | 2020-07-10T04:01:01.000Z | 2020-09-02T04:59:41.000Z | using System.Collections.Generic;
using Hl7.Fhir.Model;
namespace In.ProjectEKA.HipService.UserAuth.Model
{
public class Demographics
{
public string name { get; }
public string gender { get; }
public string dateOfBirth { get; }
public Identifier identifer { get; }
... | 26.636364 | 97 | 0.612628 |
e7c6d801df68db3b688044ecf28742f706aa3010 | 8,211 | cs | C# | src/System.Numerics.Dec64/System/Numerics/Dec64.Operators.cs | wjk/dotnet-corefxlab | 5ca2389be06d9ef87a7bf005f249309a822bf249 | [
"MIT"
] | null | null | null | src/System.Numerics.Dec64/System/Numerics/Dec64.Operators.cs | wjk/dotnet-corefxlab | 5ca2389be06d9ef87a7bf005f249309a822bf249 | [
"MIT"
] | null | null | null | src/System.Numerics.Dec64/System/Numerics/Dec64.Operators.cs | wjk/dotnet-corefxlab | 5ca2389be06d9ef87a7bf005f249309a822bf249 | [
"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.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Numerics
{
public partial struct Dec64 : IComparable, IFo... | 23.8 | 102 | 0.524784 |
f1cc7f7d98696c35050ad7712ac17ce702bc3ebb | 4,041 | cs | C# | src/FinancialCalculator/Api/Controllers/CreditController.cs | svetlimladenov/FinancialCalculator | d4f078aa6e4f139f475b2bc3dc5dffae49abdb07 | [
"MIT"
] | 2 | 2022-02-20T13:03:20.000Z | 2022-02-20T13:03:21.000Z | src/FinancialCalculator/Api/Controllers/CreditController.cs | svetlimladenov/FinancialCalculator | d4f078aa6e4f139f475b2bc3dc5dffae49abdb07 | [
"MIT"
] | null | null | null | src/FinancialCalculator/Api/Controllers/CreditController.cs | svetlimladenov/FinancialCalculator | d4f078aa6e4f139f475b2bc3dc5dffae49abdb07 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Api.Models;
using AutoMapper;
using Contracts;
using Infrastucture;
using MassTransit;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Api.Controllers
{
[ApiController]
[Route("... | 37.766355 | 165 | 0.642663 |
4ecc08dec32d66bb807920dcdf8d5c9f74392e95 | 2,018 | cs | C# | src/Examples/JsonApiDotNetCoreExample/Definitions/PassportHooksDefinition.cs | farturi/JsonApiDotNetCore | 3ee6e88ac8722762ab5ff270af9c15332b380179 | [
"MIT"
] | null | null | null | src/Examples/JsonApiDotNetCoreExample/Definitions/PassportHooksDefinition.cs | farturi/JsonApiDotNetCore | 3ee6e88ac8722762ab5ff270af9c15332b380179 | [
"MIT"
] | null | null | null | src/Examples/JsonApiDotNetCoreExample/Definitions/PassportHooksDefinition.cs | farturi/JsonApiDotNetCore | 3ee6e88ac8722762ab5ff270af9c15332b380179 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using System.Net;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Errors;
using JsonApiDotNetCore.Hooks.Internal.Execution;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Serialization.Objects;
using JsonApiDotNetCoreExample.Models;
namesp... | 36.690909 | 148 | 0.645689 |
78484d32af26d0109173f3aa84cdf7699d778d7a | 875 | cs | C# | src/projects/cms/Borg.Cms.Basic.Lib/Features/Auth/Register/RegistrationRequest.cs | mitsbits/NoBorg | a476cc87ca37a1dc37575ab4b0d8c346bf0dc5d7 | [
"MIT"
] | 1 | 2019-07-22T10:06:38.000Z | 2019-07-22T10:06:38.000Z | src/projects/cms/Borg.Cms.Basic.Lib/Features/Auth/Register/RegistrationRequest.cs | mitsbits/NoBorg | a476cc87ca37a1dc37575ab4b0d8c346bf0dc5d7 | [
"MIT"
] | null | null | null | src/projects/cms/Borg.Cms.Basic.Lib/Features/Auth/Register/RegistrationRequest.cs | mitsbits/NoBorg | a476cc87ca37a1dc37575ab4b0d8c346bf0dc5d7 | [
"MIT"
] | null | null | null | using Borg.Infra.DDD;
using Borg.Infra.DDD.Contracts;
using Borg.Infra.Services;
using Newtonsoft.Json;
using System;
namespace Borg.Cms.Basic.Lib.Features.Auth.Register
{
public class RegistrationRequest : IHasCompositeKey<string>
{
[JsonProperty(PropertyName = "id")]
public string Id
... | 29.166667 | 128 | 0.641143 |
74d4673aad699c3b92d26b332bded7ecbeee5324 | 3,289 | cs | C# | test/Scripts.Integration.Test/SentrySetup.cs | foriequal0/sentry-unity | 8e4a22cbef0a56ecac3cd3518efd918f8bf04fdc | [
"MIT"
] | 1 | 2018-07-03T18:18:29.000Z | 2018-07-03T18:18:29.000Z | test/Scripts.Integration.Test/SentrySetup.cs | getsentry/sentry-dotnet-unity | a7c12357afb44340d7d5ded36b62a254bc31d4eb | [
"MIT"
] | null | null | null | test/Scripts.Integration.Test/SentrySetup.cs | getsentry/sentry-dotnet-unity | a7c12357afb44340d7d5ded36b62a254bc31d4eb | [
"MIT"
] | null | null | null | using UnityEditor;
using UnityEditor.PackageManager.Requests;
using UnityEditor.PackageManager;
using UnityEngine;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
public class SentrySetup
{
enum SentryInstallOrigin
{
None,
... | 32.245098 | 135 | 0.587109 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.