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 |
|---|---|---|---|---|
ModFreeSwitch/Common/EslEventType.cs | foobarren/ModFreeSwitch | 0 | 7028164 | /*
Copyright [2016] [<NAME>]
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 or agreed to in... |
src/DatenMeister.Excel/Helper/Extensions.cs | mbrenn/datenmeister-new | 1 | 7028165 | <gh_stars>1-10
using System.Globalization;
using NPOI.SS.UserModel;
namespace DatenMeister.Excel.Helper
{
public static class Extensions
{
public static string GetStringContent(this ICell cell)
{
var cellType = cell.CellType;
return GetStringContent(cell, cellType);
... |
Assets/Scripts/Model/Card/CardModel.cs | gemfile/Merger | 0 | 7028166 | <reponame>gemfile/Merger<gh_stars>0
using System.Collections.Generic;
namespace com.Gemfile.Merger
{
public interface ICardModel
{
CardData Data {
get;
}
}
public interface IMerger
{
int Def { get; set; }
int Coin { get; set; }
int Hp { get; set; }
int Atk { get; }
int LimitOfHp { get; }
List... |
Suplanus.Sepla/Application/EplanDispatcher.cs | Suplanus/Sepla | 8 | 7028167 | <filename>Suplanus.Sepla/Application/EplanDispatcher.cs
using Eplan.EplApi.Base.Internal;
using Action = System.Action;
namespace Suplanus.Sepla.Application
{
public class EplanDispatcher
{
public static void ExecuteInMainThread(Action action)
{
new EplanMainThreadDispatcher().ExecuteInMainThreadSyn... |
CloudFlare.Client/Enumerators/TokenStatus.cs | zingz0r/CloudFlare.Client | 34 | 7028168 | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace CloudFlare.Client.Enumerators
{
/// <summary>
/// Represents the zone statuses
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum TokenStatus
{
/// <summary>
... |
src/Server/DeviceHive.Core/PasswordPolicyValidator.cs | devicehive/devicehive-.net | 23 | 7028169 | <filename>src/Server/DeviceHive.Core/PasswordPolicyValidator.cs
using System;
using System.Text.RegularExpressions;
namespace DeviceHive.Core
{
/// <summary>
/// Provides user password policy validation.
/// </summary>
public class PasswordPolicyValidator
{
private DeviceHiveConfiguration ... |
WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs | 99ytrewq911/WalletWasabi | 0 | 7028170 | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using WalletWasabi.Helpers;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public class LockScreenViewModel : ViewModelBase
{
private CompositeDisposable Disposables { get; }
publi... |
src/Razor/test/Microsoft.VisualStudio.LanguageServer.ContainedLanguage.Test/MessageInterception/DefaultInterceptionManagerTest.cs | adrianwright109/razor-tooling | 104 | 7028171 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.LanguageServer.ContainedLanguage.Mes... |
backend/src/Notifo.Domain/Events/IEventPublisher.cs | idist-hn/notifo | 1 | 7028172 | // ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) <NAME>
// All rights reserved. Licensed under the MIT license.
// ================================================================... |
src/SpaceSim/Engines/RaptorSL.cs | JohnnyOneSpeed/SpaceSim | 0 | 7028173 | using System.Drawing;
using SpaceSim.Particles;
using SpaceSim.Spacecrafts;
using VectorMath;
namespace SpaceSim.Engines
{
class RaptorSL : EngineBase
{
public RaptorSL(int id, ISpaceCraft parent, DVector2 offset)
: base(parent, offset, new EngineFlame(id, Color.FromArgb(30, 209,... |
DNN Platform/Library/Services/Social/Messaging/Frequency.cs | Mariusz11711/DNN | 0 | 7028174 | <reponame>Mariusz11711/DNN
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Services.Social.Messaging
{
using System.Runtime.Serialization;
... |
Src/ArticleDemo/ArticleDemo.DAL/MenuActionDao.cs | imwyw/.net | 15 | 7028175 | <reponame>imwyw/.net
using ArticleDemo.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArticleDemo.DAL
{
public class MenuActionDao
{
public static List<MenuModel> GetMenuList()
{
... |
src/Gemini.Modules.GraphEditor/Controls/ConnectorItemDragStartedEventArgs.cs | KornnerStudios/gemini | 866 | 7028176 | using System.Windows;
namespace Gemini.Modules.GraphEditor.Controls
{
internal class ConnectorItemDragStartedEventArgs : RoutedEventArgs
{
public bool Cancel { get; set; }
internal ConnectorItemDragStartedEventArgs(RoutedEvent routedEvent, object source)
: base(routedEvent, sourc... |
src/Sequin.Integration/Fakes/ExceptionPipelineStage.cs | jasonmitchell/owin.commandhandling | 0 | 7028177 | <reponame>jasonmitchell/owin.commandhandling<filename>src/Sequin.Integration/Fakes/ExceptionPipelineStage.cs
namespace Sequin.Integration.Fakes
{
using System;
using System.Threading.Tasks;
using Pipeline;
public class ExceptionPipelineStage : CommandPipelineStage
{
protected override Task... |
src/HourShifter/Constants.cs | ToastyMallows/HourShifter | 2 | 7028178 | namespace HourShifter
{
internal static class Constants
{
public static int SUCCESS_EXIT_CODE = 0;
public static int FAILURE_EXIT_CODE = 1;
public static int DEFAULT_HOURS = 12;
}
}
|
XpandPwsh/Cmdlets/src/XpandPwsh.Cmdlets/Get-ReferenceConflict/Get-ReferenceConflict.cs | eXpandFramework/XpandPwsh | 11 | 7028179 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Reflection;
using JetBrains.Annotations;
namespace XpandPwsh.Cmdlets{
[Cmdlet(VerbsCommon.Get, "ReferenceConflict")]
[CmdletBinding]
[CmdLetTag(CmdLetTag.DotNet)][PublicAPI]
... |
src/Behavioral/Command.cs | vladlee098/oop_design_patterns | 0 | 7028180 | <filename>src/Behavioral/Command.cs
using System;
using design_patterns.Core;
namespace design_patterns.Behavioral
{
///
/// Encapsulate a request as an object, thereby letting you parameterize clients
/// with different requests, queue or log requests, and support undoable operations.
///
/// ht... |
Views/Reservations/Create.cshtml | aodpi/iParking | 0 | 7028181 | @model iParking.Models.ReservationCreateViewModel
@{
ViewData["Title"] = "Create";
}
<h2>Creare</h2>
<h4>Rezervare parcare</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Create">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div c... |
Badger/ViewModels/ConfigNodeTypes/LinkedNodeViewModel.cs | xcillero001/SimionZoo | 1 | 7028182 | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Herd.Files;
namespace Badger.ViewModels
{
class LinkedNodeViewModel : ConfigNodeViewModel
{
private ConfigNodeViewModel m_origin;
public ConfigNodeViewModel Origin
{
... |
ComfortWPF.Demo/UserControl1.xaml.cs | jackhuclan/ComfortWPF | 1 | 7028183 | using ComfortWPF.Mvvm;
using System.Windows.Controls;
namespace ComfortWPF.Demo
{
[PartialView(typeof(UserControl1))]
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
}
}
|
test/Shared/FunctionalTests/ProductivityApi/FindTests.cs | mariloutb/EntityFramework-Classic | 96 | 7028184 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace ProductivityApiTests
{
using System;
using System.Collections;
using System.Data.Entity;
using System.Data.Entity.Core;
using System.Linq;
using Advance... |
src/WinGetUtilInterop/Manifest/Preview/Manifest.cs | midoriiro/winget-cli | 17,809 | 7028185 | // -----------------------------------------------------------------------
// <copyright file="Manifest.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.W... |
src/HWBase/hw/Scanner/WhiteSpaceTokenType.cs | hahoyer/reni.cs | 2 | 7028186 | <gh_stars>1-10
using hw.DebugFormatter;
using JetBrains.Annotations;
// ReSharper disable CheckNamespace
namespace hw.Scanner
{
[PublicAPI]
public sealed class WhiteSpaceTokenType
: DumpableObject
, IScannerTokenType
{
public readonly string Id;
public WhiteSpaceTokenTyp... |
UltimaOnline/Items/VirtualCheck.cs | netcode-gamer/game.ultimaonline.io | 0 | 7028187 | using System;
using System.Drawing;
using UltimaOnline.Accounting;
using UltimaOnline.Gumps;
using UltimaOnline.Network;
namespace UltimaOnline
{
public sealed class VirtualCheck : Item
{
public static bool UseEditGump = false;
public override bool IsVirtualItem { get { return tr... |
SQLAnalyzer/FormDataServer.Designer.cs | neriki/SQLAnalyzer | 0 | 7028188 | /*
SQL Anlyzer
The MIT License(MIT)
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,... |
Allfiles/20486C/Mod01/Labfiles/TestPage/Account/Login.cshtml | WILIBAC/ASPNETMVC | 0 | 7028189 | @* Quitar esta sección si se utilizan agrupaciones *@
@section Scripts {
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
}
@{
Layout = "~/_SiteLayout.cshtml";
Page.Title = "Iniciar sesión";
// Inicializar variables de p... |
src/Verifiable.Core/Did/PublicKeyJwt.cs | lumoin/verifable | 13 | 7028190 | using System.Diagnostics;
namespace Verifiable.Core.Did
{
/// <summary>
/// https://www.w3.org/TR/did-core/#dfn-publickeyjwk, https://tools.ietf.org/html/rfc7517
/// </summary>
/// <remarks>Note that must not contain private key information, such as 'd' field,
/// by DID Core specification.</remark... |
src/SujaySarma.Sdk.Azure.MarketPlace/Catalogs/MarketingMaterial.cs | sujayvsarma/SujaySarma.Sdk.Azure | 2 | 7028191 | using Newtonsoft.Json;
namespace SujaySarma.Sdk.Azure.MarketPlace.Catalogs
{
/// <summary>
/// Marketing material attached to a <see cref="IndexItem"/>.
/// </summary>
public class MarketingMaterial
{
/// <summary>
/// Path to the SKU item in the marketplace. (usually of the format... |
Versionize.Tests/Changelog/ChangelogBuilderTests.cs | cabauman/versionize | 28 | 7028192 | using Xunit;
using Versionize.Tests.TestSupport;
using Shouldly;
using Version = NuGet.Versioning.SemanticVersion;
using Versionize.Tests;
namespace Versionize.Changelog.Tests;
public class ChangelogBuilderTests : IDisposable
{
private readonly string _testDirectory;
public ChangelogBuilderTests()
{
... |
src/Dodo.DataMover/DataManipulation/Models/ReadCommand.cs | george-polevoy/mysql-data-mover | 0 | 7028194 | using System.Collections.Generic;
namespace Dodo.DataMover.DataManipulation.Models
{
public class ReadCommand
{
public TableSchema TableSchema { get; }
public List<object> FromPrimaryKey { get; }
public List<object> ToPrimaryKey { get; }
public ReadCommand(
TableS... |
SLN_new/TestsProject/CMSTests/AppReset/AppStateReset.cs | UrbancokDavid/BSc-thesis | 0 | 7028195 | <reponame>UrbancokDavid/BSc-thesis
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;
using CMS.Core;
namespace CMS.Tests
{
/// <sum... |
Autoferry/Assets/Networking/Services/Simulation/SimulationServiceImpl.cs | kjetv/GeminiExamples | 0 | 7028196 | <filename>Autoferry/Assets/Networking/Services/Simulation/SimulationServiceImpl.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Simulation;
using System.Threading.Tasks;
using Grpc.Core;
using System.Threading;
using System;
namespace Assets.Networking.Services {
public cla... |
MessageBird/Objects/Request.cs | White-Tents/csharp-rest-api | 40 | 7028197 | using System;
using System.Text;
namespace MessageBird.Objects
{
/**
* Structure used for request signature verification via MessageBird.RequestSigner
* When user receive webhook, it should use this structure with
* * MessageBird-Request-Timestamp header
* * query string of request
... |
itext.tests/itext.sign.tests/itext/signatures/ExternalBlankSignatureContainerUnitTest.cs | criipto/itext7-dotnet | 990 | 7028198 | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free... |
src/AElf.Contracts.TestKit.AEDPoSExtension/BlockMiningService.cs | LiteraryProgrammer/AElf | 1 | 7028199 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Acs0;
using AElf.Contracts.Consensus.AEDPoS;
using AElf.Contracts.Deployer;
using AElf.Contracts.Genesis;
using AElf.Contracts.TestKit;
using AElf.Ke... |
Server/MothershipLibrary/Probes/MothershipProbe.cs | maurolaurent/Mothership | 0 | 7028200 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using MothershipLibrary.DataModels;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Net;
namespace MothershipLibrary.Probes
{
pub... |
src/Infrastructure/Volvo.CongestionTax.Infrastructure.EFCore/Configurations/CityCongestionTaxRulesConfiguration.cs | ayberkcanturk/congestion-tax-calculator | 0 | 7028201 | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Newtonsoft.Json;
using Volvo.CongestionTax.Domain.Entities;
using Volvo.CongestionTax.Domain.ValueObjects;
namespace Volvo.CongestionTax.Infrastructure.EFCore.Configuration... |
src/GladLive.Lobby.Server/Repositories/IRepository.cs | GladLive/GladLive.Lobby | 0 | 7028202 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GladLive.Lobby.Server
{
/// <summary>
/// Repository interface for queries for <typeparamref name="TModelType"/> generic models.
/// </summary>
/// <typeparam name="TModelType">The model type.</typeparam>
p... |
Assets/Devdog/QuestSystemPro/Scripts/Integrations/InventoryPro/RewardGivers/InventoryProInventorySlotsRewardGiver.cs | Casey-Hofland/Quest-System-Pro | 552 | 7028203 | <gh_stars>100-1000
#if INVENTORY_PRO
using Devdog.General;
using Devdog.InventoryPro;
using Devdog.QuestSystemPro.UI;
namespace Devdog.QuestSystemPro.Integration.InventoryPro
{
public partial class InventoryProInventorySlotsRewardGiver : INamedRewardGiver
{
public uint extraSlots = 1;
[Requi... |
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Query/DistinctHashBaselineTests.cs | toswedlu/azure-cosmos-dotnet-v3 | 0 | 7028204 | <filename>Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Query/DistinctHashBaselineTests.cs
namespace Microsoft.Azure.Cosmos.Query
{
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml;
using Microsoft.Azure.Cosmos.CosmosElements;
using Microsoft... |
Marius.Script/Pinta/PintaCompiler.cs | marius-klimantavicius/pinta | 0 | 7028205 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Marius.Script.Parsing;
using Marius.Script.Tree;
namespace Marius.Script.Pinta
{
public class PintaCompiler
{
private readonly bool _emitBigEndian;
private Dictionary<string... |
FeedReader/Feeds/Base/FeedItemSource.cs | adrientoub/FeedReader | 199 | 7028206 | namespace CodeHollow.FeedReader.Feeds
{
using System.Xml.Linq;
/// <summary>
/// item source object from rss 2.0 according to specification: https://validator.w3.org/feed/docs/rss2.html
/// </summary>
public class FeedItemSource
{
/// <summary>
/// The "url" element
///... |
src/FlexAuth/Utility/StringUtility.cs | g3ntle/FlexAuth | 0 | 7028207 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace FlexAuth.Utility
{
public static class StringUtility
{
#region Constants
private static readonly Regex Expression = new Regex(@"\s*(.*?)\s*=\s*(.*?)\s*(;|$)");
#endregio... |
DoodleDigits/DoodleDigits.Core/Execution/ValueTypes/Value.cs | AntonBergaker/DoodleDigits | 8 | 7028208 | using System;
using DoodleDigits.Core.Utilities;
using Rationals;
namespace DoodleDigits.Core.Execution.ValueTypes {
public abstract class Value : IEquatable<Value> {
public abstract override string ToString();
public bool TriviallyAchieved { get; }
protected Value(bool triviallyAchieved... |
src/Pulsar/Schedulers/SchedulerTask.cs | Codestellation/Pulsar | 0 | 7028209 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Codestellation.Pulsar.Diagnostics;
using Codestellation.Pulsar.Triggers;
namespace Codestellation.Pulsar.Schedulers
{
/// <summary>
/// Encapsulates scheduler task logic
/// </summary>
[DebuggerDisp... |
Assets/TouchKit/TouchKitLite/TouchKitLite.cs | tanis2000/binocle-unity-seed | 6 | 7028210 | <gh_stars>1-10
using UnityEngine;
using System.Collections.Generic;
namespace Prime31 {
public class TouchKitLite : MonoBehaviour
{
public bool shouldProcessTouches = true;
const int kTotalTouchesToProcess = 2;
public List<TKLTouch> liveTouches = new List<TKLTouch>( 2 );
TKLTouch[] _touchCache;
const float... |
EventHubAPI/EventHubAPI/Controllers/StreamController.cs | DevonEnergyHackathon2017/Stranger-Things | 1 | 7028211 | using System.Threading.Tasks;
using EventHubWebSocket.Handlers;
using Microsoft.AspNetCore.Mvc;
namespace EventHubAPI.Controllers
{
[Route("api/[controller]")]
public class StreamController : Controller
{
protected DataEventHandler _dataEventHandler;
public StreamController(DataEventHandl... |
src/IdentityServer/Aguacongas.IdentityServer.Http.Store/GrantStore.cs | markjohnnah/TheIdServer | 1 | 7028212 | // Project: Aguafrommars/TheIdServer
// Copyright (c) 2020 @<NAME>
using Aguacongas.IdentityServer.Store;
using Aguacongas.IdentityServer.Store.Entity;
using IdentityServer4.Stores.Serialization;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace Aguacongas... |
Dropbox.Api/Team/MembersGetInfoItem.cs | Puinformationtechnology/dropbox-sdk-dotnet | 0 | 7028213 | // <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.Team
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <para>Describes a result ... |
NetBungieAPI/Models/Destiny/Definitions/Bonds/DestinyBondDefinition.cs | Tailtinn/.NetBungieAPI | 0 | 7028214 | <gh_stars>0
using System.Text.Json.Serialization;
using NetBungieAPI.Attributes;
using NetBungieAPI.Models.Destiny.Definitions.Common;
namespace NetBungieAPI.Models.Destiny.Definitions.Bonds
{
[DestinyDefinition(DefinitionsEnum.DestinyBondDefinition)]
public sealed record DestinyBondDefinition : IDestinyDefin... |
Suplanus.Sepla/Helper/PageUtility.cs | DanielPa/Suplanus.Sepla | 0 | 7028215 | <filename>Suplanus.Sepla/Helper/PageUtility.cs<gh_stars>0
using System;
using Eplan.EplApi.ApplicationFramework;
using Eplan.EplApi.Base;
using Eplan.EplApi.DataModel;
using Eplan.EplApi.DataModel.MasterData;
using Eplan.EplApi.HEServices;
namespace Suplanus.Sepla.Helper
{
public class PageUtility
{
public en... |
src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.cs | Aviv-Yaniv/azure-powershell | 3,336 | 7028216 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... |
Aplicacion/Codigo y Pruebas/VideoOnDemand/VideoOnDemand.Data/Repositories/MovieRepository.cs | JIgnacioTG/VideoOnDemand | 0 | 7028217 | using VideoOnDemand.Data;
using VideoOnDemand.Entities;
using System.Collections.Generic;
using System.Linq;
using System;
namespace VideoOnDemand.Repositories
{
public class MovieRepository : BaseRepository<Movie>
{
public MovieRepository(VideoOnDemandContext context) : base (context)
{
... |
Source/AlephNote.Common/AlephXMLSerialization/AlephXMLSerializer.cs | bubdm/AlephNote | 184 | 7028218 | using AlephNote.PluginInterface;
using AlephNote.PluginInterface.Util;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using AlephNote.Common.Settings;
using AlephNote.PluginInterface.Objects;
using AlephNote.PluginInterface.O... |
GFD-Studio/GFDStudio/GUI/DataViewNodes/GNFTextureViewNode.cs | D3fau4/image2gnf | 2 | 7028219 | using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using GFDLibrary.Textures;
using GFDLibrary.Textures.DDS;
using GFDLibrary.Textures.GNF;
using GFDLibrary.Textures.Utilities;
namespace GFDStudio.GUI.DataViewNodes
{
public class GNFTextureViewNode : DataViewNode<GNFTexture>
{
... |
Server/test/API/NoteApiTestsIntegration.cs | ychung-mot/schoolbus | 2 | 7028220 | <reponame>ychung-mot/schoolbus<filename>Server/test/API/NoteApiTestsIntegration.cs
/*
* REST API Documentation for Schoolbus
*
* API Sample
*
* OpenAPI spec version: v1
*
*
*/
using Newtonsoft.Json;
using SchoolBusAPI.Models;
using System.Net;
using System.Net.Http;
using System.Text;
using Xunit;
namespace... |
model/CommentPattern.cs | janisdd/watchCode | 0 | 7028221 | namespace watchCode.model
{
public class CommentPattern
{
public string StartCommentPart { get; set; }
public string EndCommentPart { get; set; }
public CommentPattern Clone()
{
return new CommentPattern()
{
StartCommentPart = this.Start... |
UnityEngine/AnimatorUpdateMode.cs | SinsofSloth/RF5-global-metadata | 1 | 7028222 | public enum AnimatorUpdateMode // TypeDefIndex: 3481
{
// Fields
public int value__; // 0x0
public const AnimatorUpdateMode Normal = 0;
public const AnimatorUpdateMode AnimatePhysics = 1;
public const AnimatorUpdateMode UnscaledTime = 2;
}
|
DSAnimStudio/Scene.cs | AinTunez/DSAnimStudio | 1 | 7028223 | <filename>DSAnimStudio/Scene.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using SoulsFormats;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DSAnimStudio
{
public static class Scene
{
private const float ... |
ViewModels/AdViewModel.cs | Robert5435/Meditatori.ro | 0 | 7028224 | using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BeMyTeacher.ViewModels
{
[Keyless]
public class AdViewModel
{
publi... |
OneSprinklerOneScarecrow/OneSprinklerOneScarecrow/Framework/Items.cs | old101/MyStardewMods | 0 | 7028225 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OneSprinklerOneScarecrow.Framework
{
internal class Items
{
}
internal class HaxorSprinkler
{
public const string Name = "<NAME>";
public static string Tr... |
GraphQLService/GraphQLService/PersonQuery.cs | putridparrot/blog-projects | 6 | 7028226 | <gh_stars>1-10
using System.Collections.Generic;
using GraphQL.Types;
namespace GraphQLService
{
public class PersonQuery : ObjectGraphType
{
private List<Person> _people;
public PersonQuery()
{
_people = new List<Person>
{
new Person {Name = "<... |
CanonnApi.Backend/CanonnApi.Web/Services/Maps/MapsSystem.cs | canonn-science/ruins | 0 | 7028228 | <gh_stars>0
using System.Collections.Generic;
namespace CanonnApi.Web.Services.Maps
{
public class MapsSystem
{
public int SystemId { get; set; }
public string SystemName { get; set; }
public int? EdsmExtId { get; set; }
public List<MapsRuins> Ruins { get; set; } = new List<MapsRuins>();
}
}
|
src/NGenerics.Tests/DataStructures/Trees/RedBlackTreeTests/Remove.cs | ngenerics/ngenerics | 93 | 7028229 | /*
Copyright 2007-2017 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the MIT License. You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at https://opensource.org/licenses/MIT.
*... |
VetSolutionRation.DataProvider/Models/Helpers/InraRationImportModelExtensions.cs | Berreip/VetSolutionRation | 0 | 7028230 | <filename>VetSolutionRation.DataProvider/Models/Helpers/InraRationImportModelExtensions.cs
using System.Collections;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using PRF.Utils.CoreComponents.Diagnostic;
using VetSolutionRation.DataProvider.Dto;
using VetSolutionRationLib.Enums;
using VetSolutio... |
Cassandra/Host.cs | englishtown/csharp-driver | 1 | 7028231 | <reponame>englishtown/csharp-driver
//
// Copyright (C) 2012 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0... |
src/Service.LkkPool.Client/AutofacHelper.cs | MyJetWallet/Service.LkkPool | 0 | 7028232 | <gh_stars>0
using Autofac;
using Service.LkkPool.Grpc;
// ReSharper disable UnusedMember.Global
namespace Service.LkkPool.Client
{
public static class AutofacHelper
{
public static void RegisterLkkPoolClient(this ContainerBuilder builder, string grpcServiceUrl)
{
var factory = new... |
src/Web/Site/BlogModule.cs | pekkah/tanka | 2 | 7028233 | namespace Tanka.Web.Site
{
using System;
using System.Collections.Generic;
using Documents;
using global::Nancy;
using Infrastructure;
using Models;
using Raven.Client;
public class BlogModule : NancyModule
{
public BlogModule(Func<IDocumentSession> sessionFactory)
... |
Magic Square game with Arduino/Windows UI Solution/SerialPortListener/EditPopUp.cs | tabahi/Arduino-Fun | 1 | 7028234 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Globalization;
namespace SerialPortListener
{
public partial class EditPopUp : Form
{
public static strin... |
Models/Blog.cs | caleblloyd/EFCoreBench | 1 | 7028235 | using System.Collections.Generic;
namespace EFCoreBench.Models
{
public class Blog
{
public int Id { get; set; }
public string Title { get; set; }
public List<BlogPost> Posts { get; set; }
}
public class BlogPost
{
public int Id { get; set; }
public string Title { get; set;... |
IdeaStatiCa.Plugin/ConnHiddenClientFactory.cs | idea-statica/ideastatisa-plugin | 3 | 7028236 | <reponame>idea-statica/ideastatisa-plugin
using System;
using System.Diagnostics;
using System.IO;
using System.ServiceModel;
using System.Threading;
namespace IdeaStatiCa.Plugin
{
public interface IConnCalculatorFactory
{
ConnectionHiddenCheckClient Create();
}
public class ConnHiddenClientFactory : IDisposab... |
VOD.Common/Extensions/StringExtensions.cs | TheBoringDev/VideoOnDemand | 0 | 7028237 | using System;
using System.Collections.Generic;
using System.Text;
namespace VOD.Common.Extensions
{
public static class StringExtensions
{
public static string Truncate(this string value, int length)
{
if (string.IsNullOrEmpty(value))
return string.Empty;
... |
src/Input/InputSystem.cs | BlazesRus/xnamugen | 31 | 7028238 | <filename>src/Input/InputSystem.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework.Input;
namespace xnaMugen.Input
{
/// <summary>
/// Interfaces between keyboard input and game code.
/// </summary>
internal class InputSystem : SubSystem
{
///... |
core/Helpers/ObjectDumper.cs | jules-source/puck-core | 202 | 7028239 | <filename>core/Helpers/ObjectDumper.cs
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using puck.core.Abstract;
using System.Linq;
using Lucene.Net.Documents;
using puck.core.Attributes;
using puck.core.Constants;
using Lucene.Net.Analysis;
using Luc... |
2018/03/21_testing-101-with-xunit/Ecommerce.BackOffice.Order.Processing/BillingPosition.cs | mmodrow/CoreSkills-Examples | 0 | 7028240 | <gh_stars>0
// <copyright file="BillingPosition.cs" company="<NAME>">
// Copyright (c) 2018 All Rights Reserved
// <author><NAME></author>
// </copyright>
namespace Ecommerce.BackOffice.Order.Processing
{
/// <summary>
/// Models a single position on a bill.
/// </summary>
public class Billing... |
sdk/src/Services/KinesisFirehose/Generated/Model/VpcConfigurationDescription.cs | sudoudaisuke/aws-sdk-net | 0 | 7028241 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
STOREFRONT/VirtoCommerce.Storefront/Services/ContentBlobProviders/AzureBlobContentProvider.cs | VirtoCommerce-archieve/vc-integrations | 1 | 7028242 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CacheManager.Core;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using VirtoCommerce.Storefront.Model.Common;
using VirtoCommerce.Storefront.Model.Services;
namespace VirtoCommerce.Storefront.S... |
Src/WorkoutWotch.UI.TestHarness.iOS/AppDelegate.cs | reactiveui-forks/WorkoutWotch | 0 | 7028243 | <filename>Src/WorkoutWotch.UI.TestHarness.iOS/AppDelegate.cs
namespace WorkoutWotch.UI.TestHarness.iOS
{
using Foundation;
using UIKit;
using WorkoutWotch.UnitTests.Services.Logger;
using Xunit.Runner;
using Xunit.Sdk;
[Register(nameof(AppDelegate))]
public partial class AppDelegate : Runne... |
source/Assets/Scripts/UI/PlayerList.cs | phBirais/flamewars | 0 | 7028244 | using System;
using UnityEngine;
using UnityEngine.UI;
namespace Assets.Scripts.UI {
class PlayerList : MonoBehaviour {
void FixedUpdate() {
var position = transform.localPosition;
if(Input.GetKey(KeyCode.Tab)) {
position.z = 0;
} else {
... |
Intersect.Tests/Extensions/GameObjectInfoAttributeTests.cs | RedBandana/Intersect-Engine | 146 | 7028245 | <filename>Intersect.Tests/Extensions/GameObjectInfoAttributeTests.cs
using NUnit.Framework;
using Assert = Microsoft.VisualStudio.TestTools.UnitTesting.Assert;
namespace Intersect.Extensions
{
[TestFixture]
public class GameObjectInfoAttributeTests
{
[Test]
public void GameObjectInfoAtt... |
Vsix/VisualStudioInteraction.cs | GrahamTheCoder/CodeConverter | 0 | 7028246 | <reponame>GrahamTheCoder/CodeConverter<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using EnvDTE;
using EnvDTE80;
using Mic... |
Web/FitForLife.Web/Views/Shared/Error404.cshtml | ChrisAtanasov056/FitForLife | 0 | 7028247 | <filename>Web/FitForLife.Web/Views/Shared/Error404.cshtml
@using FitForLife.Common
@{
this.ViewData["Title"] = "Error 404";
}
<div class="container" style="margin-top: 100px">
<div class="row ml-5">
<div class="col-6">
<div class="row">
<div class="col-7">
... |
Assets/Utility AI/Scripts/AI/Utility/UtilityActions.cs | hitnoodle/utility-ai | 0 | 7028248 | using UnityEngine;
using System.Collections.Generic;
namespace AI.Utility
{
[System.Serializable]
public class UtilityActions
{
[SerializeField] private Action[] _Actions;
public Action[] Actions
{
get { return _Actions; }
}
// Cache for performance
... |
src/MailCheck.Dkim.Entity.Test/Entity/Notifiers/RecordChangedNotifierTests.cs | ukncsc/MailCheck.Public.Dkim | 0 | 7028249 | using System;
using System.Collections.Generic;
using System.Linq;
using AutoFixture;
using FakeItEasy;
using MailCheck.Common.Messaging.Abstractions;
using MailCheck.Dkim.Contracts.Poller;
using MailCheck.Dkim.Entity.Config;
using MailCheck.Dkim.Entity.Entity;
using MailCheck.Dkim.Entity.Entity.Notifications;
using M... |
AVDump3Lib/Processing/BlockBuffers/MirroredBuffer.cs | DvdKhl/AVDump3 | 20 | 7028250 | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace AVDump3Lib.Processing.BlockBuffers {
public interface IMirroredBuffer : IDisposable {
int Length { get; }
ReadOnlySpan<byte> ReadOnlySlice(in... |
ConsoleApp1/Program.cs | roflmyrlok/t3_lab1 | 0 | 7028251 | using System;
using System.Collections.Generic;
using ConsoleApp1;
using System.Linq;
var go = true;
while (go)
{
Console.WriteLine("Write an equation:");
var input = Console.ReadLine();
input += " ";
var tokens = Tokenized(input);
for (var i = 0; i != tokens.Count; i++)
{
var element = tokens[i];
... |
AdCampaign.Web/Authetication/AuthenticationService.cs | matvejalekseev/AdCampaign | 2 | 7028252 | #nullable enable
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using AdCampaign.Common;
using AdCampaign.DAL;
using AdCampaign.DAL.Entities;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace AdCampaign.Authetication
{
public class Au... |
Repository/Data/UserForgotPasswordService.cs | akeelm/MvcApp | 0 | 7028253 | using Repository.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository.Data
{
public class UserForgotPasswordService : Repository<UserForgotPassword>
{
private IDbSet<UserForgotPassword... |
Source/Schema.NET/core/SubscribeAction.cs | gladstonemrm/Schema.NET | 0 | 7028254 | <reponame>gladstonemrm/Schema.NET<gh_stars>0
namespace Schema.NET
{
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// The act of forming a personal connection with someone/something (object) unidirectionally/asymmetrically to get updates pushed to.&l... |
source/Mulholland.QSet.Application/NewMessageForm.cs | ButchersBoy/QSet | 54 | 7028255 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using Mulholland.Core;
using Mulholland.QSet.Application.Controls;
using Mulholland.QSet.Model;
using Mulholland.QSet.R... |
samples/csharp/assistants/virtual-assistant/VirtualAssistantSample/TokenExchange/ITokenExchangeConfig.cs | gamontal/botframework-solutions | 601 | 7028256 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace VirtualAssistantSample.TokenExchange
{
public interface ITokenExchangeConfig
{
string Provider { get; set; }
string ConnectionName { get; set; }
}
} |
Application Folder/Jobcard/Jobcard/Jobcard/Views/Details/CompletedJobs.xaml.cs | DieWindpomp/Jobbie-frontend | 0 | 7028257 | <filename>Application Folder/Jobcard/Jobcard/Jobcard/Views/Details/CompletedJobs.xaml.cs
using Jobcard.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Jobcard.Vi... |
Ch14/KarliCards/KarliCards.Gui/NumberOfPlayers.cs | rsf94538/Wrox_VS2017 | 0 | 7028258 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace KarliCards.Gui
{
public class NumberOfPlayers : ObservableCollection<int>
{
public NumberOfPlayers()
: base()
{
... |
source/Apps/Math.Basic/Data/Integer/DecompoundPrimeFactorDataCreator.cs | LigangSun/AppCenter | 0 | 7028259 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.ComponentModel;
using SoonLearning.Math.Data;
namespace Math.Basic.Data
{
class DecompoundPrimeFactorDataCreator : DataCreator
{
private List<int> questionValueList = new List<int... |
Konsole.Tests/MenuTests/PressingEnterShould.cs | johnmbaughman/konsole | 592 | 7028260 | <reponame>johnmbaughman/konsole
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Konsole.Menus;
using NUnit.Framework;
namespace Konsole.Tests.MenuTests
{
public class PressingEnterShould
{
[Test]
public void run_selected... |
Library/PackageCache/com.unity.learn.iet-framework@0.2.0-preview.1/Framework/Interactive Tutorials/Editor/Property Drawers/ObjectReferencePropertyDrawer.cs | kaapiel/SK8-Real-Gyro | 0 | 7028261 | using Unity.InteractiveTutorials;
using UnityEditor;
using UnityEngine;
using UnityObject = UnityEngine.Object;
[CustomPropertyDrawer(typeof(ObjectReference))]
public class ObjectReferencePropertyDrawer : PropertyDrawer
{
const string k_SceneObjectReferencePath = "m_SceneObjectReference";
const stri... |
Xpand/Xpand.ExpressApp.Modules/Security.Web/XpandSecurityWebModule.cs | dengyongbiao/eXpand | 1 | 7028262 | using System;
using System.ComponentModel;
using System.Drawing;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Security;
using DevExpress.Utils;
using Xpand.ExpressApp.Security.AuthenticationProviders;
using Xpand.ExpressApp.Security.Web.AuthenticationProviders;
using Xpand.Persistent.Base.General;
using Xpa... |
src/Sample/Simple/Domain/Events/UserRegistered.cs | 861191244/miniDDD | 4 | 7028263 |
using MiniDDD;
using System;
namespace DDD.Simple.Domain.Events
{
public class UserRegistered : DomainEvent<Guid>
{
public string Email { get; }
public string Name { get; }
public UserRegistered(Guid aggregateRootKey, string name, string email) : base(aggregateRootKey)
{
... |
aspnet-core/eixample.Tests.Integration/TestBase.cs | MischaKr/eixample | 1 | 7028264 | <gh_stars>1-10
using eixample.Application;
using eixample.Application.SeedData;
using eixample.Entities;
using eixample.EntityFrameworkCore.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
namespace ei... |
BookKeeping.App.Web/ETag/HashAlgorithms.cs | rafsanulhasan/BookKeeping | 1 | 7028265 | <reponame>rafsanulhasan/BookKeeping
namespace System.Security.Cryptography
{
public enum HashAlgorithms
{
MD5 = 5,
SHA1 = 1,
SHA256 = 256,
SHA384 = 384,
SHA512 = 512
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.