content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System.Linq;
using System.Collections.Generic;
using Lol.Foundation.Mvvm;
using Lol.Database.Controller;
using Lol.Database.Entites.Schema;
namespace Lol.Loot.Local.ViewModels
{
public class LootViewModel : ObservableObject
{
#region Variables
private List<Loots> _menus;
private... | 23.122642 | 86 | 0.545492 | [
"MIT"
] | devncore-james/wpf-leagueoflegends | src/Lol.Loot/Local/ViewModels/LootViewModel.cs | 2,453 | C# |
using System;
namespace Backup_Practice
{
public class DoesnotContainOnlyLettersException : ApplicationException
{
private string _message;
public DoesnotContainOnlyLettersException()
{
_message = "Word doesn't contain only letters.";
}
public D... | 26.291667 | 75 | 0.594295 | [
"MIT"
] | Limitless-Rasul-Power/Transfer-Data | Backup Practice/DoesnotContainOnlyLettersException.cs | 633 | C# |
using DatingApp.API.Models;
using Microsoft.EntityFrameworkCore;
namespace DatingApp.API.Data
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options): base(options){}
public DbSet<Value> Values { get; set; }
public DbSet<User> Users { get; set;... | 34.333333 | 82 | 0.545076 | [
"MIT"
] | Fractal-Technology/dateNow | DateNow.API/DatingApp.API/Data/DataContext.cs | 1,442 | C# |
using Microsoft.AspNetCore.Mvc;
using NHibernate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TrnNHibernate.Api.Core.Requests;
using TrnNHibernate.Entidades;
namespace TrnNHibernate.Api.Controllers
{
[Route("produto")]
public class ProductController :... | 31.055556 | 128 | 0.635659 | [
"MIT"
] | FelipeCabralz/trn-nhibernate | src/TrnNHibernate/TrnNHibernate.Api/Controllers/ProductController.cs | 1,679 | C# |
using System;
namespace LivestreamBot.Livestream.Events
{
public static class LivestreamEventExtensions
{
public static (TimeSpan untilNext, bool isOngoing) GetLivestreamEventInfo(this LivestreamEvent @event, DateTime dateTime)
{
var nextStart = @event.GetNext(dateTime);
... | 30.117647 | 130 | 0.612305 | [
"MIT"
] | SamuelKupferschmid/livestream-bot | src/LivestreamBot/LivestreamBot.Livestream/Events/LivestreamEventExtensions.cs | 1,026 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Comments;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.PostgreSql.Comments;
using... | 46.187726 | 207 | 0.677192 | [
"MIT"
] | sjp/Schematic | src/SJP.Schematic.PostgreSql.Tests/Integration/Comments/PostgreSqlQueryViewCommentProviderTests.cs | 12,796 | C# |
namespace Examples
{
// https://stackoverflow.com/questions/521146/c-sharp-split-string-but-keep-split-chars-separators
class SvgViewBoxSplitting
{
// Float validator regex: http://regexstorm.net/tester
// [\+\-]?\s*[0-9]*(?:\.[0-9]*)
public static string[] SplitAndKeepSeparat... | 32.228395 | 133 | 0.459395 | [
"MIT"
] | ststeiger/PdfSharpNetStandard | Examples/_SvgViewBoxSplitting.cs | 10,444 | C# |
using System.Net;
using System.Threading.Tasks;
using Aspose.Slides.Web.UI.Services;
using Microsoft.AspNetCore.Mvc;
namespace Aspose.Slides.Web.UI.Controllers
{
public class SlidesController : Controller
{
public SlidesController(ISlidesViewModelFactory slidesViewModelFactory, IEditorService editorService)
{
... | 24.815166 | 103 | 0.737586 | [
"MIT"
] | aspose-slides/Aspose.Slides-for-.NET | Demos/Aspose.Slides.Web/UI/Controllers/SlidesController.cs | 5,236 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 32.050847 | 115 | 0.639873 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/TimestreamQuery/Generated/Model/DescribeEndpointsResponse.cs | 1,891 | C# |
using System;
using Umbraco.Core;
using Umbraco.Core.Dynamics;
using Umbraco.Core.Models.PublishedContent;
namespace Macaw.Umbraco.Foundation.Infrastructure.Converters
{
public class ContentPicker : BaseConverter, IConverter
{
public override bool IsConverter(PublishedPropertyType propertyType)
{
r... | 26.825 | 109 | 0.66356 | [
"MIT"
] | MacawNL/Macaw.Umbraco.Foundation | Macaw.Umbraco.Foundation/Infrastructure/Converters/ContentPicker.cs | 1,075 | C# |
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class LatestJobs_ascx:UserControl
{
protected void P... | 19.947368 | 57 | 0.738786 | [
"MIT"
] | stevenfollis/techorama-be-2019 | windows/demos/app/Jobs/Jobs/UserControls/LatestJobs.ascx.cs | 379 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Windows.Input;
namespace Microsoft.Toolkit.Mvvm.Input
{
/// <summary>
/// An interface expandi... | 34.6 | 85 | 0.676301 | [
"MIT"
] | ArchieCoder/WindowsCommunityToolkit | Microsoft.Toolkit.Mvvm/Input/Interfaces/IRelayCommand.cs | 692 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Insights.Models
{
/// <summary> Represents a collection of alert rule resources. </summary>
... | 32 | 91 | 0.681818 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/insights/Azure.ResourceManager.Insights/src/Generated/Models/MetricAlertStatusCollection.cs | 1,056 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using eCommerceStarterCode.Data;
using eCommerceStarterCode.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
// this controll... | 32.188119 | 141 | 0.622885 | [
"MIT"
] | MadisonLifeAgent/MyProScoutBackEndRepo | eCommerceStarterCode/Controllers/ScoutOrganizationJoinController.cs | 3,253 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 38.07767 | 153 | 0.585161 | [
"MIT"
] | andrueastman/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/WorkbookTablesCollectionRequestBuilder.cs | 3,922 | C# |
// This source code was generated by regenerator"
using System;
using System.Runtime.InteropServices;
namespace ShrimpDX {
public enum D3D12_RESOURCE_BARRIER_TYPE // 1
{
_TRANSITION = 0x0,
_ALIASING = 0x1,
_UAV = 0x2,
}
}
| 20.846154 | 50 | 0.630996 | [
"MIT"
] | ousttrue/ComPtrCS | ShrimpDX/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs | 271 | C# |
using MachineLearning.Core.Logger;
using MachineLearning.DataLayer;
using System;
namespace MachineLearning.Sandbox
{
class Program
{
static readonly Logger Logger = new Logger();
static readonly FromCsvTableProvider CsvProvider = new FromCsvTableProvider();
static readonly JsonProvider JsonProvider = new Jso... | 22.842105 | 80 | 0.764977 | [
"MIT"
] | JillyMan/MachineLerningFramework | MachineLearning.Sandbox/Program.cs | 436 | C# |
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;
using FarmSystem.Plantação;
using Microsoft.Reporting.WinForms;
namespace FarmSystem
{
public partia... | 30.12 | 153 | 0.648074 | [
"MIT"
] | Williampaz/FarmSystem | Relatorios/frmRelAcoes.cs | 1,515 | C# |
using System;
using System.Collections;
using Optional;
namespace AlphaDev.Optional.Extensions
{
public static class ObjectExtensions
{
public static Option<T> SomeWhenNotNull<T>(this T? target) where T : class => target.SomeNotNull()!;
public static Option<T, TException> SomeWhenNotNull<T, T... | 38.538462 | 108 | 0.674651 | [
"Unlicense"
] | OlegKleyman/AlphaDev.Optional | core/AlphaDev.Optional.Extensions/ObjectExtensions.cs | 1,004 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | 35.824176 | 192 | 0.66411 | [
"MIT"
] | belav/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/TraceWriter.cs | 3,262 | C# |
// <auto-generated />
using IdentityMicroservice.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.... | 33.444934 | 95 | 0.480769 | [
"MIT"
] | aacostamx/ASP.NETIdentityWithIdentityServer4Sample | IdentityMicroservice/Data/Migrations/ApplicationDbContextModelSnapshot.cs | 7,594 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Application.DTOs
{
public class BanResponce
{
[Required]
[EmailAddress]
public string Email { get; set; }
}
}
| 17.933333 | 44 | 0.684015 | [
"MIT"
] | Devsquares/AdlerZentrum-BackEnd | Application/DTOs/AccountDTO/BanResponce.cs | 269 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 59.036 | 257 | 0.697337 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/DeviceManagementExchangeOnPremisesPolicyRequest.cs | 14,759 | C# |
namespace TramsDataApi.ResponseModels.ApplyToBecome
{
public class A2BSchoolLoanResponse
{
public string SchoolLoanId {get; set;}
public decimal? SchoolLoanAmount {get; set;}
public string SchoolLoanPurpose {get; set;}
public string SchoolLoanProvider {get; set;}
public s... | 35.083333 | 56 | 0.693587 | [
"MIT"
] | DFE-Digital/trams-data-api | TramsDataApi/ResponseModels/ApplyToBecome/A2BSchoolLoanResponse.cs | 421 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace FazelMan.Collections.Extensions
{
/// <summary>
/// Extension methods for <see cref="IEnumerable{T}"/>.
/// </summary>
public static class EnumerableExtensions
{
/// <summary>
/// Concatenates the mem... | 51.818182 | 179 | 0.641228 | [
"MIT"
] | FazelMan/Core | FazelMan/Collections/Extensions/EnumerableExtensions.cs | 3,422 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PierresBakery;
namespace PierresBakeryTests
{
[TestClass]
public class BreadTests
{
[TestMethod]
public void BreadConstructor_CreateInstanceOfBread_Bread()
{
Bread newBread = new Bread(5);
Assert.AreEqual(typeof(Bread), newBread.GetType());
}
... | 20.212121 | 73 | 0.714143 | [
"MIT"
] | ChrisRamer/Test-Driven-Developement-with-C | PierresBakery.Solution/PierresBakeryTests/ModelsTests/BreadTests.cs | 2,001 | C# |
using Abp.Authorization;
using ABP.WebApi.Authorization;
using Microsoft.AspNetCore.JsonPatch.Operations;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
name... | 36.44898 | 109 | 0.608623 | [
"MIT"
] | gnsilence/AntdPro-Vue-id4 | ABP.WebApi/后端/src/ABP.WebApi.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | 1,788 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 26.633333 | 63 | 0.742178 | [
"MIT"
] | LiDmYr/LDY.UIP.Class.EarthCalculator | LDY.Lesson8.EarthCalculator.UI.WPF/MainWindow.xaml.cs | 801 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "BRMA14_1H",
"name": [
"全能金刚防御系统",
"Omnotron Defense System"
],
"text": [
null,
null
],
"CardClass": "NEUTRAL",
"type": "HERO",
"cost": null,
"rarity": null,
"set": "BRM",
"collectible": null,
"dbfId": 2468
}
_END_TEMPLATE_ */
namespace HREngine.Bots... | 13.357143 | 37 | 0.55615 | [
"MIT"
] | chi-rei-den/Silverfish | cards/BRM/BRMA14/Sim_BRMA14_1H.cs | 390 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using FakeStorage;
us... | 44.885671 | 233 | 0.65298 | [
"MIT"
] | Nasicus/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.FunctionalTests/Singleton/SingletonManagerTests.cs | 29,447 | C# |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Net;
using System.Threading;
using System.Threading.T... | 42.817308 | 162 | 0.61554 | [
"MIT"
] | SnehaGunda/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/src/Resource/QueryResponses/ChangeFeedPartitionKeyResultSetIteratorCore.cs | 4,453 | C# |
using System;
using Xunit.Internal;
using Xunit.v3;
namespace Xunit.Runner.Common
{
/// <summary>
/// Logs diagnostic messages to the system console.
/// </summary>
public class ConsoleDiagnosticMessageSink : _IMessageSink
{
readonly string? assemblyDisplayName;
readonly object consoleLock;
readonly Consol... | 33.804124 | 99 | 0.732235 | [
"Apache-2.0"
] | PKRoma/xunit | src/xunit.v3.runner.common/Sinks/ConsoleDiagnosticMessageSink.cs | 3,281 | C# |
/*
Copyright (C) 2011 Mark P Owen
This file is part of XLW, a free-software/open-source C++ wrapper of the
Excel C API - http://xlw.sourceforge.net/
XLW is free software: you can redistribute it and/or modify it under the
terms of the XLW license. You should have received a copy of the
license along with this... | 30.6 | 78 | 0.756863 | [
"MIT"
] | red2901/sandbox | xlw/xlw-5.0.2f0/xlwDotNet/Examples/ReflectionFactory/common_source/ReflectionFactory/RegisterConstructorAttribute.cs | 767 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using BalancedCollections.RedBlackTree;
namespace BalancedCollections.Tests.RedBlackTree
{
[TestFixture]
[Parallelizable(ParallelScope.All)]
public class KeyCollectionTests
{
[Test]
public void Ca... | 23.641509 | 105 | 0.570032 | [
"MIT"
] | seanofw/balanced-collections | BalancedCollections.Tests/RedBlackTree/KeyCollectionTests.cs | 5,012 | C# |
using System;
namespace EOLib.Net
{
public class NoDataSentException : Exception
{
public NoDataSentException()
: base("No data was sent to the server.") { }
}
}
| 17.818182 | 57 | 0.612245 | [
"MIT"
] | Septharoth/EndlessClient | EOLib/Net/NoDataSentException.cs | 198 | C# |
namespace Heizung.ServerDotNet.Migrations
{
using FluentMigrator;
/// <summary>
/// Fügt der Tabelle ErrorList ein Autoincrement auf Id hinzu
/// </summary>
[Migration(3, "Fügt der Tabelle ErrorList ein Autoincrement auf Id hinzu.")]
public class _0003_ErrorTableAutoincrement : Migration
{
... | 32.382353 | 149 | 0.623978 | [
"MIT"
] | Orangenkuchen/Heizung.ServerDotNet | Migrations/0003_ErrorTableAutoincrement.cs | 1,104 | C# |
using System;
namespace TypeScriptCompileOnSave
{
public class Constants
{
public const int CompileTimeout = 10; // seconds
public const string ConfigFileName = "tsconfig.json";
public static string TscLocation = Environment.ExpandEnvironmentVariables(@"%programfiles(x86)%\Microsoft SD... | 24.864865 | 133 | 0.567391 | [
"Apache-2.0"
] | interoptech/TypeScriptCompileOnSave | src/Constants.cs | 922 | C# |
using System;
using XamarinEvolve.DataObjects;
using XamarinEvolve.DataStore.Abstractions;
namespace XamarinEvolve.DataStore.Azure
{
public class EventStore : BaseStore<FeaturedEvent>, IEventStore
{
public override string Identifier => "FeaturedEvent";
public EventStore()
{
... | 20.058824 | 67 | 0.668622 | [
"MIT"
] | chhari/XamarinNewMemeApp | src/XamarinEvolve.DataStore.Azure/Stores/EventStore.cs | 343 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovingObstacleReaction : MonoBehaviour {
public float Speed;
public Transform distanceToPlayer;
Player player;
public bool b=false;
void Start()
{
this.player = GameObject.Find("Player"... | 21.264151 | 111 | 0.561668 | [
"MIT"
] | ardasatata/RushArea-DynamicLight | Assets/Scripts/ObstacleScripts/MovingObstacleReaction.cs | 1,129 | C# |
namespace SFA.Apprenticeships.Infrastructure.VacancyIndexer.Mappers
{
using Application.Vacancies.Entities;
using Common.Mappers;
using Elastic.Common.Entities;
public class VacancyIndexerMapper : MapperEngine
{
public override void Initialise()
{
Mapper.CreateMap<Appre... | 56.851852 | 135 | 0.633225 | [
"MIT"
] | BugsUK/FindApprenticeship | src/SFA.Apprenticeships.Infrastructure.VacancyIndexer/Mappers/VacancyIndexerMapper.cs | 1,537 | C# |
namespace EateryPOSSystem.Models.Storekeeper
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using EateryPOSSystem.Services.Models;
using static Data.DataConstants;
public class AddProviderFormModel
{
[Required]
[StringLength(ProviderNameMaxLengt... | 27.5 | 84 | 0.675524 | [
"MIT"
] | ismailsirakov/ASP.NET-Core-Project-Eatery-POS-System | EateryPOSSystem/Models/Storekeeper/AddProviderFormModel.cs | 715 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Linq;
namespace Gyomu.Access
{
public class MarketDateAccess
{
public enum SupportMarket
{
[Description("JP")]
Japan
}
private str... | 41.101266 | 171 | 0.517503 | [
"MIT"
] | Yoshihisa-Matsumoto/Gyomu | Gyomu/Access/MarketDateAccess.cs | 9,743 | C# |
using System;
using Newtonsoft.Json;
namespace Nindo.Net.Models
{
public class StreamHours
{
[JsonProperty("stop")]
public DateTime Stop { get; set; }
[JsonProperty("start")]
public DateTime Start { get; set; }
}
} | 18.714286 | 43 | 0.599237 | [
"MIT"
] | Stefaaaaaaaaaaan/Nindo.Net | src/Nindo.Net/Models/StreamHours.cs | 264 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 30.130435 | 81 | 0.497835 | [
"MIT"
] | NathanClouseAX/AAXDataEntityPerfTest | Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RetailKitOrderType.cs | 695 | C# |
using AleRoe.HomematicIpApi.Model.Channels;
using AleRoe.HomematicIpApi.Tests;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using AleRoe.HomematicIpApi.Json;
namespace AleRoe.HomematicIpApi.Tests.Json
{
[TestFixture()]
public class DictionaryToListConverterTests
... | 36.8 | 114 | 0.652174 | [
"MIT"
] | AleRoe/HomematicIPApi | AleRoe.HomematicIPApi.Tests/Json/DictionaryToListConverterTests.cs | 1,474 | C# |
namespace SE_training.Server.Controllers
{
public class RatingController : ControllerBase
{
private readonly IRatingRepository _repository;
private readonly ILogger<RatingController> _logger;
public RatingController(ILogger<RatingController> logger, IRatingRepository repository)
... | 31.580645 | 115 | 0.6619 | [
"MIT"
] | nissemand243/Dwarfs_and_Giants | Server/Controllers/RatingController.cs | 979 | C# |
// -----------------------------------------------------------------
// <copyright file="MechanicsConstants.cs" company="2Dudes">
// Copyright (c) | Jose L. Nunez de Caceres et al.
// https://linkedin.com/in/nunezdecaceres
//
// All Rights Reserved.
//
// Licensed under the MIT License. See LICENSE in the project root... | 32.44 | 91 | 0.55857 | [
"MIT"
] | jlnunez89/fibula-mmo | src/Fibula.Mechanics.Contracts/Constants/MechanicsConstants.cs | 813 | C# |
//
string.Format("Foo: {0}", foo);
//
| 9.5 | 31 | 0.5 | [
"MIT"
] | HighSchoolHacking/GLS-Draft | test/integration/StringFormat/one input.cs | 38 | C# |
using AspectCore.Extensions.DependencyInjection;
using AspectCore.Injector;
using Microsoft.Extensions.DependencyInjection;
using System;
using xLiAd.Limiter.Core;
using xLiAd.Limiter.Memory;
using Xunit;
namespace xLiAd.Limiter.Tests
{
public class TestOfMemory
{
private ISampleService Before()
... | 28.271605 | 126 | 0.557205 | [
"Apache-2.0"
] | zl33842901/Limiter | xLiAd.Limiter.Tests/TestOfMemory.cs | 2,290 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 36.82 | 217 | 0.67409 | [
"Apache-2.0"
] | qg0/EliteQuant_Excel | SwigConversionLayer/csharp/GaussKronrodNonAdaptive.cs | 1,841 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Algorithms.Test.Typical
{
public class SearchTest
{
}
}
| 12.333333 | 33 | 0.716216 | [
"Apache-2.0"
] | Library-Starlight/ProgramerCore | Algorithms/Algorithms.Test/Typical/SearchTest.cs | 150 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 38.227273 | 153 | 0.596512 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/ListOperationsCollectionRequestBuilder.cs | 2,523 | C# |
using System.Collections.Generic;
using Intersect.Server.Web.RestApi.Middleware;
using JetBrains.Annotations;
using Microsoft.Owin;
using Owin;
namespace Intersect.Server.Web.RestApi.Authentication.OAuth
{
// ReSharper disable once InconsistentNaming
/// <summary>
///
/// </summary>
public s... | 22.868421 | 90 | 0.629459 | [
"Unlicense"
] | Claytoo/Archisect-Online | Intersect.Server/Web/RestApi/Authentication/OAuth/IAppBuilderExtensions.cs | 871 | C# |
using System;
namespace Parquet.Data
{
/// <summary>
/// Represents a list of items. The list can contain either a normal data field or a complex structure.
/// If you need to get a list of primitive data fields it's more efficient to use arrays.
/// </summary>
public class ListField : Field, IEquatabl... | 27.387097 | 167 | 0.572438 | [
"MIT"
] | corrego/parquet-dotnet | src/Parquet/Data/Schema/ListField.cs | 2,549 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microting.EformMonitoringBase.Migrations
{
public partial class AddDeviceUsers : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
//Setup... | 40.901639 | 92 | 0.554309 | [
"MIT"
] | Gid733/eform-monitoring-base | Microting.EformMonitoringBase/Migrations/20200109133004_AddDeviceUsers.cs | 2,497 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using FluentAssertions;
using Xunit;
namespace Microsoft.Extensions.DependencyModel.Tests
{
public class DependencyContextJsonReaderTest
{
// Same as the default for StreamWri... | 34.901084 | 161 | 0.501456 | [
"MIT"
] | batzen/core-setup | src/test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs | 25,759 | C# |
/*
* Xillio Engine
*
* No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 0.1
* Contact: dev@sphereon.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "Lice... | 50.188748 | 161 | 0.639835 | [
"Apache-2.0"
] | Sphereon-Opensource/xillio-engine-integration | xillio-engine-sdk/csharp-net4/src/Sphereon.SDK.Xillio.Engine/Api/ContentApi.cs | 27,654 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using C1.C1Report;
using C1.Win.C1TrueDBGrid;
using PCSComProcurement.Purchase.BO;
using PCSComUtils.Common;
u... | 45.875264 | 193 | 0.490325 | [
"Apache-2.0"
] | dungle/pcs | MAP2013/PCSProcurement/Purchase/PurchaseOrderReceipts.cs | 151,895 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Bogsi.DatingApp.API.Data.Repositories;
using Bogsi.DatingApp.API.Dtos;
usi... | 32.55102 | 103 | 0.627273 | [
"MIT"
] | simonbogaerts/learn_dotnet_angular | Bogsi.DatingApp/Bogsi.DatingApp.API/Controllers/AuthController.cs | 3,192 | C# |
using System;
using WebAssembly;
namespace WebAssembly.Browser.DOM
{
[Export("HTMLAppletElement", typeof(JSObject))]
public sealed class HTMLAppletElement : HTMLElement, IHTMLAppletElement
{
internal HTMLAppletElement(JSObject handle) : base(handle) { }
//public HTMLAppletElement () { }... | 56.576271 | 121 | 0.618334 | [
"MIT"
] | kjpou1/wasm-dom | WebAssembly.Browser/DOM/HTMLAppletElement.cs | 3,340 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 36.804878 | 153 | 0.605036 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Models/Generated/WindowsDeviceAzureADAccount.cs | 1,509 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 32.509554 | 117 | 0.578566 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/StaleIpPermission.cs | 5,104 | C# |
// 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.
#define coupled
#define gated
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
us... | 42.739714 | 208 | 0.511758 | [
"MIT"
] | 0xflotus/infer | test/Tests/ModelTests.cs | 194,252 | C# |
using DNTProfiler.Common.Models;
using DNTProfiler.Infrastructure.Core;
using DNTProfiler.Infrastructure.Models;
using DNTProfiler.PluginsBase;
namespace DNTProfiler.ContextInMultipleThreads.Core
{
public class CallbacksManager : CallbacksManagerBase
{
public CallbacksManager(ProfilerPluginBase plugin... | 32.363636 | 92 | 0.65824 | [
"Apache-2.0"
] | Mohsenbahrzadeh/DNTProfiler | Plugins/DNTProfiler.ContextInMultipleThreads/Core/CallbacksManager.cs | 1,070 | C# |
var count = 0;
var searchColor = Color.FromName("SlateBlue");
for (var x = 0; x < pictureBox1.Image.Width; x++) {
for (var y = 0; y < pictureBox1.Image.Height; y++) {
Color pixelColor = pictureBox1.Image.GetPixel(x, y);
if (pixelColor == searchColor) count++;
}
}
//https://pt.stackoverflow.com/... | 30.272727 | 60 | 0.630631 | [
"MIT"
] | Everton75/estudo | CSharp/Drawing/PixelCount.cs | 333 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
static Program()
{
T... | 90.372881 | 134 | 0.729839 | [
"MIT"
] | 2m0nd/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/Program.AdvSimd_Part11.cs | 10,664 | C# |
using AzureKit.Data;
using AzureKit.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AzureKit.Tests.Data
{
public class InMemorySiteMapRepository : ISiteMapRepository
{
private SiteMap _map;
public InMemorySiteMapRepository()
{
_map = new Si... | 26.883721 | 84 | 0.607266 | [
"MIT"
] | Azure-Samples/azure-solutions-digital-marketing-reference-implementation | src/AzureKit/AzureKit.Tests/Data/InMemorySiteMapRepository.cs | 1,158 | C# |
/*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* 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
*
* U... | 41.477273 | 155 | 0.70411 | [
"Apache-2.0"
] | santedb/openiz | OpenIZ.Persistence.Data.MSSQL/Services/Persistence/ControlActPersistenceService.cs | 1,827 | C# |
using System;
using System.ComponentModel;
namespace MsSystem.Web.Areas.OA.ViewModel
{
public class OaLeaveDto
{
public int Id { get; set; }
public string LeaveCode { get; set; }
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <... | 21.621622 | 47 | 0.442917 | [
"MIT"
] | SpoonySeedLSP/BPM-ServiceAndWebApps | src/Web/MVC/Controllers/MsSystem.Web.Areas.OA/ViewModel/OaLeaveDto.cs | 2,554 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Ytg.Comm")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyP... | 25.432432 | 56 | 0.710946 | [
"Apache-2.0"
] | heqinghua/lottery-code-qq-814788821- | YtgProject/Ytg.Comm/Properties/AssemblyInfo.cs | 1,300 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace prooram.Application.CategoryMediatr.Queries
{
using MediatR;
using prooram.Application.CategoryMediatr.DTO;
public class GetCategoryQuery : IRequest<EditCategoryDTO>
{
... | 22.611111 | 61 | 0.724816 | [
"Unlicense"
] | ysfbzkrba/prooram | src/Application/CategoryMediatr/Queries/GetCategoryQuery.cs | 409 | C# |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "... | 47.348101 | 177 | 0.527603 | [
"Apache-2.0"
] | Murcho/aws-sdk-net | sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketReplicationRequestMarshaller.cs | 7,483 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Data.Models
{
public class Store
{
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Name { get; set; }
public ICollection<ProductStoreQuantity> Quantities = ne... | 21.352941 | 98 | 0.658402 | [
"MIT"
] | mkpetrov/Balkanton | Data/Models/Store.cs | 365 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 35.291667 | 85 | 0.547816 | [
"MIT"
] | pavelhristov/CSharpDatabases | EntityFramework/DbFirstNorthwind.ConsoleClient/Data/Products_by_Category.cs | 847 | C# |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32RoamingProfileSlowLinkParams : GenericInfrastructureObject
{
public Win32RoamingProfileSlowLinkParams()
{
... | 24.877551 | 128 | 0.515176 | [
"Apache-2.0"
] | simonferquel/simcim | SimCim.Root.V2/ClassWin32RoamingProfileSlowLinkParams.cs | 1,221 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Na... | 37.810811 | 84 | 0.744103 | [
"MIT"
] | contactsamie/nano | src/Nano/Nano.Services/Properties/AssemblyInfo.cs | 1,402 | C# |
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using ACT.UltraScouter.Models.FFLogs;
using FFXIV.Framework.Common;
namespace FFLogsRankingDonwloader
{
public static class Program
{
static Program()
{
Cos... | 29.733333 | 88 | 0.54148 | [
"BSD-3-Clause"
] | nodchip/ACT.Hojoring | source/FFLogsRankingDonwloader/Program.cs | 1,802 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("02... | 38.081081 | 84 | 0.7445 | [
"MIT"
] | martinmihov/Programming-Fundamentals | Dictionaries,Lambda and LINQ/02 Odd Occurrences/Properties/AssemblyInfo.cs | 1,412 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime: 4.0.30319.17929
//
// Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si
// el código se vu... | 40.444444 | 179 | 0.617102 | [
"MIT"
] | m1guelpf/vs-hello-world | C-Hello-World/Properties/Resources.Designer.cs | 2,925 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.Azure.WebJobs.Script.Config;
using Microsoft.Azure.WebJobs.Script.Eventing;
using Microsoft.Azure.WebJobs.Scrip... | 56.875 | 332 | 0.718681 | [
"Apache-2.0",
"MIT"
] | Azure/azure-functions-host | test/WebJobs.Script.Tests/Workers/Http/HttpWorkerProcessTests.cs | 4,552 | C# |
using Chloe;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WaterCloud.Code;
using WaterCloud.Domain.Entity.ProductionManage;
namespace WaterCloud.Service.ProductionManage
{
public class MQDesignChangeDetailsService : DataFilterService<MQD... | 36.526316 | 133 | 0.644813 | [
"MIT"
] | jl632541832/WaterCloudCore | WaterCloud.Service/ProductionManage/MQDesignChangeDetailsService.cs | 1,402 | C# |
namespace Hspi
{
/// <summary>
/// Class for the main program.
/// </summary>
public static class Program
{
/// <summary>
/// The homeseer server address. Defaults to the local computer but can be changed through the command line argument, server=address.
/// </summary>
... | 30.317073 | 142 | 0.502816 | [
"MIT"
] | andrewoke/HSPI_TwilioMessaging | src/Program.cs | 1,245 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace BellumGens.Api.Models
{
public class Application
{
public string Message { get; set; }
public NotificationState State { get; set; }
[DatabaseGenerated(DatabaseGe... | 21.833333 | 55 | 0.768448 | [
"MIT"
] | BellumGens/bellum-gens-api | BellumGens.Api/Models/Application.cs | 395 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace Microsoft.M... | 41.306931 | 175 | 0.619247 | [
"MIT"
] | LocalJoost/MRTK2Tap | Assets/MixedRealityToolkit/Inspectors/Profiles/BaseMixedRealityToolkitConfigurationProfileInspector.cs | 8,348 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace BeatPulse.StatusPageTracker
{
class StatusPageClient
{
private readonly HttpClient _httpClient;
p... | 36.127451 | 272 | 0.637449 | [
"Apache-2.0"
] | BTDevelop/BeatPulse | src/BeatPulse.StatusPageTracker/StatusPageClient.cs | 3,687 | C# |
using System;
using SmartGlass.Common;
namespace SmartGlass
{
internal class TextDelta : ISerializable
{
public uint Offset { get; set; }
public uint DeleteCount { get; set; }
public string InsertContent { get; set; }
public void Deserialize(EndianReader reader)
{
... | 25.851852 | 64 | 0.606017 | [
"MIT"
] | OpenXbox/xbox-smartglass-csharp | SmartGlass/TextDelta.cs | 700 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XCommerce.Servicio.Core._25_Reserva
{
using System.Collections.Generic;
using DTOs;
public interface IReservaServicio
{
long Insertar(ReservaDto dto);
void Mod... | 29.333333 | 71 | 0.725852 | [
"MIT"
] | RamonChauqui/SubeCodigo | XCommerce.Servicio.Core/25-Reserva/IReservaServicio.cs | 706 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("UO... | 38.891892 | 84 | 0.748436 | [
"MIT"
] | KathyGargas/u2-servers-lab | U2-Toolkit/.NET Samples/samples/C#/UniData/UO_UniDataSet/Properties/AssemblyInfo.cs | 1,442 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Magnesium.Crawler.Web
{
/// <summary>
/// 最基础的HTTP异常,所有HTTP异常均继承自该类
/// </summary>
[Serializable]
public class HttpException : Exception
{
public HttpException(... | 32.796296 | 95 | 0.662338 | [
"MIT"
] | KureFM/Magnesium | Magnesium.Crawler/Web/HttpException.cs | 1,837 | C# |
using System;
using Neo.Core;
using Neo.Gui.Base.Data;
using Neo.Gui.Globalization.Resources;
using Xunit;
namespace Neo.Gui.Base.Tests.Data
{
public class TransactionItemTests
{
[Fact]
public void Ctor_WithValidHash_CreateValidTransactionItem()
{
// Arrange
var... | 33.72 | 148 | 0.658363 | [
"MIT"
] | CityOfZion/neo-gui-wpf | Tests/Neo.Gui.Base.Tests/Data/TransactionItemTests.cs | 1,688 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
... | 39.366667 | 137 | 0.700819 | [
"Apache-2.0"
] | andrew-stakiwicz-r3/financial_derivatives_demo | quantlib_swig_bindings/CSharp/csharp/RateHelper.cs | 3,543 | C# |
//
// IMethodSignature.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2011 Jb Evain
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, i... | 30.535211 | 96 | 0.71679 | [
"MIT"
] | AlexAlbala/Alter-Native | Mono.Cecil/Mono.Cecil/IMethodSignature.cs | 2,168 | C# |
// <copyright file="Armors.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Persistence.Initialization.Version075.Items;
using MUnique.OpenMU.AttributeSystem;
using MUnique.OpenMU.DataModel.Attributes... | 55.520134 | 286 | 0.606649 | [
"MIT"
] | ADMTec/OpenMU | src/Persistence/Initialization/Version075/Items/Armors.cs | 16,547 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("MvvmCross.Plugins.PlatformTask")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfi... | 37.777778 | 82 | 0.741176 | [
"MIT"
] | Prin53/MvvmCross.Plugins.PlatformTask | MvvmCross.Plugins.PlatformTask/Properties/AssemblyInfo.cs | 1,022 | C# |
using System;
using UnityEngine;
using DG.Tweening;
using Json;
namespace JTween {
[Serializable]
[SerializeField]
public abstract class JTweenBase {
protected int m_tweenType = 0;
protected JTweenElement m_tweenElement = JTweenElement.None;
protected string m_name = string.Empty;
... | 30.783051 | 116 | 0.457108 | [
"Unlicense"
] | HelloWindows/AccountBook | client/framework/GameFramework-master/JTween/JTween/JTweenBase.cs | 9,303 | C# |
using HarmonyLib;
using Planetbase;
using PlanetbaseModUtilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using UnityEngine;
namespace StorageGuru
{/// <summary>
/// Because of the way this is done, by picking the first module that has free slots and n... | 33.32 | 145 | 0.663265 | [
"MIT"
] | JCoil/PlanetbaseMods | StorageGuru/Patches/ModulePatches.cs | 3,334 | C# |
using UnityEngine;
using UnityEditor;
using MxM;
namespace MxMEditor
{
[CustomEditor(typeof(MxMEventDefinition))]
public class MxMEventDefinitionInspector : Editor
{
private SerializedProperty m_spId;
private SerializedProperty m_spEventName;
private SerializedProperty m_spEventTyp... | 46.825397 | 164 | 0.632458 | [
"MIT"
] | suweitao8/MotionMatchingTutorial | Assets/Plugins/MotionMatching/Code/MxM/Editor/Inspectors/MxMEventDefinitionInspector.cs | 11,802 | C# |
using System.Globalization;
using System.Threading.Tasks;
using JustSaying.Tools.Commands;
using Magnum.CommandLineParser;
using Magnum.Monads.Parser;
namespace JustSaying.Tools
{
public static class CommandParser
{
public static async Task<bool> ParseAndExecuteAsync(string commandText)
{
... | 38.456522 | 118 | 0.583946 | [
"Apache-2.0"
] | JarrodJ83/JustSaying | JustSaying.Tools/CommandParser.cs | 1,769 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.PSharp;
using Microsoft.PSharp.Timers;
using System.Threading.Tasks;
namespace TimerSample
{
class Client : TimedMachine
{
#region fields
/// <summary>
/// Count of #timeout events processed per state.
/// </summary>
int co... | 25.097744 | 89 | 0.67825 | [
"MIT"
] | chandramouleswaran/PSharp | Samples/Timers/TimerSample/Client.cs | 3,340 | C# |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class MissionFailedEvent : Event
{
public const string NAME = "Mission failed";
public const string DESCRIPTION = "Triggered when you fail a mission";
public const string SAMPLE = "{ \"timestamp\":\"2016-09-25... | 32.033333 | 175 | 0.611863 | [
"Apache-2.0"
] | EDCD/EliteDangerousDataProvider | Events/MissionFailedEvent.cs | 963 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.