max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
TrappedInside/Assets/Scripts/Presentation/Visuals/ImageFade.cs | vvnurmi/trappedinside | 0 | 7034037 | <filename>TrappedInside/Assets/Scripts/Presentation/Visuals/ImageFade.cs<gh_stars>0
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Fades an <see cref="Image"/> in and out.
/// </summary>
[RequireComponent(typeof(Image))]
public class ImageFade : MonoBehaviour
{
[Tooltip("How many seconds to fade the i... |
test/In.ProjectEKA.HipServiceTest/Discovery/PatientDiscoveryTest.cs | Bahmni-Covid19/hip-service | 1 | 7034038 | using System.Collections.Specialized;
using Hl7.Fhir.Model;
using In.ProjectEKA.HipService.Logger;
using In.ProjectEKA.HipService.OpenMrs.Mappings;
namespace In.ProjectEKA.HipServiceTest.Discovery
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Task... |
Web/Download.cs | YIGENB/RXNET | 2 | 7034039 | <gh_stars>1-10
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
namespace RX.Web
{
/// <summary>
/// 文件下载有以下四种方式, 大文件下载的处理方法:将文件分块下载。
/// Response.OutputStream.Write
/// Response.TransmitFile
... |
src/RTC/Configuration/DeviceOutputModel.cs | Xeinaemm/RTC | 0 | 7034040 | <reponame>Xeinaemm/RTC
using System;
namespace RTC.Configuration
{
public class DeviceOutputModel
{
public string DeviceId { get; set; }
public double Humidity { get; set; }
public double Temperature { get; set; }
public DateTime Timestamp { get; set; }
public double X ... |
src/StupidFirewallManager/Program.cs | AlkampferOpenSource/StupidFirewallManager | 2 | 7034041 | using Serilog;
using StupidFirewallManager.Core;
using StupidFirewallManager.Support;
using System;
using System.IO;
using Topshelf;
namespace StupidFirewallManager
{
public static class Program
{
private const string ServiceDescriptiveName = "Stupid firewall manager";
private cons... |
AwesomeSauceCompanyLtd/Services/IUsers.cs | nympy/AspNetCoreBeyondTheIntro | 17 | 7034043 | <filename>AwesomeSauceCompanyLtd/Services/IUsers.cs
using System.Threading.Tasks;
using AwesomeSauceCompanyLtd.Services.Entities;
namespace AwesomeSauceCompanyLtd.Services
{
public interface IUsers
{
Task<User> WhereIdIs(int id);
Task<User> WithName(string name);
}
} |
Samples/NET 4.6/WF_WCF_Samples/WF/Basic/Services/AbsoluteDelay/CS/AbsoluteDelay/SendEmail.cs | jdm7dv/visual-studio | 1 | 7034044 | <filename>Samples/NET 4.6/WF_WCF_Samples/WF/Basic/Services/AbsoluteDelay/CS/AbsoluteDelay/SendEmail.cs
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using ... |
SimpleECS/Assets/ECS/EntityComponent.cs | starikcetin/SimpleECS | 1 | 7034045 | <reponame>starikcetin/SimpleECS
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleECS.Internal;
/// <summary>
/// C needs to Match the derived component
/// </summary>
public abstract class EntityComponent<C> : EntityComponent where C : EntityComponent<C>
{
ComponentHolder h... |
code/src/NFluent/Checks/ObjectFieldsCheckExtensions.cs | rhwy/NFluent | 253 | 7034046 | <reponame>rhwy/NFluent<gh_stars>100-1000
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObjectFieldsCheckExtensions.cs" company="NFluent">
// Copyright 2018 <NAME>
// Licensed under the Apache License, Version 2.0 (the... |
Fake/Controllers/PropertyController.cs | superechnik/ApiWrapper | 0 | 7034047 | using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Lib.Services.Mock;
using System.Collections.Generic;
using Lib.Models.PropertyDetails;
using Lib.Models.HouseCanary;
using Microsoft.Extensions.Logging;
using Lib.Services.Validation;
using Lib.Models.Error;
using Microsoft.AspNetCore.Http;
namespace... |
src/Kephas.Data.LLBLGen/Entities/Composition/EntityFactoryMetadata.cs | snakefoot/kephas | 0 | 7034048 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="EntityFactoryMetadata.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the ... |
ContactApp/Web/Areas/Admin/ViewModels/SystemLogViewModels.cs | abendi/CakeOrderingSite | 0 | 7034049 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Web.Areas.Admin.ViewModels
{
public class SystemLogIndexViewModel
{
public string LogFileName { get; set; }
public SelectList LogFileSelectList { get; set; }
... |
Aliyun.TableStore/DataModel/DefinedColumnSchema.cs | dawsonliu/Aliyun.TableStore | 5 | 7034050 | using System;
using System.Collections.Generic;
namespace Aliyun.TableStore.DataModel
{
public class DefinedColumnSchema : List<Tuple<string, DefinedColumnType>>
{
/// <summary>
/// 添加一个预定义列的设计
/// </summary>
/// <param name="name"></param>
/// <param name="type"></para... |
tests/PuppeteerSharp.Contrib.Tests/PageObjects/ElementHandleExtensionsTests.cs | goucey/puppeteer-sharp-contrib | 69 | 7034051 | <reponame>goucey/puppeteer-sharp-contrib
using System.Threading.Tasks;
using PuppeteerSharp.Contrib.PageObjects;
using Xunit;
namespace PuppeteerSharp.Contrib.Tests.PageObjects
{
[Collection(PuppeteerFixture.Name)]
public class ElementHandleExtensionsTests : PuppeteerPageBaseTest
{
private ElementH... |
src/EventRepeatParser.cs | janoserdelyi/DateRepeater | 0 | 7034052 | using System;
using System.Collections;
using scg = System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace DateRepeater
{
public class EventRepeatParser
{
/* 2006 11 14 <NAME>
prelim and intended usage.
this is text parser for daily, weekly, monthly, and yearly rep... |
src/Gateway.Tests/UnitTests/Utils/Middleware/AddCorrelationHeaderTests.cs | nhs-digital-gp-it-futures/BuyingCatalogueApiGateway | 1 | 7034053 | using FluentAssertions;
using Gateway.Utils.Middleware;
using Microsoft.AspNetCore.Http;
using Moq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Gateway.Tests.UnitTests.Utils.Middleware
{
public class AddCorrelationHeaderT... |
Assets/_Scripts/Services/Interfaces/IInputAxis.cs | arijoon/FreeFall-Unity3D-Game | 0 | 7034054 | <filename>Assets/_Scripts/Services/Interfaces/IInputAxis.cs
using System;
using _Scripts.Definitions.CustomEventArgs;
namespace _Scripts.Services.Interfaces
{
public interface IInputAxis
{
event EventHandler<DragEventArgs> OnMouseDrag;
//event EventHandler<DraggingEventArgs> OnMouseDraging;
... |
framework/Furion/EventBus/Extensions/EventBusServiceCollectionExtensions.cs | dannylincn/Furion | 1 | 7034055 | // -----------------------------------------------------------------------------
// 让 .NET 开发更简单,更通用,更流行。
// Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd.
//
// 框架名称:Furion
// 框架作者:百小僧
// 框架版本:2.8.3
// 源码地址:Gitee: https://gitee.com/dotnetchina/Furion
// Github:https://github.com/monksoul/Furion
// 开源协议:... |
GMinder/Calendar.cs | Hypnos3/GMinder | 2 | 7034056 | /// Copyright (c) 2009, <NAME>
/// All rights reserved.
///
/// Redistribution and use in source and binary forms, with or without modification,
/// are permitted provided that the following conditions are met:
///
/// * Redistributions of source code must retain the above copyright notice,
/// this list of conditio... |
source/OdataToEntity.AspNetCore/OeDataContext.cs | DawidPotgieter/OdataToEntity | 180 | 7034057 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.OData;
using Microsoft.OData.Edm;
using OdataToEntity.Db;
using OdataToEntity.Parsers;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
na... |
IsPossible.cs | AzherAleem/HackerRank | 0 | 7034058 | using System;
using System.Collections.Generic;
using System.Text;
namespace HankerRank
{
class IsPossible
{
public static string isPossible(int a, int b, int c, int d)
{
string result = "No";
while(a < c || a!=c)
{
a = a + b;
... |
WebBackend-API-POS-ngmartinezs/Repository/ClienteRepositoryInterface.cs | ngmartinezs/WebBackend-API-POS-ngmartinezs | 0 | 7034059 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebBackendAPIPOSngmartinezs.DTO;
using WebBackendAPIPOSngmartinezs.Models;
namespace WebBackendAPIPOSngmartinezs.Service
{
public interface ClienteRepositoryInterface
{
public Task<IEnumerable<Entity... |
src/MudDemo/MudDemo.Client/Components/Shared/UserMenu.razor.cs | Adev-jlr/MudDemo | 34 | 7034060 | <reponame>Adev-jlr/MudDemo<filename>src/MudDemo/MudDemo.Client/Components/Shared/UserMenu.razor.cs
using Microsoft.AspNetCore.Components;
using MudDemo.Client.Models;
namespace MudDemo.Client.Components.Shared;
public partial class UserMenu
{
[Parameter] public string Class { get; set; }
[EditorRequired] [Par... |
ExamPrep20180428/Travel/Entities/Factories/AirplaneFactory.cs | dimitar-v/CSharp-OOP-Advanced | 0 | 7034061 | namespace Travel.Entities.Factories
{
using Airplanes.Contracts;
using Contracts;
using System;
using System.Linq;
using System.Reflection;
public class AirplaneFactory : IAirplaneFactory
{
public IAirplane CreateAirplane(string typeName)
{
Type type = Assembly.... |
src/Test.EndToEnd.Baselining/Extensions/SarifLogExtensions.cs | Yiwei-Ding/sarif-sdk | 78 | 7034062 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.Sarif;
namespace SarifBaseline.Extensions
{
public enum BaselineFi... |
Zelig/BoardConfigurations/Win32/Configuration/Configuration.cs | NETMF/llilum | 188 | 7034063 | <reponame>NETMF/llilum
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Llilum.BoardConfigurations
{
using Microsoft.Zelig.Configuration.Environment;
[DisplayName("Win32Product")]
public sealed class Win32Product : ProductCategory
{
[Defaults("CoreCloc... |
src/Wave.Extensions.Esri/ESRI/ArcGIS/System/ComStream.cs | Jumpercables/Wave | 21 | 7034064 | using System;
using System.IO;
using System.Runtime.InteropServices;
using STATSTG = System.Runtime.InteropServices.ComTypes.STATSTG;
namespace ESRI.ArcGIS.esriSystem
{
/// <summary>
/// Provides a .NET Stream for the <see cref="ESRI.ArcGIS.esriSystem.IStream" /> COM stream interface.
/// </summary>
... |
UWP/ViewModels/DockViewModel.cs | wcz0/WeiPo | 30 | 7034065 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nito.Mvvm;
using WeiPo.Common;
using WeiPo.Services;
using WeiPo.Services.Models;
namespace WeiPo.ViewModels
{
public class DockViewModel : ViewModelBase
{
private DockViewModel()
{
}... |
Source/Machine.Specifications.Specs/Factories/ContextFactorySpecs.cs | benlovell/machine.specifications | 1 | 7034066 | using System.Linq;
using Machine.Specifications.Factories;
using Machine.Specifications.Model;
namespace Machine.Specifications.Specs.Factories
{
[Subject(typeof(ContextFactory))]
public class when_creating_a_context_with_a_concern
{
static Context newContext;
Establish context = ()=>
{... |
System.Windows.Controls.WPFPropertyGrid/Attributes/CategoryEditorAttribute.cs | ferventdesert/WPFPropertyGrid | 5 | 7034067 | namespace System.Windows.Controls.WpfPropertyGrid.Attributes
{
/// <summary>
/// Specifies the editor to use to change the category.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
public sealed class CategoryEditorAttribute : A... |
ZimmerBot.Core/Pipeline/InputStages/WordTaggingStage.cs | JornWildt/ZimmerBot | 3 | 7034068 | <reponame>JornWildt/ZimmerBot
using System;
namespace ZimmerBot.Core.Pipeline.InputStages
{
public class WordTaggingStage : IPipelineHandler<InputPipelineItem>
{
public void Handle(InputPipelineItem item)
{
// It would be cool to have something here :-)
}
}
}
|
DFC.Integration.AVFeed/DFC.Integration.AVFeed.AzureFunctions/ClearRecycleBinFunction.cs | SkillsFundingAgency/dfc-integration-faa | 5 | 7034069 | using System;
using System.Threading.Tasks;
using DFC.Integration.AVFeed.Core;
using DFC.Integration.AVFeed.Data.Models;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace DFC.Integration.AVFeed.Function.ClearRecycleBin
{
public static class ClearRecycleBinFunction
{
[Function... |
ALE-GpsRoulette/GpsRouletteControl.xaml.cs | LordTylus/SE-Torch-Plugin-ALE-GpsRoulette | 0 | 7034070 | <filename>ALE-GpsRoulette/GpsRouletteControl.xaml.cs
using System.Windows;
using System.Windows.Controls;
namespace ALE_GpsRoulette.ALE_GpsRoulette {
public partial class GpsRouletteControl : UserControl {
private GpsRoulettePlugin Plugin { get; }
private GpsRouletteControl() {
... |
MineMvcDemo/MMD.Application/Interfaces/IUserServices.cs | shuaiagain/MineMvcDemo | 0 | 7034071 | <filename>MineMvcDemo/MMD.Application/Interfaces/IUserServices.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MMD.Application.ViewModels;
namespace MMD.Application.Interfaces
{
public interface IUserServices
{
void Registe... |
GR.Core/Extensions/DbContextExtensions.cs | indrivo/GR.Core | 1 | 7034073 | <filename>GR.Core/Extensions/DbContextExtensions.cs
using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using GR.Core.Abstractions;
using GR.Core.Helpers;
using GR.Core.Helpers.ConnectionStrings;
using GR.Core.Helpers.Responses;
using Microsoft.E... |
NewsSystem-WebFormsExam/News.Models/Like.cs | didimitrov/ASPNET-WebForms | 0 | 7034074 | <reponame>didimitrov/ASPNET-WebForms
using System.ComponentModel;
namespace News.Models
{
public class Like
{
public int Id { get; set; }
[DefaultValue(0)]
public int Value { get; set; }
}
}
|
src/Windore.Simulations2D/Util/SRandom.cs | Windore/Simulations2D | 1 | 7034075 | using System;
using Windore.Simulations2D.Util.SMath;
namespace Windore.Simulations2D.Util
{
/// <summary>
/// Provides methods for pseudo-random value generation and helps to track and set the seed of the generator.
/// </summary>
public class SRandom
{
private Random random;
priv... |
SharpAdbClient.Tests/Exceptions/ShellCommandUnresponsiveExceptionTests.cs | shayanw/madb | 0 | 7034076 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpAdbClient.Exceptions;
using SharpAdbClient.Tests;
namespace SharpAdbClient.Tests.Exceptions
{
[TestClass]
public class ShellCommandUnresponsiveExceptionTests
{
[TestMethod]
public void TestEmptyConstructor()
{
... |
tests/Lynx.Test/PregeneratedAttacks/SetBishopOrRookOccupancyTest.cs | lynx-chess/Lynx | 7 | 7034077 | <gh_stars>1-10
using Lynx.Model;
using NUnit.Framework;
namespace Lynx.Test.PregeneratedAttacks;
public class SetBishopOrRookOccupancyTest
{
[Test]
public void SetBishopOccupancy()
{
// Arrange
var occupancyMask = AttackGenerator.MaskBishopOccupancy((int)BoardSquare.d4);
var maxIn... |
15. SQLite-Local-Storage-in-UWP/Demo/SQLiteDemo/UserItem.cs | jsdelivrbot/Windows-Applications | 10 | 7034078 | <reponame>jsdelivrbot/Windows-Applications
namespace SQLiteDemo
{
using SQLite.Net.Attributes;
public class UserItem
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
[PrimaryKey]
[AutoIncrement]
public int Id { get; set; }
public stri... |
Nini-1.10/Source/Test/Config/IniConfigSourceTests.cs | zoovy/nodejs-proxy | 1 | 7034079 | #region Copyright
//
// Nini Configuration Project.
// Copyright (C) 2006 <NAME>. All rights reserved.
//
// This software is published under the terms of the MIT X11 license, a copy of
// which has been included with this distribution in the LICENSE.txt file.
//
#endregion
using System;
using System.IO;
using Nini... |
backend/ltsa/Configuration/LtsaOptions.cs | PryancaJSharma/PSP | 5 | 7034080 | <reponame>PryancaJSharma/PSP<filename>backend/ltsa/Configuration/LtsaOptions.cs
namespace Pims.Ltsa.Configuration
{
/// <summary>
/// LtsaOptions class, provides a way to configure the LtsaService.
/// </summary>
public class LtsaOptions
{
#region Properties
/// <summary>
///... |
src/Coldairarrow.Web/App_Start/03Extentions/Extention.HttpRequest.cs | tianlong132/Coldairarrow.Fx.Core.Easyui.GitHub | 276 | 7034081 | <filename>src/Coldairarrow.Web/App_Start/03Extentions/Extention.HttpRequest.cs
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// 拓展类
/// </summary>
public static partial class Extention
{
public static bool IsAjaxRequest(this HttpRequest req)
{
bool result = false;... |
Apps/ModelTrainer/HimalayanModelTrainer.cs | leblancdavid/GimmeMillions | 3 | 7034082 | <filename>Apps/ModelTrainer/HimalayanModelTrainer.cs<gh_stars>1-10
using GimmeMillions.DataAccess.Clients.TDAmeritrade;
using GimmeMillions.DataAccess.Stocks;
using GimmeMillions.Domain.Features;
using GimmeMillions.Domain.Features.Extractors;
using GimmeMillions.Domain.ML;
using GimmeMillions.Domain.ML.Candlestick;
u... |
Lab6.1/Accounts/AccountsLib/Account.cs | KamilKhair/Lab02-to-Lab07 | 0 | 7034083 | <reponame>KamilKhair/Lab02-to-Lab07<filename>Lab6.1/Accounts/AccountsLib/Account.cs
using System;
namespace AccountsLib
{
public class Account
{
internal Account(int id)
{
Id = id;
Balance = 0;
}
public int Id { get; }
public double Balance { g... |
mdo/src/mdo/dao/vista/VistaLabsDao.cs | marcsommer/mdo | 1 | 7034084 | #region CopyrightHeader
//
// Copyright by Contributors
//
// 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.txt
//
// Unless requ... |
Koromo Copy/Html/HtmlManager.cs | Terkiss/Koromo-Copy | 0 | 7034085 | <filename>Koromo Copy/Html/HtmlManager.cs
/***
Copyright (C) 2018-2019. dc-koromo. All Rights Reserved.
Author: Koromo Copy Developer
***/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Koromo_Copy.Html
{
public class HtmlMan... |
src/Server/Services/Cookies/ICookieService.cs | Abooow/RestIdentity | 2 | 7034086 | <reponame>Abooow/RestIdentity<filename>src/Server/Services/Cookies/ICookieService.cs
namespace RestIdentity.Server.Services;
public interface ICookieService
{
string GetCookie(string key);
string GetRemoteIpAddress();
string GetRemoteOperatingSystem();
void SetCookie(string key, string value, DateTime... |
Lib/Neon.Cadence/CadenceClient.cs | codelastnight/neonKUBE | 0 | 7034087 | //-----------------------------------------------------------------------------
// FILE: CadenceClient.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... |
Assets/Scripts/Match3/Random.cs | nidaynere/unity-match3 | 1 | 7034088 | <reponame>nidaynere/unity-match3<gh_stars>1-10
namespace Match3
{
public static class Random {
private static System.Random randomizer;
public static int Range(int min, int max)
{
if (randomizer == null)
randomizer = new System.Random();
return rando... |
RentLog.ImportBYF/Converters/IntendedColxnConverters/IntendedColxnConverter2.cs | peterson1/RentLog | 0 | 7034089 | using CommonTools.Lib11.DynamicTools;
using RentLog.DomainLib11.CollectionRepos;
using RentLog.DomainLib11.DTOs;
using RentLog.DomainLib11.Models;
using RentLog.ImportBYF.ByfQueries;
using RentLog.ImportBYF.ByfServerAccess;
using RentLog.ImportBYF.Version2UI.TransactionDataPane.PeriodsList;
using System;
using System.... |
src/abstractions/Next.Abstractions.Domain/Persistence/IAggregateRepository.cs | sweepator/next | 0 | 7034090 | <reponame>sweepator/next<filename>src/abstractions/Next.Abstractions.Domain/Persistence/IAggregateRepository.cs
using System.Threading.Tasks;
namespace Next.Abstractions.Domain.Persistence
{
public interface IAggregateRepository<TAggregateRoot, in TIdentity, TState>
where TAggregateRoot : IAggregateRoot<T... |
src/Ksuid/Ksuid.cs | JoyMoe/Ksuid-csharp | 0 | 7034091 | <filename>src/Ksuid/Ksuid.cs<gh_stars>0
using System;
using Base62;
using JetBrains.Annotations;
namespace KSUID
{
public class Ksuid
{
private const int EncodedSize = 27;
private const int PayloadSize = 16;
private const int TimestampSize = 4;
private const uint Epoch = 140000... |
Initial Version/Form1.cs | Chewhern/Challenge_Response_Login | 0 | 7034092 | 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 System.Security.Cryptography;
using ASodium;
namespace Challenge_Respond_Login
{
... |
FoxTunes.Core/Utilities/CancellationToken.cs | aidan-g/FoxTunes | 22 | 7034093 | <filename>FoxTunes.Core/Utilities/CancellationToken.cs
using FoxTunes.Interfaces;
using System;
namespace FoxTunes
{
public class CancellationToken : ICancellable
{
public bool IsCancellationRequested { get; private set; }
protected virtual void OnCancellationRequested()
{
... |
source/Refactorings/Refactorings/AddOrRemoveParameterName/AddParameterNameRewriter.cs | vitsatishjs/Roslynator | 0 | 7034094 | <filename>source/Refactorings/Refactorings/AddOrRemoveParameterName/AddParameterNameRewriter.cs
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using M... |
src/NSwag.Commands/SwaggerGeneration/AssemblyTypeToSwaggerGenerator.cs | pranavkm/NSwag | 0 | 7034095 | <filename>src/NSwag.Commands/SwaggerGeneration/AssemblyTypeToSwaggerGenerator.cs
//-----------------------------------------------------------------------
// <copyright file="AssemblyTypeToSwaggerGenerator.cs" company="NSwag">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <license>https://github... |
src/MVCDatatables.Core/Repositories/DemoRepository.cs | devston/jQuery-datatables-dotnet-mvc-component | 0 | 7034096 | <reponame>devston/jQuery-datatables-dotnet-mvc-component
using Mvc.JQuery.DataTables;
using MVCDatatables.Core.Interfaces;
using MVCDatatables.Data.Data;
using MVCDatatables.Models.Datatables;
using MVCDatatables.Models.Demo;
using MVCDatatables.Services.Datatables;
using System.Linq;
namespace MVCDatatables.Core.Rep... |
Assets/External/Typography.OpenFont/Tables.Others/VerticalMetricsHeader.cs | nattos/dnode | 304 | 7034097 | //Apache2, 2017-present, WinterDev
//https://docs.microsoft.com/en-us/typography/opentype/spec/vhea
using System;
using System.IO;
namespace Typography.OpenFont.Tables
{
class VerticalHeader : TableEntry
{
public const string _N = "vhea";
public override string Name => _N;
//v... |
Kod/PomocnikUcznia/PomocnikUcznia/Form3.cs | m4k5/Pomocnik-Ucznia | 1 | 7034098 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace PomocnikUcznia
{
public partial class Form3 : Form
{
public Form3()
{... |
bindings/raknet_backwards_compatibility/csharp/interfaces/IncrementalReadInterface.cs | arves100/SLikeNet | 360 | 7034099 | <reponame>arves100/SLikeNet<gh_stars>100-1000
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface ... |
src/MBrace.CSharp/FSharpExtensions.cs | goldfish1974/MBrace.Core | 238 | 7034100 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.FSharp.Core;
using MBrace.Core.Internals.CSharpProxy;
namespace MBrace.Core.CSharp
{
using unit = Microsoft.FSharp.Core.Unit;
/// <summary>
/// Optional type helper meth... |
bisSport.Domain/Core/Base/Entity.cs | Neolvie/bisSport | 0 | 7034101 | <reponame>Neolvie/bisSport<filename>bisSport.Domain/Core/Base/Entity.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.CompilerServices;
using bisSport.Domain.Core.Exceptions;
using bisSport.Domain.Core.Interfaces;
using bisSp... |
FunctionSource/HIPAA.Platform.Workflow/Authentication/ADAuthorization.cs | acfig1999/test1 | 56 | 7034102 | <gh_stars>10-100
//*****************************************************************************************************
// Copyright (c) Microsoft Corporation and Avyan Consulting Corp. All rights reserved.
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and assoc... |
LojaZero/Program.cs | flpinheiro/LojaZero | 0 | 7034103 | using LojaZero.Context;
using LojaZero.DAL;
using LojaZero.Models;
using System;
using System.Collections.Generic;
namespace LojaZero
{
class Program
{
static void Main()
{
var context = new LojaZeroDbContextFactory().CreateDbContext();
var pro = new Produc... |
src/MonopolyWeb/Models/Converters/NewGameConverter.cs | pseale/monopoly-dotnet | 2 | 7034104 | using System;
using MonopolyWeb.Models.Core;
using MonopolyWeb.Models.ViewModels;
namespace MonopolyWeb.Models.Converters
{
public class NewGameConverter
{
public static NewGameData Convert(NewGameInput newGameInput)
{
var newGameData = new NewGameData(newGameInput.Name, newGameInput.Totem.Value, ne... |
Geckofx-Core/Generated/ISimpleDOMNode.cs | nutellarlz/geckofx-33.0 | 12 | 7034105 | <gh_stars>10-100
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the... |
Assets/MegamanX/Editor/MegamanUtilities.cs | Dunmord/UnityMegamanX | 19 | 7034107 | using UnityEngine;
using UnityEditor;
public class MegamanUtilities : EditorWindow
{
public LayerMask groundLayer;
public LayerMask wallLayer;
public const string defaultGroundObjectsName = "Collider - Ground";
public const string defaultWallObjectsName = "Collider - Wall";
[MenuItem ("MegamanX/Utilities")]
st... |
src/GitHub.Api/Git/GitClient.cs | CSUN-COMP587-F18/Unity | 1 | 7034108 | <gh_stars>1-10
using GitHub.Logging;
using System;
using System.Collections.Generic;
using System.Threading;
using static GitHub.Unity.GitInstaller;
namespace GitHub.Unity
{
/// <summary>
/// Client that provides access to git functionality
/// </summary>
public interface IGitClient
{
/// ... |
fcu-ucan/Controllers/PrivacyController.cs | fcu-ssc/fcu-ucan | 1 | 7034109 | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace fcu_ucan.Controllers
{
[Route("privacy")]
public class PrivacyController : Controller
{
private readonly ILogger<PrivacyController> _logger;
public PrivacyController(ILogger<PrivacyController> logger)
{
... |
PowerMode/Adornments/IAdornment.cs | tomfrenzel/PowerMode | 89 | 7034110 | namespace BigEgg.Tools.PowerMode.Adornments
{
using Microsoft.VisualStudio.Text.Editor;
public interface IAdornment
{
void OnSizeChanged(IAdornmentLayer adornmentLayer, IWpfTextView view, int streakCount, bool backgroundColorChanged = false);
void OnTextBufferChanged(IAdornmentLayer adorn... |
Assets/PatchKit Patcher/Scripts/Utilities/BytesRangeHelpers.cs | SolidClouds/StarbornePatcher | 36 | 7034111 | <filename>Assets/PatchKit Patcher/Scripts/Utilities/BytesRangeHelpers.cs<gh_stars>10-100
using PatchKit.Network;
using ChunksData = PatchKit.Unity.Patcher.AppData.Remote.ChunksData;
namespace PatchKit.Unity.Utilities
{
public static class BytesRangeUtils
{
public static BytesRange Make(long start, long... |
test/Juxtapose.Test.Shared/Greeter.cs | StratosBlue/Juxtapose | 3 | 7034112 | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Juxtapose.Test
{
public class Greeter : IGreeter
{
#region Private 字段
private string _propField;
#endregion Private 字段
#region Public 属性
public string Prop { get => _pro... |
UnitTestProject1/Bugs/B002.cs | CXuesong/XSerializer | 0 | 7034113 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;
using System.Runtime.Serialization;
using System.Diagnostics;
using Undefined.Serialization;
namespace UnitTestProject1.Bugs
{
/// <summary>
/// B002 : 当集合类型具有 OnDeserializing 回调函数时,反序列化时会引发 NullReferenceException。
... |
Binance.Net/Converters/BlvtStatusConverter.cs | GeorgeF0/Binance.Net | 755 | 7034114 | using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;
namespace Binance.Net.Converters
{
internal class BlvtStatusConverter : BaseConverter<BlvtStatus>
{
public BlvtStatusConverter() : this(true) { }
public BlvtStatusConverter(bool quotes) : base(quote... |
source/Appccelerate.EventBroker.Specs/EventBrokerRegisterables/EventBrokerRegisterablesSpecifications.cs | michaelestermann/eventbroker | 18 | 7034115 | <gh_stars>10-100
//-------------------------------------------------------------------------------
// <copyright file="EventBrokerRegisterablesSpecifications.cs" company="Appccelerate">
// Copyright (c) 2008-2020
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this f... |
source/Intermedium/VoidUnit.cs | alexander-trishin/intermedium | 0 | 7034116 | using System;
namespace Intermedium
{
/// <summary>
/// Represents a <see cref="void"/> type (<see langword="Nothing"/> in VB.Net).
/// </summary>
public readonly struct VoidUnit : IEquatable<VoidUnit>, IComparable<VoidUnit>, IComparable
{
/// <summary>
/// Represents the single in... |
ScanQRCodeToLogin/SignalRService/MyHub.cs | YoungerXuOrganization/Share | 2 | 7034117 | <gh_stars>1-10
using Microsoft.AspNet.SignalR;
using SignalRService.Class;
using SignalRService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SignalRService
{
public class MyHub : Hub
{
/// <summary>
/// 构造时... |
logAxe/frmLineData.Designer.cs | aryakal/logAxe | 3 | 7034118 | namespace logAxe
{
partial class frmLineData
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... |
GMap.NET.WindowsMobile/Properties/Resources.Designer.cs | QualitySolution/-GMap.NET | 1 | 7034119 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated... |
Demos/AllOverIt.Validation/BasicValidation/Validators/IsValidPersonValidator.cs | TimeTravelPenguin/AllOverIt | 0 | 7034120 | using AllOverIt.Validation;
using AllOverIt.Validation.Extensions;
using BasicValidation.Models;
namespace BasicValidation.Validators
{
// Validates using explicit rules (no context)
public sealed class IsValidPersonValidator : ValidatorBase<Person>
{
public IsValidPersonValidator()
{
... |
StringTheory/Analysis/HeapAnalyzer.cs | drewnoakes/string-theory | 295 | 7034121 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Diagnostics.Runtime;
namespace StringTheory.Analysis
{
public sealed class HeapAnalyzer
{
private readonly DataTarget _dataTarget;
private readonly ClrHeap _heap;
private int _le... |
SoulWorkerResearch.SoulCore/IO/Network/Requests/Character/CharacterCheckEnterMazeRequest.cs | SoulWorkerResearch/SoulCore | 1 | 7034122 | using SoulWorkerResearch.SoulCore.IO.Network.Attributes;
using SoulWorkerResearch.SoulCore.IO.Network.Commands;
using System.IO;
namespace SoulWorkerResearch.SoulCore.IO.Network.Requests.Character
{
/// <summary>
/// This packet no have content.
/// </summary>
[Request(CategoryCommand.Character, Chara... |
src/IdentityServer.Admin.Services/IdentityResource/IdentityResourceService.cs | Olek-HZQ/IdentityServerManagement | 9 | 7034123 | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityServer.Admin.Core.Constants;
using IdentityServer.Admin.Core.Dtos.IdentityResource;
using IdentityServer.Admin.Dapper.Repositories.IdentityResource;
namespace IdentityServer.Admin.Services.IdentityResource
{
public class ... |
src/QuickType/Services/QuickTypeEvnVariables.cs | andro47/quicktype | 0 | 7034124 | using System;
using System.IO;
using System.Linq;
using EnvDTE;
using QuickType.Exceptions;
using Process = System.Diagnostics.Process;
namespace QuickType.Services
{
public class QuickTypeEvnVariables
{
public static string Resolve(string path, IntPtr contextwindow, string vsContext)
{
... |
server-app/olmelabs.battleship.api/Services/Implementations/PeerToPeerGameService.cs | olmelabs/battleship-game | 3 | 7034125 | <gh_stars>1-10
using olmelabs.battleship.api.Models.Entities;
using olmelabs.battleship.api.Repositories;
using olmelabs.battleship.api.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace olmelabs.battleship.api.Services.Implementations
{
public class PeerT... |
FaceApiManager/Common/SettingsHelper.cs | worthingtonjg/FaceManager | 0 | 7034126 | <filename>FaceApiManager/Common/SettingsHelper.cs
using Windows.Storage;
namespace FaceApiManager.Common
{
public class SettingsHelper
{
private static string _faceApiSubscriptionKey = "FaceApiSubscriptionKey";
private static string _faceApiRoot = "FaceApiRoot";
public static string F... |
src/Infrastructure/Messaging/Filters/MbMessageContextStack.cs | a-postx/YA.ServiceTemplate | 4 | 7034127 | using GreenPipes;
using System;
namespace YA.ServiceTemplate.Infrastructure.Messaging.Filters
{
/// <summary>
/// Manages a Logical Call Context variable containing a stack of <see cref="PipeContext"/> instances.
/// </summary>
internal static class MbMessageContextStack
{
/// <summary>
... |
OpenXMLSDK.Engine/Word/ReportEngine/Models/Hyperlink.cs | Woxsart/OpenXMLSDK.Engine | 1 | 7034128 | using System.Collections.Generic;
namespace OpenXMLSDK.Engine.Word.ReportEngine.Models
{
/// <summary>
/// Model for an hyperlink
/// Anchor > internal link to a bookmark
/// WebSiteUri > external web site uri
/// </summary>
public class Hyperlink : BaseElement
{
/// <summary>
... |
FoxTunes.Core/MetaData/MetaDataWriter.cs | Raimusoft/FoxTunes | 22 | 7034129 | <reponame>Raimusoft/FoxTunes<gh_stars>10-100
using FoxDb;
using FoxDb.Interfaces;
using FoxTunes.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FoxTunes
{
public class MetaDataWriter : Disposable
{
const int CACHE_SIZE... |
src/L4-application/BoSSSpad/BoSSSpadGnuplotExtensions.cs | FDYdarmstadt/BoSSS | 22 | 7034130 | <reponame>FDYdarmstadt/BoSSS
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in ... |
WindowsHook/Sequence.cs | topstarai/WindowsHook | 21 | 7034131 | <filename>WindowsHook/Sequence.cs
// This code is distributed under MIT license.
// Copyright (c) 2010-2018 <NAME>
// See license.txt or https://mit-license.org/
using System.Linq;
namespace WindowsHook
{
/// <summary>
/// Describes key or key combination sequences. e.g. Control+Z,Z
/// </summary>
... |
src/NServiceBus.Core/Unicast/Behaviors/InvokeSagaNotFoundBehavior.cs | marinkobabic/NServiceBus | 0 | 7034132 | namespace NServiceBus
{
using System;
using NServiceBus.Logging;
using NServiceBus.Pipeline;
using NServiceBus.Pipeline.Contexts;
using NServiceBus.Saga;
class InvokeSagaNotFoundBehavior : IBehavior<IncomingContext>
{
static ILog logger = LogManager.GetLogger<InvokeSagaNot... |
2020/csharp/Day14/Solution.cs | sanderploegsma/aoc | 4 | 7034133 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Combinatorics.Collections;
namespace AdventOfCode2020.Day14
{
internal class Solution
{
private const string MaskPattern = @"mask = (?<mask>[X01]{36})";
private const strin... |
class/Microsoft.SilverlightControls/Controls/Src/Resource.Designer.cs | MiftahurRidho/tugas | 87 | 7034134 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
/... |
C#/Tutorials/30DaysOfCode/Day22_BST.cs | phillipemoreira/HackerRank | 0 | 7034135 | <reponame>phillipemoreira/HackerRank
using System;
namespace HackerRank.BST
{
/// <summary>
/// Problem link: https://www.hackerrank.com/challenges/30-binary-search-trees
/// </summary>
class Day22_BST
{
public static void Main()
{
Node root = null;
... |
Cats/src/Cats.Db/Migrations/CatsContextModelSnapshot.cs | archaim/FlexberryEFCoreBackend | 0 | 7034136 | // <auto-generated />
using System;
using Cats.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Cats.Db.Migrations
{
[DbContext(typeof(CatsContex... |
src/Lime.Transport.AspNetCore/Transport/HttpContextChannel.cs | JulioBorges/lime-csharp | 89 | 7034137 | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Lime.Protocol.Network;
using Lime.Protocol.Serialization;
using Microsoft.AspNetCore.Http;
namespace Lime.Transport.AspNetCore.Transport
{
/// <s... |
MabiPacker/Library/Packer.cs | logue/MabiPack | 46 | 7034138 | <reponame>logue/MabiPack
// MabiPacker
// Copyright (c) 2019 by Logue <http://logue.be/>
// Distributed under the MIT license
using MabinogiResource;
using System;
using System.IO;
using System.Threading;
/// <summary>
/// Mabinogi package file unpacking Class
/// </summary>
namespace MabiPacker.Library
{
intern... |
src/PostFile.cs | wenfeifei/FastHttpApi | 539 | 7034139 | <filename>src/PostFile.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace BeetleX.FastHttpApi
{
public class PostFile
{
public string FileName { get; internal set; }
public string ContentType { get; internal set; }
public string CharSet { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.