max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/OTA-Library/Enum_UniqueIDType.cs | Franklin89/OTA-Library | 8 | 7050343 | <reponame>Franklin89/OTA-Library<gh_stars>1-10
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.opentravel.org/OTA/2003/05")]
public enum Enum_UniqueIDType... |
JazSharp.Tests/JazExpectationExceptionSpec.cs | Magicianred/JazSharp | 1 | 7050344 | <gh_stars>1-10
using System.Diagnostics;
namespace JazSharp.Tests
{
public class JazExpectationExceptionSpec : Spec
{
public JazExpectationExceptionSpec()
{
Describe<JazExpectationException>(() =>
{
It("should trim the stack trace to the test method.", (... |
Passliss/Classes/PasswordConfigurationManager.cs | Leo-Corporation/Passliss | 4 | 7050345 | <reponame>Leo-Corporation/Passliss<filename>Passliss/Classes/PasswordConfigurationManager.cs
/*
MIT License
Copyright (c) L<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 restrict... |
FP.SqlAst/SelectQuery.cs | FutureProcessing/FP.SqlAst | 1 | 7050346 | <reponame>FutureProcessing/FP.SqlAst<gh_stars>1-10
namespace FP.SqlAst {
using System.Collections.Generic;
using System.Linq;
using Generators;
/// <summary>
/// Represents SELECT query
/// </summary>
public class SelectQuery : RecordSet {
/// <summary>
/// Gets the columns.... |
src/GR.Extensions/GR.Forms.Extension/GR.Forms.Abstractions/ViewModels/FormViewModels/RowViewModel.cs | indrivo/GEAR | 7 | 7050347 | using System;
using System.Collections.Generic;
namespace GR.Forms.Abstractions.ViewModels.FormViewModels
{
public class RowViewModel
{
public IEnumerable<Guid> Columns { get; set; }
public Guid Id { get; set; }
public ConfigViewModel Config { get; set; }
public IDictionary<str... |
MvcApplication1/Views/Doctor/Index2.cshtml | marta-krzyk-dev/MvcFakeClinic | 0 | 7050348 | <gh_stars>0
@model IEnumerable<MedicalClinic.Models.Doctor>
@{
ViewBag.Title = "Index";
}
<style>
table {
border-collapse: collapse;
text-align:left;
}
tr {
border-top: 3px azure ridge;
}
</style>
<h2>Doctors at our clinic</h2>
<p>@ViewBag.Error</p>
<p>
@Html.... |
src/PFire.Core/Protocol/Messages/Inbound/StatusChange.cs | celluj34/PFire | 38 | 7050351 | using System.Threading.Tasks;
using PFire.Core.Protocol.Messages.Outbound;
using PFire.Core.Session;
namespace PFire.Core.Protocol.Messages.Inbound
{
internal sealed class StatusChange : XFireMessage
{
public StatusChange() : base(XFireMessageType.StatusChange) {}
[XMessageField(0x2e)]
... |
UnitTests/Cryptography/CryptoRandomNumberTests.cs | dcjulian29/toolkit | 1 | 7050352 | using System;
using System.Collections.Generic;
using ToolKit.Cryptography;
using Xunit;
namespace UnitTests.Cryptography
{
public class CryptoRandomNumberTests
{
[Fact]
public void Next_Should_RetrunMinValue_When_MaxValueIsEqual()
{
// Arrange
var minValue = 2;
... |
Repo.BAL/Validation/UserValidator.cs | MaksHladki/Test.Repo | 0 | 7050353 | <reponame>MaksHladki/Test.Repo<gh_stars>0
using System;
using System.Collections.Generic;
using Repo.Helpers.Validation;
using Repo.Model.Models;
namespace Repo.BAL.Validation
{
public class UserValidator : Validator<User>
{
protected override IEnumerable<ValidationResult> Validate(User entity)
... |
2. CSharp OOP Basics/08.1. Exam Preparation 1 - Exam - 16 July 2017 - Minedraft/Minedraft/Models/Providers/Provider.cs | ViktorAleksandrov/SoftUni--CSharp-Fundamentals | 0 | 7050354 | using System;
using System.Text;
public abstract class Provider : Machine
{
private const string ErrorMessage = "Provider is not registered, because of it's {0}";
private const int MaxEnergyOutput = 10_000;
private double energyOutput;
protected Provider(string id, double energyOutput)
: bas... |
tests/CacheTower.Tests/Extensions/ExtensionContainerTests.cs | vp89/CacheTower | 0 | 7050356 | <reponame>vp89/CacheTower
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CacheTower.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace CacheTower.Tests.Extensions
{
[TestClass]
public class ExtensionContaine... |
Version 1.0/FREDApi/FREDApi/Tags/Data/TagSeriesContainer.cs | rcapel/FRED-API-Toolkit | 11 | 7050357 | using FRED.API.Base.Data;
using FRED.API.Series.Data;
using System.Collections.Generic;
using FRED.API.Base;
namespace FRED.API.Tags.Data
{
/// <summary>
/// Provides data properties for a tag series container, including a collection of tag series (seriess).
/// </summary>
public class TagSeriesContainer : Exten... |
StarWars/Characters/CharacterResolvers.cs | StefH/HotChocolateExample | 3 | 7050358 | using System.Collections.Generic;
using System.Linq;
using HotChocolate;
using HotChocolate.Types;
using Microsoft.Extensions.Logging;
using StarWars.Repositories;
namespace StarWars.Characters
{
/// <summary>
/// This resolver class extends all object types implementing <see cref="ICharacter"/>.
/// </sum... |
2NN_NotLearning/2NN_NotLearning/obj/Debug/MainWindow.g.i.cs | takunology/DeepLearning | 0 | 7050359 | <filename>2NN_NotLearning/2NN_NotLearning/obj/Debug/MainWindow.g.i.cs
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "88B009F6ABF80631ACEA370E1F23564088C3CD50CFDA74143F49C23B52B341D9"
//------------------------------------------------------------------------------
// <auto-generated>... |
Source/Code/AsyncEnumeration.Implementation.Provider/Where.cs | stazz/AsyncEnumeration | 0 | 7050360 | <reponame>stazz/AsyncEnumeration
/*
* Copyright 2017 <NAME>. All rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LI... |
FaceFusion/Extensions/MatrixExtensions.cs | kit-cat/ColorFaceFusion | 7 | 7050361 | <reponame>kit-cat/ColorFaceFusion
/*
* This file is part of the Face Fusion project.
*
* Copyright (c) 2013 <NAME>
*
* This code is licensed to you under the terms of the MIT license.
* See https://facefusion.codeplex.com/license for a copy of the license.
*/
using System.Windows.Media.Media3D;
using Microsof... |
Yuki Theme.Core/Controls/ColorEditor/ColorPicker/Controls/ColorHexagon.cs | UI-Apps/Yuki-Theme | 15 | 7050362 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Threading;
using System.Windows.Forms;
namespace MechanikaDesign.WinForms.UI.ColorPicker
{
[DefaultEvent("ColorChanged")]
public partial class ColorHexagon: UserContr... |
Source/CommandProcessor/ProcessCommands.cs | Adventure4Life/testAdventure-v3--NewHouse- | 0 | 7050363 | <filename>Source/CommandProcessor/ProcessCommands.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace testAdventure
{
class ProcessCommands
{
private static string rawInput;
private static string[] cleanedInputTokens;... |
FtcEqualizeMatchCounts/DAL/MatchResult.cs | rgatkinson/FtcEqualizeMatchCounts | 0 | 7050364 | <reponame>rgatkinson/FtcEqualizeMatchCounts<filename>FtcEqualizeMatchCounts/DAL/MatchResult.cs<gh_stars>0
using System;
using System.Collections.Generic;
using FEMC.Enums;
namespace FEMC.DAL
{
class MatchResult : IComparable<MatchResult> // org.usfirst.ftc.event.MatchResult
{
public long Te... |
Assets/MegamanX/Scripts/SpawnTrigger.cs | Dunmord/UnityMegamanX | 19 | 7050365 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SpawnTrigger : MonoBehaviour
{
private List<GameObject> spawnedEnemies = new List<GameObject> ();
private bool locked = false;
public GameObject[] objectsToSpawn = null;
public bool delayedSpawn = false;
public float spaw... |
src/MemeTV/Controllers/SubtitlesController.cs | zerratar/meme-tv | 4 | 7050366 | <filename>src/MemeTV/Controllers/SubtitlesController.cs
using System.Text;
using System.Threading.Tasks;
using MemeTV.BusinessLogic;
using MemeTV.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace MemeTV.Controllers
{
[Route("api/[controller]")]
[ApiContr... |
src/ServiceManagement/Network/Network.Tests/Gateways/TestOperations/ResizeGateway.cs | cwickham3/azure-sdk-for-net | 1 | 7050367 | <reponame>cwickham3/azure-sdk-for-net
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//... |
Assets/Scripts/Items/DroppedItemScript.cs | TeamSuperSmash/Super-Science-Brother | 0 | 7050368 | <filename>Assets/Scripts/Items/DroppedItemScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ItemType
{
Nothing = -1,
BombInc = 0,
BombDec,
Restore,
Shield,
Bazooka,
Fatboy,
Total
};
public class DroppedItemScript : MonoBehaviour
{
//Developer
public Spri... |
src/holdem_engine/PotManager.cs | bitpokerio/BitPoker.Engine | 0 | 7050369 | using System;
using System.Collections.Generic;
using System.Text;
namespace holdem_engine
{
/// <summary>
/// A class to manage the pots that are created in a hand. The
/// PotManager is responsible for creating side pots when players
/// go all in and for determining who wins what at the end of the ... |
src/Cake.Common.Tests/Fixtures/Tools/NuGet/Packer/NuGetPackerWithProjectFileFixture.cs | RichiCoder1/cake | 1 | 7050370 | <filename>src/Cake.Common.Tests/Fixtures/Tools/NuGet/Packer/NuGetPackerWithProjectFileFixture.cs<gh_stars>1-10
using Cake.Common.Tests.Properties;
using Cake.Common.Tools.NuGet.Pack;
using Cake.Core.IO;
using Cake.Testing;
namespace Cake.Common.Tests.Fixtures.Tools.NuGet.Packer
{
internal sealed class NuGetPackerW... |
samples/Zammad.Connector/Core/IO/XmlSerializer.cs | MaxDehn/Zammad.Client | 19 | 7050371 | using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Zammad.Connector.Core.IO.Annotations;
namespace Zammad.Connector.Core.IO
{
[Serializer(".xml")]
public class XmlSerializer : ISerializer
{
... |
Projet/Proxy/Proxy.cs | Arthur-Soens/eiin839 | 0 | 7050372 | <filename>Projet/Proxy/Proxy.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Caching;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace Proxy
{
// REMAR... |
Clients/CrossBrowser/Xamarin.CrossBrowser.Mac/ScriptDelegate.cs | slodge/workbooks | 415 | 7050374 | <reponame>slodge/workbooks
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Xamarin.CrossBrowser
{
public delegate void ScriptAction (dynamic thisObject, dynamic [] arguments);
public delegate dynamic ScriptFunc (dy... |
Libraries/Sdk/Xms.Sdk.Extensions/QueryMetadataFinder.cs | ganqiyin/xms | 518 | 7050375 | using System;
using System.Collections.Generic;
using System.Linq;
using Xms.Infrastructure.Utility;
using Xms.Schema.Attribute;
using Xms.Schema.Domain;
using Xms.Schema.Entity;
using Xms.Schema.Extensions;
using Xms.Schema.OptionSet;
using Xms.Schema.RelationShip;
using Xms.Schema.StringMap;
using Xms.Sdk.Abstractio... |
Morris/Core/GameResult.cs | TwoFX/Morris | 2 | 7050376 | /*
* GameResult.cs
* Copyright (c) 2015 <NAME>
* This file is distributed under the terms of the MIT license
*/
namespace Morris
{
/// <summary>
/// Beschreibt, ob ein Spiel beendet ist und wie es ausgegangen ist
/// </summary>
public enum GameResult
{
Running,
Draw,
WhiteVictory = Player.White,
Blac... |
Grouping/Grouping/ObservableOrderedGroupCollection.cs | Cybrosys/Sandbox | 1 | 7050377 | <reponame>Cybrosys/Sandbox<gh_stars>1-10
using System.Collections.Generic;
namespace Grouping
{
public class ObservableOrderedGroupCollection<TKey, TItem> : ObservableOrderedCollection<TItem>
{
private readonly TKey _key;
public ObservableOrderedGroupCollection(TKey key)
{
... |
Introduction/Lesson_4_2/Program.cs | shreyner/hamster-sharp | 0 | 7050379 | using System;
using System.Linq;
namespace Lesson_4_2
{
class Program
{
static void Main(string[] args)
{
Console.Write("Введите числа через пробел: ");
var enterString = Console.ReadLine();
var sum = enterString
.Split(" ", StringSplitOpti... |
src/ManiaPlanetSharp/GameBox/Parsing/Chunks/Replay/ReplayGhostsChunk.cs | stefan-baumann/ManiaPlanetSharp | 21 | 7050380 | using System;
using System.Collections.Generic;
using System.Text;
namespace ManiaPlanetSharp.GameBox.Parsing.Chunks
{
[Chunk(0x03093014)]
public class ReplayGhostsChunk
: Chunk
{
[Property]
public uint Ignored1 { get; set; }
[Property(SpecialPropertyType.NodeReference), A... |
reactive-extensions-test/maybe/MaybeLambdaObserverTest.cs | akarnokd/reactive-extensions | 50 | 7050381 | using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
namespace akarnokd.reactive_extensions_test.maybe
{
[TestFixture]
public class MaybeLambdaObserverTest
{
[Test]
public void Success()
{
var count = 0;
MaybeSource.Just(1)
... |
Matrix/Structures/MatrixCreateRoom.cs | MrLenin/matrix-dotnet-sdk | 0 | 7050382 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Matrix.Structures
{
public class MatrixCreateRoom
{
/// <summary>
/// A list of user IDs to invite to the room. This will tell the server to invite everyone in the list to the newly created room.
/// </summary>
... |
Examples/CSharp/Document_Information/Conversion_CSharp_Get_Document_Information.cs | rizwanniazigroupdocs/groupdocs-conversion-cloud-dotnet-samples | 0 | 7050384 | <reponame>rizwanniazigroupdocs/groupdocs-conversion-cloud-dotnet-samples<filename>Examples/CSharp/Document_Information/Conversion_CSharp_Get_Document_Information.cs
using System;
using GroupDocs.Conversion.Cloud.Sdk.Api;
using GroupDocs.Conversion.Cloud.Sdk.Client;
using GroupDocs.Conversion.Cloud.Sdk.Model.Request... |
CSReader/CSReader/Analyze/Row/TypeDeclarationRow.cs | yobiya/CSReader | 0 | 7050385 | <filename>CSReader/CSReader/Analyze/Row/TypeDeclarationRow.cs
using Microsoft.CodeAnalysis;
using System.Data.Linq.Mapping;
namespace CSReader.Analyze.Row
{
[Table(Name="type_info")]
public class TypeDeclarationRow
{
[Column(Name="id", DbType="INT", CanBeNull=false, IsPrimaryKey = true)]
... |
ISocket.cs | okinta/iqfeed-keep-alive | 0 | 7050386 | using System.Threading.Tasks;
namespace IqfeedKeepAlive
{
/// <summary>
/// An interface for describing methods to communicate via a socket.
/// </summary>
internal interface ISocket
{
public Task ConnectAsync(string host, int port);
public void Close();
}
}
|
src/ProjektKatastrophenschutz/Controls/ShellCommandBarControlSelector.cs | projekt-katastrophenschutz/emergency-management-tool | 1 | 7050387 | <filename>src/ProjektKatastrophenschutz/Controls/ShellCommandBarControlSelector.cs
// <copyright file="ShellCommandBarControlSelector.cs" company="FT Software">
// Copyright (c) 2016 <NAME>. All rights reserved.
// </copyright>
// <author><NAME></author>
namespace ProjektKatastrophenschutz.Controls
{
using System... |
Voxalia/ClientGame/NetworkSystem/PacketsIn/BlockEditPacketIn.cs | MoTo1496/Voxalia | 0 | 7050388 | <gh_stars>0
//
// This file is part of the game Voxalia, created by Frenetic LLC.
// This code is Copyright (C) 2016-2017 Frenetic LLC under the terms of a strict license.
// See README.md or LICENSE.txt in the source root for the contents of the license.
// If neither of these are available, assume that neither you no... |
src/LightStep/Reference.cs | Kaneraz/lightstep-tracer-csharp | 16 | 7050389 | using System;
using System.Collections.Generic;
namespace LightStep
{
public sealed class Reference : IEquatable<Reference>
{
public SpanContext Context { get; }
public string ReferenceType { get; }
public Reference(SpanContext context, string referenceType)
{
... |
src/Quadrant/Utility/Matrix3x2Extensions.cs | mtaron/Quadrant | 6 | 7050390 | using System;
using System.Numerics;
namespace Quadrant.Utility
{
public static class Matrix3x2Extensions
{
public static Vector2 Scale(this Matrix3x2 matrix)
{
float xScale = GetLength(matrix.M11, matrix.M12);
float yScale = GetLength(matrix.M21, matrix.M22);
... |
GD3_2021_GDLibrary/GD3_2021_GDLibrary/Core/Graphics/Materials/CustomMaterial.cs | D00225745/SpookyMineshaftProject | 0 | 7050391 | <filename>GD3_2021_GDLibrary/GD3_2021_GDLibrary/Core/Graphics/Materials/CustomMaterial.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace GDLibrary.Graphics
{
public class CustomMaterial : BasicMaterial
{
#region Fields
protected Vector2 tiling;
prote... |
Modules/Szmyd.Orchard.Modules.Menu/Drivers/AdvancedMenuItemPartDriver.cs | nicman2006/Orchard-CMS | 0 | 7050392 | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web.Mvc;
using Orchard.Autoroute.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
using Orchard.L... |
BB.Transactions/Records/StartRecord.cs | SaberMK/BiBi | 0 | 7050393 | using BB.Memory.Abstract;
using BB.Memory.Base;
using BB.Transactions.Abstract;
namespace BB.Transactions.Records
{
public class StartRecord : LogRecord
{
public StartRecord(
ILogManager logManager,
IBufferManager bufferManager,
int transactionNumber)
: ... |
OnlyTwo-Codes/OnlyTwo/ZipOperation.cs | KaganCanSit/OnlyTwo-MessageApp | 0 | 7050394 | using System;
using System.IO;
using System.Threading;
using System.Windows.Forms;
namespace OnlyTwo
{
public class ZipOperation
{
public Bunifu.Framework.UI.BunifuProgressBar progressBar;
public void ZipFileOperation(string FilePath)
{
if (string.IsNullOrEmpty(FilePath))
... |
AsyncPoco/Core/AnsiString.cs | khellang/AsyncPoco | 88 | 7050395 | // AsyncPoco is a fork of PetaPoco and is bound by the same licensing terms.
// PetaPoco - A Tiny ORMish thing for your POCO's.
// Copyright © 2011-2012 Topten Software. All Rights Reserved.
using System;
namespace AsyncPoco
{
/// <summary>
/// Wrap strings in an instance of this class to force use of DBType.Ans... |
CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Biff/Formula/Area.cs | Tatetaylor/kbplumbapp | 0 | 7050396 | /*********************************************************************
*
* Copyright (C) 2002 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Lic... |
KHLBotSharp.Core/Models/EventsMessage/Body/UserInfoChangeEvent.cs | PoH98/KHLBotSharp | 4 | 7050397 | <reponame>PoH98/KHLBotSharp<gh_stars>1-10
using KHLBotSharp.Models.EventsMessage.Abstract;
using Newtonsoft.Json;
namespace KHLBotSharp.Models.EventsMessage
{
public class UserInfoChangeEvent : AbstractBody
{
[JsonProperty("user_id")]
public string UserId { get; set; }
[JsonProperty("u... |
Core/Buildings/Building.cs | SpencasaurusRex/ARA2D | 2 | 7050398 | <gh_stars>1-10
namespace Core.Buildings
{
public class Building
{
public BuildingType Type;
public Building(BuildingType type)
{
Type = type;
}
}
public enum BuildingType
{
None,
Test,
Computer
}
}
|
src/model/BootstrapConfig.cs | bartr/system-commandline-sample | 0 | 7050399 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
namespace SCL
{
/// <summary>
/// Model for bootstrap commands
/// System.CommandLine will parse and pass t... |
src/PrtgAPI.Tests.UnitTests/CSharp/ObjectData/SensorTests.cs | ericsp59/PrtgAPI | 218 | 7050400 | <reponame>ericsp59/PrtgAPI<filename>src/PrtgAPI.Tests.UnitTests/CSharp/ObjectData/SensorTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Parameters;
using PrtgAPI.Tests.UnitTests.Support;
using Pr... |
src/Ledgr.Data/Entities/Debits.cs | isimongardner/ledgr | 0 | 7050401 | using System;
namespace Ledgr.Entities
{
public class Debit
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Created { get; set; }
public decimal Amount { get; set; }
public int RecurringDay { get; set; }
public Guid Identifier { ge... |
src/HotChocolate/Core/src/Types/Types/Relay/Extensions/RelaySchemaBuilderExtensions.cs | sayedihashimi/hotchocolate | 0 | 7050402 | <reponame>sayedihashimi/hotchocolate<filename>src/HotChocolate/Core/src/Types/Types/Relay/Extensions/RelaySchemaBuilderExtensions.cs<gh_stars>0
using HotChocolate.Types.Relay;
namespace HotChocolate
{
public static class IdSchemaBuilderExtensions
{
/// <summary>
/// Enables relay schema style.
... |
Solutions/SharpArch.Domain/Commands/CommandResults.cs | jmallinger/Sharp-Architecture | 1 | 7050403 | <gh_stars>1-10
namespace SharpArch.Domain.Commands
{
using System.Collections.Generic;
using System.Linq;
public class CommandResults : ICommandResults
{
private readonly List<ICommandResult> results = new List<ICommandResult>();
public bool Success
{
get
... |
Source-Code-母婴在线门户全站源代码/Views/FrontBaike/Details.cshtml | zoomlacms/web005 | 0 | 7050405 | @model ZoomLa.Model.M_Baike
@{
int Mid = ViewBag.Mid;
int EditID = ViewBag.EditID;
Layout = "~/Views/FrontBaike/_BaikeLayout.cshtml";
}
@section head{
<title>逐浪百科</title>
}
@section content{
<div class="container margin_t5" data-offset="280">
<ol class="breadcrumb margin_top10" style="margin-bottom:0px;">... |
Baloons-Pop-7/TestBalloonsPopGame/ReorderTests/FlyReorderTest.cs | sguzunov/Teamwork-HQC-Baloons-Pop-7 | 0 | 7050407 | namespace TestBalloonsPopGame.ReoerderTests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Balloons.Cell;
using Balloons.FieldFactory.Field;
using Balloons.ReorderStrategy;
[TestClass]
public class FlyReorderTests
{
[TestMethod]
[ExpectedExce... |
src/ImpliedValue.Tests/ImpliedDecimalTests.cs | jcmrva/ImpliedValue | 0 | 7050408 | using System;
using Xunit;
using ImpliedValue;
namespace ImpliedValue.Tests
{
public class ImpliedDecimalTests
{
[Theory]
[InlineData(10, 2, "1000")]
[InlineData(123, 3, "123000")]
[InlineData(-100, 0, "-100")]
public void ToStringBasic(int number, byte scale, string ex... |
JetBlack.MessageBus.TopicBus.Messages/ForwardedSubscriptionRequest.cs | rob-blackbourn/JetBlack.MessageBus | 0 | 7050410 | <reponame>rob-blackbourn/JetBlack.MessageBus<filename>JetBlack.MessageBus.TopicBus.Messages/ForwardedSubscriptionRequest.cs
using System.IO;
using JetBlack.MessageBus.Common.Diagnostics;
using JetBlack.MessageBus.Common.IO;
namespace JetBlack.MessageBus.TopicBus.Messages
{
public class ForwardedSubscriptionReques... |
src/AdventureWorks.Application/DataEngine/HumanResources/EmployeePayHistory/Queries/GetEmployeePayHistories/GetEmployeePayHistoriesByEmployeeListQuery.cs | CodeSwifterGit/adwenture-works | 0 | 7050411 | <reponame>CodeSwifterGit/adwenture-works
using MediatR;
using AdventureWorks.Application.DataEngine;
using AdventureWorks.Application.DataEngine.DataEngine;
using AdventureWorks.Application.DataEngine.HumanResources.EmployeePayHistory.Queries.QueryManager;
using AdventureWorks.Application.Interfaces;
using AdventureWor... |
MiX.Integrate.Shared/Entities/Carriers/CreatedSinceResult.cs | mateuszligeza/MiX.Integrate.Api.Client | 5 | 7050412 | <filename>MiX.Integrate.Shared/Entities/Carriers/CreatedSinceResult.cs<gh_stars>1-10
using System.Collections.Generic;
namespace MiX.Integrate.Shared.Entities.Carriers
{
public sealed class CreatedSinceResult<T> where T : class
{
public bool HasMoreItems { get; set; }
public string GetSinceToken { get; set; }
... |
FileHelpers/ErrorHandling/ErrorManager.cs | nescafe2002/FileHelpers | 1 | 7050413 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using FileHelpers.Helpers;
namespace FileHelpers
{
/// <summary>
/// This is the class that handles the errors of the engines process.
/// </summary>
/// <remarks>
/// All the engines and... |
dotnet-iot-ds18b20/Program.cs | devdotnetorg/dotnet-iot-samples | 0 | 7050414 | <filename>dotnet-iot-ds18b20/Program.cs
using System;
using System.Linq;
using Iot.Device.OneWire;
namespace dotnet_iot_ds18b20
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("DS18B20!");
try
{
var devOneWire = OneWireT... |
template-cs-mvc/Startup.cs | RUB-Informatik-im-Bauwesen/bimswarm-client | 0 | 7050415 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micr... |
cs/Samples/RFIDSearchLight/RFIDSearchLight/Info.Designer.cs | tosog/mercury | 0 | 7050416 | <reponame>tosog/mercury
namespace ThingMagic.RFIDSearchLight
{
partial class Info
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <sum... |
Ubiquity.CommandlineParsing/CommandLineBinder.cs | UbiquityDotNET/CommandLineParsing | 1 | 7050417 | <reponame>UbiquityDotNET/CommandLineParsing<gh_stars>1-10
// Copyright (c) Ubiquity.NET Contributors. All rights reserved.
// Licensed under the MIT license. See the LICENSE.md file in the project root for full license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Com... |
Xen2D_UnitTests/WhenUsingBasicLine2D.cs | raphaelmun/Xen | 2 | 7050418 | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework;
using Xen2D;
namespace Xen2D_UnitTests
{
[TestClass]
public class WhenUsingBasicLine2D
{
[TestMethod]
public void CreatingNewLineHasExpectedStartAn... |
Assets/3rd Party Assets/FORGE3D/Sci-Fi Effects/Code/F3DBeam.cs | Bennef/FPS | 0 | 7050419 | <reponame>Bennef/FPS
using UnityEngine;
using System.Collections;
namespace FORGE3D
{
[RequireComponent(typeof(LineRenderer))]
public class F3DBeam : MonoBehaviour
{
public LayerMask layerMask;
public F3DFXType fxType; // Weapon type
public bool OneShot; // Constant or single beam... |
src/Api/Services/Models/StudentModels/ResponseModels/StudentGradeResponseModel.cs | hasan-hasanov/GradeR | 0 | 7050420 | <filename>src/Api/Services/Models/StudentModels/ResponseModels/StudentGradeResponseModel.cs
using Core.Entities;
namespace Services.Models.StudentModels.ResponseModels
{
public class StudentGradeResponseModel
{
public StudentGradeResponseModel(Grade grade)
{
Id = grade.Id;
... |
Apps/Common/test/unit/Services/NotificationSettingsServiceTests.cs | WadeBarnes/healthgateway | 38 | 7050421 | // -------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ht... |
client/Lykke.Service.PayInternal.Client/Models/File/FileInfoModel.cs | NovichikhinAlexey/Lykke.Service.PayInternal | 0 | 7050422 | <gh_stars>0
namespace Lykke.Service.PayInternal.Client.Models.File
{
/// <summary>
/// Represent a file details.
/// </summary>
public class FileInfoModel
{
/// <summary>
/// Gets or sets a file id.
/// </summary>
public string Id { get; set; }
/// <summary>... |
moonSql/controller/Relationship.cs | Alissonfelipe1234/MoonSQL | 2 | 7050423 | <filename>moonSql/controller/Relationship.cs
using System;
using System.Collections.Generic;
using System.Drawing;
namespace moonSql.Controller
{
class Relationship : Drawable
{
private int x;
private int y;
private readonly string name;
private readonly List<Tuple<D... |
Source/VisualStudio/BDB/BDB/EngineLife.cs | TylerFBenson/Bluedog-Design-Bureau | 0 | 7050424 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using KSP;
namespace BDB
{
public class ModuleBdbEngineLife: PartModule
{
[KSPField(isPersistant = false)]
public string engineID;
private Boolean haveEngin... |
src/Lizoc.TextScript/Source/Lizoc/TextScript/Runtime/Accessors/ListAccessor.cs | Therzok/textscript | 0 | 7050425 | // -----------------------------------------------------------------------
// <copyright file="ListAccessor.cs" repo="TextScript">
// Copyright (C) 2018 Lizoc Inc. <http://www.lizoc.com>
// The source code in this file is subject to the MIT license.
// See the LICENSE file in the repository root directory ... |
AnimalShelter/Controllers/AnimalsController.cs | pagrimm/AnimalShelterAPI.Solution | 0 | 7050426 | using AnimalShelter.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System;
namespace AnimalShelter.Controllers
{
[ApiVersion("1.0")]
[Route( "api/v{version:apiVersion}/[controller]" )]
[ApiController]
public class AnimalsC... |
SwShRNGLibrary/Xoroshiro128p.cs | yatsuna827/SwShRNGLirary | 4 | 7050427 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SwShRNGLibrary
{
public class Xoroshiro128p
{
public const ulong FIXSEED = 0x82A2B175229D6A5B;
private readonly ulong[] seed;
public ulong GetRand()... |
C#/CryptoApp/CryptoApp/Program.cs | ssukhoveyev/CheatSheet | 0 | 7050428 | <filename>C#/CryptoApp/CryptoApp/Program.cs
using System;
using System.IO;
using System.Security.Cryptography;
namespace CryptoApp
{
class Program
{
static void Main(string[] args)
{
string password = "<PASSWORD>";
Console.WriteLine("Введите строку:");
stri... |
MemoEngine/Supports/SupportCommentDelete.aspx.cs | VisualAcademy/Supports | 1 | 7050429 | using System;
using System.Configuration;
namespace MemoEngine.Supports
{
public partial class SupportCommentDelete : System.Web.UI.Page
{
private readonly SupportCommentRepository repository;
public SupportCommentDelete()
{
repository = new SupportCommentRepository(Config... |
mono/mcs/class/System.Drawing/System.Drawing.Flash/FlashDrawingAdapter.cs | GrapeCity/pagefx | 18 | 7050430 | <filename>mono/mcs/class/System.Drawing/System.Drawing.Flash/FlashDrawingAdapter.cs
using System.Drawing.Drawing2D;
using flash.display;
using GraphicsPath=System.Drawing.Drawing2D.GraphicsPath;
namespace System.Drawing.Flash
{
using Graphics = flash.display.Graphics;
public static class FlashDrawing... |
Product/Server/Infrastructure/Infrastructure/Commandline.cs | mind0n/hive | 5 | 7050431 | <reponame>mind0n/hive
using Logger;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using Core;
namespace Infrastructure
{
public class Commandline
{
private static S... |
src/libraries/System.ComponentModel.TypeConverter/tests/Design/StandardCommandsTests.cs | pyracanda/runtime | 9,402 | 7050432 | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.ComponentModel.Design.Tests
{
public class StandardCommandsTests
{
public static IEnu... |
Editor/SaberToolsUpdater.cs | ToniMacaroni/SaberToolkit | 0 | 7050433 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using UnityEditor;
using UnityEditor.PackageManager;
using UnityEngine;
[InitializeOnLoad]
internal class SaberToolsUpdater
{
public static Version RemoteVersion;
public static Version LocalVersi... |
Tests/Mobile/PVScan.Mobile.Tests/ViewModels/FilterPageViewModelTests.cs | meJevin/PVScan | 1 | 7050434 | using Microsoft.EntityFrameworkCore;
using Moq;
using PVScan.Core.DAL;
using PVScan.Core.Models;
using PVScan.Core.Services;
using PVScan.Mobile.Services;
using PVScan.Mobile.Services.Interfaces;
using PVScan.Mobile.ViewModels;
using PVScan.Mobile.ViewModels.Messages.Filtering;
using System;
using System.Collections.G... |
WebApiDal/Web/Areas/Admin/Controllers/SystemLogController.cs | akaver/ASP.NET-WebApiDal | 1 | 7050435 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Web.Areas.Admin.ViewModels;
using Web.Controllers;
namespace Web.Areas.Admin.Controllers
{
[Authorize(Roles = "Admin")]
public class SystemLogController : BaseContro... |
FRBDK/FRBDK Supporting Projects/EditorObjects/Gui/InstructionListPropertyGrid.cs | patridge/FlatRedBall | 110 | 7050436 | <reponame>patridge/FlatRedBall<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Gui;
using FlatRedBall.Instructions;
using FlatRedBall.Input;
namespace EditorObjects.Gui
{
public class InstructionListPropertyGrid : PropertyGrid<InstructionLi... |
Source/SharpVectorCore/Svg/Filters/ISvgFilterElement.cs | johncao158/SharpVectors | 450 | 7050437 | namespace SharpVectors.Dom.Svg
{
/// <summary>
/// </summary>
public interface ISvgFilterElement : ISvgElement, ISvgUriReference, ISvgLangSpace,
ISvgExternalResourcesRequired, ISvgStylable
{
ISvgAnimatedEnumeration FilterUnits { get; }
ISvgAnimatedEnumeration PrimitiveUni... |
myengine/GameSystems/Resource.cs | aeroson/procedural-planets-generator | 27 | 7050438 | using System;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Text;
namespace MyEngine
{
public class ResourceFactoryManager
{
public void AddFactory(ResourceFactory factory)
{
}
public T LoadResource<T>(FileExisting path) where T : ... |
I2PCore/TransportLayer/NTCP/NTCPHost.cs | Kukks/i2p-cs | 26 | 7050439 | <filename>I2PCore/TransportLayer/NTCP/NTCPHost.cs
using System;
using System.Collections.Generic;
using System.Linq;
using I2PCore.Utils;
using I2PCore.SessionLayer;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using I2PCore.Data;
namespace I2PCore.TransportLayer.NTCP
{
[Transpo... |
Ramone.Tests/Blog/BlogTestHelper.cs | poizan42/Ramone | 34 | 7050440 | namespace Ramone.Tests.Blog
{
public class BlogTestHelper : TestHelper
{
private static bool FirstTime = true;
public const string BlogRootPath = "blog/list";
protected override void TestFixtureSetUp()
{
base.TestFixtureSetUp();
if (FirstTime)
{
TestServic... |
Serially.App/App.cs | slater1/serially | 1 | 7050441 | <gh_stars>1-10
using Serially.Core.Services;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Serially.App
{
public class Program
{
private static void PrintHelp()
{
var sb = new StringBuilder();
sb.AppendLine("Serially: A REPL and tail for Serial Ports")
.Appen... |
src/Backend/Jp.Application/Interfaces/IRoleManagerAppService.cs | GuillaumeLebeau/JPProject.IdentityServer4.AdminUI | 1 | 7050442 | <filename>src/Backend/Jp.Application/Interfaces/IRoleManagerAppService.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Jp.Application.ViewModels;
using Jp.Application.ViewModels.RoleViewModels;
namespace Jp.Application.Interfaces
{
public interface IRoleMa... |
AssasApi/AssasApi/Model/Payments/UpdatePaymentModel.cs | augusto-ar/AssasApi | 0 | 7050443 | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssasApi.Model.Payments
{
public class UpdatePaymentModel
{
public string Id { get; set; }
public string Custo... |
AlicaEngine/src/Engine/Collections/AssignmentCollection.cs | RedundantEntry/cn-alica-ros-pkg | 0 | 7050444 | using System;
using System.Collections.Generic;
namespace Alica
{
/// <summary>
/// Holds the mapping from <see cref="EntryPoint"/>s to robots.
/// </summary>
public class AssignmentCollection //<T> where T:ICollection<int>
{
protected EntryPoint[] keys;
protected ICollection<int>[] values;
protected int s... |
test/Inflatable.Tests/Schema/ManyToOneClassMappingTests.cs | cjwang/Inflatable | 1 | 7050445 | <gh_stars>1-10
using Inflatable.ClassMapper;
using Inflatable.Interfaces;
using Inflatable.QueryProvider;
using Inflatable.QueryProvider.Providers.SQLServer;
using Inflatable.Schema;
using Inflatable.Tests.BaseClasses;
using Inflatable.Tests.TestDatabases.Databases;
using Inflatable.Tests.TestDatabases.ManyToOn... |
Mid2BMS/Util/TextTransaction.cs | clkbng/Mid2BMS | 21 | 7050446 | <filename>Mid2BMS/Util/TextTransaction.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mid2BMS
{
static class TextTransaction
{
/// <summary>
/// 改行だけの要素は空とみなされますが、空白とタブ文字は空とは見なされません。2014/08/05に変更。<br></br>
/// 使用例: Spl... |
WeatherSample/Controllers/WeatherForecastController.cs | WeatherSample/Backend | 1 | 7050447 | <gh_stars>1-10
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WeatherSample.Services;
namespace WeatherSample.Controllers
{
[ApiController]
[Route("/api/forecast")]
public class WeatherController : ControllerBase
{
private readonly WeatherDataFetchService _service;
... |
BohoTours/Data/BohoTours.Data.Models/Town.cs | i-nikolova/BohoTours | 0 | 7050448 | namespace BohoTours.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BohoTours.Data.Common.Constants;
using BohoTours.Data.Common.Models;
public class Town : BaseDeletableModel<int>
{
... |
Web/Views/Cereal/Details.cshtml | PeanutButterJelly-Time/E_Commerce | 0 | 7050449 | <gh_stars>0
@model Cereal
<section>
<h1>@Model.Name</h1>
@if (User.IsInRole("Admin"))
{
<a class="btn btn-primary"
asp-controller="Admin"
asp-action="Edit"
asp-route-id="@Model.Id">Edit</a>
}
<div class="card-columns box-shadow">
<p>Manufacturer: @M... |
src/Feature/FormsExtensions/code/ValueProviders/RuleListExtensions.cs | ReoKzK/Sitecore-Forms-Extensions | 56 | 7050450 | <filename>src/Feature/FormsExtensions/code/ValueProviders/RuleListExtensions.cs<gh_stars>10-100
using System;
using Feature.FormsExtensions.ValueProviderConditions;
using Sitecore.Rules;
namespace Feature.FormsExtensions.ValueProviders
{
public static class RuleListExtensions
{
public static bool Eval... |
QiniuSDK/FileOp/Exif.cs | Gemini2015/QiniuSDK | 0 | 7050451 | using System;
using Qiniu.RPC;
namespace Qiniu.FileOp
{
public static class Exif
{
public static string MakeRequest (string url)
{
return url + "?exif";
}
public static async System.Threading.Tasks.Task<ExifRet> Call(string url)
{
CallRet callRet = await FileOpClient.Get(url);
return new ExifRet... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.