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 |
|---|---|---|---|---|
FrameworkDrawingUtils/PathDrawer.cs | davebrunger/HexDrawer | 1 | 7059460 | <filename>FrameworkDrawingUtils/PathDrawer.cs
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using DrawingUtils;
namespace FrameworkDrawingUtils
{
public class PathDrawer
{
private readonly Graphics graphics;
private readonly Pen pen... |
scs-client/C#/SCSSdkClient/Object/SCSTelemetry.Euler.cs | fam-hinrichsen/scs-sdk-plugin | 0 | 7059461 | <gh_stars>0
#pragma warning disable 1570
namespace SCSSdkClient.Object{
public partial class SCSTelemetry {
/// <summary>
/// Orientation of object.
/// </summary>
public class Euler{
/// About: Heading
/// Stored in unit range where <0,1) corresponds to <0... |
GrEmit/StackMutators/DupStackMutator.cs | JTOne123/gremit | 116 | 7059462 | <filename>GrEmit/StackMutators/DupStackMutator.cs<gh_stars>100-1000
namespace GrEmit.StackMutators
{
internal class DupStackMutator : StackMutator
{
public override void Mutate(GroboIL il, ILInstructionParameter parameter, ref EvaluationStack stack)
{
CheckNotEmpty(il, stack, () => "... |
Assets/Scripts/Settings/Settings.cs | MarkStraub/ba21-virtual-reality-szenario | 0 | 7059463 | <filename>Assets/Scripts/Settings/Settings.cs
using UnityEngine;
public class Settings
{
/// <summary>
/// Version of the settings
/// YYYY.MM.DD.HHMM
/// </summary>
public string version = "2021.06.10.2115";
/// <summary>
/// General settings
/// </summary>
public string language... |
States/LevelUpState.cs | maxaboxi/Generic-Space-Shooter | 0 | 7059464 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using spacerpg.Controllers;
using spacerpg.FSM;
using spacerpg.General;
using spacerpg.Models;
using spacerpg.Views;
namespace spacerpg.States
{
class LevelUpState : BaseState
{
private SpriteBatch _spriteBatch;
private Lev... |
Bootstrapper.cs | degoedel/CatchupCast | 0 | 7059465 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using PodCatchup.Modules;
using PodCatchup.ViewModel;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.UnityExtensions;
using Microsoft.Practi... |
AutoMapper.ConfigurationAPI/AutoMapper/Mappers/HashSetMapper.cs | chumakov-ilya/HappyMapper | 2 | 7059466 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using HappyMapper.AutoMapper.ConfigurationAPI.Configuration;
namespace HappyMapper.AutoMapper.ConfigurationAPI.Mappers
{
public class HashSetMapper : IObjectMapper
{
public bool I... |
AI/AI.NeuralNetworks/ActivationFunctions/DiffSimplifiedActivationFunction.cs | MargaritaWraith/AntennaAI | 1 | 7059467 | <reponame>MargaritaWraith/AntennaAI
using System;
using System.Collections.Generic;
using System.Text;
namespace AntennaAI.AI.NeuralNetworks.ActivationFunctions
{
/// <summary>Активационная функция с упрощённой производной</summary>
public abstract class DiffSimplifiedActivationFunction : ActivationFunction
... |
LunarLambda.API/StateData.cs | f1x3d/LunarLambda | 0 | 7059468 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LunarLambda.API
{
public static class StateData
{
internal static Dictionary<string, string> StateItems = new Dictionary<string, string>... |
Code/Components/DanpheEMR.ServerModel/LabModels/LabTestJSONComponentModel.cs | MenkaChaugule/hospital-management-emr | 1 | 7059469 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel.LabModels
{
public class LabTestJSONComponentModel
{
[Key... |
Havit.Business/Query/IntTableOperand.cs | havit/HavitFramework | 23 | 7059470 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using System.Data.SqlClient;
using System.Data;
using System.Diagnostics;
using Havit.Data.SqlServer;
using Havit.Data.SqlTypes;
using Havit.Diagnostics.Contracts;
namespace Havit.Business.Query
{
/// <summary>
/// IntTable... |
PalasoUIWindowsForms.Tests/SettingsProviderTests.cs | hatton/libpalaso | 0 | 7059471 | <reponame>hatton/libpalaso<filename>PalasoUIWindowsForms.Tests/SettingsProviderTests.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
using Palaso.IO;
using Palaso.Settings;
using Palaso.TestUtilities;
using Palaso.... |
iOS/iRate/source/MTiRate/StructsAndEnums.cs | SaViGnAnO/XamarinComponents | 1 | 7059472 | <reponame>SaViGnAnO/XamarinComponents<filename>iOS/iRate/source/MTiRate/StructsAndEnums.cs<gh_stars>1-10
using System;
#if __UNIFIED__
using ObjCRuntime;
#else
using MonoTouch.ObjCRuntime;
#endif
namespace MTiRate
{
[Native]
public enum iRateErrorCode : ulong
{
BundleIdDoesNotMatchAppStore = 1,
ApplicationNot... |
Validation/src/Validator/ValidationPropertyRuleBuilder{T,TProperty}.cs | eserozvataf/tasslehoff | 16 | 7059473 | <filename>Validation/src/Validator/ValidationPropertyRuleBuilder{T,TProperty}.cs
// --------------------------------------------------------------------------
// <copyright file="ValidationPropertyRuleBuilder{T,TProperty}.cs" company="-">
// Copyright (c) 2008-2019 <NAME> (<EMAIL>). All rights reserved.
// Licensed... |
sharpkml-25721/SharpKml/Base/KmlAttributeAttribute.cs | Pacesetter/KML2SQL | 16 | 7059474 | using System;
namespace SharpKml.Base
{
/// <summary>
/// Specifies a class member is serialized as an XML attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public sealed class KmlAttributeAttribute : Attribute
{
/// <summary>
/// Initializes a new instance ... |
src/Automatonymous/Builders/InternalStateMachineEventActivitiesBuilder.cs | AbedDotNet/Automatonymous | 606 | 7059475 | namespace Automatonymous.Builder
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Binders;
class InternalStateMachineEventActivitiesBuilder<TInstance> : StateMachineEventActivitiesBuilder<TInstance>
where TInstance : class
{
readonly List<... |
aliyun-net-sdk-ccc/CCC/Transform/V20170705/ListPhoneNumbersResponseUnmarshaller.cs | brightness007/unofficial-aliyun-openapi-net-sdk | 2 | 7059476 | <filename>aliyun-net-sdk-ccc/CCC/Transform/V20170705/ListPhoneNumbersResponseUnmarshaller.cs<gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright owne... |
Assets/Scripts/MultiLanguage.cs | 0999312/uEmuera | 194 | 7059477 | <reponame>0999312/uEmuera<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class MultiLanguage
{
public static readonly char[] splits = new char[] { '\xa', '\xd' };
static List<KeyValuePair<string, string>> Load(string lang)
{
var text ... |
src/Smart.Design.Razor/TagHelpers/ButtonToolbar/ButtonToolbarTagHelper.cs | smartcoop/design-cs | 2 | 7059478 | <reponame>smartcoop/design-cs
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Smart.Design.Razor.TagHelpers.Constants;
namespace Smart.Design.Razor.TagHelpers.ButtonToolbar;
/// <summary>
/// <see cref="ITagHelper"/> implementation of the Smart design button toolbar.
/// ... |
test/Gastromio.Domain.TestKit/Application/Ports/Notification/EmailNotificationServiceMock.cs | marartz/Gastromio | 2 | 7059479 | using System;
using System.Threading;
using System.Threading.Tasks;
using Gastromio.Core.Application.Ports.Notification;
using Moq;
using Moq.Language.Flow;
namespace Gastromio.Domain.TestKit.Application.Ports.Notification
{
public class EmailNotificationServiceMock : Mock<IEmailNotificationService>
{
... |
src-native/THNETII.WinApi.Headers.WinNT/IMAGE_REL_MIPS_TYPE.cs | couven92/thnetii-windows-api | 5 | 7059480 | <filename>src-native/THNETII.WinApi.Headers.WinNT/IMAGE_REL_MIPS_TYPE.cs
using System.Diagnostics.CodeAnalysis;
namespace THNETII.WinApi.Native.WinNT
{
/// <summary>
/// The following relocation type indicators are defined for MIPS processors.
/// </summary>
[SuppressMessage("Design", "CA1028: Enum Sto... |
src/Extensions.EF/DataExtensions.cs | jguadagno/JosephGuadagno.Extensions.EF | 1 | 7059481 | <filename>src/Extensions.EF/DataExtensions.cs
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.Obj... |
src/SingleExcelPropertyMapT.cs | CallumVass/excel-mapper | 0 | 7059482 | using System.Reflection;
using ExcelMapper.Mappings.Support;
namespace ExcelMapper
{
/// <summary>
/// Reads a single cell of an excel sheet and maps the value of the cell to the
/// type T.
/// </summary>
/// <typeparam name="T">The type of the member to map the value of a single cell to.</typepa... |
DragonFruit.Six.Api.Tests/Utils/PlatformParserTests.cs | byBlurr/dragon6-api | 0 | 7059483 | <gh_stars>0
// Dragon6 API Copyright 2020 DragonF<NAME> <<EMAIL>>
// Licensed under Apache-2. Please refer to the LICENSE file for more info
using DragonFruit.Six.Api.Enums;
using DragonFruit.Six.Api.Utils;
using NUnit.Framework;
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class Platform... |
VFS/VFS.Application/GUI/frmExplorer.cs | andy123456789088/VFS | 0 | 7059484 | <filename>VFS/VFS.Application/GUI/frmExplorer.cs
// ------------------------------------------------------------------------
// frmExplorer.cs written by Code A Software (http://www.code-a-software.net)
// All rights reserved
// Created on: 11.04.2016
// Last update on: 28.10.2017
// ----------------------------... |
CommonStandard/Interfaces/IDataStorage.cs | salda8/Quant-Finance-Mngmt-System | 1 | 7059485 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Common.EntityModels;
using Common.Enums;
namespace Common.Interfaces
{
public interface IDataStorage : IHistoricalDataSource
{
void AddData(List<OHLCBar> data, Instrument instrument, BarSize frequency, bool overwrite = false, bool ad... |
Solnet.Mango.Test/DeserializationTest.cs | sircrusher/Solnet.Mango | 0 | 7059486 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Solnet.Mango.Models;
using Solnet.Mango.Models.Banks;
using Solnet.Mango.Models.Caches;
using Solnet.Mango.Models.Events;
using Solnet.Mango.Models.Matching;
using Solnet.Mango.Models.Perpetuals;
using System;
using System.Collections.Generic;
using System.Linq... |
unity/Assets/WellFired/WellFired.Direct/Platform/Uncompiled/Runtime/Sequencer Events/Editor/USLookAtObjectEventEditor.cs | WellFiredDevelopment/WellFired.Direct | 4 | 7059487 | using UnityEditor;
using UnityEngine;
using System.Collections;
namespace WellFired
{
/// <summary>
/// A custom event editor, this renders a custom display for the USLookAtObjectEvent event in the uSequencer window.
/// </summary>
[CustomUSEditor(typeof(USLookAtObjectEvent))]
public class USLookAtObjectEventEdi... |
oscript-services/testInfo/Program.cs | ret-Phoenix/OneScript-Services | 9 | 7059488 | <reponame>ret-Phoenix/OneScript-Services<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace testInfo
{
class Program
{
static void Main(string[] a... |
src/DeadManSwitch.Examples.AspNetFramework/ExampleInfiniteProgram.cs | amoerie/dead-man-switch | 7 | 7059489 | <filename>src/DeadManSwitch.Examples.AspNetFramework/ExampleInfiniteProgram.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DeadManSwitch.Examples.AspNetFramework
{
public static class ExampleInfiniteProgram
{
/// <summary>
/// Demonstrates how to run (and ... |
TestIt.Business/Services/StudentService.cs | IC-TestIt/Back-End | 4 | 7059490 | using System.Collections.Generic;
using TestIt.Data.Abstract;
using TestIt.Model.DTO;
using TestIt.Model.Entities;
using TestIt.Utils.Email;
using TestIt.Utils;
namespace TestIt.Business.Services
{
public class StudentService : IStudentService
{
private readonly IStudentRepository _studentRepository;
... |
src/SongProcessor.UI/Views/AddView.xaml.cs | advorange/SongProcessor | 0 | 7059491 | using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using SongProcessor.UI.ViewModels;
namespace SongProcessor.UI.Views;
public sealed class AddView : ReactiveUserControl<AddViewModel>
{
public AddView()
{
InitializeComponent();
}
private void InitializeComponent()
=> AvaloniaXamlLoader.Load(this);
} |
Server/Services/Link.cs | JeffM2501/GPx0F | 1 | 7059492 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Server.Services
{
public static class Link
{
public delegate void PlayerLinkTaskCallback(bool good, string result, ServerHost.GamePeer peer);
... |
EpiDashboard/Controls/MatchedPairPanel.xaml.cs | keymind/Epi-Info-Community-Edition | 14 | 7059493 | <filename>EpiDashboard/Controls/MatchedPairPanel.xaml.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Syste... |
src/Project/Models/code/CommerceApi/Response/SearchSuggestionResponse.cs | raetser/Habitat | 0 | 7059494 | <gh_stars>0
namespace Carlsberg.Foundation.Models.CommerceApi.Response
{
public class SearchSuggestionResponse
{
public string status { get; set; }
public string[] productList { get; set; }
public Categorylist[] categoryList { get; set; }
}
public class Categorylist
{
... |
src/FrameOptions/FrameOptionsAttribute.cs | Peter-Juhasz/aspnetcoresecurity | 5 | 7059495 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Filters;
using PeterJuhasz.AspNetCore.Extensions.Security;
using System;
namespace Microsoft.AspNetCore.Builder;
[Obsolete]
public class FrameOptionsAttribute : ActionFilterAttribute
{
public FrameOptionsAttribute(FrameOptionsPolicy policy)
{
... |
app/TW.Vault.Lib/Model/Native/BuildingStats.cs | gandalfleal/twvault | 1 | 7059497 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TW.Vault.Lib.Model.Native
{
public static class BuildingStats
{
public static readonly List<BuildingType> BuildingTypes = Enum.GetValues(typeof(BuildingType)).Cast<BuildingType>().ToList();
... |
src/Reactive.Config/Sources/IdentityConfigurationSource.cs | KevM/Reactive.Config | 2 | 7059498 | <reponame>KevM/Reactive.Config
using System;
using System.Reactive.Linq;
namespace Reactive.Config.Sources
{
public class IdentityConfigurationSource : IConfigurationSource
{
public bool ShouldHandle { get; set; } = true;
public bool Handles<T>() where T : class, IConfigured, new()
... |
analyzer/Easy.Endpoints.Analyzer/EasyEndpointWarnings.cs | PjMitchell/Easy.Endpoints | 1 | 7059499 | <reponame>PjMitchell/Easy.Endpoints<gh_stars>1-10
using Microsoft.CodeAnalysis;
using static Easy.Endpoints.Analyzer.Resources;
namespace Easy.Endpoints.Analyzer
{
public class EasyEndpointWarnings
{
public const string EmptyId = "EE1001";
public const string MultipleId = "EE1001";
pub... |
KeepAChangelogParser.Wpf.SampleApp/Services/StartupService.cs | shuelsmeier/keepachangelogparser | 1 | 7059500 | <reponame>shuelsmeier/keepachangelogparser
using Ardalis.GuardClauses;
using CSharpFunctionalExtensions;
using KeepAChangelogParser.Wpf.SampleApp.CompositionRoot;
using KeepAChangelogParser.Wpf.SampleApp.Contracts;
using KeepAChangelogParser.Wpf.SampleApp.Contracts.ReleaseNotesWindow;
using System.Windows;
namespace ... |
2017/Day1/Day1.Tests/CalculateAnswerTests.cs | toxicgorilla/advent-of-code | 0 | 7059501 | using Day1.ConsoleApp;
namespace Day1.Tests
{
using Xunit;
public class CalculateAnswerTests
{
[Theory]
[InlineData("1122", 3)]
[InlineData("1111", 4)]
[InlineData("1234", 0)]
// ReSharper disable once InconsistentNaming
public void With_Input_X_Answer_Is_Y(... |
Monitor/ViewModel/Grids/GridPanelViewModel.cs | laur89/lean-monitor | 95 | 7059502 | <filename>Monitor/ViewModel/Grids/GridPanelViewModel.cs<gh_stars>10-100
using System.Linq;
using Monitor.Model.Charting;
using Monitor.ViewModel.Charts;
namespace Monitor.ViewModel.Grids
{
/// <summary>
/// View model for generic chart grid
/// </summary>
public class GridPanelViewModel : GridPanelView... |
Framework/Adxstudio.Xrm/Performance/EventSourcePerformanceLogger.cs | emtea/xRM-Portals-Community-Edition | 117 | 7059503 | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Adxstudio.Xrm.Performance
{
internal class EventSourcePerformanceLogger : IPerformanceLogger
{
public void Log(IPerformanceMarker marker)
{
... |
tvn-cosine.ai/tvn-cosine.ai.demo/logic/fol/FOL_OTTERDemo.cs | itoledo/Birdie.Tesseract | 0 | 7059504 | <reponame>itoledo/Birdie.Tesseract<gh_stars>0
using tvn.cosine.ai.logic.fol.inference;
namespace tvn_cosine.ai.demo.logic.fol
{
public class FOL_OTTERDemo : FolDemoBase
{
static void Main(params string[] args)
{
fOL_OTTERDemo();
}
static void fOL_OTTERDemo()
... |
ITest/ITest.Web/Areas/Admin/Views/Manage/_ManageTestPartial.cshtml | The-Singing-Melons/ITestSystem | 0 | 7059505 | @model ManageTestViewModel
<hr />
<div class="row">
<div class="form-group">
<div class="col-md-4">
<div class="input-group">
<span class="input-group-addon">Test Name</span>
<input asp-for="TestName" class="form-control" />
</div>
<span ... |
.tests/GoogleApi.Test/Maps/StreetView/StreetViewTests.cs | sbrink75/GoogleApi | 1 | 7059506 | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading;
using GoogleApi.Entities.Common;
using GoogleApi.Entities.Common.Enums;
using GoogleApi.Entities.Maps.StreetView.Request;
using GoogleApi.Exceptions;
using NUnit.Framework;
namespace GoogleApi.Test.Maps.StreetView
{
[TestFixture]
public cl... |
Source/EasyGelf.Core/Transports/Amqp/AmqpTransportConfiguration.cs | Sportswear/EasyGelf | 20 | 7059507 | <reponame>Sportswear/EasyGelf
namespace EasyGelf.Core.Transports.Amqp
{
public sealed class AmqpTransportConfiguration
{
public string ConnectionUri { get; set; }
public string Exchange { get; set; }
public string ExchangeType { get; set; }
public string RoutingKey { get; set... |
Randy/Responses/ResultInfo.cs | Verrochek/Randy.NET | 1 | 7059508 | using System;
using System.Text.Json.Serialization;
using Randy.Enums;
namespace Randy.Responses
{
public class ResultInfo
{
/// <summary>
/// An integer containing the number of true random bits used to complete this request.
/// </summary>
public int BitsUsed { get; set; }
... |
src/Application.Validation/AbstractValidators/CQRS/Users/Queries/UserStorage/GetUserByIdQueryValidator.cs | BobMakhlin/XNews-backend | 5 | 7059509 | using Application.CQRS.Users.Queries.UserStorage;
using FluentValidation;
namespace Application.Validation.AbstractValidators.CQRS.Users.Queries.UserStorage
{
public class GetUserByIdQueryValidator : AbstractValidator<GetUserByIdQuery>
{
public GetUserByIdQueryValidator()
{
RuleFor(... |
AlphaWebCommodityBookkeeping/Controllers/ReportsController.cs | alphascorehr/AsBookKeeping | 0 | 7059510 | <gh_stars>0
using AlphaWebCommodityBookkeeping.Areas.Documents.Reports;
using DevExpress.Web.Mvc;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AlphaWebCommodityBookkeeping.Controllers
{
public class ReportsController... |
src/MailAddress.cs | lostmsu/Rust.Cargo | 0 | 7059511 | namespace Lost.Rust.Cargo
{
using System;
using System.Text.RegularExpressions;
public class MailAddress
{
public MailAddress(string address, string displayName = null)
{
var match = GetAddressMatch(address);
if (match.Index != 0 || match.Length != address.Length)
throw new FormatException(address +... |
src/DotNet.Plus/Pattern/BackgroundOperation/BackgroundOperationOfT1.cs | tcunning/DotNet.Plus | 1 | 7059512 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace DotNet.Plus.Pattern.BackgroundOperation
{
public class BackgroundOperation<TBackgroundArg1> : BackgroundOperationBase, IBackgroundOperation<TBackgroundArg1>
{
private const string LogTag = nameof(BackgroundOperation<... |
src/Epoxide/BindableObject.cs | ins0mniaque/Epoxide | 0 | 7059513 | using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
namespace Epoxide;
public abstract class BindableObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler? PropertyChanged;
[ SuppressMessage ( "Design", "CA1030:Use events where appropriate", Justification = "Allow raisin... |
TradingService/Services/Hosted/DispatchReceiver.cs | scscgit/XchangeCrypt-Backend | 1 | 7059514 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage.Queue;
using XchangeCrypt.Backend.ConstantsLibrary;
using XchangeCrypt.Backend.QueueAccess;
using XchangeCrypt.Backend.TradingS... |
src/poc/CountClasses/Document.cs | ctrucza/CodeScope | 0 | 7059515 | <reponame>ctrucza/CodeScope
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.FindSymbols;
namespace CountClasses
{
public class Document
{
private readonly Microsoft.CodeAnalysis.Doc... |
pwiz_tools/Shared/Common/DataAnalysis/Matrices/ReadOnlyMatrixStorage.cs | austinkeller/pwiz | 2 | 7059516 | <reponame>austinkeller/pwiz
using System;
using MathNet.Numerics.LinearAlgebra.Storage;
namespace pwiz.Common.DataAnalysis.Matrices
{
public class ReadOnlyMatrixStorage<T> : MatrixStorage<T> where T : struct, IEquatable<T>, IFormattable
{
private readonly MatrixStorage<T> _matrixStorage;
... |
Assets/Connect Four/scripts/GameScripts/BaseHeuristic.cs | SuomiKP31/2020AIProj_Connect4 | 0 | 7059517 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseHeuristic : MonoBehaviour
{
// Heuristic Class is used in AIs who need to evaluate the board state.
// A block is a line where both players pieces are present. It's considered good in defensive strategy.
[... |
td/PizzaIllico.Mobile/PizzaIllico.Mobile/PizzaIllico.Mobile/Dtos/Pizzas/OrderItem.cs | Julien-Mialon/Cours-Xamarin | 4 | 7059518 | using System;
using Newtonsoft.Json;
namespace PizzaIllico.Mobile.Dtos.Pizzas
{
public class OrderItem
{
[JsonProperty("shop")]
public ShopItem Shop { get; set; }
[JsonProperty("date")]
public DateTime Date { get; set; }
[JsonProperty("amount")]
... |
Patchwork.Engine/PatchingManifest/MemberAction.cs | DankRank/Patchwork | 0 | 7059519 | using System.Runtime.Hosting;
using Mono.Cecil;
using Patchwork.Attributes;
namespace Patchwork {
/// <summary>
/// An action to perform on a member.
/// </summary>
/// <typeparam name="T"></typeparam>
public class MemberAction<T>
where T : IMemberDefinition {
public TypeAction TypeAction {
get;
set;
... |
LanguageTag/Variant.cs | ExM/LanguageTag | 0 | 7059522 | <filename>LanguageTag/Variant.cs
using System;
namespace AbbyyLS.Globalization.Bcp47
{
/// <summary>
/// Variant subtags are used to indicate additional, well-recognized variations that define a
/// language or its dialects that are not covered by other available subtags.
/// </summary>
public enum Varian... |
iFactr.UI/iFactr.UI/MonoView/Enums/SearchFilterResult.cs | BenButzer/iFactr-iOS | 22 | 7059524 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace iFactr.UI
{
// TODO: Uncomment for 3.6
///// <summary>
///// Describes the result of performing a search query filter on a <see cref="System.String"/>.
///// </summary>
//[Flags]
//... |
MetroDto/OnceMoreWithFeeling.cs | denghongcai/protobuf-net | 2,473 | 7059525 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using ProtoBuf;
namespace MetroDto
{
[DataContract, ProtoContract]
public class TestClass
{
[DataMember(Order = 1), ProtoMember(1)]
... |
TimekeeperWPF/Views/Note/NotesViewModel.cs | NuCode1497/TimekeeperWPF | 0 | 7059526 | <filename>TimekeeperWPF/Views/Note/NotesViewModel.cs
using System;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Threading.Tasks;
using System.Windows.Data;
using TimekeeperDAL.EF;
using TimekeeperDAL.Tools;
namespace TimekeeperWPF
{
public class NotesViewModel : ViewModel<Note>
... |
WCFHelper/Helpers/Enums.cs | stimulsoft/Samples-WPF-WCF | 1 | 7059527 | <reponame>stimulsoft/Samples-WPF-WCF<filename>WCFHelper/Helpers/Enums.cs
using System;
namespace WCFHelper
{
#region StiSLExportType
internal enum StiSLExportType
{
Csv,
Dbf,
Dif,
Excel,
Excel2007,
ExcelXml,
Html,
Html5,
Mht,
... |
GroupService/GroupService.Repo/EntityFramework/Entities/GroupMapDetails.cs | HelpMyStreet/group-service | 0 | 7059528 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace GroupService.Repo.EntityFramework.Entities
{
public class GroupMapDetails
{
public int GroupId { get; set; }
public byte MapLocationId { get; set; }
public decimal Latitude { get; set; }
pu... |
day1/cs/FirstPuzzle/Program.cs | Saharamijir/AdventOfCode | 0 | 7059529 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace FirstPuzzle
{
static class Program
{
async static Task Main(string[] args)
{
Console.WriteLine(await LoadData()
.GetIntValues()
... |
src/EventinatR/JsonDataType.cs | smokedlinq/EventinatR | 0 | 7059530 | <filename>src/EventinatR/JsonDataType.cs
using System.Diagnostics.CodeAnalysis;
namespace EventinatR;
public record JsonDataType(string Name, string? Assembly = null)
{
public static JsonDataType For<T>(T value)
=> For(value?.GetType() ?? typeof(T));
public static JsonDataType For(Type type)
{
... |
src/RemoteEntity/EntityDto.cs | ThomasVestergaard/RemoteEntity | 4 | 7059531 | <gh_stars>1-10
using System;
namespace RemoteEntity
{
public class EntityDto<T> : IEntityDto<T>
{
public DateTimeOffset PublishTime { get; set; }
public string EntityId { get; set; }
public T Value { get; set; }
public EntityDto() { }
public EntityDto(string entityId,... |
src/Abp.Zero.NHibernate/Zero/FluentMigrator/AbpFluentMigratorExtensions.cs | pirimoglu/module-zero | 2 | 7059532 | using Abp.Domain.Entities.Auditing;
using Abp.FluentMigrator.Extensions;
using Abp.MultiTenancy;
using FluentMigrator.Builders.Alter.Table;
using FluentMigrator.Builders.Create.Table;
namespace Abp.Zero.FluentMigrator
{
/// <summary>
/// This class is an extension for migration system to make easier to some c... |
Repository/Configuration/InitialDataConfiguration.cs | Rukid/Hospital | 0 | 7059533 | <filename>Repository/Configuration/InitialDataConfiguration.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using RandomNameGenerator;
using Repository.Entities;
namespace Repository.Configuration
{
public class InitialDataConfiguration
{
... |
Assets/Scripts/Pg/Puzzle/TileData.cs | kuniyoshi/Pg | 0 | 7059534 | #nullable enable
using Pg.Data.Simulation;
namespace Pg.Puzzle
{
public readonly struct TileData
{
public Coordinate Coordinate { get; }
public TileStatus TileStatus { get; }
public TileData(Coordinate coordinate, TileStatus tileStatus)
{
Coordinate = coordinate;
... |
C#-Fundamentals/02_OOP_Basics/01_Defining_Classes/Defining_Classes_Exercises/Google/Child.cs | ignatovg/Software-University | 1 | 7059535 | public class Child
{
public string ChildName { get; set; }
public string ChildBirthday { get; set; }
public override string ToString()
{
return $"{ChildName} {ChildBirthday}\r\n";
}
} |
PqsqlTests/PqsqlProviderFactoryTests.cs | riccioclista/pqsql | 1 | 7059536 | <reponame>riccioclista/pqsql
using System.Data.Common;
using System.Diagnostics;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pqsql;
namespace PqsqlTests
{
[TestClass]
public class PqsqlProviderFactoryTests
{
[TestMethod]
public void PqsqlProviderFactoryTest1()
{
i... |
src/BackEnd/src/Infrastructure/Persistence/Migrations/20210224193630_GuessGame.cs | Svetloslav15/Grow-a-tree | 3 | 7059537 | <reponame>Svetloslav15/Grow-a-tree
using Microsoft.EntityFrameworkCore.Migrations;
namespace GrowATree.Infrastructure.Persistence.Migrations
{
public partial class GuessGame : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
Assets/TrainJets/DecoLinkCommand.cs | Draco18s/Parkitect-Modding | 0 | 7059539 | <reponame>Draco18s/Parkitect-Modding
using UnityEngine;
namespace TrainJetsMod {
public class DecoLinkCommand
#if DLL_EXPORT
: OrderedCommand {
[SerializeField]
public DecoLink theLink;
[SerializeField]
public string theLinkJson;
public DecoLinkCommand(DecoLink l) {
theLink = l;
theLinkJson = l.T... |
uit.hotel/Queries/Mutation/PriceVolatilityMutation.cs | phamhongphuc/uit.hotel | 18 | 7059540 | <gh_stars>10-100
using GraphQL.Types;
using uit.hotel.Businesses;
using uit.hotel.Models;
using uit.hotel.ObjectTypes;
using uit.hotel.Queries.Authentication;
using uit.hotel.Queries.Base;
namespace uit.hotel.Queries.Mutation
{
public class PriceVolatilityMutation : QueryType<PriceVolatility>
{
public ... |
RegexUp/IVisitableExpression.cs | jehugaleahsa/RegexUp | 0 | 7059541 | namespace RegexUp
{
/// <summary>
/// An expression that can be visited by a visitor.
/// </summary>
public interface IVisitableExpression
{
/// <summary>
/// Takes a visitor and calls the corresponding the handler.
/// </summary>
/// <param name="visitor">The visito... |
RePacker/Packer/RepackerAttributes.cs | Refsa/RePacker | 1 | 7059542 | using System;
namespace RePacker
{
/// <summary>
/// Marks a struct/class to generate a packer for it
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class RePackerAttribute : System.Attribute
{
public bool UseOnAllPublicFields;
p... |
UltimaOnline.Data/Items/Weapons/Maces/SilverEtchedMace.cs | netcode-gamer/game.ultimaonline.io | 0 | 7059543 | <filename>UltimaOnline.Data/Items/Weapons/Maces/SilverEtchedMace.cs
using System;
using UltimaOnline.Items;
namespace UltimaOnline.Items
{
public class SilverEtchedMace : DiamondMace
{
public override int LabelNumber{ get{ return 1073532; } } // silver-etched mace
[Constructable]
public SilverEtched... |
src/EfCoreExtensions.RelationalUpdate/RelationalUpdateConfigurationType.cs | emrekara37/EfCore.RelationalUpdate | 9 | 7059544 | <reponame>emrekara37/EfCore.RelationalUpdate<gh_stars>1-10
using System;
namespace EfCoreExtensions.RelationalUpdate
{
public class RelationalUpdateConfigurationType
{
public RelationalUpdateConfigurationType()
{
}
public RelationalUpdateConfigurationType(Type type)
{... |
Unity/AIGym/Assets/Scripts/Utilities/LookAtCamera.cs | iv4xr-project/labrecruits | 2 | 7059545 | <reponame>iv4xr-project/labrecruits<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookAtCamera : MonoBehaviour
{
void OnEnable() { Camera.onPreRender += PreRender; }
void OnDisable() { Camera.onPreRender -= PreRender; }
void PreRender(Camera cam... |
src/FlexScheduler/Job.cs | sowenzhang/FlexScheduler | 0 | 7059547 | using System;
using System.Reactive.Concurrency;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace FlexScheduler
{
/// <summary>
/// The basic Job with no action to do. This is the template of a job, which can be translated to a scheduling item.
/// </summary>
public class Job
{
... |
Scripts/BoatController.cs | nailuj05/FusionWater | 130 | 7059548 | <filename>Scripts/BoatController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("FusionWater/_Examples/BoatController")]
public class BoatController : MonoBehaviour
{
public float moveSpeed = 10f;
public float turnSpeed = 10f;
[Range(0.5f, 5)]
publi... |
src/GameContext.cs | Tjakka5/BREAKT | 0 | 7059549 | using System;
using System.Collections.Generic;
using System.Linq;
using Humper;
using Love;
using Retromono.Tweens;
public class GameContext {
public enum GameContextState {
PLAYING,
WON,
DEATH,
};
public ILogger logger = null;
public Humper.World world = null;
public Camera camera = null;
public AudioM... |
Boxi/Boxi.Dal/UnitOfWork.cs | Tappau/Boxi | 0 | 7059550 | <filename>Boxi/Boxi.Dal/UnitOfWork.cs
using System.Threading.Tasks;
using Boxi.Core.Domain;
using Boxi.Dal.Interfaces;
using Boxi.Dal.Models;
using Boxi.Dal.Repositories;
namespace Boxi.Dal
{
public sealed class UnitOfWork : IUnitOfWork
{
private readonly BoxiDataContext _context;
public Unit... |
src/NPlanner/Graphplan/Expression.cs | foamliu/NPlanner | 0 | 7059551 | using System;
namespace NPlanner.Graphplan
{
public class Expression
{
private string m_left;
private string m_right;
private string m_op;
public Expression(string exp)
{
string[] tokens = exp.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyE... |
code_analyzer/code_analyzer/common/RuleId.cs | mdaniyalkhan/CodeAnalyzer | 0 | 7059552 | <gh_stars>0
using Microsoft.CodeAnalysis;
namespace code_analyzer.common
{
public static class RuleId
{
public static readonly string AggregateExceptionRuleId = "aggregate_exception";
public static readonly string BlankBlockCodeRuleId = "blank_block_code";
public static readonly string ... |
Source/KSPInterfaces/IKSPDevModuleInfo.cs | ihsoft/KSPDev_Utils | 1 | 7059554 | // Kerbal Development tools.
// Author: <EMAIL>
// This software is distributed under Public domain license.
namespace KSPDev.KSPInterfaces {
/// <summary>Documented analogue of IModuleInfo interface.</summary>
/// <remarks>
/// Inherit from <see cref="IModuleInfo"/> to be able customizing module descriptions for th... |
MyLibs/CommandLine/AnsiEscapeCodes.cs | dtmorrow/MyLibs | 0 | 7059555 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyLibs.CommandLine
{
/// <summary>
/// Methods to generate ANSI sequences. Write sequences to console to activate them. Note: compatibility is highly dependent on the console you're using.
/// </summary>
pu... |
src/System.Runtime.Variance.WindowsCE/Collections/Generic/ISet.cs | WindowsCE/System.Runtime | 0 | 7059556 | <reponame>WindowsCE/System.Runtime<filename>src/System.Runtime.Variance.WindowsCE/Collections/Generic/ISet.cs<gh_stars>0
namespace System.Collections.Generic
{
public interface ISet2<T> : ICollection<T>, IEnumerable, IEnumerable2<T>
{
new bool Add(T item);
void ExceptWith(IEnumerable2<T> other)... |
src/Paperspace/Models/Request/GetArtifactsParameters.cs | BaristaLabs/paperspace.net | 1 | 7059557 | <reponame>BaristaLabs/paperspace.net<gh_stars>1-10
namespace Paperspace
{
using Newtonsoft.Json;
/// <summary>
/// Artifacts get parameters
/// </summary>
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class GetArtifactsParameters
{
/// <summary>
/// ... |
Assets/Editor/Scripts/ControlAttribute.cs | simeonradivoev/Code-Node-Editor | 94 | 7059558 | <reponame>simeonradivoev/Code-Node-Editor<filename>Assets/Editor/Scripts/ControlAttribute.cs
using System;
using System.Reflection;
using UnityEngine.Experimental.UIElements;
namespace NodeEditor
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public abstract class ControlAttribute : Attribut... |
Website/CommerceContext.cs | Sitecore/Commerce-Connect-StarterKit | 15 | 7059559 | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CommerceContext.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2016
// </copyright>
// <summary>
// Defines the CommerceContex... |
LoginModule/CountByRegistrationDate.cs | myarichuk/LoginModuleDemo | 0 | 7059560 | <reponame>myarichuk/LoginModuleDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LoginModule.Model;
using Raven.Client.Documents.Indexes;
namespace LoginModule
{
public class CountByRegistrationDate :
AbstractIndexCreationTask<User, CountByRegistrationDate.R... |
src/Smartiks.Framework.Net.Email/SmtpEmailService.cs | TubaBayraktutar/smartiks-framework | 0 | 7059562 | <reponame>TubaBayraktutar/smartiks-framework
using Microsoft.Extensions.Options;
using Smartiks.Framework.Net.Email.Abstractions;
using System;
using System.Net;
using System.Net.Mail;
using System.Threading;
using System.Threading.Tasks;
namespace Smartiks.Framework.Net.Email
{
/// <summary>
/// Smtp Email S... |
SqlServerValidator/Validator/DescribeSqlValidator.cs | lsoft/ReSequel | 1 | 7059563 | using System;
using System.Data.Common;
using System.Diagnostics;
using Main.Sql;
namespace SqlServerValidator.Validator
{
public class DescribeSqlValidator : ISqlValidator
{
private const string FullSql = @"
sp_describe_first_result_set @tsql = N'
{0}
'
";
private readonly DbConnection _co... |
src/Stratis.SmartContracts.Core/State/ContractStateRepositoryRoot.cs | kogot/StratisBitcoinFullNode | 1 | 7059564 | <reponame>kogot/StratisBitcoinFullNode
using Stratis.Patricia;
using Stratis.SmartContracts.Core.State.AccountAbstractionLayer;
namespace Stratis.SmartContracts.Core.State
{
/// <summary>
/// Really magic class. Has an underlying KV store injected into the constructor. Everything is stored in this KV store
... |
HyperCars/HyperCars.Services/Cars/Implementations/CarService.cs | lubomirv999/Hyper-Cars | 4 | 7059565 | namespace HyperCars.Services.Cars.Implementations
{
using AutoMapper.QueryableExtensions;
using Data;
using Data.Models;
using Data.Models.Enums;
using Microsoft.EntityFrameworkCore;
using Services.Cars.Models;
using System.Collections.Generic;
using System.Linq;
using System.Thread... |
Lectures/Lecture3/Assets/Scripts/MeshGenerator.cs | Shasha33/CG_HSE_2020 | 0 | 7059566 | using System.Collections.Generic;
using UnityEngine;
using Unity.Mathematics;
[RequireComponent(typeof(MeshFilter))]
public class MeshGenerator : MonoBehaviour
{
public MetaBallField Field = new MetaBallField();
private MeshFilter _filter;
private Mesh _mesh;
private List<Vector3> vertices = ... |
src/HybridDb.Tests/DocumentSessionTests.cs | mookid8000/HybridDb | 0 | 7059567 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Reflection;
using HybridDb.Commands;
using HybridDb.Config;
using HybridDb.Linq;
using Shouldly;
using Xunit;
namespace HybridDb.Tests
{
public class DocumentSessionTests : HybridD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.