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 |
|---|---|---|---|---|
SEScripts/Libraries/LCDHelper.cs | mze9412/SpaceEngineers-Scripts | 1 | 7035294 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Sandbox.ModAPI.Ingame;
namespace mze9412.SEScripts.Libraries
{
/**Begin copy here**/
/// <summary>
/// LCD Helper class
/// </summary>
public static class LCDHelper
{
static LCDHelper()
{
... |
PierresTreats/ViewModels/FlavorTreatViewModel.cs | macj314/pierres-treats | 0 | 7035295 | using System.Collections.Generic;
using PierresTreats.Models;
namespace PierresTreats.ViewModels
{
public class FlavorTreatViewModel
{
public List<Flavor> FlavorList { get; set; }
public List<Treat> TreatList { get; set; }
}
} |
Demos/Lock Performance/LockPerfTests/MyPage.cs | XamarinUniversity/CSC353 | 0 | 7035296 | <filename>Demos/Lock Performance/LockPerfTests/MyPage.cs
using System;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace LockPerfTests
{
public class MyPage : ContentPage
{
IList<object> data = new ObservableCollection... |
VirtualizingSearchExample/Searching/FastVerticallyScrollingItemViewer.xaml.cs | Strilanc/Example-Custom-Virtualizing-Search-for-Windows-Store-Apps | 1 | 7035297 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.ApplicationModel.Core;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using System.Linq;
namespace VirtualizingSearchExample {
public sealed partial class FastVertic... |
tests/Durian.AnalysisServices.Tests/MemberDataExtensions/GetGenericName_ITypeData.cs | piotrstenke/Durian | 18 | 7035298 | <filename>tests/Durian.AnalysisServices.Tests/MemberDataExtensions/GetGenericName_ITypeData.cs<gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
using System;
using Durian.Analysis.Extensions;
using Durian.TestServices;
using Xunit;
namespace Durian.Analysis.Tests.Member... |
Craftsman/Builders/ValidatorBuilder.cs | pedrostefanogv/craftsman | 0 | 7035300 | namespace Craftsman.Builders
{
using Craftsman.Enums;
using Craftsman.Exceptions;
using Craftsman.Helpers;
using Craftsman.Models;
using System;
using System.IO;
using System.Text;
public class ValidatorBuilder
{
public static void CreateValidators(string solutionDirectory,... |
tests/PerfomanceMonitoringTests.cs | LykkeCity/bitcoinservice | 8 | 7035301 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Core.Performance;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bitcoin.Tests
{
[TestClass]
public class... |
sources/Interop/Windows/um/strmif/IVMRSurfaceAllocatorNotify.cs | mfkl/terrafx.interop.windows | 0 | 7035302 | <reponame>mfkl/terrafx.interop.windows<filename>sources/Interop/Windows/um/strmif/IVMRSurfaceAllocatorNotify.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/strmif.h in the Windows SDK for Windows 10.0.19041.0
//... |
src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs | LaudateCorpus1/nunitv3 | 677 | 7035303 | <filename>src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs
// ***********************************************************************
// Copyright (c) 2007 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation... |
Refugees/Assets/PlugInPackage/WorldMapStrategyKit/Demos/General Examples/107 Custom Country Borders/CustomBorders.cs | lelehappy666/Refugees | 0 | 7035305 | <filename>Refugees/Assets/PlugInPackage/WorldMapStrategyKit/Demos/General Examples/107 Custom Country Borders/CustomBorders.cs
using UnityEngine;
namespace WorldMapStrategyKit {
public class CustomBorders : MonoBehaviour {
public Texture2D borderTexture;
WMSK map;
GameObject outline;
... |
src/Aether/Devices/Sensors/Measure.cs | GabrielGamy/aether | 0 | 7035306 | <gh_stars>0
using UnitsNet;
namespace Aether.Devices.Sensors
{
internal enum Measure
{
None,
/// <summary>
/// Corresponds to a <see cref="RelativeHumidity"/>.
/// </summary>
Humidity,
/// <summary>
/// Corresponds to a <see cref="UnitsNet.Temperature"... |
lib/AForge.NET Framework-2.2.4/Samples/Robotics/Surveyor/SVSTest/SrvDriverControl.Designer.cs | rpwjanzen/blinken | 1 | 7035307 | namespace SVSTest
{
partial class SrvDriverControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
ByteViewer/ByteViewer.Designer.cs | SammyEnigma/ByteViewer | 0 | 7035308 | namespace ByteVieer
{
partial class ByteViewer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... |
Assets/JuicyText/Script/TextEffect/TextEffectTag.cs | Knose1/common-unity | 0 | 7035309 | //-///////////////////////////////////////////////////////////-//
// //
// This script expose utils methode for C# reflextion for tag //
// effects. It also gets every types that uses the attribute //
// TextTag on init. ... |
Naos.MessageBus.Domain/Messages/ThrowsExceptionMessage.cs | NaosFramework/Naos.MessageBus | 7 | 7035310 | <filename>Naos.MessageBus.Domain/Messages/ThrowsExceptionMessage.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ThrowsExceptionMessage.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
... |
Assets/Scripts/Cities Minigame/CitiesProgress.cs | nikhilghosh75/wheel-of-sustainability | 0 | 7035311 | <filename>Assets/Scripts/Cities Minigame/CitiesProgress.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CitiesProgress : MonoBehaviour
{
public Slider progressBar;
public Text percentageText;
[HideInInspector]
public CitiesMinigame ... |
Online Exam-28 and29 April 2018/02. Annual Salary/Program.cs | theoners/Programing-Basics-Exams | 1 | 7035312 | using System;
namespace _02._Annual_Salary
{
class Program
{
static void Main(string[] args)
{
double exprerience = double.Parse(Console.ReadLine());
string profession = Console.ReadLine();
double salary = 0;
switch (profession)
... |
Unity/Assets/positioncolor4.cs | jphacks/TK_1615 | 1 | 7035313 | <filename>Unity/Assets/positioncolor4.cs
using UnityEngine;
using System.Collections;
public class positioncolor4 : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Vector3 pos = this.transform.position;
if (pos.x < -2) {
this.transf... |
Runtime/Frameworks/UIToolkit/Components/ValueComponent.cs | ReactUnity/core | 301 | 7035314 | using System;
using ReactUnity.Helpers;
using UnityEngine.UIElements;
namespace ReactUnity.UIToolkit
{
public class ValueComponent<TElementType, TValueType> : BindableComponent<TElementType>, IActivatableComponent where TElementType : VisualElement, IBindable, INotifyValueChanged<TValueType>, new()
{
... |
src/Hangman.WebUI/Program.cs | Arukim/hangman | 6 | 7035315 | <reponame>Arukim/hangman
using Hangman.Core;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using System;
namespace Hangman.WebUI
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).B... |
Tangent.Intermediate/GenericInferencePlaceholder.cs | yumaikas/Tangent | 1 | 7035316 | <filename>Tangent.Intermediate/GenericInferencePlaceholder.cs<gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tangent.Intermediate
{
public class GenericInferencePlaceholder : TangentTy... |
source/libs/Flash/IL/ILStream.cs | GrapeCity/pagefx | 18 | 7035317 | <filename>source/libs/Flash/IL/ILStream.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
using DataDynamics.PageFX.Common.CodeModel;
using DataDynamics.PageFX.Flash.Abc;
using DataDynamics.PageFX.Flash.Swf;
namespace DataDynamics.PageFX.Flash.IL
{
... |
GetIntoTeachingApiTests/Services/NotifyServiceTests.cs | uk-gov-mirror/DFE-Digital.get-into-teaching-api | 6 | 7035318 | using GetIntoTeachingApi.Adapters;
using GetIntoTeachingApi.Services;
using GetIntoTeachingApiTests.Helpers;
using Microsoft.Extensions.Logging;
using Moq;
using System;
using System.Collections.Generic;
using FluentAssertions;
using GetIntoTeachingApi.Models;
using GetIntoTeachingApi.Utils;
using Xunit;
... |
Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/ReportControl.cs | igoreksiz/NetOffice | 544 | 7035319 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Windows.Forms;
namespace NetOffice.DeveloperToolbox.ToolboxControls.OfficeCompatibility
{
... |
GenericSearch.UI/Views/DefaultSearch/Index.cshtml | johnmbaughman/GenericSearch | 54 | 7035320 | <filename>GenericSearch.UI/Views/DefaultSearch/Index.cshtml
@model GenericSearch.UI.Models.SearchViewModel
@{
ViewData["Title"] = "Default Search Criteria";
}
<form method="post">
@Html.EditorFor(m => m.SearchCriteria)
<div class="form-group row">
<div class="offset-sm-2 col-sm-10">
<bu... |
Studio/ThreatsManager.Extensions.WinForms/Panels/Learning/LearningPanelFactory.cs | simonec73/threatsmanager | 39 | 7035321 | <reponame>simonec73/threatsmanager
using System.Windows.Forms;
using PostSharp.Patterns.Contracts;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.Extensions;
using ThreatsManager.Interfaces.Extensions.Actions;
using ThreatsManager.Interfaces.Extensions.Panels;
using ThreatsManager.Interfaces.ObjectMo... |
SlotInventoryFoundation/Scripts/ItemIcon.cs | DrikoArgon/Grizzly-Foundations | 0 | 7035322 | <filename>SlotInventoryFoundation/Scripts/ItemIcon.cs
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class ItemIcon : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler {
private Vector3 screenPoint;
private Vector3 mousePosition;
public InventorySlot mySlot;
publi... |
src/UtilitySharp/NumberHelper.cs | Mason32NZ/UtilitySharp | 4 | 7035323 | <filename>src/UtilitySharp/NumberHelper.cs
using System;
namespace UtilitySharp
{
/// <summary>
/// A static class that contains useful methods related to numbers.
/// </summary>
public static class NumberHelper
{
/// <summary>
/// Checks if two numbers are equal within a... |
src/StructLinq.Tests/EmptyTests.cs | SpriteMaster-Ext/StructLinq | 212 | 7035324 | <reponame>SpriteMaster-Ext/StructLinq
using FluentAssertions;
using Xunit;
namespace StructLinq.Tests
{
public class EmptyTests
{
[Fact]
public void ShouldBeEmpty()
{
StructEnumerable.Empty<int>()
.ToArray()
.Should()
... |
unity/Assets/Code/Debugging/DebugModes/GameEntityDebugMode.cs | kruzifix/Klaesh-Proto | 3 | 7035325 | <gh_stars>1-10
using Klaesh.GameEntity;
using UnityEngine;
namespace Klaesh.Debugging
{
//public class GameEntityDebugMode : AbstractDebugMode
//{
// public override string Name => "Game Entities";
// public override string Description => "Overview of Entity descriptors (templates) and active G... |
src/Microsoft.OpenApi.CodeGeneration/Utilities/NamespaceHelper.cs | sped-mobi/openapi-codegen | 0 | 7035326 | <reponame>sped-mobi/openapi-codegen
// -----------------------------------------------------------------------
// <copyright file="NamespaceHelper.cs" company="<NAME>">
// Copyright © 2019 <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
names... |
C# DB May 2020/Entity Framework Core/exams/C# DB Advanced Exam - 08 August 2020/DataProcessor/Deserializer.cs | amartinn/SoftUni | 3 | 7035327 | <filename>C# DB May 2020/Entity Framework Core/exams/C# DB Advanced Exam - 08 August 2020/DataProcessor/Deserializer.cs
namespace VaporStore.DataProcessor
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.IO;
usi... |
src/MalikP. IVAO Library/MalikP.IVAO.Library/Models/Other/FlightPlanBuilder.cs | peterM/IVAO-Net | 0 | 7035328 | // MIT License
//
// Copyright (c) 2019 <NAME>. (MalikP.)
//
// File: FlightPlanBuilder.cs
// Company: MalikP.
//
// Repository: https://github.com/peterM/IVAO-Library
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... |
Hot Girl Summer Prototype 1/Assets/Scripts/Card Game/Infrastructure/Discard.cs | jjerion/PrototypeHotGirlSummer | 0 | 7035329 | <filename>Hot Girl Summer Prototype 1/Assets/Scripts/Card Game/Infrastructure/Discard.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Discard
{
public List<Card> cardsInDiscard;
public Discard()
{
cardsInDiscard = new List<Card>();
}
pu... |
Test/MergedLibrary/MergedClass.cs | picrap/Blobber | 7 | 7035330 | <gh_stars>1-10
#region Blobber!
// Blobber - Merges or embed referenced assemblies
// https://github.com/picrap/Blobber
// MIT License - http://opensource.org/licenses/MIT
#endregion
namespace MergedLibrary
{
using System;
public class MergedClass
{
public class SubType { }
public void G... |
Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.ABI/Decoders/ITypeDecoder.cs | rahul0tripathi/MetaNox | 0 | 7035331 | using System;
namespace Nethereum.ABI.Decoders
{
public interface ITypeDecoder
{
object Decode(byte[] encoded, Type type);
T Decode<T>(byte[] encoded);
object Decode(string hexString, Type type);
T Decode<T>(string hexString);
Type GetDefaultDecodingType(... |
src/SlackDotNet/Models/Messages/Payloads/EventsAPI/FileCreated.cs | brb3/SlackDotNet | 0 | 7035332 | <gh_stars>0
using Newtonsoft.Json;
namespace SlackDotNet.Models.Messages.Payloads.EventsAPI
{
/// <summary>
/// A file was created
/// </summary>
public class FileCreated : EventsAPIPayload
{
public const string EventName = "file_created";
[JsonProperty("file_id")]
... |
src/TeacherControl.API/Validations/GroupValidator/GroupValidator.cs | lowseven/teacher-control-core | 2 | 7035333 | using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TeacherControl.Domain.DTOs;
namespace TeacherControl.API.Validations
{
public class GroupValidator : AbstractValidator<GroupDTO>
{
public GroupValidator()
{
... |
tests/Unit/Statements/MySqlStatementsFixture.cs | Jaxelr/Minim | 3 | 7035334 | <filename>tests/Unit/Statements/MySqlStatementsFixture.cs
using System;
using Minimig;
using Xunit;
namespace MinimigTests.Unit
{
public class MySqlStatementsFixture
{
[Fact]
public void MySql_statements_insert()
{
//Arrange
const string table = "mymigration";
... |
05.DatabasesAdvancedEntityFramework/13.EFAdvanceExam09.04.2017/01.EFExam09.04.2017/PlanetHunter.Model/Astronomer.cs | V-Uzunov/Soft-Uni-Education | 3 | 7035335 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlanetHunter.Model
{
public class Astronomer
{
public Astronomer()
{
this.PioneerDiscoveries = new HashSet<Dis... |
src/Grapevine.Tests/Shared/Loggers/NullLoggerFacts.cs | Partiolainen/Grapevine | 181 | 7035336 | using System;
using System.Reflection;
using Grapevine.Interfaces.Shared;
using Grapevine.Shared.Loggers;
using Shouldly;
using Xunit;
namespace Grapevine.Tests.Shared.Loggers
{
public class NullLoggerFacts
{
[Fact]
public void CreateInitializesLoggerOnFirstAccess()
{
var f... |
src/sdk/PnP.Core.Test.Common/Services/Core/TestPnPContextFactoryCollectionExtensions.cs | joselu1sc/pnpcore | 0 | 7035337 | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using PnP.Core.Services;
using PnP.Core.Services.Builder.Configuration;
using System;
using System.Net;
using System.Net.Http;
namespace PnP.Core.Test.Common.Services
{
/// <summary>
/// Extension class for the IServiceCollection type to provide supp... |
tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeIssues/RedundantArgumentNameTests.cs | MrMonk3y/vimrc | 324 | 7035338 | // RedundantArgumentNameTests.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 <NAME> <<EMAIL>>
//
// 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,... |
Assets/Scripts/CellBody.cs | SonnyAD/PrefabsCache-Demo-GameOfLife | 0 | 7035339 | <reponame>SonnyAD/PrefabsCache-Demo-GameOfLife<filename>Assets/Scripts/CellBody.cs
using UnityEngine;
using System.Collections;
using PrefabsCache;
using System;
public class Cell : IEquatable<Cell>
{
[Serializable]
public class Coords : IEquatable<Coords>
{
public int x;
public int y;
public Coords(int x,... |
src/Vortice.Runtime.COM/ComUtilities.cs | Ethereal77/Vortice.Windows | 0 | 7035340 | <gh_stars>0
using System;
using System.Runtime.InteropServices;
namespace SharpGen.Runtime
{
[Flags]
public enum ComContext : uint
{
InprocServer = 0x1,
InprocHandler = 0x2,
LocalServer = 0x4,
InprocServer16 = 0x8,
RemoteServer = 0x10,
InprocHandler16 = 0x20... |
src/Blog.Api/Controllers/ArticleController.cs | rajs-git/Blog | 0 | 7035341 | <reponame>rajs-git/Blog
using Blog.Core.DTOs;
using Blog.Core.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Sparrow.Core.ApiControllers;
using Sparrow.Core.DTOs.Paging;
using Sparrow.Core.DTOs.Responses;
using System.Threading.Tasks;
using static Sparrow.Core.DTOs.Responses.... |
src/System.Private.CoreLib/src/System/NullReferenceException.cs | ZZHGit/corert | 0 | 7035342 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
/*=============================================================================
**
**
**
** Purpose: Exception class for dereferencing a null reference.
**
**
=========... |
private/api/Nutanix/Powershell/Models/NetworkSecurityRuleDefStatus.cs | gmlp/PowerShell | 0 | 7035343 | namespace Nutanix.Powershell.Models
{
using static Microsoft.Rest.ClientRuntime.Extensions;
/// <summary>Network security rule status</summary>
public partial class NetworkSecurityRuleDefStatus : Nutanix.Powershell.Models.INetworkSecurityRuleDefStatus, Microsoft.Rest.ClientRuntime.IValidates
{
/... |
src/AElf.OS/Handlers/NewIrreversibleBlockFoundEventHandler.cs | zhangyaxing12/AElf | 948 | 7035344 | <reponame>zhangyaxing12/AElf
using System.Threading.Tasks;
using AElf.Kernel.Blockchain.Events;
using AElf.OS.Network.Application;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus;
namespace AElf.OS.Handlers
{
public class NewIrreversibleBlockFoundEventHandler : ILocalEventHandler<NewIrreversibl... |
src/Buckle/Silver/Buckle/CodeAnalysis/Compilation.cs | flamechain/BELTE | 0 | 7035345 | using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Collections.Generic;
using System.Collections.Immutable;
using Buckle.IO;
using Buckle.Diagnostics;
using Buckle.CodeAnalysis.Binding;
using Buckle.CodeAnalysis.Syntax;
using Buckle.CodeAnalysis.Symbols;
using Buckle.CodeAnalysis.Emi... |
MigSharp.NUnit/Integration/Migration28_CurrentDateTimeOffsetDefault.cs | dradovic/MigSharp | 49 | 7035346 | using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
namespace MigSharp.NUnit.Integration
{
[MigrationExport(Tag = "Test HavingCurrentDateTimeOffsetAsDefault")]
internal class Migration28 : IVersionConstrainedExclusiveIntegrationTestMigration
{
public void... |
src/SJP.Schematic.Core.Tests/DatabaseRoutineTests.cs | sjp/SJP.Schema | 0 | 7035347 | using NUnit.Framework;
namespace SJP.Schematic.Core.Tests;
[TestFixture]
internal static class DatabaseRoutineTests
{
[Test]
public static void Ctor_GivenNullName_ThrowsArgumentNullException()
{
const string definition = "create function test_function...";
Assert.That(() => n... |
StructurizrObjects/StructurizrObjects/Styles/ElementStyleBase.cs | JanKinable/structurizr-objects | 0 | 7035348 | using System;
using System.Linq;
using Structurizr;
using StructurizrObjects.Utils;
namespace StructurizrObjects.Styles
{
public class ElementStyleBase
{
private readonly ElementStyle _default;
protected ElementStyleBase(Structurizr.Styles styles, Action<ElementType,string> onCreatedFromExist... |
Nodejs/Product/Analysis/JavaScript/block.cs | ezaruba/nodejstools | 1 | 7035349 | // block.cs
//
// Copyright 2010 Microsoft Corporation
//
// 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... |
MCC/Pipes.Generic/INamedMergePipe.cs | isa-group/mcc-engine | 0 | 7035350 | using System;
using System.Collections.Generic;
using de.ahzf.Styx;
namespace isa.MCC.Pipes.Generic
{
public interface INamedMergePipe : IMergePipe
{
void SetInputPipes(IDictionary<string, IPipe> Pipes);
}
public interface INamedMergePipe<S, E> : IMergePipe<S,E>
{
}
}
|
URSA.Http/Description/DefaultValueRelationSelector.cs | CharlesOkwuagwu/URSA | 15 | 7035351 | <filename>URSA.Http/Description/DefaultValueRelationSelector.cs
using System;
using System.Linq;
using System.Reflection;
using URSA.Web.Http;
using URSA.Web.Http.Reflection;
using URSA.Web.Mapping;
namespace URSA.Web.Description.Http
{
/// <summary>Provides a default source or target of a parameter.</summary>
... |
src/AspnetRun.Api/Application/Commands/DeleteProductByIdCommandHandler.cs | aspnetrun/run-angular-sample | 266 | 7035352 | <filename>src/AspnetRun.Api/Application/Commands/DeleteProductByIdCommandHandler.cs
using System.Threading;
using System.Threading.Tasks;
using AspnetRun.Api.Requests;
using AspnetRun.Application.Interfaces;
using MediatR;
namespace AspnetRun.Api.Application.Commands
{
public class DeleteProductByIdCommandHandler... |
src/AirView.Application/FlightProjector.cs | softframe/airview | 0 | 7035353 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AirView.Application.Core;
using AirView.Domain;
using AirView.Domain.Core;
using AirView.Persistence.Core;
using AirView.Persistence.Core.EventSourcing;
using AirView.Shared.Railways;
namespac... |
170619EjercicioContacto/AgendaContacto/AgendaContacto/ViewModel/ContactoViewModel.cs | djhvscf/curso-xamarin | 1 | 7035354 | using AgendaContacto.DataAccess.Servicios;
using AgendaContacto.Model;
using AgendaContacto.Views;
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace AgendaContacto.ViewModel
{
[Preserve]
public class ContactoViewModel : BaseViewModel
{
... |
CodeyBLELibrary/CodeyAirMouse/Program.cs | yifengling0/CodeyBLELibrary | 3 | 7035355 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CodeyBLELibrary;
using Windows.Foundation;
namespace CodeyAirMouse
{
class Program
{
static void Main(string[] args)
... |
Alluvial.For.ItsDomainSql/EventStreamChange.cs | xavierjohn/Alluvial | 18 | 7035356 | <filename>Alluvial.For.ItsDomainSql/EventStreamChange.cs
using System;
namespace Alluvial.For.ItsDomainSql
{
public class EventStreamChange : IComparable<EventStreamChange>
{
public EventStreamChange(Guid aggregateId)
{
AggregateId = aggregateId;
}
public Guid Aggr... |
LearningAlgorithms/DataStructure/Stacks/StockSpanProblem.cs | geegee4iee/example-manager | 0 | 7035357 | using Core.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningAlgorithms.DataStructure.Stacks
{
[ExampleClass]
class StockSpanProblem
{
static int[] FindSpan(int[] dailyStock)
{
... |
Source/Mobile/PVScan.Mobile/ViewModels/ScanPageViewModel.cs | meJevin/PVScan | 1 | 7035358 | <gh_stars>1-10
using MvvmHelpers;
using PVScan.Core.DAL;
using PVScan.Core.Models;
using PVScan.Core.Models.API;
using PVScan.Core.Services.Interfaces;
using PVScan.Mobile.Services.Interfaces;
using PVScan.Mobile.ViewModels.Messages.Scanning;
using System;
using System.Collections.Generic;
using System.IO;
using Syste... |
src/Pluralinput.Sdk/Pluralinput.Sdk/NativeMethods.cs | pluralinput/Pluralinput.Sdk | 5 | 7035359 | using System;
using System.Runtime.InteropServices;
using System.Text;
using static Pluralinput.Sdk.NativeFlags;
using static Pluralinput.Sdk.NativeStructs;
namespace Pluralinput.Sdk
{
//TODO: create DeviceHandle class deriving from SafeHandle to input into pinvoke calls.
internal class NativeMethods
{
... |
Source/Sholo.CommandLine/Context/PluginConfigurationContext.cs | scottt732/Sholo.CommandLine | 0 | 7035360 | <reponame>scottt732/Sholo.CommandLine
using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
// ReSharper disable UnusedMember.Global
namespace Sholo.CommandLine.Context
{
internal class PluginConfigurationContext : BasePluginConf... |
FabricSDK_Tests/SDK/Integration/UpdateChannelIT.cs | maxpiva/fabric-sdk-net | 12 | 7035361 | <reponame>maxpiva/fabric-sdk-net<filename>FabricSDK_Tests/SDK/Integration/UpdateChannelIT.cs
/*
*
* Copyright 2016,2017 DTCC, Fujitsu Australia Software Technology, IBM - All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
Example/Controls/Sprite.xaml.cs | jcoliz/GameFab | 1 | 7035362 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Media.Core;
using Windows.Media.Pla... |
EarTrumpet/DataModel/ProcessWatcherService.cs | jacky4566/EarTrumpet | 1 | 7035363 | using EarTrumpet.Interop;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace EarTrumpet.DataModel
{
// Monitors a list of processes by Process Id.
// Uses a single background thread to monitor N processes for quit.
publ... |
src/Forms/Charting/XLabs.Forms.Charting.iOS/Controls/ChartRenderer.cs | onovotny/Xamarin-Forms-Labs | 0 | 7035364 | using Xamarin.Forms;
using XLabs.Forms.Charting.Controls;
[assembly: ExportRenderer(typeof(Chart), typeof(ChartRenderer))]
namespace XLabs.Forms.Charting.Controls
{
using System.Linq;
using MonoTouch.UIKit;
using Xamarin.Forms.Platform.iOS;
/// <summary>
/// Class ChartRenderer.
/// </summary>
public class ... |
src/Never.EasySql/Xml/SqlTag.cs | shelldudu/never | 17 | 7035365 | using Never.Exceptions;
using Never.Serialization.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Never.EasySql.Xml
{
/// <summary>
/// sqltag
/// </summary>
public class SqlTag
{... |
TntNodeMonitor/Address.cs | ardapda/tntnodemonitor | 0 | 7035366 | <filename>TntNodeMonitor/Address.cs
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distribu... |
src/TramlineFive/TramlineFive/TramlineFive.UWP/Renderers/MapViewRenderer.cs | angelinn/TramlineFive.Xamarin | 0 | 7035367 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.UWP.Renderers;
using TramlineFive.Views;
using Xamarin.Forms.Platform.UWP;
[assembly: ExportRenderer(typeof(MapsUIView), typeof(MapViewRenderer))]
namespace TramlineFive.UWP.Renderers... |
11.Exam Preparation/Problem 10. Command Interpreter/CommandInterpreter.cs | AJMitev/CSharp-Programming-Fundamentals | 1 | 7035368 | <filename>11.Exam Preparation/Problem 10. Command Interpreter/CommandInterpreter.cs
using System;
using System.Collections.Generic;
using System.Linq;
public class CommandInterpreter
{
public static void Main()
{
var stringArr = Console.ReadLine().Split().ToList();
while (true)
{
... |
csharp/HOLMS.Platform/HOLMS.Platform/Types/out/TaxFeeSvc.cs | PietroProperties/holms.platformclient.net | 3 | 7035369 | <reponame>PietroProperties/holms.platformclient.net<filename>csharp/HOLMS.Platform/HOLMS.Platform/Types/out/TaxFeeSvc.cs
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: folio/rpc/tax_fee_svc.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.... |
BusinessRulesEngine/BusinessRulesEngine/Models/Membership.cs | typhon88/order-processing-business-rules-engine | 1 | 7035370 | <reponame>typhon88/order-processing-business-rules-engine<filename>BusinessRulesEngine/BusinessRulesEngine/Models/Membership.cs
namespace BusinessRulesEngine.Models
{
public class Membership
{
public Membership(MembershipType Type)
{
this.Type = Type;
}
public Membe... |
TestingApp/Program.cs | kelostrada/CardGames | 0 | 7035371 | using System;
using System.Linq;
using CardGames;
using CardGames.CardLists;
using CardGames.Social;
namespace TestingApp
{
class Program
{
// przesłonięcie metody w klasie na przykład EditionCardList - public override void AddCard(int index, Card card, int quantity)
static void Main(string[]... |
sources/Interop/PulseAudio/PulseAudio/pulse/proplist/PulseAudio.cs | tannergooding/terrafx.interop.pulseaudio | 7 | 7035372 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from include/pulse/proplist.h in PulseAudio 13.0
// Original source is Copyright <NAME>. Licensed under the GNU Lesser Public License 2.1 (LGPL-2.1). See Notice.md in the repo... |
yafsrc/YetAnotherForum.NET/Pages/Admin/EditForum.ascx.cs | dotnetframeworknewbie/YAFNET | 0 | 7035373 | <gh_stars>0
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2020 <NAME>
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dist... |
src/DbStructure.Data/Table.cs | aberteau/DbTools | 0 | 7035374 | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace DbTools.DbStructure.Data
{
public class Table
{
[JsonProperty(PropertyName = "identifier")]
public TableIdentifier Identifier { get; set; }
[JsonProperty(PropertyName = "columns")]
public IEnumerabl... |
src/Stump.DofusProtocol/D2oClasses/Tools/Dlm/Elements/BasicElement.cs | Daymortel/Stump | 2 | 7035375 | using Stump.Core.IO;
using System;
using System.IO;
namespace D2pReader.MapInformations.Elements
{
public abstract class BasicElement
{
//private BigEndianReader EleReader = new BigEndianReader(File.ReadAllBytes("elements.ele"));
public static uint ElementId
{
get;
... |
client/Lykke.Service.MarketMakerReports.Client/Api/IHealthIssuesApi.cs | LykkeCity/Lykke.Service.MarketMakerReports | 0 | 7035376 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Lykke.Service.MarketMakerReports.Client.Models.Health;
using Refit;
namespace Lykke.Service.MarketMakerReports.Client.Api
{
[PublicAPI]
public interface IHealthIssuesApi
{
[G... |
api/AltV.Net.EntitySync/SpatialPartitions/Grid3.cs | zziger/coreclr-module | 0 | 7035377 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Numerics;
namespace AltV.Net.EntitySync.SpatialPartitions
{
public class Grid3 : SpatialPartition
{
private static readonly float Tolerance = 0.013F; //0.01318359375F;
// x-index, y-index, col shapes
protected rea... |
O2.Platform.VisualStudio/VisualStudio_2010.cs | o2platform/O2.Platform.VisualStudio | 2 | 7035378 | using System;
using System.Collections.Generic;
using WPF_UserControl = System.Windows.Controls.UserControl;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
//using System.ComponentModel.Design;
//using O2.Views.ASCX.Ascx.MainGUI;
namespace O2.FluentSharp.VisualStudio
{
/// <summa... |
samples/LagoVista.XPlat.Sample/LagoVista.XPlat.Sample/Views/WiFiNetworksView.xaml.cs | LagoVista/CrossPlatform | 0 | 7035379 | <filename>samples/LagoVista.XPlat.Sample/LagoVista.XPlat.Sample/Views/WiFiNetworksView.xaml.cs
using LagoVista.XPlat.Core;
using Xamarin.Forms.Xaml;
namespace LagoVista.XPlat.Sample.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class WiFiNetworksView : LagoVistaContentPage
{
publ... |
3DAmsterdam/Assets/Netherlands3D/Scripts/Interface/Minimap/MapTiles.cs | mvangog/3DLocal | 0 | 7035380 | using Netherlands3D.Cameras;
using ConvertCoordinates;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Networking;
using UnityEngine.UI;
namespace Netherlands3D.Interface.Minimap
{
public class MapTil... |
src/YamNet.Core/DTOs/Message/MessageBasicInfo.cs | ckittel/yam-dotnet | 0 | 7035381 | <gh_stars>0
// -----------------------------------------------------------------------
// <copyright file="MessageBasicInfo.cs" company="YamNet">
// Copyright (c) 2014 YamNet contributors
// </copyright>
// -----------------------------------------------------------------------
namespace YamNet.Client
{
using S... |
Ductus.FluentDocker/Commands/ComposeStreams.cs | truepele/FluentDocker | 867 | 7035382 | using System;
using System.Threading;
using Ductus.FluentDocker.Executors;
using Ductus.FluentDocker.Executors.Mappers;
using Ductus.FluentDocker.Extensions;
using Ductus.FluentDocker.Model.Common;
using Ductus.FluentDocker.Model.Containers;
namespace Ductus.FluentDocker.Commands
{
public static class ComposeStream... |
Utils/Utils/ReplaceRenderer.cs | jasonhua95/samll-project | 8 | 7035383 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Utils
{
/// <summary>
/// 替换渲染器
/// 使用方法:await ReplaceRenderer.ParseAsync("hi @UserName,年龄: @Age,小名:@XiaoName 。", new { UserName = "测试", Age = 19, XiaoName = "小明" })
/// ... |
MSR.LST.ArchiveService/ArchiveWrapper/structs.cs | weihog/ConferenceXP | 1 | 7035384 | <filename>MSR.LST.ArchiveService/ArchiveWrapper/structs.cs
using System;
using System.Globalization;
namespace MSR.LST.ConferenceXP.ArchiveService
{
[Serializable]
public class Conference
{
public Conference () {}
public Conference (int conferenceID, string description, string... |
DTDLValidator-Sample/DTDLValidator/Interactive/LoadCommand.cs | rido-min/DTDL-Validator | 8 | 7035385 | using CommandLine;
using Microsoft.Azure.DigitalTwins.Parser;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace DTDLValidator.Interactive
{
[Verb("load", HelpText = "Load models.")]
internal class ... |
Core/Core.Base/IEntity.cs | drmturhan/psg | 0 | 7035386 | <reponame>drmturhan/psg
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Core.Base
{
public interface IEntity<TKey> where TKey : IEquatable<TKey>
{
TKey Kimlik { get; set; }
string ConcurrencyStamp { get; set; }
}
public cla... |
Clients/WindowsFormsDemo/ExtendedResultForm.cs | LORDofDOOM/ZXing.Net | 3 | 7035387 | using System.Windows.Forms;
using ZXing.Client.Result;
namespace WindowsFormsDemo
{
public partial class ExtendedResultForm : Form
{
public ParsedResult Result
{
get { return (ParsedResult)propGridResult.SelectedObject; }
set { propGridResult.SelectedObject = value; }
... |
RentACar/DataAccess/Abstract/IRentalinformationDal.cs | jova/Rent-a-Car | 0 | 7035388 | using Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Abstract
{
public interface IRentalinformationDal : IEntityRepository<Rentalinformation>
{
}
}
|
src/Core.Abstractions/PersistentStore/Clock.cs | MaiReo/BaishijiajuMicroServiceInfrastructure | 1 | 7035389 | using System;
namespace Core.PersistentStore
{
/// <summary>
/// Wrapper of DatetimeOffset.Now
/// </summary>
public class Clock
{
static Clock()
{
ClockProvider = CLRTypeDateTimeOffsetClockProvider.Instance;
}
/// <summary>
/// Provides curren... |
src/LiteApp/Controllers/AdminController.cs | ardymalihi/LiteApp | 1 | 7035390 | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using LiteApp.Services;
using LiteApp.ViewModels;
using LiteApp.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
usin... |
TournamentTracker/TrackerLibrary/Models/MatchupEntryModel.cs | GabrielGrigore17/Csharp-Application | 0 | 7035391 | using System;
using System.Collections.Generic;
using System.Text;
namespace TrackerLibrary.Models
{
/// <summary>
/// Represents one team in the matchup.
/// </summary>
public class MatchupEntryModel
{
/// <summary>
/// Represents one team in the matchup.
/// </summary>
... |
Assets/Scripts/HealthIncrease.cs | QueenTitania/TankControllerHW01 | 0 | 7035392 | <filename>Assets/Scripts/HealthIncrease.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthIncrease : CollectibleBase
{
[SerializeField] int healthAdded = 1;
protected override void Collect(Player player)
{
player.IncreaseHealth(healthAd... |
Packages/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Camera/HDCameraUI.cs | jfmc/FPSSample | 3 | 7035393 | <reponame>jfmc/FPSSample<gh_stars>1-10
using UnityEditor.AnimatedValues;
using UnityEngine.Events;
using UnityEngine.Experimental.Rendering.HDPipeline;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
partial class HDCameraUI : BaseUI<SerializedHDCamera>
{
SerializedHDCamera m_SerializedHdCame... |
Scripts/Other/Cannon.cs | robertwhaskell/Shmup | 0 | 7035394 | using UnityEngine;
using System.Collections;
public class Cannon : MonoBehaviour {
public GameObject shot;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void shoot () {
if (LevelGen.instance.enemyClip.Count > 0) {
GameObject shot = ... |
src/Storage.Net/Streaming/FixedStream.cs | manimaranm7/storage | 3 | 7035395 | using System;
using System.IO;
namespace Storage.Net.Streaming
{
/// <summary>
/// Fixes deficiencies in thrird party streaming impelmentations
/// </summary>
public class FixedStream : Stream
{
private readonly Stream _parent;
private readonly long? _length;
private readonly Action<F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.