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 |
|---|---|---|---|---|
TaskDemo.Web/Models/TaskModel.cs | igolets/TaskDemo | 0 | 7065162 | using System;
namespace TaskDemo.Web.Models
{
public class TaskModel
{
public int Id
{
get;
set;
}
public String Name
{
get;
set;
}
}
} |
Dicom/Samples/StorageScp.cs | econmed/ImageServer20 | 1 | 7065163 | #region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... |
MainApp/src/Shapes/Ellipse.cs | dimabreeze/DanskeAsssignment_2020_CCP | 0 | 7065164 | <filename>MainApp/src/Shapes/Ellipse.cs
using System;
namespace Assignment_DmitrijKosmakov_Danske
{
public class Ellipse : AbstractShape
{
public double Width { get; private set; }
public double Height { get; private set; }
public Ellipse(double posx, double posy, double width, double ... |
HashTable/HashTable.Lib/TwoSumSln.cs | Devin-X/leetcode-csharp | 73 | 7065165 | /* ==============================================================================
* 功能描述:TwoSum
* 创 建 者:gz
* 创建日期:2017/4/28 18:20:39
* ==============================================================================*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ... |
src/FluentValidation-Blazor/IServiceCollectionExtensions.cs | kevinarthurackerman/FluentValidation.Blazor | 0 | 7065166 | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace FluentValidation
{
public static class IServiceCollectionExtensions
{
public static IServiceCollection AddFluentValidation(this IServiceColl... |
Utils/BitOperations.cs | kriho/haf | 0 | 7065167 | <reponame>kriho/haf
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HAF {
public static partial class Utils {
public static void RotateLeft(byte[] bytes) {
if(Utils.ShiftLeft(bytes)) {
bytes[byt... |
src/IntegrationTool.Core/Commands/UploadDataSourceFile/UploadDataSourceFileCommandHandler.cs | InformappNL/informapp-api-dotnet-client | 22 | 7065168 | using Informapp.InformSystem.IntegrationTool.Core.Queries;
using Informapp.InformSystem.IntegrationTool.Core.Queries.CreateStreamFromPath;
using Informapp.InformSystem.IntegrationTool.Core.Uploaders;
using Informapp.InformSystem.IntegrationTool.Core.Uploaders.DataSourceFiles;
using System.Threading;
using System.Threa... |
Mvvm/Model/ComboRankCategoryModel.cs | twinbird827/NicoV2 | 0 | 7065169 | using NicoV2.Properties;
using StatefulModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NicoV2.Mvvm.Model
{
public class ComboRankCategoryModel : BindableBase
{
/// <summary>
/// ソートリスト構成
/// </summary>... |
Tech Module Extended/18.Lambda and LINQ - Exercises/01. Register Users/Register_Users.cs | vencislav-viktorov/VS-Console-App | 1 | 7065170 | <reponame>vencislav-viktorov/VS-Console-App<filename>Tech Module Extended/18.Lambda and LINQ - Exercises/01. Register Users/Register_Users.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace _01.Register_Users
{
public class Register_Users
{
publ... |
LazyAngus/Assets/Scripts/_Controllers/RateMeController.cs | DougLazyAngus/lazyAngus | 0 | 7065171 | <filename>LazyAngus/Assets/Scripts/_Controllers/RateMeController.cs
using UnityEngine;
using System.Collections;
public class RateMeController : MonoBehaviour {
const string SUPPRESS_REQUESTS_KEY = "suppressRatingRequests";
const string RATE_THIS_LAUNCH_COUNT_KEY = "rateThisLaunchCount";
const string RATE_THIS_TIM... |
BK20/PlayerPage.xaml.cs | creeperlv/PikaComic-UWP | 5 | 7065172 | <reponame>creeperlv/PikaComic-UWP<gh_stars>1-10
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Popups;
using Windows.UI.... |
src/Meadow.UnitTestTemplate/MeadowAsserter.cs | michaelsproul/Meadow | 116 | 7065173 | <gh_stars>100-1000
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Reflection;
using System.Threading.Tasks;
namespace Meadow.UnitTestTemplate
{
public class MeadowAsserter : Assert... |
FixIt/FixIt/Controllers/ServiceRequestController.cs | amerHasanbegovic/FixIt | 0 | 7065174 | using FixIt.Models.Models.ServiceRequest;
using FixIt.Services.Interfaces;
namespace FixIt.Controllers
{
public class ServiceRequestController : BaseController<ServiceRequestViewModel, ServiceRequestInsertModel, object, object>
{
public ServiceRequestController(IServiceRequestService service) : base(s... |
Feature/AppState/Handlers.cs | Herdubreid/Employees | 0 | 7065175 | <reponame>Herdubreid/Employees<filename>Feature/AppState/Handlers.cs
using BlazorState;
using Employees.Data;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System.Threading;
using System.Threading.Tasks;
namespace Employees.Feature.AppState
{
public partial class AppState
{
p... |
src/DescribeMe.Core/CommandHandlers/ApplicationRunDataImportCommandHandler.cs | museumsvictoria/describe-me | 1 | 7065176 | using DescribeMe.Core.Commands;
using DescribeMe.Core.Config;
using DescribeMe.Core.DomainModels;
using DescribeMe.Core.Infrastructure;
namespace DescribeMe.Core.CommandHandlers
{
public class ApplicationRunDataImportCommandHandler : ICommandHandler<ApplicationRunDataImportCommand>
{
private readonly ... |
Projects/Server/Sys/SF.Sys.Extensions/BytesExtension.cs | etechi/ServiceFramework | 2 | 7065177 | #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... |
CustomSQLSample/CustomSQLSample/DataSetAdapter.cs | mtaniuchi/CSharp_sample | 0 | 7065178 | <filename>CustomSQLSample/CustomSQLSample/DataSetAdapter.cs<gh_stars>0
using System.Collections.Generic;
using System.Collections.ObjectModel;
using CustomSQLSample.Database1DataSetTableAdapters;
namespace CustomSQLSample
{
public class DataSetAdapter
{
private TableAdapterManager manager { get; set; ... |
NModbusAsync/IModbusMaster.cs | wolf8196/NModbusAsync | 13 | 7065179 | <reponame>wolf8196/NModbusAsync
using System;
using System.Threading;
using System.Threading.Tasks;
namespace NModbusAsync
{
public interface IModbusMaster : IDisposable
{
IModbusTransport Transport { get; }
Task<bool[]> ReadCoilsAsync(byte slaveAddress, ushort startAddress, ushort numberOfPo... |
Unity/Assets/HotfixView/Mahjone/Controller/GameState/InitHandAfterRongState.cs | wryl/MahjoneET | 10 | 7065180 | <reponame>wryl/MahjoneET<gh_stars>1-10
using System.Collections.Generic;
using Mahjong.Model;
namespace GamePlay.Client.Controller.GameState
{
public class InitHandAfterRongState : ClientState
{
public IList<Tile> LocalPlayerHandTiles;
public MahjongSetData MahjongSetData;
public int[] Points;
public bool[] ... |
src/RhinoInside.Revit.GH/Components/Element/Location.cs | IMVVVVVIP/rhino.inside-revit | 0 | 7065181 | <reponame>IMVVVVVIP/rhino.inside-revit
using System;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
namespace RhinoInside.Revit.GH.Components
{
public class GraphicalElementLocation : ZuiComponent
{
public override Guid ComponentGuid => new Guid("71F196F1-59E8-4714-B9C2-45FAFEEDF426");
prot... |
src/API/Swagger/HashResponseExampleProvider.cs | martincostello/api | 9 | 7065182 | // Copyright (c) <NAME>, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
using MartinCostello.Api.Models;
namespace MartinCostello.Api.Swagger;
/// <summary>
/// A class representing an implementation of <see cref="IExampleProvider... |
Computas.CognitiveServices.Test/Computas.CognitiveServices.Test/View/EmotionApiPage.xaml.cs | kkho/Cognitive-Services-Computas- | 1 | 7065183 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Computas.CognitiveServices.Test.Helper;
using Computas.CognitiveServices.Test.ViewModel;
using FormsToolkit;
using Xamarin.Forms;
namespace Computas.CognitiveServices.Test.View
{
public partial c... |
Frontend/Assets/3DGamekit/Scripts/Game/UI/WorldMarketShelfItemUI.cs | qxlllll/MMORPG | 0 | 7065184 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Gamekit3D;
using System;
public class WorldMarketShelfItemUI : MonoBehaviour
{
public string itemName;
public GameObject cartContent;
public Button button;
public Text textName;
public Text t... |
NiVek/Software/GroundStation/UWP/src/NiVek.GroundStation/ViewModels/DroneSettings.cs | bytemaster-0xff/DroneTek | 0 | 7065185 | <filename>NiVek/Software/GroundStation/UWP/src/NiVek.GroundStation/ViewModels/DroneSettings.cs
using LagoVista.Core.Commanding;
using NiVek.Common.Comms;
using NiVek.Common.Services;
using NiVek.FlightControls.Commo;
using NiVek.WinCommon.Services;
using System;
using System.Collections.Generic;
using System.Collectio... |
Controls/Primitives/Primitives.UWP/HubTile/AutomationPeers/RadCycleHubTileAutomationPeer.cs | Zofware/UI-For-UWP | 1,338 | 7065186 | <reponame>Zofware/UI-For-UWP
using Telerik.UI.Xaml.Controls.Primitives;
namespace Telerik.UI.Automation.Peers
{
/// <summary>
/// Automation Peer for the RadCycleHubTile class.
/// </summary>
public class RadCycleHubTileAutomationPeer : HubTileBaseAutomationPeer
{
/// <summary>
///... |
Source/Resources/MongoDB/ConnectionStringFromResourceConfiguration.cs | dolittle/Runtime | 12 | 7065187 | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Dolittle.Runtime.Lifecycle;
using Dolittle.Runtime.ResourceTypes.Configuration;
using MongoDB.Driver;
namespace Dolittle.Runtime.Resources.MongoDB
{
/// <summ... |
src/API/Controllers/DocumentController.cs | Frederik91/RevitAsyncDemo | 2 | 7065188 | <gh_stars>1-10
using API.Models.Documents;
using Contracts.Models;
using System.Threading.Tasks;
namespace API.Controllers
{
public class DocumentController
{
private readonly IDocumentService m_documentService;
public DocumentController(IDocumentService documentService)
{
... |
src/CompetitiveProgramming/Utils/CumulativeSum.cs | st1011/CompetitiveProgramming-CSharp | 2 | 7065189 | <reponame>st1011/CompetitiveProgramming-CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// https://atcoder.jp/contests/typical90/tasks/typical90_ab
/// </summary>
namespace CompetitiveProgramming.Utils
{
/// <summary>
//... |
Code/Chapter12/XmlExamples/CreateProjectsWithNestedSubscriptions.cs | Vladimir-Zakharenkov/Jon-Skit-CS-In-Depth-3edition | 1 | 7065190 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Model;
using System.ComponentModel;
namespace XmlExamples
{
[Description("Listing 12.16")]
class CreateProjectsWithNestedSubscriptions
{
static void Main()
{
var p... |
src/Unicorn.Tests/Configuration/Dependencies/DepTestHelper.cs | ahurynovich/Unicorn | 163 | 7065191 | <reponame>ahurynovich/Unicorn
using System;
using System.Linq;
using NSubstitute;
using Rainbow.Storage;
using Unicorn.Configuration;
using Unicorn.Configuration.Dependencies;
using Unicorn.Predicates;
namespace Unicorn.Tests.Configuration.Dependencies
{
static class DepTestHelper
{
public static void GroomConfig... |
src/Essensoft.AspNetCore.Payment.Alipay/Domain/TreeData.cs | lotosbin/payment | 1 | 7065192 | using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// TreeData Data Structure.
/// </summary>
[Serializable]
public class TreeData : AlipayObject
{
/// <summary>
/// 是否合种。true:是合种,false:不是合种
/// </summary>
... |
UnitTestingUsingNUnitWithMoq/CreditDecision.cs | Tarak-Chandra-Sarkar/UnitTestingUsingNUnitWithMoq | 4 | 7065193 | using System;
namespace UnitTestingUsingNUnitWithMoq
{
public class CreditDecision
{
readonly ICreditDecisionService creditDecisionService;
// This assumes that there is an existing ICreditDecisionService interface
// and that CreditDecisionService implements it.
public Credit... |
Assets/Scripts/CountDown.cs | 408794550/871AR | 1 | 7065194 | <reponame>408794550/871AR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
public class CountDown : MonoBehaviour {
private int time = 45;
public static CountDown _instance;
void Awake()
{
_instance = this;
}
void Start()
{
if (Utility.isDebug)
{
Start... |
DataWF.Data.Gui/Query/QueryEditor.cs | alexandrvslv/datawf | 8 | 7065195 | <filename>DataWF.Data.Gui/Query/QueryEditor.cs
using DataWF.Common;
using DataWF.Gui;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using Xwt;
using Xwt.Drawing;
using Xwt.Formats;
namespace DataWF.Data.Gui
{
public enum SearchState
{
... |
FinalProject/Assets/Scripts/Key.cs | wwlr9/CodeLab | 0 | 7065196 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using UnityEngine.UI;
public class Key : MonoBehaviour
{
public bool keyClick;
// Start is called before the first frame update
void Start()
{
keyClick = false;
}
// Update ... |
SrdReference/Models/Entities/Interfaces/IAuditable.cs | qanwi1970/dnd-srd | 0 | 7065197 | using System;
namespace SrdReference.Models.Entities.Interfaces
{
public interface IAuditable
{
string CreatedBy { get; set; }
DateTime CreatedDate { get; set; }
string ModifiedBy { get; set; }
DateTime ModifiedDate { get; set; }
}
}
|
src/Infobip.Api.SDK.Tests/WhatsApp/SendWhatsAppInteractiveMultiProductMessageTests.cs | infobip-community/infobip-api-csharp-sdk | 2 | 7065198 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Infobip.Api.SDK.Exceptions;
using Infobip.Api.SDK.WhatsApp.Models;
using Xunit;
namespace Infobip.Api.SDK.Tests.WhatsApp
{
public class SendWhatsAp... |
EventEmitter.Core/User.cs | Stelmashenko-A/EventEmitter | 0 | 7065199 | using System;
namespace EventEmitter.Core
{
public class User
{
public Guid Id { get; set; }
public string Name { get; set; }
public Guid UserTypeId { get; set; }
}
}
|
Migrations/20210104084836_InitialCreate.cs | smmhlbf/EFC4RESTAPI | 0 | 7065200 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace EFC4RESTAPI.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Configs",
... |
CASL/Devices/AudioDevice.cs | KinsonDigital/CASL | 4 | 7065201 | // <copyright file="AudioDevice.cs" company="KinsonDigital">
// Copyright (c) KinsonDigital. All rights reserved.
// </copyright>
namespace CASL.Devices
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CASL.Devices.Factories;
/// <summary>
/// Manages the audio ... |
Molten.DX11/Shaders/Compiler/Parsers/ShaderEntryParser.cs | Syncaidius/MoltenEngine | 79 | 7065202 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Molten.Graphics
{
/// <summary>An entry-point tag parser used by <see cref="ComputeTask"/> headers.</summary>
internal class ShaderEntryParser : ShaderNodeParser
... |
Mono/Pool.cs | matsufriends/MornLib | 0 | 7065203 | using System.Collections.Generic;
using UnityEngine;
namespace MornLib.Mono {
public class Pool<T> : MonoBehaviour,IPool<T> where T : MonoBehaviour {
[SerializeField] private T _prefab;
private readonly Queue<T> _poolList = new Queue<T>();
public void PoolDestroy(T pool) {
... |
tests/Feats.EventStore.Tests/Events/PathRemovedEventTests.cs | dotnet-feats/feats | 0 | 7065204 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using EventStore.Client;
using Feats.CQRS.Events;
using Feats.CQRS.Streams;
using Feats.Domain;
using Feats.Domain.Events;
using Feats.EventStore.Tests.Aggregates;
using Feats... |
src/Microsoft.Health.Dicom.Client/DicomWebResponse{T}.cs | abdelrazekrizk/dicom-server | 0 | 7065205 | <reponame>abdelrazekrizk/dicom-server
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ---------------------... |
LeetCode/PointsInTheArea/PiCalculation.cs | kaiovasa1999-ux/LeetCodeTasks | 0 | 7065206 |
namespace LeetCode.PointsInTheArea
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class PiCalculation
{
public decimal EstimitePi(long points)
{
var totalPoilPoints = 0;
v... |
Examples/Iterator.Examples/IteratorExamples.cs | henrikfroehling/Ranges | 1 | 7065207 | namespace Iterators.Examples
{
using RangeIt.Iterators;
using System;
using System.Collections.Generic;
internal static class IteratorExamples
{
internal static void Main(string[] args)
{
Iterator();
ConstIterator();
AdvanceAndRetreat();
... |
Wallace.IDE/Wallace.IDE/SalesForce/Document/TextViewDocument.cs | natewallace/walli | 0 | 7065208 | /*
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
Solutions/Argotic.Core/Syndication/GenericSyndicationFeed.cs | HowardvanRooijen/Argotic-1 | 5 | 7065209 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Xml;
using System.Xml.XPath;
using Argotic.Common;
using Argotic.Data.Adapters;
namespace Argotic... |
Assets/Scripts/QuestManager.cs | eimink/pocketjam1 | 0 | 7065210 | <filename>Assets/Scripts/QuestManager.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class QuestManager : MonoBehaviour
{
public float margin;
public GameObject questCardTemplate;
string[] questTexts = new string[7];
string[] succeedTexts... |
Assets/Scripts/Ball.cs | JasonMcTigue/GestureBasedUI | 0 | 7065211 | <reponame>JasonMcTigue/GestureBasedUI
using UnityEngine;
public class Ball : MonoBehaviour
{
public float ballInitialVelocity = 600f;
private Rigidbody rb;
private bool ballInPlay;
void Awake()
{
rb = GetComponent<Rigidbody>();
}
void Update()
{
if ((Input.GetButtonD... |
Slack.ServiceLibrary.IntegrationTests/SlackClientTests.cs | nikeyes/SlackClient | 0 | 7065212 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slack.ServiceLibrary.Contracts;
using Slack.ServiceLibrary.DTO;
using Slack.ServiceLibrary.Implementation;
using System.Collections.Generic;
namespace Slack.ServiceLibrary.UnitTests
{
[TestClass]
public class SlackClientTests
{
private read... |
src/ObservableComputations/Collections/IndicesComputing.cs | vslee/ObservableComputations | 0 | 7065213 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Linq.Expressions;
using ObservableComputations.ExtentionMethods;
namespace ObservableComputations
{
public class IndicesCom... |
Scripts/CreateHumanPose/HumanMuscleBase.cs | nebusokuhibari/NebusokuEngine | 0 | 7065215 | <reponame>nebusokuhibari/NebusokuEngine<filename>Scripts/CreateHumanPose/HumanMuscleBase.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NebusokuEngine.CreateHumanPose
{
[DefaultExecutionOrder(1001)]
public class HumanMuscleBase : MonoBehaviour
{
public ... |
src/core/Replikit.Abstractions/src/Repositories/Events/ChannelEvent.cs | Replikit/Replikit | 2 | 7065216 | <gh_stars>1-10
using Replikit.Abstractions.Common.Models;
using Replikit.Abstractions.Events;
using Replikit.Abstractions.Repositories.Models;
namespace Replikit.Abstractions.Repositories.Events;
public abstract class ChannelEvent : Event, IChannelEvent
{
public ChannelEvent(AdapterIdentifier adapterId, ChannelI... |
src/TreeLine.Sagas.Tests/Building/SagaProcessorBuilderTests.cs | aserowy/TreeLine.Sagas | 5 | 7065217 | using Moq;
using System;
using System.Collections.Generic;
using TreeLine.Sagas.Building;
using TreeLine.Sagas.Processing;
using TreeLine.Sagas.Tests.Mocks;
using TreeLine.Sagas.Versioning;
using Xunit;
namespace TreeLine.Sagas.Tests.Building
{
public class SagaProcessorBuilderTests : IDisposable
{
pri... |
FFTtoRGB/GenericEventArgs.cs | danielccunha/fft-to-rgb | 4 | 7065218 | <reponame>danielccunha/fft-to-rgb
using System;
namespace FFTtoRGB
{
/// <summary>
/// Generic event args for passing data throw EventHandlers
/// </summary>
/// <typeparam name="T">Data type</typeparam>
public class GenericEventArgs<T> : EventArgs
{
public T Data { get; }
publ... |
Solutions/Y2021/Day18/Solution.cs | z93blom/aoc2021 | 0 | 7065219 | <gh_stars>0
using System.Diagnostics;
using Newtonsoft.Json;
namespace AdventOfCode.Y2021.Day18;
class Solution : ISolver
{
public int Year => 2021;
public int Day => 18;
public string GetName() => "Snailfish";
public IEnumerable<object> Solve(string input)
{
yield return PartOne(input)... |
More-Complex-Conditions/Volleyball/Program.cs | Radostta/Programming-Basics-And-Fundamentals-SoftUni | 0 | 7065220 | <filename>More-Complex-Conditions/Volleyball/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Volleyball
{
class Program
{
static void Main(string[] args)
{
var yearLeapOrNormal = Console.ReadLi... |
examples/gherkin/csharp/BerpGherkinParser/GherkinDialect.cs | Uncommon/berp | 23 | 7065222 | using System;
using System.Linq;
namespace BerpGherkinParser
{
public class GherkinDialect
{
private readonly string[] featureKeywords;
private readonly string[] backgroundKeywords;
private readonly string[] scenarioKeywords;
private readonly string[] scenarioOutlineKeywords;
... |
Neo4JExampleSolution/Neo4jExample/Controllers/OrganizationController.cs | joshuadeanhall/TrainingAndDemos | 0 | 7065223 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using Neo4jClient;
using Neo4jExample.Models;
namespace Neo4jExample.Controllers
{
public class Organ... |
OpenTextSummarizer/Interfaces/IContentSummarizer.cs | TrevorDArcyEvans/themane | 0 | 7065224 | using System.Collections.Generic;
namespace OpenTextSummarizer.Interfaces
{
/// <summary>
/// Content summarizer interface: implement to define parsing behavior
/// </summary>
public interface IContentSummarizer
{
/// <summary>
/// Returns the concepts that can be extracted from the AnalyzedDocument... |
bindings/csharp/interfaces/RakNetListRakString.cs | arves100/SLikeNet | 360 | 7065225 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
src/Eaf/Dependency/EafAsyncDeterminationInterceptor.cs | afonsoft/EAF | 3 | 7065226 | using Castle.DynamicProxy;
namespace Eaf.Dependency
{
public class EafAsyncDeterminationInterceptor<TInterceptor> : AsyncDeterminationInterceptor
where TInterceptor : IAsyncInterceptor
{
public EafAsyncDeterminationInterceptor(TInterceptor asyncInterceptor) : base(asyncInterceptor)
{
... |
src/MixedSerializer.cs | krezon/serializer-perf | 2 | 7065227 | using System.IO;
using System.Runtime.CompilerServices;
using GroBuf;
using GroBuf.DataMembersExtracters;
using Jil;
using MBrace.FsPickler;
using MBrace.FsPickler.Combinators;
using MessageShark;
using Microsoft.FSharp.Core;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MsgPack.Serialization;
using Newt... |
CyberCAT.Core/Enums/Dumped Enums/worldNodeGroupType.cs | bsmr/WolvenKit-CyberCAT | 0 | 7065228 | namespace CyberCAT.Core.DumpedEnums
{
public enum worldNodeGroupType
{
RegularGroup = 0,
PrefabVariant = 1,
DecorationCell = 2,
ProxyGroup = 3
}
}
|
WebApp/Views/Housing/Index.cshtml | RR-Studio/RealEstateCrm | 7 | 7065229 | @using System.Web
@using Microsoft.AspNet.Http.Extensions
@using WebApp.ViewModels
@model WebApp.ViewModels.HousingIndexModel
@using Microsoft.AspNet.Authorization
@{
ViewData["Title"] = "Список объектов";
}
@{
@inject IAuthorizationService _auth;
bool userHasCreate = await _auth.AuthorizeAsync(Use... |
Web/Areas/Procurement/Views/PriceQuotation/GenerateWinners.cshtml | nathnael/cats | 1 | 7065230 | @using Cats.Areas.Procurement.Models
@using Cats.Helpers
@using Kendo.Mvc.UI
@{
ViewBag.Title = "Generate Winners";
Layout = "~/Views/Shared/NewTheme _MainLayout.cshtml";
//Layout = "~/Views/Shared/_MainLayout.cshtml";
ViewBag.PageTitle = "Generate Winners";
ViewBag.PageTitleDescription = "";
}
@*@... |
Assets/Game/States/Splash/SplashState.cs | batuu007/Google-Patika-dev-Casual-Game-Bootcapms-galaxy-destroyer | 10 | 7065231 | <gh_stars>1-10
namespace SpaceShooterProject.State
{
using Devkit.Base.Component;
using Devkit.HSM;
using UnityEngine;
public class SplashState : StateMachine
{
private LoadingState loadingState;
private IntroState introState;
public SplashState(ComponentContainer componen... |
Source/VFECore/VFECore/AI/Lords/LordToil_SiegeCustom.cs | diddily/VanillaExpandedFramework | 2 | 7065232 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using Verse.AI;
using Verse.AI.Group;
using RimWorld;
namespace VFECore
{
public class LordToil_SiegeCustom : LordToil
{
private const float BaseRadiusMin = 14f;
... |
Org.BouncyCastle.Bcpg.OpenPgp/PgpSignatureSubpacketGenerator.cs | smdx24/CPI-Source-Code | 8 | 7065233 | <reponame>smdx24/CPI-Source-Code<gh_stars>1-10
// PgpSignatureSubpacketGenerator
using Org.BouncyCastle.Bcpg;
using Org.BouncyCastle.Bcpg.OpenPgp;
using Org.BouncyCastle.Bcpg.Sig;
using Org.BouncyCastle.Utilities;
using System;
using System.Collections;
public class PgpSignatureSubpacketGenerator
{
private IList list... |
AgileMapper/Extensions/Internal/EnumerableExtensions.cs | WeiiWang/AgileMapper | 440 | 7065234 | namespace AgileObjects.AgileMapper.Extensions.Internal
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
#if NET35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
internal static class EnumerableExtensions
{
... |
Test/Server.Integration.Tests/Features/AssetDefinition/MetricDefinitionDtoValidationTests.cs | TimeWarpEngineering/MyVault-web | 1 | 7065235 | <reponame>TimeWarpEngineering/MyVault-web
namespace Server.Integration.Tests.Features.AssetDefinition
{
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using FluentValidation.Results;
using FluentValidation.TestHelper;
using Shared.Features.AssetDefinition;
using Shouldly... |
BleLib/BleEventArgs.cs | kon0524/BleLib | 1 | 7065236 | <reponame>kon0524/BleLib
using System;
namespace BleLib
{
public class BleEventArgs : EventArgs
{
public enum BleEventType {
Connected,
Disconnected,
Timeout,
Error,
LocalName
}
public BleEventType Type { get; private set; }
... |
src/Nuclear.Exceptions.uTests/Extensions/ExceptionSuiteCollectionExtensions.cs | MikeLimaSierra/Nuclear.Net | 4 | 7065237 | using Nuclear.Exceptions.ExceptionSuites;
namespace Nuclear.Exceptions.Extensions {
internal static class ExceptionSuiteCollectionExtensions {
internal static DateExceptionSuite Date(this ExceptionSuiteCollection _this) => new DateExceptionSuite(_this);
}
}
|
services/res-dispatcher/src/Ingos.ResDispatcher.API/Infrastructure/IngosKubeContext.cs | danvic712/ingos | 0 | 7065238 | // -----------------------------------------------------------------------
// <copyright file= "IngosKubeContext.cs">
// Copyright (c) Danvic.Wang All rights reserved.
// </copyright>
// Author: Danvic.Wang
// Created DateTime: 2022-02-02 21:46
// Modified by:
// Description: Kube context
// ----------------------... |
src/SFA.DAS.AssessorService.Application/Handlers/OrganisationStandards/UpdateOrganisationStandardVersionValidationHandler.cs | SkillsFundingAgency/das-assessor-service | 6 | 7065239 | using MediatR;
using SFA.DAS.AssessorService.Api.Types.Models;
using SFA.DAS.AssessorService.Api.Types.Models.Validation;
using SFA.DAS.AssessorService.Application.Interfaces;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.AssessorService.Application.Handlers.OrganisationStandards
{
publi... |
FeatureToggles.cs | InteractiveOfficeProject/client | 0 | 7065240 | <filename>FeatureToggles.cs<gh_stars>0
namespace InteractiveOfficeClient
{
/// <summary>
/// This class collects all feature toggles to enable and disable function as necessary. For more information on
/// this pattern see https://martinfowler.com/articles/feature-toggles.html
///
/// Toggles shoul... |
SkyrimTwitchBotLib/Models/SkyrimViewerSeptimTracker.cs | mrowrpurr/SkyrimTwitchBot | 1 | 7065241 | <filename>SkyrimTwitchBotLib/Models/SkyrimViewerSeptimTracker.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SkyrimTwitchBotLib.Models
{
public class SkyrimViewerSeptimTracker
{
pu... |
Source/CloneDetective.Package/ErrorHandler.cs | terrajobst/clonedetective-vs | 8 | 7065242 | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
namespace CloneDetective.Package
{
internal static class ErrorHandler
{
public static bool Failed(int hr)
{
return Microsoft.VisualStudio.ErrorHandler.Failed(hr);
}
public static bool Succeeded(int hr)
{
return Microso... |
C# Fundamentals/C# OOP Advanced/Enumerations and Attributes/Card Power/Entities/Deck.cs | Koceto/SoftUni | 2 | 7065243 | <gh_stars>1-10
using System.Collections.Generic;
public class Deck
{
private List<Card> cards;
public Deck()
{
this.cards = new List<Card>();
}
public IReadOnlyList<Card> Cards
{
get { return this.cards.AsReadOnly(); }
}
public void Add(Card card)
{
this.... |
src/Simple.Web/IExceptionHandler.cs | tegeek/Simple.Web | 64 | 7065244 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Simple.Web
{
using Http;
public interface IExceptionHandler
{
Status Handle(Exception exception, IContext context);
}
}
|
FlatBeats/ViewModels/RecentMixViewModel.cs | FlatlinerDOA/FlatBeats | 1 | 7065245 | <gh_stars>1-10
namespace FlatBeats.ViewModels
{
using FlatBeats.DataModel;
using FlatBeats.Framework;
public sealed class RecentMixViewModel : MixViewModel
{
/// <summary>
/// Initializes a new instance of the RecentMixViewModel class.
/// </summary>
public Re... |
src/Nacos/V2/Remote/Requests/PlainRequest.cs | zesys/nacos-sdk-csharp | 272 | 7065248 | namespace Nacos.V2.Remote.Requests
{
public class PlainRequest
{
public string Type { get; set; }
public object Body { get; set; }
public CommonRequestMeta Metadata { get; set; }
}
}
|
BusinessLogic/Managers/AccionesNacionalesManager.cs | hct-vladimir/SOS-Shared | 0 | 7065249 | <reponame>hct-vladimir/SOS-Shared<gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using AutoMapper;
using Cerberus.Sos.Accounting.BusinessLogic.Entities;
using Cerberus.Sos.Accounting.DataAccess.Models;
using Cerberus.Sos.Accounting.Log;
using AccionesNacionale =... |
src/PETBrowser/JobViewModel.cs | lefevre-fraser/openmeta-mms | 0 | 7065250 | using System.ComponentModel;
using System.Security;
using JobManager;
using JobManagerFramework;
namespace PETBrowser
{
public class JobViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public Job Job { get; private set; }
public string Ti... |
src/SerializionAssemblyGenerationFail/Request.cs | toso06/SerializionAssemblyGenerationFail | 0 | 7065251 | using System;
using System.Xml.Serialization;
namespace SerializionAssemblyGenerationFail
{
public class Request
{
[XmlElement(ElementName = "MessageId")]
public Guid RequestId { get; set; }
}
} |
example/Test/HoloGain.cs | Zen-Somei/CurvedSurface | 0 | 7065252 | /*
* File: Holo.cs
* Project: Test
* Created Date: 25/08/2019
* Author: <NAME>
* -----
* Last Modified: 23/05/2021
* Modified By: <NAME> (<EMAIL>)
* -----
* Copyright (c) 2019 Hapis Lab. All rights reserved.
*
*/
using AUTD3Sharp;
using AUTD3Sharp.Utils;
namespace example.Test
{
internal static class... |
src/FieldWarning/Assets/Units/Weapon.cs | maximalum/projectFieldWarning | 0 | 7065253 | /**
* Copyright (c) 2017-present, PFW Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
tests/BenchmarkDotNet.IntegrationTests.Classic/Properties/AssemblyInfo.cs | ivandrofly/BenchmarkDotNet | 0 | 7065254 | <filename>tests/BenchmarkDotNet.IntegrationTests.Classic/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.InteropServices;
using BenchmarkDotNet.IntegrationTests.Classic;
using BenchmarkDotNet.Properties;
using Xunit;
[assembly: AssemblyTitle(BenchmarkDotNetInfo.Title + ".IntegrationTests.Clas... |
CyberCAT.Core/Enums/Dumped Enums/animStanceState.cs | bsmr/WolvenKit-CyberCAT | 0 | 7065255 | <reponame>bsmr/WolvenKit-CyberCAT
namespace CyberCAT.Core.DumpedEnums
{
public enum animStanceState
{
Stand = 0,
Crouch = 1,
Kneel = 2,
Cover = 3,
Swim = 4,
Crawl = 5
}
}
|
SaTeatar/SaTeatar/Services/TipoviPredstavaService.cs | eminafit/SaTeatar | 0 | 7065256 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using SaTeatar.Model.Models;
using SaTeatar.Model.Requests;
using SaTeatar.Database;
namespace SaTeatar.WebAPI.Services
{
public class TipoviPredstavaService : BaseCRUDService<mTipoviPreds... |
Persistence/NHPersistence/Tests/UserDAOTest.cs | brheringer/FinancialControl | 0 | 7065257 | <gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FinancialControl.Model;
namespace FinancialControl.Persistence.NHPersistence.Tests
{
[TestClass]
public class UserDAOTest
: BaseTest
{
[TestMethod]
public void TestNewUpdateUser()... |
src/TheDotNetInfo/TDNI.External.LocalStorage/Commands/SavePostsToStorage/SavePostsToStorageCommand.cs | hasan-hasanov/TheDotNetInfo | 0 | 7065258 | using TDNI.Core.Commands;
using TDNI.Core.Models;
namespace TDNI.External.LocalStorage.Commands.SavePostsToStorage
{
public record SavePostsToStorageCommand : ICommand
{
public SavePostsToStorageCommand(IList<Post> posts)
{
Posts = posts;
}
public IList<Post> Posts... |
Assets/_scripts/Marionette/Indexing/Bounds2D.cs | LambdaRed/Marionette | 1 | 7065259 | using UnityEngine;
namespace Marionette.Indexing
{
public struct Bounds2D
{
Vector2 center;
Vector2 size;
public Bounds2D(Vector2 center, Vector2 size)
{
this.center = center;
this.size = size;
}
public Bounds2D(Vector2 center, float si... |
PanoramicDataWin8/view/vis/VisualizationContainerView.xaml.cs | ezg/PanoramicDataWin8-study | 0 | 7065260 | <filename>PanoramicDataWin8/view/vis/VisualizationContainerView.xaml.cs
using PanoramicDataWin8.view.vis.render;
using PanoramicDataWin8.utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Window... |
source/JSLintNet.Console/Properties/Resources.Designer.cs | benquarmby/jslintnet | 97 | 7065261 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
MAUI.MigrationsConsole/Program.cs | hflexgrig/MAUI---CleanArchitecture | 7 | 7065263 | using MAUI.CleanArchitecture.Application.Settings;
using MAUI.CleanArchitecture.Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.Reflection;
using System.Text.Json;
// See https://aka.ms/new-console-template for m... |
src/Json.Net.Curl/Json.Net.Curl/FileListModel.cs | kc85/Json.Net.Curl | 1 | 7065264 | public class FileListModel
{
public bool IsDirectory { get; set; } = false;
public string Name { get; set; }
public string FullName { get; set; }
public override string ToString()
{
return FullName;
}
} |
Form1.Designer.cs | TonyHuangYJ/RevitOle | 0 | 7065266 | <gh_stars>0
namespace OpenRevitOleStorage
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed r... |
Assets/Scripts/Player/PlayerInfo.cs | Daoab/Pole-Position | 0 | 7065267 | using System.Collections;
using System.Collections.Generic;
using Mirror;
using UnityEngine;
[System.Serializable]
public class PlayerInfo : NetworkBehaviour
{
#region Lobby variables
[SyncVar] public string Name;
[SyncVar] public int ID;
[SyncVar] public Color color;
[SyncVar] public bool isRe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.