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 |
|---|---|---|---|---|
src/Qowaiv/QowaivMessages.Designer.cs | Qowaiv/Qowaiv | 39 | 7040764 | //------------------------------------------------------------------------------
// <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>
//--... |
TencentCloud/Cpdp/V20190820/Models/TransferSinglePayRequest.cs | lzw316/tencentcloud-sdk-dotnet | 300 | 7040765 | /*
* 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/licenses/LICENSE-2.0
*
... |
src/NServiceBus.Core.Tests/AutomaticSubscriptions/When_starting_an_endpoint_containing_a_saga.cs | marinkobabic/NServiceBus | 1 | 7040766 | <gh_stars>1-10
namespace NServiceBus.Core.Tests.AutomaticSubscriptions
{
using System;
using System.Linq;
using NUnit.Framework;
using Saga;
using Unicast.Tests.Contexts;
[TestFixture]
public class When_starting_an_endpoint_containing_a_saga : AutoSubscriptionContext
{
... |
Assets/Scripts/AirMovementController.cs | Game-Bubble/Run-Transformer | 0 | 7040767 | using SO;
using SO.Move_Data;
using UnityEngine;
public class AirMovementController : MonoBehaviour
{
[SerializeField] Rigidbody _rigidbody;
[SerializeField] MovementDataSO movementDataSO;
[SerializeField] GameConstraints _gameConstraints;
float _lastFrameMousePosX;
float _valueToApply;
bool _didLastFrameClick... |
UJCSystem/Vokabular.Shared.DataContracts/Types/TextFormatEnumContract.cs | RIDICS/ITJakub | 3 | 7040768 | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Vokabular.Shared.DataContracts.Types
{
[JsonConverter(typeof(StringEnumConverter))]
public enum TextFormatEnumContract : byte
{
Raw = 0,
Html = 1,
Rtf = 2,
}
}
|
EIDSS v5/eidss.model/Schema/VectorSample.model.cs | EIDSS/EIDSS-Legacy | 2 | 7040769 | #pragma warning disable 0472
using System;
using System.Text;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Xml.Serialization;
using BLToolkit.Aspects;
using BLToolkit.DataAccess... |
Source/RW_CustomPawnGeneration/Patch_PawnGenerator_GenerateTraits_Internal.cs | emipa606/CustomPawnGeneration | 0 | 7040770 | <filename>Source/RW_CustomPawnGeneration/Patch_PawnGenerator_GenerateTraits_Internal.cs
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace RW_CustomPawnGeneration
{
// Token: 0x0200000C RID: 12
public static class Patch_PawnGenerator_GenerateTraits_Internal
{
// Token: 0x06000... |
data/train/csharp/b6627bf47ec6b934d8f8e377d70ef078e87fcc92MonitorService.cs | aliostad/deep-learning-lang-detection | 84 | 7040771 | using System;
using System.Linq;
using System.Threading.Tasks;
using RpcLite.Monitor.Contract;
using RpcLite.Monitor.Service.Dal;
namespace RpcLite.Monitor.Service
{
public class MonitorService : IMonitorService
{
public async Task AddInvokesAsync(InvokeInfo[] invokes)
{
if (invokes?.Length == 0) return;
... |
RabbitMQAzureMetrics/MetricsValueConverters/MetricValueCollectionWrapper.cs | debugerr/RabbitMqAzureMetrics | 8 | 7040772 | namespace RabbitMQAzureMetrics.MetricsValueConverters
{
using System.Collections.Generic;
public class MetricValueCollectionWrapper
{
public IList<MetricValueItem> Values { get; } = new List<MetricValueItem>();
public void Add(double value, params string[] dimensions)
{
... |
Cindi.DotNetCore/Cindi.Domain/Entities/StepTests/Options/StatusTest.cs | xucito/cindi-bot-template-.netcore | 0 | 7040773 | using Cindi.Domain.Entities.Steps;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cindi.Domain.Entities.StepTests
{
public class StatusTest : TestBase
{
public List<string> ValidStatuses = new List<string>();
public List<string> InvalidStatuses = new List<string>(... |
tests/Tests/TestLinkPArray.cs | kjk/volante-new | 61 | 7040774 | // Copyright: <NAME>
// License: BSD
namespace Volante
{
using System;
using System.Collections;
using System.Collections.Generic;
public class TestLinkPArray : ITest
{
public class RelMember : Persistent
{
long l;
public RelMember()
... |
src/BeatLabs/Assets/BeatLabs/Scripts/Utils/DisableOutsideUnityEditor.cs | marek-stoj/Beat-Labs | 0 | 7040775 | using UnityEngine;
namespace BeatLabs.Utils
{
public class DisableOutsideUnityEditor : MonoBehaviour
{
[Tooltip("If specified, that object will be disabled; otherwise this object will be disabled.")]
public GameObject optionalTarget;
private void Start()
{
#if !UNITY_EDITOR
GameO... |
2017/day1/day1.test/UnitTest1.cs | CeesKaas/adventofcode | 0 | 7040776 | <filename>2017/day1/day1.test/UnitTest1.cs
using NUnit.Framework;
using day1.implementation;
namespace Tests
{
public class Tests
{
[Test]
[TestCaseSource(nameof(GivenExamples))]
public void TestDoWork(int[] input, int expectedSum)
{
Assert.That(Summer.DoWork(input),... |
src/FluentUtils.AutoMapper.Extensions.Microsoft.DependencyInjection/DependencyInjection.cs | wpei-infotrack/Draekien.FluentUtils | 1 | 7040777 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentUtils.AutoMapper;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Extensions for registering AutoMapper profiles created with IMapFrom.
/// </summary>
public st... |
test/MavenThought.Commons.Tests/Delegates/BaseSpecification.cs | amirci/mt_commons | 2 | 7040778 | <gh_stars>1-10
using MbUnit.Framework;
namespace MavenThought.Commons.Tests.Delegates
{
public abstract class BaseSpecification: BaseTestWithMocking
{
[SetUp]
public virtual void Before_Each()
{
this.Because();
}
/// <summary>
/// Holder before each ... |
src/Vasily/Utils/SqlCopyer.cs | NMSLanX/Vasily | 1 | 7040779 | <reponame>NMSLanX/Vasily
using System;
using System.Reflection;
using System.Reflection.Emit;
namespace Vasily.Utils
{
public delegate void Setter(SqlModel value);
public static class SqlCopyer
{
public static void Initialize(SqlModel model) {
Type typeHandler = typeof(Sql<>);
... |
ReactSharp/ReactSharp/ReactComponent.cs | SamProf/ReactSharp | 42 | 7040780 | <reponame>SamProf/ReactSharp
using System;
using System.Collections.Generic;
namespace ReactSharp
{
public abstract class ReactComponent
{
internal ReactNode Node { get; set; }
protected IDictionary<string, object> Props { get; set; }
protected void SetState(Action action)
{
... |
src/core-taggeds-optional/Optional/Absent.T/Absent.T.Comparison.cs | andreigit/PrimeFuncPack | 5 | 7040782 | <reponame>andreigit/PrimeFuncPack
using static System.FormattableString;
namespace System;
partial struct Absent<T>
{
public int CompareTo(Absent<T> other) => default;
public int CompareTo(object? obj) => obj switch
{
null => 1,
Absent<T> => default,
_ => throw new ArgumentExce... |
weixin.work/Request/appchat/Request_groupchatmsgvideo.cs | yangyx91/axiangweixinwork | 0 | 7040783 | using System;
using System.Collections.Generic;
using System.Text;
namespace weixin.work.Request.appchat
{
public class Request_groupchatmsgvideo
{
public Request_groupchatmsgvideo()
{
this.msgtype = "video";
this.safe = 0;
}
/// <summary>
/// 群... |
Assets/Scripts/BunnyBehave.cs | Faisaljaved/BunnyDemo | 0 | 7040784 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class BunnyBehave : MonoBehaviour {
private Rigidbody2D myRigidBunny;
public float jumpForce = 500f;
private Animator myAnim;
private float bunnyHurtTime = -1;
private Co... |
Assets/Scripts/SpriteAtlasLinker.cs | umm/spriteatlas_linker | 1 | 7040785 | using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.U2D;
namespace UnityModule
{
[PublicAPI]
public class SpriteAtlasLinker : MonoBehaviour
{
[SerializeField] private List<SpriteAtlas> spriteAtlasList;
public List<SpriteAtlas> SpriteAtlasList... |
KS3/Model/ObjectListing.cs | ks3sdklib/ks3sdk-c- | 8 | 7040786 | <reponame>ks3sdklib/ks3sdk-c-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KS3.Model
{
/**
* Contains the results of listing the objects in an KS3 bucket.
*/
public class ObjectListing
{
/** A list of summary information describing the o... |
StopGuessingOld/DataStructures/DistributedResponsibilitySet.cs | SanjidaSanwar/StopGuessing | 79 | 7040787 | using System;
using System.Collections.Generic;
using System.Linq;
using StopGuessing.EncryptionPrimitives;
namespace StopGuessing.DataStructures
{
public class DistributedResponsibilitySet {
protected struct PhysicalNodesAssignedVirtualNodes
{
public int[] VirtualNodesAssigned;
... |
Nsiclass.Client/Views/ClassClient/LinksList.cshtml | moher4o/NSIClass | 0 | 7040788 | @model List<AdminLinksServiceModel>
@{
ViewData["Title"] = "Връзки";
}
<div class="row">
<h3 class="center-block text-center">Връзки към други информационни системи</h3>
<div class="col-md-4"></div>
<div class="col-md-4 note-version">
@foreach (var link in Model)
{
<h4>
... |
cqrs/src/IdentityServer/Config.cs | saturn72/cloud-design-patterns | 0 | 7040789 | using IdentityServer4.Models;
namespace IdentityServer
{
public class Config
{
public static IEnumerable<ApiScope> ApiScopes =>
new List<ApiScope>
{
new ApiScope("api1", "My API")
};
public static IEnumerable<Client> Clients =>
new Lis... |
MagisIT.OpsiClient/RpcInterfaces/ProductsInterface.cs | magis-school/OpsiClientSharp | 0 | 7040790 | using System.Collections.Generic;
using System.Threading.Tasks;
using MagisIT.OpsiClient.Models.Results;
using MagisIT.OpsiClient.Types;
namespace MagisIT.OpsiClient.RpcInterfaces
{
public class ProductsInterface : RpcInterface<Product>
{
public override string InterfaceName => "product";
inte... |
Source/NFX/DataAccess/CRUD/RowsetBase.cs | PavelTorgashov/nfx | 1 | 7040791 | <filename>Source/NFX/DataAccess/CRUD/RowsetBase.cs
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2014 IT Adapter Inc / 2015 Aum Code LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
reference-architecture/InventoryService/Program.cs | event-driven-dotnet/Sagas | 2 | 7040792 | <reponame>event-driven-dotnet/Sagas
using Common.Behaviors;
using Common.Integration.Events;
using EventDriven.CQRS.Abstractions.DependencyInjection;
using EventDriven.DependencyInjection.URF.Mongo;
using InventoryService.Configuration;
using InventoryService.Domain.InventoryAggregate;
using InventoryService.Integratio... |
Script/Effects/StateEffectLog.cs | marosicsaba91/PlayBox | 0 | 7040793 | using UnityEngine;
namespace PlayBox
{
public class StateEffectLog : StateEffect
{
public string specialMessage = string.Empty;
public override void InvokeEffect(bool isEntering, State state)
{
Debug.Log($"{(isEntering ? "Enter" : "Exit")}: ({State.name}) {specialMessage}");
}
}
} |
GenericODataWebApi.Tests/ConfigTests.cs | JPlumridge/GenericODataWebApi | 6 | 7040794 | <filename>GenericODataWebApi.Tests/ConfigTests.cs<gh_stars>1-10
//using System;
//using System.ComponentModel.DataAnnotations;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//namespace GenericODataWebApi.Tests
//{
// public class TestODataModel
// {
// [Key]
// public int Id { get; set; }
... |
src/LogDimensionCollection.AspNetCore/ResultItemsCountDimensionSelector.cs | christianacca/LogDimensionCollection | 0 | 7040795 | <filename>src/LogDimensionCollection.AspNetCore/ResultItemsCountDimensionSelector.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CcAcca.LogDimensionCollection.AspNetCore
{
/... |
Assets/_Course Library/Scripts/Actions/CreateTrail.cs | ApotheosisCrows/CWVR_Spring22 | 1 | 7040796 | using UnityEngine;
/// <summary>
/// This script creates a trail at the location of a gameobject with a particular width and color.
/// </summary>
public class CreateTrail : MonoBehaviour
{
public GameObject trailPrefab = null;
private float width = 0.05f;
private Color color = Color.white;
private... |
Programming Fundamentals/Program Fundamentals - Conditional Statements and Loops - Exercises/CakeIngredients/CakeIngredients/Program.cs | valkin88/Technologies-Fundamentals | 0 | 7040797 | <reponame>valkin88/Technologies-Fundamentals<filename>Programming Fundamentals/Program Fundamentals - Conditional Statements and Loops - Exercises/CakeIngredients/CakeIngredients/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ca... |
ios8/CloudKitAtlas/CloudKitAtlas/Menu/MainMenuTableViewCell.cs | susairajs/ios-samples | 863 | 7040798 | using System;
using UIKit;
using Foundation;
namespace CloudKitAtlas
{
public partial class MainMenuTableViewCell : UITableViewCell
{
[Outlet]
public UIImageView MenuIcon { get; set; }
[Outlet]
public UILabel MenuLabel { get; set; }
[Outlet]
public UILabel BadgeLabel { get; set; }
public MainMenuTa... |
Resources/ImageRes.Designer.cs | KureFM/PaperTemperature | 0 | 7040800 | <reponame>KureFM/PaperTemperature
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//---------------------------------------------------------... |
Modules/IO/RangeSupport.cs | Kaliumhexacyanoferrat/GenHTTP | 63 | 7040801 | using GenHTTP.Api.Content;
using GenHTTP.Modules.IO.Ranges;
namespace GenHTTP.Modules.IO
{
public static class RangeSupport
{
public static RangeSupportConcernBuilder Create() => new();
#region Extensions
/// <summary>
/// Adds range support as a concern to ... |
TW.Holiday.Service/Core/Holiday.Business/DataAccess/HttpSourceGraber.cs | BevisTC/TW.Holiday.Service | 0 | 7040802 | using Communication.Component.WebApi;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace Holiday.Business.DataAccess
{
public class HttpSourceGraber<T> : ISourceGraber<T>
{
private string url;
public HttpSourceGraber(string ur... |
Example/Model/Relation/Relation.cs | open-data-engine/CSharp | 0 | 7040803 | <filename>Example/Model/Relation/Relation.cs<gh_stars>0
using System;
using System.Collections.Generic;
using DotNetEnv;
using OpenDataEngine.Attribute;
using OpenDataEngine.Query;
using OpenDataEngine.Relation;
using OpenDataEngine.Source;
using OpenDataEngine.Strategy;
namespace Example.Model.Relation
{
public ... |
sources/core/Stride.Core.Design/Yaml/ParsingEventListEmitter.cs | profan/stride | 3 | 7040804 | <gh_stars>1-10
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Collections.Generic;
using Stride.Core.Yaml.Events;
namespace Stride... |
PollyMVVM/PollyMVVM.Models/Country.cs | hnabbasi/polly-mvvm | 15 | 7040805 | namespace PollyMVVM.Models
{
public class Country
{
public string Code { get; set; }
public string Name { get; set; }
public State[] States { get; set; }
}
} |
ToeffToeff/Controllers/HomeController.cs | jonathanwinter123/ToeffToeff | 0 | 7040806 | namespace ToeffToeff.Controllers
{
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
using Persistence;
public class HomeController : Controller
{
public ActionResult Index()
{
var motorcycleDb = new MotorcycleDb();
var persistedBrands =... |
src/podcastAggregate/podcastAggregate/podcastAggregate/dto/channel.cs | elduddz/podcastGraph | 0 | 7040807 | namespace podcastAggregate.dto
{
public class channel
{
public string title { get; set; }
public item[] item { get; set; }
}
} |
src/AngleSharp.Css/Declarations/BorderBottomDeclaration.cs | ericmutta/AngleSharp.Css | 40 | 7040808 | <filename>src/AngleSharp.Css/Declarations/BorderBottomDeclaration.cs
namespace AngleSharp.Css.Declarations
{
using AngleSharp.Css.Dom;
using System;
using static ValueConverters;
static class BorderBottomDeclaration
{
public static String Name = PropertyNames.BorderBottom;
public s... |
data/train/csharp/b67d904f00b2f849439b5b8c2e5fe7d886c6d8daDelayInvokeExample.cs | aliostad/deep-learning-lang-detection | 84 | 7040809 | using UnityEngine;
using System;
using System.Collections;
using UnityOps;
using UnityOps.UnityAsync;
public class DelayInvokeExample : MonoBehaviour
{
#region properties
int startFrame;
float startTime;
#endregion
#region override unity methods
void Start()
{
startFrame = Time.fr... |
ZMachineLib.Unit.Tests/Operations/OperationsMockery.cs | Chrislee187/ZMachineLib | 0 | 7040810 | using System;
using Moq;
using Shouldly;
using ZMachineLib.Content;
using ZMachineLib.Managers;
namespace ZMachineLib.Unit.Tests.Operations
{
public class OperationsMockery
{
private Mock<IZMemory> _memoryMock;
private Mock<IZObjectTree> _objectsMock;
private Mock<IVariableManager> _var... |
Source/Libs/AM.Windows.Forms5/Source/TreeGrid/TreeGridDateBox.cs | amironov73/ManagedIrbis5 | 0 | 7040811 | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
/* TreeGrid... |
src/System.Configuration.Core/Dcxml/DcxmlFile.cs | MyErpSoft/System.Configuration | 6 | 7040812 | <filename>src/System.Configuration.Core/Dcxml/DcxmlFile.cs
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using static System.Configuration.Core.Dcxml.DcxmlPackage;
namespace System.Configuration.Core.Dcxml {
internal sealed clas... |
src/TeamCityTheatre.Core/Client/Mappers/SnapshotDependencyMapper.cs | jimmycav/teamcity-theatre | 60 | 7040813 | using System;
using System.Collections.Generic;
using System.Linq;
using TeamCityTheatre.Core.Client.Responses;
using TeamCityTheatre.Core.Models;
namespace TeamCityTheatre.Core.Client.Mappers {
public interface ISnapshotDependencyMapper {
SnapshotDependency Map(SnapshotDependencyResponse snapshotDependency);... |
CSharpWebDevBasics/SimpleMvc/Application/Launcher.cs | Iliyan7/SoftUni | 0 | 7040814 | <reponame>Iliyan7/SoftUni
using Data;
using Framework;
using Framework.Routers;
using Microsoft.EntityFrameworkCore;
using WebServer;
namespace Application
{
public class Launcher
{
public static void Main(string[] args)
{
using (var db = new NotesDbContext())
{
... |
src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs | MCCshreyas/aspnetcore | 2 | 7040815 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Routing.Matching;
using Xunit;
namespace Microsoft.AspNetCore.Routing;
public class LinkParserEndpointNameExtensionsTest : LinkParserTestBase
{
[Fact... |
packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/NestedSubmodule/DeeplyNested/INamespaced.cs | digitalsanctum/jsii | 1 | 7040816 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.DeeplyNested
{
/// <remarks>
/// <strong>Stability</strong>: Experimental
/// </remarks>
[JsiiInterface(nativeType: typeof(INamespaced), fullyQualifi... |
VisioAutomation.VDX/Shapesheet/PointCell.cs | saveenr/VisioAutomation.VDX | 14 | 7040817 | namespace VisioAutomation.VDX.ShapeSheet
{
public class PointCell : CellScalar<double>
{
public PointCell()
: base(CellUnit.Point)
{
}
public override string GetResultString()
{
if (!this.Result.HasValue)
{
throw new Sy... |
SourceCode/WebTools/HttpClientExtended.cs | jamesjohnmcguire/HttpTool | 2 | 7040818 | /////////////////////////////////////////////////////////////////////////////
// <copyright file="HttpClientExtended.cs" company="<NAME>">
// Copyright © 2016 - 2021 <NAME>. All Rights Reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////
using Common.Logging;
using N... |
raytracer/ctrls/ScreenController.cs | treytomes/raytracer | 1 | 7040819 | <gh_stars>1-10
using System.IO;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace raytracer
{
public class ScreenController
{
#region Constants
public const int BITS_PER_PIXEL = 24;
public const int BYTES_PER_PIXEL = BITS_PER_PIXEL / 8;
private const int DEFAUL... |
Server/Data/Posting.cs | Frederikskaj2/Reservations | 0 | 7040820 | using Frederikskaj2.Reservations.Shared;
using NodaTime;
namespace Frederikskaj2.Reservations.Server.Data
{
public class Posting
{
public int Id { get; set; }
public LocalDate Date { get; set; }
public PostingType Type {get; set; }
public int? UserId { get; set; }
publi... |
ClientApp.Cli/Configuration/AppSettings.cs | mtebenev/mediafiles | 0 | 7040821 | using System.Collections.Generic;
namespace Mt.MediaFiles.ClientApp.Cli.Configuration
{
/// <summary>
/// App settings.
/// Design note: the settings object is mutable and can saved back to a settings file.
/// We don't watch for futher changes in the settings assuming short-living nature of the application.
... |
MovieList/Views/Forms/MovieSeriesEntryControl.xaml.cs | op07n/test20 | 0 | 7040822 | <reponame>op07n/test20<filename>MovieList/Views/Forms/MovieSeriesEntryControl.xaml.cs
using System.Reactive.Disposables;
using System.Windows.Controls;
using MovieList.ViewModels.Forms;
using ReactiveUI;
namespace MovieList.Views.Forms
{
public abstract class MovieSeriesEntryControlBase : ReactiveUserControl<Movi... |
Highway/test/Highway.Data.Tests/InMemory/ScenarioTests/Queries/FindBlogByTitle.cs | daveh551/Highway.Data | 0 | 7040823 | <reponame>daveh551/Highway.Data
using System.Linq;
using Highway.Data.Tests.InMemory.Domain;
namespace Highway.Data.Tests.InMemory.ScenarioTests.Queries
{
public class FindBlogByTitle : Scalar<Blog>
{
public FindBlogByTitle(string title)
{
ContextQuery = c => c.AsQueryable<Blog>(... |
Toolbox/Threading/Collection/ConcurrentHashSet.cs | estj92/Toolbox | 3 | 7040824 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toolbox.Threading.Collection
{
public class ConcurrentHashSet<T> : ISet<T>
{
HashSet<T> _hashSet = new HashSet<T>();
public Co... |
SubModules/NP.Avalonia.Visuals/src/Controls/PieSegment.cs | npolyak/NP.Avalonia.UniDock | 39 | 7040825 | <reponame>npolyak/NP.Avalonia.UniDock
using Avalonia;
using Avalonia.Controls.Primitives;
namespace NP.Avalonia.Visuals.Controls
{
public class PieSegment : TemplatedControl
{
#region InnerRadius Styled Avalonia Property
public double InnerRadius
{
get { return GetValue(Inn... |
StandardCollections/SortedLinkedList.cs | LCTWorks/StandardCollections | 0 | 7040826 | <reponame>LCTWorks/StandardCollections
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Text;
using StandardCollections.Properties;
using System.Threading;
using StandardCollections.ObjectModel;
name... |
src/Conizi.Model/Shared/Entities/EdiGeneralProcessingNotification.cs | conizi/semantic-model | 4 | 7040827 | using System.ComponentModel;
using Conizi.Model.Shared.Attributes;
using Conizi.Model.Shared.Interfaces;
namespace Conizi.Model.Shared.Entities
{
/// <summary>
/// Events occurred while physically processing the pickup order (e.g. moving goods, scanning packages)
/// </summary>
[DisplayName("General p... |
CustomConverters/ShippingZoneMethodSettingsConverter.cs | kevinamorim/WooCommerce.NET | 0 | 7040828 | <reponame>kevinamorim/WooCommerce.NET<gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using WooCommerceNET.WooCommerce.FlexibleShipping;
namespace WooCommerceNET.CustomConverters
{
public class ShippingZoneMethodSettingsConverter : JsonConverter
{
... |
Assets/ThirdParty/ILRuntime/Editor/Adapter/WhiteTypeList.cs | SixGodZhang/ATILRuntime | 23 | 7040829 | <filename>Assets/ThirdParty/ILRuntime/Editor/Adapter/WhiteTypeList.cs<gh_stars>10-100
//-----------------------------------------------------------------------
// <filename>GenAdapterConfig</fileName>
// <copyright>
// Copyright (c) 2018 <NAME>. All rights reserved.
// </copyright>
// <describe> ## </describe>
// ... |
MasterSlavesSync/ViewModel/MainWindowViewModel.cs | alejandrobrmp/MasterSlavesSync | 0 | 7040830 | <filename>MasterSlavesSync/ViewModel/MainWindowViewModel.cs
using Hardcodet.Wpf.TaskbarNotification;
using MasterSlavesSync.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MasterSlavesSync.Vie... |
LeptonicaSharp/Functions/adaptmap.cs | VLunev/LeptonicaSharp | 0 | 7040831 | <reponame>VLunev/LeptonicaSharp
using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// adaptmap.c (185, 1)
// pixCleanBackgroundToWhite(pixs, pixim, pixg, gamma, blackval, whiteval) as Pix
// pixCleanBac... |
deltaq/BsDiff/BsDiff.cs | space-wizards/deltaq | 0 | 7040832 | <filename>deltaq/BsDiff/BsDiff.cs<gh_stars>0
/*
* BsDiff.cs for deltaq
* Copyright (c) 2014 <NAME>
*
* BsDiff.net is Copyright 2010 Logos Bible Software
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), t... |
src/NQuery.Authoring.ActiproWpf/SignatureHelp/NQuerySignatureHelpController.cs | dallmair/nquery-vnext | 63 | 7040833 | using System;
using System.Linq;
using ActiproSoftware.Windows.Controls.SyntaxEditor;
using ActiproSoftware.Windows.Controls.SyntaxEditor.IntelliPrompt.Implementation;
namespace NQuery.Authoring.ActiproWpf.SignatureHelp
{
internal sealed class NQuerySignatureHelpController : IEditorDocumentTextChangeEventSink, IE... |
Numbers/PeterO/Numbers/RadixMath.cs | peteroupc/Numbers | 38 | 7040834 | /*
Written by <NAME>.
Any copyright to this work is released to the Public Domain.
In case this is not possible, this work is also
licensed under Creative Commons Zero (CC0):
https://creativecommons.org/publicdomain/zero/1.0/
*/
using System;
namespace PeterO.Numbers {
#pragma warning disable CS0618 // certain ERoun... |
ESIConnectionLibrary/ESIConnectionLibrary/PublicModels/V2CharactersStatsMining.cs | Dusty-Meg/ESIConnectionLibrary | 4 | 7040835 | namespace ESIConnectionLibrary.PublicModels
{
public class V2CharactersStatsMining
{
public long? DroneMine { get; set; }
public long? OreArkonor { get; set; }
public long? OreBistot { get; set; }
public long? OreCrokite { get; set; }
public long? OreDarkOchre { get;... |
src/Security/Authentication/Negotiate/src/Internal/NegotiateLoggingExtensions.cs | tomaswesterlund/aspnetcore | 13,846 | 7040836 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Extensions.Logging
{
internal static partial class NegotiateLoggingExtensions
{
[LoggerMessage(1, LogLevel.Information, "Incomplete Negotiate hand... |
src/Infrastructure/Demo.Infrastructure/Services/ValidatorService.cs | thecodereaper/cqs-azure-function-micro-service | 0 | 7040837 | <reponame>thecodereaper/cqs-azure-function-micro-service<filename>src/Infrastructure/Demo.Infrastructure/Services/ValidatorService.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Demo.Core.Services;
using FluentValidation;
using FluentValidation.Results;
using MediatR.DDD.Exceptions;
namespace... |
src/NadekoBot/Common/ShardCom/ShardComServer.cs | maltesermailo/Mitternacht-NEW | 4 | 7040838 | <reponame>maltesermailo/Mitternacht-NEW<gh_stars>1-10
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace NadekoBot.Common.ShardCom
{
public class ShardComServer : IDisposable
{
private readonly UdpClient _client;
... |
Portal.CMS.Web/Areas/PageBuilder/ViewModels/Section/CloneViewModel.cs | ziyadsv/DragDropCms | 0 | 7040839 | using Farz.CMS.Entities.Entities;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web.Mvc;
namespace Farz.CMS.Web.Areas.PageBuilder.ViewModels.Section
{
public class CloneViewModel
{
[DisplayName("Page")]
public int PageId { get; set; }
p... |
Ad2HipChat/Services/UserService.cs | brentpabst/ActiveDirectory2HipChat | 1 | 7040840 | <filename>Ad2HipChat/Services/UserService.cs
using System.Collections.Generic;
using System.DirectoryServices.AccountManagement;
using System.Linq;
using Ad2HipChat.Directory;
namespace Ad2HipChat.Services
{
public class UserService : IUserService
{
private readonly IDirectoryContext _directoryContext... |
src/MCI.Core/DateTimeHelper.cs | MiharuCommunications/MCI.net | 1 | 7040841 | //-----------------------------------------------------------------------
// <copyright file="DateTimeHelper.cs" company="Miharu Communications Inc.">
// © 2016 Miharu Communications Inc.
// </copyright>
//-----------------------------------------------------------------------
namespace Miharu
{
using System;
... |
sdk/Aliyun/OTS/ProtoBuffer/ProtocolBufferParser.cs | zhoucan1990/aliyun-tablestore-csharp-sdk | 19 | 7040842 | using System;
namespace com.alicloud.openservices.tablestore.core.protocol
{
public class ProtocolBufferParse: IResultParser
{
public object getObject(GetRowRequest response)
{
throw new NotImplementedException();
}
}
}
|
QuartzSolution/LogJobPlugin/Services/LogService.cs | Efp95/WindowsService-Quartz.Net | 1 | 7040843 | <reponame>Efp95/WindowsService-Quartz.Net
using Common.Logging;
using System;
using System.Diagnostics;
namespace LogJobPlugin.Services
{
public class LogService : ILogService
{
private readonly ILog _log = LogManager.GetLogger<LogService>();
public void Debug(string message)
{
... |
DisCatSharp.Common/Attributes/DecomposerAttribute.cs | quinchs/DisCatSharp | 54 | 7040844 | <reponame>quinchs/DisCatSharp
// This file is part of the DisCatSharp project, based off DSharpPlus.
//
// Copyright (c) 2021-2022 AITSYS
//
// 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... |
Builder/Program.cs | Oaz/bridgedotnet_Builder | 0 | 7040845 | using System;
using System.IO;
using System.Reflection;
using Bridge.Contract;
namespace Bridge.Builder
{
class Program
{
static void LogMessage(string level, string message)
{
level = level ?? "message";
switch (level.ToLowerInvariant())
{
c... |
src/CMS/CMSModules/BizForms/Tools/BizForm_Edit_Fields.aspx.cs | JFouts-BlueModus/kentico-contrib | 1 | 7040846 | <gh_stars>1-10
using System;
using CMS.Base.Web.UI;
using CMS.DataEngine;
using CMS.FormEngine;
using CMS.FormEngine.Web.UI;
using CMS.OnlineForms;
using CMS.OnlineForms.Web.UI;
using CMS.UIControls;
// Edited object
[EditedObject(BizFormInfo.OBJECT_TYPE, "formId")]
[Security(Resource = "CMS.Form", Permi... |
VTCManager 1.0.0/Objekte/Job.cs | VTCManager/VTCM-Client-Remake-WPF | 0 | 7040847 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VTCManager_1._0._0.Objekte
{
class Job
{
public int ID;
public bool jobStarted = false;
public bool jobRunning = false;
public float fuelatend;
... |
tests/tests-unit/CommentTests.cs | xajler/instantcoach-api | 0 | 7040848 | using System;
using System.Linq;
using FluentAssertions;
using Xunit;
using Domain;
using static Domain.Constants.Validation;
using static Tests.Unit.TestHelpers;
namespace Tests.Unit
{
public sealed class CommentTests
{
private const string TextValue = "Some text value";
private const string ... |
Exams/CSharpAdvancedExam - 16December2020/01. Cooking/Program.cs | georgivv7/C-Sharp-Advanced-SoftUni | 0 | 7040849 | <reponame>georgivv7/C-Sharp-Advanced-SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
namespace _01._Cooking
{
class Program
{
static void Main(string[] args)
{
Queue<int> liquids = new Queue<int>(Console.ReadLine()
.Split(" ", StringSplitO... |
IsoArcher/Enemies/EnemyBaseClass.cs | jaydensipe/IsoArcher | 1 | 7040850 | using Godot;
using System;
public class EnemyBaseClass : KinematicBody
{
// Enemy variables
[Export] private int enemyMoveSpeed = 0;
[Export] private int enemyHealth = 0;
[Export] private int howMuchGoldToDrop = 0;
[Export] private string goblinName = "";
// Variable for how many enemies r... |
sdk/dotnet/Iot/Inputs/DeviceCredentialArgs.cs | sisisin/pulumi-gcp | 121 | 7040851 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
src/Shared/Helpers/RepoSearch.cs | microsoft/OSSGadget | 110 | 7040852 | // Copyright (c) Microsoft Corporation. Licensed under the MIT License.
namespace Microsoft.CST.OpenSource.Shared
{
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Find out the source code repository for a ... |
Script/HardWallet/Controller/TransactionPreviewPageController.cs | dimensionofficial/Dimension-Wallet | 11 | 7040853 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace HardwareWallet
{
public class TransactionPreviewData
{
public string sendFromAddress;
public List<string> receiveAddress;
public double amount;
public double minnerFee;
public bool i... |
MDSDK.Dicom.PixelData/JPEG/FrameHeader.cs | mdsdk/MDSDK.Dicom.PixelData | 0 | 7040854 | // Copyright (c) <NAME> - All rights reserved - See LICENSE file for license terms
using MDSDK.BinaryIO;
using System.IO;
namespace MDSDK.Dicom.PixelData.JPEG
{
internal class FrameHeader
{
public ushort Lf_FrameHeaderLength { get; set; }
public byte P_SamplePrecision { get; set; }
... |
src/KubernetesClient/generated/Models/V1LeaseSpec.cs | Frassle/csharp | 2 | 7040855 | <filename>src/KubernetesClient/generated/Models/V1LeaseSpec.cs<gh_stars>1-10
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.J... |
Assets/Scripts/Enemies&States/Dragon/FlyState.cs | MadGriffonGames/BiltyBlop-Farts | 0 | 7040856 | <reponame>MadGriffonGames/BiltyBlop-Farts
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlyState : IDragonState
{
private Dragon enemy;
bool reachRight = false;
bool reachLeft = false;
bool flameOffLeft = false;
bool flameOffRight = false;
publi... |
Aula_06_if.cs | EvertonSilva22/C_Sharp | 0 | 7040857 | <filename>Aula_06_if.cs
namespace Aula06
{
class Program
{
static void Main(string[] args)
{
Console.Write("Digite um número entre 1 e 10: ");
int n = Convert.Toint32(Console.ReadLine());
// Operadores: > (Maior que) < (Menor que)
// Operador: ||... |
src/mono/mono/tests/sgen-cementing-stress.cs | pyracanda/runtime | 9,402 | 7040858 | <filename>src/mono/mono/tests/sgen-cementing-stress.cs
using System;
class PinList
{
class Pinned
{
public Pinned ()
{
}
}
Pinned reference;
PinList next;
PinList (PinList n)
{
next = n;
}
static int list_size = 0;
static PinList MakeList (int length)
{
PinList l = ... |
src/TcecEvaluationBot.ConsoleUI/Commands/SetOutputMovesCommand.cs | QuackQuackBlah/TcecEvaluationBot | 10 | 7040859 | namespace TcecEvaluationBot.ConsoleUI.Commands
{
using TcecEvaluationBot.ConsoleUI.Settings;
using TwitchLib.Client;
public class SetOutputMovesCommand : BaseCommand
{
private readonly bool value;
public SetOutputMovesCommand(TwitchClient twitchClient, Options options, Settings setti... |
src/Wpf.Toast/ToastNotification.xaml.cs | dotnetKyle/wpf-toast | 0 | 7040860 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Win... |
Creational/Prototype/Program.cs | chihyanglee/DesignPatternCSharp | 0 | 7040861 | using System;
namespace Prototype
{
class Program
{
static void Main(string[] args)
{
var p1 = new Person();
p1.Name = "p1";
p1.Prototype = new Prototype(1);
// shallow copy
var p2 = p1.ShallowCopy();
// deep ... |
src/FubuMVC.Tests/UI/Forms/DefinitionListLabelAndFieldTester.cs | ketiko/fubumvc | 0 | 7040863 | using System;
using FubuCore;
using FubuMVC.Core;
using FubuMVC.Core.Runtime;
using FubuMVC.Core.UI;
using FubuMVC.Core.UI.Configuration;
using FubuMVC.Core.UI.Forms;
using FubuMVC.Core.UI.Tags;
using FubuMVC.StructureMap;
using FubuTestingSupport;
using HtmlTags;
using NUnit.Framework;
using StructureMap;
... |
source/projects/MyCouch/Responses/GetEntityResponse.cs | watfordgnf/mycouch | 173 | 7040864 | using Newtonsoft.Json;
namespace MyCouch.Responses
{
public class GetEntityResponse<T> : EntityResponse<T>,
IDocumentHeader
where T : class
{
[JsonProperty(JsonScheme._Id)]
public override string Id { get; set; }
[JsonProperty(JsonScheme._Rev)]
public override s... |
src/AElf.CrossChain.Communication/CrossChainPlugin.cs | tomatopunk/AElf | 0 | 7040865 | <gh_stars>0
using System.Threading.Tasks;
using Acs7;
using AElf.CrossChain.Communication.Application;
using AElf.Kernel.Node.Infrastructure;
namespace AElf.CrossChain.Communication
{
public class CrossChainPlugin : INodePlugin, IChainInitializationDataPlugin
{
private readonly ICrossChainRequestServic... |
Routes.cs | Lombiq/Orchard-Recipe-Remote-Executor | 6 | 7040866 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using Orchard.Mvc.Routes;
namespace Lombiq.Hosting.RecipeRemoteExecutor
{
public class Routes : IRouteProvider
{
public void GetRoutes(ICollection<RouteDescriptor> routes)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.