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 |
|---|---|---|---|---|
tool/EkstaziSharp.Core/EkstaziSharp.Instrumentation/XUnit2Instrumentator.cs | RaghunandanSharma/ekstazisharp | 14 | 7033204 | <filename>tool/EkstaziSharp.Core/EkstaziSharp.Instrumentation/XUnit2Instrumentator.cs
// Copyright (c) 2017, <NAME> and <NAME>
//
// 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
//
// ht... |
Trunk/DarkRoom/Assets/Standard Assets/DarkRoomGame/Core/MetaData/CBaseMeta.cs | yimogod/DarkRoom | 0 | 7033205 | <reponame>yimogod/DarkRoom
using UnityEngine;
namespace DarkRoom.Game {
/// <summary>
/// 模版数据, 我们的所有Pawn之类的原始数据都来源于此
/// </summary>
public class CBaseMeta {
/// <summary>
/// name display
/// </summary>
public string NameKey;
public string sId { get; set; } = string.Empty;
public int Id { get... |
src/Spec/EmailService.cs | the-orb/orb.net | 1 | 7033206 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spec
{
internal class EmailService
{
public EmailService(IEmailDbContext context)
{
}
}
}
|
LevorMapEditor/LevorMapEditor/LayerController.cs | Hamad-AM/Levor | 0 | 7033207 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace LevorMapEditor
{
class LayerController
{
List<BitmapImage[,]> imageMap;
List<string[,]> tileIds;
}
}
|
Projects/Server/Sys/SF.Sys.AspNetCore/NetworkServices/UploadedFileCollection.cs | etechi/ServiceFramework | 2 | 7033208 | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
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.apac... |
Neovolve.CodeAnalysis.ChangeTracking/Comparers/IElementComparer.cs | roryprimrose/Neovolve.CodeAnalysis.ChangeTracking | 0 | 7033209 | namespace Neovolve.CodeAnalysis.ChangeTracking.Comparers
{
using Neovolve.CodeAnalysis.ChangeTracking.Models;
/// <summary>
/// The <see cref="IElementComparer{T}" />
/// interface defines the members for comparing elements.
/// </summary>
/// <typeparam name="T">The type of element to... |
KS.Fiks.IO.Client/Models/IMelding.cs | jarped/fiks-io-client-dotnet | 0 | 7033210 | <gh_stars>0
using System;
namespace KS.Fiks.IO.Client.Models
{
public interface IMelding
{
Guid MeldingId { get; }
string MeldingType { get; }
Guid AvsenderKontoId { get; }
Guid MottakerKontoId { get; }
TimeSpan Ttl { get; }
}
}
|
XpandPwsh/Cmdlets/src/XpandPwsh.Cmdlets/Gac/AssemblyNameDisplayFlags.cs | eXpandFramework/XpandPwsh | 11 | 7033211 | using System;
namespace XpandPwsh.Cmdlets.Gac{
[Flags]
internal enum AssemblyNameDisplayFlags{
Version = 0x01,
Culture = 0x02,
PublicKeyToken = 0x04,
PublicKey = 0x08,
Custom = 0x10,
ProcessArchitecture = 0x20,
LanguageID = 0x40,
Retarget = 0x80,... |
src/ActReport.Core/Entities/Activity.cs | KienbMi/csharp_livecoding_wpf_mvvm_tutorial_teil2 | 0 | 7033213 | using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace ActReport.Core.Entities
{
public class Activity : EntityObject
{
public DateTime Date { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public string ActivityText... |
src/Windows/UnitTests/Core/Impl/NSubstitute/Mef/NSubstituteCompositionContainer.cs | skeptycal/RTVS | 429 | 7033214 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Component... |
Strona-master/WebApplication3/WebApplication3/Migrations/202003190830293_UserOrderRelation.cs | PieterQQ/Strona | 1 | 7033215 | <reponame>PieterQQ/Strona
namespace WebApplication3.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class UserOrderRelation : DbMigration
{
public override void Up()
{
RenameColumn(table: "dbo.Orders", name: "User_Id", newName: "UserId");
... |
Hegedus.Collections.Extra/Optional/Optional.cs | sorgloomer/Hegedus.Collections.Extra | 0 | 7033216 | <reponame>sorgloomer/Hegedus.Collections.Extra
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Hegedus.Extra.Collections
{
public struct Optional<T> : ICollection<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEquatable<Optional<T>>, IComparable<Optional<T>>
... |
src/Inedo.UPack/Net/ApiResponse.cs | Inedo/Inedo.UPack | 10 | 7033217 | using System;
using System.IO;
namespace Inedo.UPack.Net
{
/// <summary>
/// Represents a response received from a upack API endpoint.
/// </summary>
public abstract class ApiResponse : IDisposable
{
/// <summary>
/// Initializes a new instance of the <see cref="ApiResponse"/> clas... |
2020-03-clean-architecture-dotnetcore-api/src/Application/Queries/Orders/OrdersQueryHandler.cs | artem-bayandin/code-samples | 2 | 7033218 | <gh_stars>1-10
using Application.Common.Models;
using AutoMapper;
using Domain.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Queries.Orders
{
public class OrdersQueryH... |
src/NetDist.Core/ExtendedClientInfo.cs | zahariaconstantin/NetDist | 11 | 7033219 | using System;
namespace NetDist.Core
{
[Serializable]
public class ExtendedClientInfo
{
public ClientInfo ClientInfo { get; set; }
public DateTime LastCommunicationDate { get; set; }
public long TotalJobsProcessed { get; set; }
public long TotalJobsFailed { get; set; }
... |
Assets/ThirdPartyTools/Lean/Touch+/Scripts/LeanConstrainLocalPosition.cs | mertvnl/Stick-Jump-3D- | 0 | 7033220 | using UnityEngine;
namespace Lean.Touch
{
/// <summary>This component allows you to constrain the current <b>transform.localPosition</b> or <b>transform.anchoredPosition3D</b> to the specified min/max values.</summary>
[DefaultExecutionOrder(200)]
[HelpURL(LeanTouch.PlusHelpUrlPrefix + "LeanConstrainLocalPosition")... |
Playsound/PlaysoundGo.cs | wogud0501/Csharp-and-cpp | 1 | 7033221 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices; // 네임 스페이스 추가
namespace Playsound
{
public class PlaysoundGo
{
}
public enum PlaySoundFlags : int
{
SND_SYNC = 0x0000,
SND_ASYNC... |
Dicom/Network/Scp/DicomScpExtensionPoint.cs | SNBnani/Xian | 1 | 7033222 | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.Common;
namespace ClearCanva... |
Modules/GenericEndpoint.Host/StartupActions/GenericEndpointHostStartupAction.cs | warning-explosive/Core | 3 | 7033223 | <reponame>warning-explosive/Core<filename>Modules/GenericEndpoint.Host/StartupActions/GenericEndpointHostStartupAction.cs<gh_stars>1-10
namespace SpaceEngineers.Core.GenericEndpoint.Host.StartupActions
{
using System.Threading;
using System.Threading.Tasks;
using CompositionRoot.Api.Abstractions.Container;
... |
Assets/Splatter/Scripts/Runtime/AI/BehaviourTree/WaitUntilNode.cs | ormesam/splatter | 0 | 7033224 | <reponame>ormesam/splatter<gh_stars>0
using System;
namespace Splatter.AI.BehaviourTree {
/// <summary>
/// Returns <see cref="NodeResult.Running"/> until the condition is true.
/// </summary>
public class WaitUntilNode : Node {
private readonly Func<bool> condition;
/// <summary>
... |
Source/CoreLib/Login.cs | stackpond/smart-attendance | 0 | 7033225 | using System;
using System.Linq;
using System.Text;
using System.Security;
using System.Data.Linq;
using System.Web.Security;
using System.Security.Principal;
using System.Collections.Generic;
using Utilities;
using DataAccess;
using DataAccess.DataSetTableAdapters;
namespace CoreLib
{
/// <summary>
/// Empl... |
src/SwiftClient/Interfaces/ISwiftLogger.cs | amangallon/SwiftClient.NetStandard | 22 | 7033226 | using System;
using System.Net;
namespace SwiftClient
{
public interface ISwiftLogger
{
void LogAuthenticationError(Exception ex, string username, string password, string endpoint);
void LogRequestError(Exception ex, HttpStatusCode statusCode, string reason, string requestUrl);
void Lo... |
NuKeeper.Update/Process/NuGetUpdatePackageCommand.cs | nickvbeek/NuKeeper | 542 | 7033227 | using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using NuGet.Configuration;
using NuGet.Versioning;
using NuKeeper.Abstractions.Logging;
using NuKeeper.Abstractions.NuGet;
using NuKeeper.Abstractions.RepositoryInspection;
using NuKeeper.Update.ProcessRunner;
namespace NuKeeper.Update.P... |
src/Disqus.Core/Disqus.Core/Services/Api/DsqLimit.cs | ryanvalentin/disqus-sdk-net | 0 | 7033228 | namespace Disqus.Core.Services.Api
{
public struct DsqLimit
{
const int _max = 100;
const int _min = 1;
public DsqLimit(int limit = 25)
{
if (limit > _max)
Value = _max;
else if (limit < _min)
Value = _min;
else
Value = limit;
}
public int Value;
public override string ToString(... |
Assets/ScanLine/UpdateDistanceLine.cs | alpacasking/ScanLine | 1 | 7033229 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
public class UpdateDistanceLine : MonoBehaviour
{
private PostProcessVolume m_Volume;
private ScanLine m_scanLine;
public Transform TargetObject;
private
// Start is called b... |
src/CoreWCF.Primitives/src/CoreWCF/Channels/WindowsStreamSecurityUpgradeProvider.cs | angewa/CoreWCF | 1 | 7033230 | using CoreWCF.IdentityModel;
using CoreWCF.IdentityModel.Policy;
using CoreWCF.IdentityModel.Selectors;
using CoreWCF.IdentityModel.Tokens;
using CoreWCF.Description;
using CoreWCF.Security;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Net;
using System.Net.Security;
using System.S... |
Pact.Palantir/Usecase/CheckUser/CheckUserInteractor.cs | PACTCare/Palantir | 2 | 7033232 | namespace Pact.Palantir.Usecase.CheckUser
{
using System;
using System.Threading.Tasks;
using Pact.Palantir.Entity;
using Pact.Palantir.Exception;
using Pact.Palantir.Repository;
using Pact.Palantir.Service;
using Tangle.Net.Cryptography;
using Tangle.Net.Cryptography.Signing;
using Tangle.Net.Enti... |
src/OmniSharp.MSBuild/SolutionParsing/GlobalSectionBlock.cs | jcs-PR/omnisharp-roslyn | 1,391 | 7033233 | <filename>src/OmniSharp.MSBuild/SolutionParsing/GlobalSectionBlock.cs
using System.Collections.Immutable;
namespace OmniSharp.MSBuild.SolutionParsing
{
internal sealed class GlobalSectionBlock : SectionBlock
{
private GlobalSectionBlock(string name, ImmutableArray<Property> properties)
: b... |
LinqBenchmarks/Enumerable/Int32/EnumerableInt32WhereSelectToList.cs | reegeek/LinqBenchmarks | 0 | 7033234 | <gh_stars>0
using BenchmarkDotNet.Attributes;
using NetFabric.Hyperlinq;
using StructLinq;
using System.Collections.Generic;
using System.Linq;
using Nessos.LinqOptimizer.CSharp;
using Nessos.Streams.CSharp;
namespace LinqBenchmarks.Enumerable.Int32
{
public partial class EnumerableInt32WhereSelectToList: Enumera... |
DevTools.Application/Models/Dto/Issues/UsersDatesSummary.cs | BorczGrzegorz/DevTools | 0 | 7033235 | using System;
using System.Collections.Generic;
using System.Text;
namespace DevTools.Application.Models.Dto.Issues
{
public class UsersDatesSummary : Dictionary<string, DatesIssueSummaryDto>
{
public UsersDatesSummary(IDictionary<string, DatesIssueSummaryDto> dictionary) : base(dictionary)
{
... |
IceInk/Tools/00.CsharpExtensions/ObjectExtension.cs | LT156809593/IceInk | 1 | 7033236 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
namespace IceInk
{
public static class ObjectExtension
{
public static bool ContainsInterface<T>(this obje... |
sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/Models/Category.cs | gjy5885/azure-sdk-for-net | 3,268 | 7033237 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
TestGame/TestGame/PPTScene.cs | IppClub/Dorothy-Xna | 1 | 7033238 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dorothy.Core;
using Microsoft.Xna.Framework;
using Dorothy.Cameras;
using Microsoft.Xna.Framework.Input;
using Dorothy;
using Dorothy.Defs;
using Dorothy.Game;
using Dorothy.Data;
using Microsoft.Xna.Framework.Graph... |
PholioVisualisationWS/ServiceActions/PartitionDataForAllAgesBuilder.cs | publichealthengland/fingertips-open | 2 | 7033239 | using System.Collections.Generic;
using System.Linq;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.DataSorting;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.ServiceActions
{
public class PartitionDataForAllAgesBuilder : PartitionDataBuilderBase
{
priva... |
src/Comformation/Generated/Greengrass/FunctionDefinition/DefaultConfig.cs | stanb/Comformation | 17 | 7033240 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.Greengrass.FunctionDefinition
{
/// <summary>
/// AWS::Greengrass::FunctionDefinition DefaultConfig
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-pro... |
Xunit.DependencyInjection.Analyzer/AnalyzerResources.Designer.cs | libaowei/Xunit.DependencyInjection | 202 | 7033241 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace X... |
Banking.Tests/BankAccountFactoryFixture.cs | Micky5991/Banking | 0 | 7033242 | <reponame>Micky5991/Banking<filename>Banking.Tests/BankAccountFactoryFixture.cs
using System;
using FluentAssertions;
using Micky5991.Banking.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Micky5991.Banking.Tests
{
[TestClass]
public cl... |
the-state-machine/csharp/src/TheStateMachine/Program.cs | utoolity/serverless | 1,627 | 7033243 | <filename>the-state-machine/csharp/src/TheStateMachine/Program.cs
using Amazon.CDK;
using System;
using System.Collections.Generic;
using System.Linq;
namespace TheStateMachine
{
sealed class Program
{
public static void Main(string[] args)
{
var app = new App();
new T... |
src/IssueManage/Extension/ExtensionBuilder.cs | 188867052/Element-Blazor-PDS | 0 | 7033244 | using Element.Admin;
using IssueManage.Pages;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace IssueManage
{
public static class ExtensionBuilde... |
Repositorio/ProdutoRepositorio.cs | matheusamaralima/Tsushi | 0 | 7033245 | using System;
using System.Collections.Generic;
using Senai.Tsushi.MVC.ViewModel;
namespace Senai.Tsushi.MVC.Repositorio
{
public class ProdutoRepositorio
{
List<ProdutoViewModel> listaDeProdutos = new List<ProdutoViewModel>();
/// <summary>Método responsável por armazenar um produto</summary>... |
Template10 (Library)/Services/KeyboardService/KeyboardService.cs | githubpama/Schwiizerduetschforkids | 2 | 7033246 | <filename>Template10 (Library)/Services/KeyboardService/KeyboardService.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Template10.Services.KeyboardService
{
public class KeyboardService
{
#region Debug
static void DebugWrite(string te... |
apps/RestaurantReviews/RRBL/RestaurantBL.cs | 210503-Reston-NET/phoebe-code | 0 | 7033247 | using System.Collections.Generic;
using RRModels;
using RRDL;
using System;
namespace RRBL
{
/// <summary>
/// Business logic class for the restaruant model
/// </summary>
public class RestaurantBL : IRestaurantBL
{
private IRepository _repo;
//Todo: Implement GetAllRestaurants()
... |
src/TygaSoft/WcfModel/Pda/PdaPandianAssetFmModel.cs | fdhgfg/abc123 | 61 | 7033248 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace TygaSoft.WcfModel
{
[DataContract(Name = "PdaPandianAssetFmModel")]
public class PdaPandianAssetFmModel : AuthFmModel
{
[DataMember]
public string PandianId { get; set; }
//[DataMember]
... |
tests/generator-Tests/SupportFiles/JniHandleOwnership.cs | jonpryor/java.interop | 167 | 7033249 | <gh_stars>100-1000
#if !JAVA_INTEROP1
using System;
namespace Android.Runtime
{
public enum JniHandleOwnership {
DoNotTransfer = 0,
TransferLocalRef = 1,
TransferGlobalRef = 2,
}
}
#endif // !JAVA_INTEROP1
|
OrchardCore.Commerce/Abstractions/IShoppingCartHelpers.cs | Allann/OrchardCore.Commerce | 0 | 7033250 | <reponame>Allann/OrchardCore.Commerce<gh_stars>0
using OrchardCore.Commerce.Models;
using OrchardCore.Commerce.ViewModels;
using OrchardCore.ContentManagement.Metadata.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace OrchardCore.Commerce.Abstractions;
/// <summary>
/// A serv... |
DotNet/DotNet/UE4/Generated/MaterialEditor/MaterialEditorSettings.cs | UE4DotNet/Plugin | 2 | 7033251 | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... |
LMS-IntenciA/MemberEdit.Designer.cs | dashtharindu/LMS-IntenciA | 0 | 7033252 | <reponame>dashtharindu/LMS-IntenciA<filename>LMS-IntenciA/MemberEdit.Designer.cs<gh_stars>0
namespace LMS_IntenciA
{
partial class frm_member_edit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/Flo/OutputPipelineBuilder.cs | danielmarbach/Flo | 63 | 7033253 | using System;
using System.Threading.Tasks;
namespace Flo
{
public class OutputPipelineBuilder<TIn, TOut>
: Builder<TIn, TOut, OutputPipelineBuilder<TIn, TOut>>
{
private static Func<TOut, bool> DefaultContinuation = output => output == null;
public OutputPipelineBuilder(Func<T... |
Libraries/core/net40/Query/Patterns/SPARQLPatternClasses.cs | mungojam/dotnetrdf-fork | 0 | 7033254 | /*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated d... |
VoatHub/Api/Voat/VoatApi.cs | jingyuyao/VoatHub | 0 | 7033255 | using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using System.Threading.Tasks;
using VoatHub.Api.Client;
using VoatHub.Models.Voat.v1;
using VoatHub.Models.Voat;
namespace VoatHub.Api.Voat
{
/// <summary>
/// Class to interface to Voat's API
/// </summary>
p... |
functions/LetsGetFunky.cs | codemillmatt/dotnet-ipad | 0 | 7033256 | <reponame>codemillmatt/dotnet-ipad
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace I... |
MountainTrip/Startup.cs | hyparh/MountainTrip-project | 0 | 7033257 | <gh_stars>0
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MountainTrip.Data;
using MountainTrip.Data.Models;
using MountainTrip.Infrastructure;
using MountainTrip.Services.Bookings;
using MountainTrip.Services.Guides;
using MountainTrip.Services.Trips;
u... |
AppBancoDominio/Funcionario/Categoria.cs | System-Strength/ASP.NET_CodeForCode | 0 | 7033258 | <reponame>System-Strength/ASP.NET_CodeForCode<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppBancoDominio
{
public class Categoria
{
[JsonProperty("cd_cat")]
public int cd_cat { ... |
CrossLoggerDataManager/Controllers/UserController.cs | dennishammarstrand/CrossLogger | 0 | 7033259 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CrossLoggerDataManager.Data;
using CrossLoggerDataManager.Models;
using CrossLoggerDataManager.Processors;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace CrossLoggerDataManager.Controller... |
src/Captura.MouseKeyHook/Models/MappingGroup.cs | Lakritzator/Captura | 1 | 7033260 | using System.Collections.Generic;
using System.Windows.Forms;
namespace Captura.MouseKeyHook.Models
{
// ReSharper disable once ClassNeverInstantiated.Global
public class MappingGroup
{
public List<ModifierStates> On { get; set; }
public Dictionary<Keys, string> Keys { get; } = new Dictio... |
ElectronicObserver/Window/FormFleet.Designer.cs | slime7/ElectronicObserver | 0 | 7033261 | <reponame>slime7/ElectronicObserver
namespace ElectronicObserver.Window
{
partial class FormFleet
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// Required method ... |
Sources/AngouriMath/AngouriMath/Functions/Continuous/Limits/Solvers/Limit.Solvers.cs | cyberillithid/AngouriMath | 512 | 7033263 | //
// Copyright (c) 2019-2021 Angouri.
// AngouriMath is licensed under MIT.
// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.
// Website: https://am.angouri.org.
//
using AngouriMath.Core.Exceptions;
using AngouriMath.Core.Multithreading;
using PeterO.Numbers;
namespace AngouriMath.Fu... |
client/framework/dotween-develop/UnityTests.Unity4/Assets/_Tests/EaseCurves.cs | HelloWindows/AccountBook- | 1 | 7033264 | <filename>client/framework/dotween-develop/UnityTests.Unity4/Assets/_Tests/EaseCurves.cs
using System;
using DG.Tweening;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class EaseCurves : BrainBase
{
public RawImage image;
public AnimationCurve easeCurve;
public float tweenDuration... |
project/CsvEnumerator/CsvEnumerable.cs | djsxp/CsvEnumerator | 0 | 7033265 | <reponame>djsxp/CsvEnumerator
using System.Collections;
using System.Collections.Generic;
namespace CsvEnumerator
{
public class CsvEnumerable : IEnumerable<CsvRecordEnumerable>
{
private readonly int _position;
private readonly ISeekableString _inputStream;
public CsvEnumerable(ISeeka... |
BaseSpace.SDK/Types/Billing/PurchasedProduct.cs | brunzefb/basespace-csharp-sdk | 1 | 7033266 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Illumina.BaseSpace.SDK.Types
{
/// <summary>
/// Represents a purchased product
/// </summary>
[DataContract]
public class PurchasedProductCompact
{
/// <... |
ApexSharp.ApexParser/Syntax/AccessorDeclarationSyntax.cs | apexsharp/apexparser | 15 | 7033267 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApexSharp.ApexParser.Toolbox;
using ApexSharp.ApexParser.Visitors;
namespace ApexSharp.ApexParser.Syntax
{
public class AccessorDeclarationSyntax : MemberDeclarationSyntax
... |
XmlSitemap/Interfaces/IBaseEntity.cs | hallojoe/XmlSitemap | 0 | 7033268 | <filename>XmlSitemap/Interfaces/IBaseEntity.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace HalloJoe.XmlSitemap.Interfaces
{
/// <summary>
/// A sitemap in a sitemapindex or the base of a url in a urlset
/// </summary>
public interface IBaseEntity
{
string L... |
Assets/Scripts/AI/Rollable.cs | joshkillinger/LudumDare46 | 0 | 7033269 | <reponame>joshkillinger/LudumDare46
using UnityEngine;
namespace AI
{
public class Rollable : MonoBehaviour
{
public float Roll;
private void LateUpdate()
{
lateUpdate();
var rot = Roll - transform.rotation.eulerAngles.z;
transform.Rotate(transform.forward, rot, Space.World);
... |
src/FamUnion.Infrastructure/Services/ReunionService.cs | Wazaby-Tech/FamUnion | 0 | 7033270 | using FamUnion.Core.Interface;
using FamUnion.Core.Interface.Services;
using FamUnion.Core.Model;
using FamUnion.Core.Request;
using FamUnion.Core.Utility;
using FamUnion.Core.Validation;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FamUnion.Infrastructure.Services
{
pub... |
Source/Tools/ScutSMS/ScutSMS/SettingForm.cs | simon96523/Scut | 1 | 7033271 | <reponame>simon96523/Scut<filename>Source/Tools/ScutSMS/ScutSMS/SettingForm.cs
using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Windows.Forms;
using Scut.SMS.Config;
using ZyGames.Framework.Common.Build;
using ZyGames.Framework.Script;
namespace Scut.SMS
{
public enum SettingTa... |
src/TC.Profiling/ResultNode.cs | TimonChristl/TC.Profiling | 0 | 7033272 | <reponame>TimonChristl/TC.Profiling<filename>src/TC.Profiling/ResultNode.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace TC.Profiling
{
/// <summary>
/// A single node of profiling result data. A node has samples (<see cref="Samples"/>)... |
RuriLib/Models/ValidData.cs | hjkhkjhkj/open-Bullet | 2 | 7033273 | using RuriLib.ViewModels;
using System;
using System.Collections.Generic;
namespace RuriLib.Models
{
/// <summary>
/// Represents the outcome of a check which can be represented in a list and can give information on the details of the check.
/// </summary>
public class ValidData : ViewModelBase
{
... |
src/NeoSharp.VM.Interop/Types/ExecutionEngine.cs | wy/neo-sharp | 0 | 7033274 | <filename>src/NeoSharp.VM.Interop/Types/ExecutionEngine.cs
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.InteropServices;
using NeoSharp.VM.Interop.Extensions;
using NeoSharp.VM.Interop.Types.Collections;
using NeoSharp.VM.Interop.Types.StackItems;
namespace NeoSharp.VM.I... |
Assets/Scripts/Controller/ReqLocalDataCommand.cs | YANGQUNGONGSHE/jesusYQ_U3d | 1 | 7033275 | using System.Collections;
using System.Collections.Generic;
using strange.extensions.command.impl;
using UnityEngine;
public class ReqLocalDataCommand : EventCommand {
[Inject]
public IAccountService AccountService { get; set; }
private ReqLocalInfo _mReqLocalInfo;
private List<LocalModel> mLocalMo... |
src/RedisWebServices.ServiceInterface/SortedSet/GetSortedSetCountService.cs | RedisLabs/ServiceStack.RedisWebServices | 1 | 7033276 | using RedisWebServices.ServiceModel.Operations.SortedSet;
namespace RedisWebServices.ServiceInterface.SortedSet
{
public class GetSortedSetCountService
: RedisServiceBase<GetSortedSetCount>
{
protected override object Run(GetSortedSetCount request)
{
return new GetSortedSetCountResponse
{
Count... |
sample/Kmd.Logic.FileSecurity.Client.DocumentPrivilegesSample/ConfigurationValidator.cs | Araballi/kmd-logic-file-security-client | 0 | 7033277 | using Serilog;
namespace Kmd.Logic.FileSecurity.Client.DocumentPrivilegesSample
{
/// <summary>
/// Class to validate configuration details.
/// </summary>
internal class ConfigurationValidator
{
private readonly AppConfiguration configuration;
public ConfigurationValidator(AppCon... |
Assets/_Scripts/Test/AnimatorWriter2State.cs | keel-210/WindowTransparent_Test | 3 | 7033279 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class AnimatorWriter2State : MonoBehaviour
{
Animator anim;
AnimatorConnector[] connecters;
void Start ()
{
List<Animator> Animators = FindObjectsOfType<Animator> ().ToList ();
anim = GetComponent<Animator... |
Rayzin/Primitives/RzPoint.cs | lassevk/rayzin | 0 | 7033281 | <filename>Rayzin/Primitives/RzPoint.cs
using System;
namespace Rayzin.Primitives
{
public readonly struct RzPoint : IEquatable<RzPoint>
{
public struct Presets
{
public static readonly RzPoint Zero = new(0, 0, 0);
public static readonly RzPoint Origin = new(0, 0, 0);
... |
Assets/Scripts/Map/Map.cs | KonstantinTomashevich/unity-2d-roquelike | 3 | 7033282 | using System.Collections;
using System.Collections.Generic;
using System.Xml;
using UnityEngine;
public class Map : MonoBehaviour {
public UnitsManager unitsManager;
public ItemsManager itemsManager;
public string mapName;
public Color stoneWallColor;
public Color stoneFloorColor;
public Color woodWallColor;
... |
SAEON.Observations.WebSite.Admin/App_Code/Helpers.cs | NimbusServices/SAEON.ObservationsDatabase | 0 | 7033283 | using Ext.Net;
public static class TextFieldExtensions
{
public static bool HasValue(this TextField field)
{
field.Text = field.Text.Trim();
return !field.IsEmpty;
}
}
public static class TextAreaExtensions
{
public static bool HasValue(this TextArea field)
{
field.Text = ... |
Mods/_Shared/DateFileExtensions.cs | uf0wxxel/ScrollOfTaiwuMods | 1 | 7033284 | namespace UnityModManagerNet
{
internal static class DateFileExtensions
{
public static string SetColor(this DateFile dateFile, TaiwuTextColor color, string text, bool noChange = false)
{
return dateFile.SetColoer((int)color, text, noChange);
}
public static string S... |
Services/Interfaces/IAuthenticationService.cs | Cmrickels/FoodDeliveryToolSuite | 0 | 7033285 | using System.Threading.Tasks;
using ApiGateway.Models.Entities;
using ApiGateway.Presenters;
using ApiGateway.Models.Requests;
using ApiGateway.Models.Dto;
namespace ApiGateway.Services.Interfaces
{
interface IAuthenticationService
{
// fetch entity that represents user. Check that credentials are val... |
Framework/CoreUnitTests/ConfigTests.cs | jonreding2010/MAQS | 0 | 7033286 | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConfigTests.cs" company="Magenic">
// Copyright 2019 Magenic, All rights Reserved
// </copyright>
// <summary>
// Class for config unit tests.
// </summary>
// ---... |
Assets/Script/Item/LerpMovement.cs | LucaFin/BrackeyGameJam | 0 | 7033287 | <reponame>LucaFin/BrackeyGameJam
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LerpMovement : MonoBehaviour
{
public Vector2 StartPosition;
public Vector2 LastPosition;
private float time=0;
private Vector2 offset;
[SerializeField]
private float spe... |
PoESkillTree.Engine.Computation.Data.Tests/Collections/PropertyMatcherCollectionTest.cs | BlazesRus/PoESkillTree_BlazesRus.Engine | 5 | 7033288 | <filename>PoESkillTree.Engine.Computation.Data.Tests/Collections/PropertyMatcherCollectionTest.cs<gh_stars>1-10
using System.Linq;
using Moq;
using NUnit.Framework;
using PoESkillTree.Engine.Computation.Common.Builders.Stats;
using PoESkillTree.Engine.Computation.Common.Builders.Values;
using PoESkillTree.Engine.Utils... |
ControlChannelTrigger HTTP client sample/C#/ControlChannelHttpClient/Scenario1.xaml.cs | mfloresn90/CSharpSources | 1 | 7033289 | // Copyright (c) Microsoft Corporation. All rights reserved.
using DiagnosticsHelper;
using HttpClientTransportHelper;
using SDKTemplate;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.UI.Core;
using Windows.UI.Xaml;
usi... |
TencentCloud/Cvm/V20170312/Models/LaunchTemplateVersionInfo.cs | lzw316/tencentcloud-sdk-dotnet | 300 | 7033290 | <gh_stars>100-1000
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... |
src/Skybrud.Social.Twitter/TwitterUtils.cs | ohunecker/Skybrud.Social.Twitter | 0 | 7033291 | <filename>src/Skybrud.Social.Twitter/TwitterUtils.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Skybrud.Social.Twitter.Entities.Formatting;
using Skybrud.Social.Twitter.Models.Entities;
using Skybrud.Social.Twit... |
src/UUPDownload/UpdateUtils.cs | riverar/UUPMediaCreator | 2 | 7033292 | <gh_stars>1-10
using CompDB;
using Microsoft.Cabinet;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Threading.Tasks;
using WindowsUpdateLib;
namespace UUPDownload
{
public static clas... |
osu.Game.Tests/Visual/Online/TestSceneRankingsSpotlightSelector.cs | peppy/osu-new | 1 | 7033293 | <reponame>peppy/osu-new
// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Online... |
src/DatabaseBenchmark/Databases/Sql/SqlDistinctValuesProvider.cs | YuriyIvon/DatabaseBenchmark | 0 | 7033294 | using DatabaseBenchmark.Core.Interfaces;
using System.Data;
namespace DatabaseBenchmark.Databases.Sql
{
public class SqlDistinctValuesProvider : IDistinctValuesProvider
{
private readonly IDbConnection _connection;
private readonly IExecutionEnvironment _environment;
public ... |
SharpWSManWinRM.cs | ndur0/WSMan-WinRM | 176 | 7033296 | /*
SharpWSManWinRM.cs
Purpose: A simple POC for leveraging a WMI class to execute a remote command over the WinRM (WSMan) protocol using the WSMan.Automation COM object (wsmauto.dll)
Author: @bohops
License: BSD 3-Clause
Usage: SharpWSManWinRM.exe [hostname] [command]
U... |
src/Catel.MVVM/Catel.MVVM.Shared/MVVM/Converters/VisibilityConverterBase.cs | nix63/Catel | 0 | 7033297 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="VisibilityConverterBase.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// ----------------------... |
Packages/Core/Runtime/Actions/AtomAction.cs | lucasrferreira/unity-atoms | 0 | 7033298 | using System;
using UnityEngine;
namespace UnityAtoms
{
/// <summary>
/// Base abstract class for Actions. Inherits from `BaseAtom`.
/// </summary>
public abstract class AtomAction : BaseAtom
{
/// <summary>
/// The actual Action.
/// </summary>
[HideInInspector]
... |
Server/Hangman.Server/Features/Game/Models/LifesResponseModel.cs | Valentin9003/Hangman | 1 | 7033299 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hangman.Server.Features.Game.Models
{
public class LifesResponseModel
{
public int Lifes { get; set; }
public bool Lose { get; set; } = false;
}
}
|
DLC.Scientific/DLC.Scientific.Core/DLC.Scientific.Core/Geocoding/Gps/Ncom/Channels/Channel13.cs | slorion/multiagent-system-example | 2 | 7033300 | using System;
namespace DLC.Scientific.Core.Geocoding.Gps.Ncom.Channels
{
internal sealed class Channel13
: Channel
{
public override int ChannelNumber { get { return 13; } }
/// <summary>
/// Initializes a new instance of the <see cref="Channel13"/> class.
/// </summary>
public Channel13(NcomRawData d... |
BLL/Extensions/Party/PartyExtendConferenceExtensions.cs | serfend/Project.Web.SfMVC.TrainSchdule.1903 | 3 | 7033301 | using BLL.Extensions.Common;
using BLL.Helpers;
using DAL.DTO.ZZXT;
using DAL.Entities.ZZXT.Conference;
using StackExchange.Redis.Extensions.Core.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL.Extensions.Party
{
/// <... |
samples/Steropes.UI.Demo/GameStates/GameStateIntro.cs | RabbitStewDio/Steropes.UI | 6 | 7033302 | <filename>samples/Steropes.UI.Demo/GameStates/GameStateIntro.cs
// MIT License
// Copyright (c) 2011-2016 <NAME>, Sparklin Labs, Creative Patterns
// Copyright (c) 2016 <NAME>, Rabbit-StewDio Ltd.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documen... |
PenDesign.Service/Base/BannerMappingService.cs | huuphuu/pendesignvn | 0 | 7033304 | <gh_stars>0
using PenDesign.Core.Interface.Data;
using PenDesign.Core.Interface.Service.BasicServiceInterface;
using PenDesign.Core.Model;
namespace PenDesign.Service.Base
{
public partial class BannerMappingService: BaseService<BannerMapping>, IBannerMappingService
{
public BannerMappingService... |
src/Nethereum.Pantheon/RPC/Miner/MinerStart.cs | dllio/Nethereum | 2 | 7033305 | <filename>src/Nethereum.Pantheon/RPC/Miner/MinerStart.cs
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Infrastructure;
namespace Nethereum.Pantheon.RPC.Miner
{
/// <Summary>
/// Starts the CPU mining process. To start mining, a miner coinbase must have been previously specified using the
/// ... |
Fail2Ban4Win/Data/SubnetFailureHistory.cs | Aldaviva/Fail2Ban4Win | 1 | 7033306 | using System;
namespace Fail2Ban4Win.Data {
public interface SubnetFailureHistory {
int banCount { get; set; }
void clear();
void add(DateTimeOffset failureTime);
int countFailuresSinceAndPrune(DateTimeOffset minFailureTime);
}
} |
Gu.Xml/ReadMaps/ReadMap.cs | GuOrg/Gu.Xml | 1 | 7033307 | namespace Gu.Xml
{
using System;
using System.Xml;
internal class ReadMap
{
private readonly Delegate read;
private ReadMap(Delegate read)
{
this.read = read;
}
internal static ReadMap CreateSimple<T>(Func<string, T> read) => new ReadMap(new Func<X... |
ControleDeEstoque/DAL/DadosDaConexao.cs | FlavioFerreira/ControleDeEstoque | 0 | 7033308 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class DadosDaConexao
{
public static String StringDeConexao
{
get
{
return "Data Source=FLAVIO-PC\\SQLEXPRESS;Initi... |
src/Nethereum.GSN/Exceptions/GSNException.cs | chee-chyuan/Nethereum | 1,796 | 7033309 | using System;
namespace Nethereum.GSN.Exceptions
{
public class GSNException : Exception
{
public GSNException()
{
}
public GSNException(string message)
: base(message)
{
}
public GSNException(string message, Exception inner)
: ... |
data/train/csharp/5ac0d32ea69222eeb9dc765dbdd30e70904b3b6dDispatchController.cs | aliostad/deep-learning-lang-detection | 84 | 7033310 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MrQuicky.Controllers
{
public class DispatchController : Controller
{
// GET: Dispatch
public ActionResult DispatchManagement()
{
return Vie... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.