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 |
|---|---|---|---|---|
Wolfpack.Core.WebServices.Interfaces/Messages/Atom.cs | jdruin/Wolfpack-Redux | 0 | 7053518 | <reponame>jdruin/Wolfpack-Redux
using System.Collections.Generic;
using ServiceStack.Web;
namespace Wolfpack.Core.WebServices.Interfaces.Messages
{
public class Atom
{
}
public class AtomResponse : IHasOptions
{
public IDictionary<string, string> Options
{
get
... |
sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/src/KeyVaultSecretManager.cs | gjy5885/azure-sdk-for-net | 3,268 | 7053519 | <filename>sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/src/KeyVaultSecretManager.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core;
using Azure.Security.KeyVault.Secr... |
eBay.Service.Standard/Call/ReviseSellingManagerTemplateCall.cs | mccj/eBay.Service.Standard | 1 | 7053520 | <gh_stars>1-10
#region Copyright
// Copyright (c) 2013 eBay, Inc.
//
// This program is licensed under the terms of the eBay Common Development and
// Distribution License (CDDL) Version 1.0 (the "License") and any subsequent
// version thereof released by eBay. The then-current version of the License can be
// fo... |
src/FluentIL/ExpressionParser/State.cs | FluentIL/FluentIL | 94 | 7053521 | using System;
using System.Collections.Generic;
namespace FluentIL.ExpressionParser
{
internal class State
{
private string _resultingTokenIdField;
public State(string resultingTokenId = null)
{
ResultingTokenId = resultingTokenId;
GoTo = new GoToDi... |
src/Foundation/Test/Comment.cs | jevgenijsp/foundation-mvc-cms | 23 | 7053522 | <reponame>jevgenijsp/foundation-mvc-cms<filename>src/Foundation/Test/Comment.cs
using System;
using EPiServer.Core;
using EPiServer.DataAnnotations;
namespace Foundation.Test
{
[ContentType(GUID = "14bbf4a1-cd38-47f0-a550-1028cc989c4f",
AvailableInEditMode = true)]
public class Comment : ContentData, ... |
Part-I-Coding-101/05. Loops/Tasks/03.Latin-Letters/Latin-Letters.cs | SoftUni-marks/Programming-Basics-Jan-2016 | 0 | 7053523 | using System;
public class LatinLetters
{
private static void Main()
{
for (char ch = 'a'; ch <= 'z'; ch++)
{
Console.WriteLine(ch);
}
}
} |
Assets/Agugu/Editor/Importer/UguiTreeMigrator.cs | FrankNine/AguguDemo | 19 | 7053524 | using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using Agugu.Runtime;
namespace Agugu.Editor
{
public class UguiTreeMigrator
{
public static void MigrateAppliedPrefabModification
(
GameObject sourceGameObjectRoot,
... |
Assets/Scripts/Managers/RecipeManager.cs | MrTraan/ludum_dare_41 | 0 | 7053525 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RecipeManager : MonoBehaviour
{
private Recipe[] recipes;
public float rythmeMin = 3;
public float rythmeMax = 6;
public int stackMax = 4;
private List<Recipe> commands = new List<Recipe>();
private bool maxStackRe... |
example/WebSocketService.cs | Sly1024/super-rpc-dotnet-poc | 0 | 7053526 | <reponame>Sly1024/super-rpc-dotnet-poc
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Super.RPC.Example
{
public class WebSocketService
{
public Task Start()
{
return Task.Run(() => CreateHostBuilder(Arra... |
src/Nanophone.RegistryTenant.WebApi/StatusController.cs | lvermeulen/Nanophone | 25 | 7053527 | <reponame>lvermeulen/Nanophone
using Nanophone.RegistryTenant.WebApi.Logging;
#if NETSTANDARD1_6
using Microsoft.AspNetCore.Mvc;
#else
using System.Web.Http;
#endif
namespace Nanophone.RegistryTenant.WebApi
{
public class StatusController : ApiControllerShim
{
private static readonly ILog s_log = LogP... |
frmGotoPos.Designer.cs | mrprint/SBuilderXX | 0 | 7053528 | using System;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using Microsoft.VisualBasic.CompilerServices;
namespace SBuilderXX
{
[DesignerGenerated()]
internal partial class FrmGotoPos : Form
{
// Form overrides dispose to clean... |
scraper/Scraper/RP/Classes/Entity/Entity - Convert.cs | Blockception/BC-Minecraft-Bedrock-Vanilla-Data | 0 | 7053529 | using System;
using System.Collections.Generic;
using System.Text.Json;
namespace Scraper.RP {
public partial class Entity {
/// <summary>
///
/// </summary>
/// <param name="Doc"></param>
/// <param name="Receiver"></param>
public static void Convert(JsonDocument ... |
AdventureWorks/AdventureWorks.Model/EmployeeDepartmentHistory.cs | amelmusic/REST-Framework-AdventureWorks | 1 | 7053530 | using A.Core.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AdventureWorks.Model
{
[Entity]
[DefaultInterfaceBehaviour(DefaultInterfaceBehaviourEnum.ReadService, DefaultImplementationEnum.EntityFramework, "employeeDepartmentHistory")]
pub... |
DotNet/DotNet/UE4/Generated/MagicLeap/Native/ImageTrackerComponent.cs | UE4DotNet/Plugin | 2 | 7053531 | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
using UE4.Engine;
namespace... |
UPT.BOT.Presentacion.Web.Acceso/Gestion/Publicacion/ComunicadoProxy.cs | williamccondori/UPT.BOT | 0 | 7053533 | using System.Collections.Generic;
using UPT.BOT.Aplicacion.DTOs.BOT;
using UPT.BOT.Aplicacion.DTOs.Shared;
namespace UPT.BOT.Presentacion.Web.Acceso.Gestion.Publicacion
{
public class ComunicadoProxy : BaseProxy
{
public ComunicadoProxy(string ruta, string usuario) : base(ruta, usuario)
{
... |
SolastaUnfinishedBusiness/Models/InOutRules.cs | Holic75/SolastaUnfinishedBusiness | 0 | 7053534 | using System.Collections.Generic;
namespace SolastaUnfinishedBusiness.Models
{
internal static class InOutRules
{
internal static void EnumerateHeroAllowedClassDefinitions(RulesetCharacterHero hero, List<CharacterClassDefinition> allowedClasses, ref int selectedClass)
{
var current... |
src/Antianeira.Core/MetadataReader/TypeFilterStrategy.cs | raidenyn/antianeira | 0 | 7053535 | <reponame>raidenyn/antianeira
using JetBrains.Annotations;
using System;
using System.Reflection;
namespace Antianeira.MetadataReader
{
public interface ITypeFilterStrategy
{
bool IsAllowedType([NotNull] Type type);
}
public class DefaultTypeFilterStrategy : ITypeFilterStrategy
{
... |
ComputeShaderEffects/ChannelBlur/ChannelBlurGPU.cs | rickbrew/ComputeShaderEffects | 5 | 7053536 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using PaintDotNet;
using PaintDotNet.Effects;
using PaintDotNet.IndirectUI;
using PaintDotNet.PropertySystem;
using SharpDX.Direct3D11;
namespace Co... |
Net/Editing/AngleAngleConstructor/CSharp/AngleAngleCstr.cs | PrivadoTest/arcobjects-sdk-community-samples | 111 | 7053537 | /*
Copyright 2019 Esri
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 writing, ... |
GAMe/Pages/IgraRezervisi.cshtml | aleksija16/gAMe | 0 | 7053538 | <filename>GAMe/Pages/IgraRezervisi.cshtml
@page
@model GAMe.Pages.IgraRezervisiModel
@{
}
<div class="rezervacija fadeInDown">
<div id="formContent">
<form method="post">
@if (SessionClass.TipKorisnika == "K")
{
<label class="for... |
src/AspNetCoreApiUtilities/Mapper/IExceptionMapper.cs | Frogvall/AspNetCoreApiUtilities | 2 | 7053539 | <gh_stars>1-10
using System.Net;
using Frogvall.AspNetCore.ApiUtilities.Exceptions;
namespace Frogvall.AspNetCore.ApiUtilities.Mapper
{
public interface IExceptionMapper
{
ExceptionMapperOptions Options { get; }
int GetErrorCode(BaseApiException exception);
HttpStatusCode GetExceptionH... |
Abp.ElasticSearch/Configuration/ElasticSearchConfigrationExtensions.cs | angels2it/Abp.ElasticSearch | 21 | 7053540 | <gh_stars>10-100
using Abp.Configuration.Startup;
namespace Abp.ElasticSearch.Configuration
{
public static class ElasticSearchConfigurationExtensions
{
public static IElasticSearchConfiguration ElasticSearch(this IModuleConfigurations configurations)
{
return configurations.AbpCon... |
CarStore/CarStore.DataAccess/Repository/CustomerRepo.cs | 2006-jun15-net/kirti-project1 | 0 | 7053541 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using CarStore.DataAccess.Model;
using CarStore.Library.Interfaces;
using Customer = CarStore.Library.Model.Customer;
namespace CarStore.DataAccess.Repository
{
/// <summary>
/// customer repository
/// </summary>
public c... |
src/DotNetBlog.Web/Controllers/ExceptionController.cs | OmidID/DotNetBlog | 10 | 7053542 | using DotNetBlog.Core.Service;
using DotNetBlog.Web.ViewModels.Exception;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace DotNetBlog.Web.Controllers
{
[Route("exception")]
public class ExceptionController : Controller
{
private SettingServic... |
typing-api/Alcaze.IC.Typing.DTO/PersistenceEntities/TypingProcesses.cs | ludaher/typing | 0 | 7053543 | using Alcaze.IC.Typing.DTO.PersistenceEntities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Alcaze.IC.Typing.DTO.PersistenceEntities
{
public partial class TypingProcesses : BaseEntity
{
publ... |
Wenli.Config.ApolloClient/Model/ChangeType.cs | yswenli/Wenli.Config.ApolloClient | 0 | 7053544 | <reponame>yswenli/Wenli.Config.ApolloClient<filename>Wenli.Config.ApolloClient/Model/ChangeType.cs<gh_stars>0
namespace Wenli.Config.ApolloClient.Model
{
/// <summary>
/// 改变状态类型
/// </summary>
public enum ChangeType
{
Undefind = 0,
Add = 1,
Update = 2,
Delete = 3
... |
src/CouchSignal.Core/Models/Device.cs | plloyd241/couchsignal | 0 | 7053545 | <filename>src/CouchSignal.Core/Models/Device.cs
namespace CouchSignal.Core.Models
{
public class Device
{
public long ID { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string Address { get; set; }
[Required]
public long RoleID... |
Gem.Network/Cache/ManagedCache.cs | gmich/Gem | 27 | 7053546 | <reponame>gmich/Gem<filename>Gem.Network/Cache/ManagedCache.cs
#region Usings
using Gem.Network.Cache.Events;
using Seterlund.CodeGuard;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.Serialization... |
src/OpenVASP.CSharpClient/Applications/TravelRule/Models/NaturalPersonModel.cs | toxeus/ov-client | 1 | 7053547 | <filename>src/OpenVASP.CSharpClient/Applications/TravelRule/Models/NaturalPersonModel.cs
using Newtonsoft.Json;
namespace OpenVASP.CSharpClient.Applications.TravelRule.Models
{
public class NaturalPersonModel
{
[JsonProperty("name")]
public NaturalNameModel[] Names { get; set; }
[JsonP... |
Managed/main/ResearchTypes.cs | undancer/oni-data | 1 | 7053548 | using System.Collections.Generic;
using STRINGS;
using UnityEngine;
public class ResearchTypes
{
public class ID
{
public const string BASIC = "basic";
public const string ADVANCED = "advanced";
public const string SPACE = "space";
public const string NUCLEAR = "nuclear";
public const string ORBITAL = ... |
Gu.Inject.Tests/Types/SimpleCircular.cs | GuOrg/Gu.Inject | 2 | 7053549 | // ReSharper disable All
namespace Gu.Inject.Tests.Types
{
public static class SimpleCircular
{
public class A
{
public A(B b)
{
this.B = b;
}
public B B { get; }
}
public class B
{
public B(A a... |
dotnet/Tweek.Client/Extensions/TweekApiClientExtensions.cs | configzio/tweek-clients | 6 | 7053550 | using System.Threading.Tasks;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Tweek.Client.Extensions
{
public static class TweekApiClientExtensions
{
private static readonly JsonSerializer SnakeCaseSerial... |
Gss.Core/Entities/SensorType.cs | N0menIllisLegio/Gas-Sensor-Server | 0 | 7053551 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Gss.Core.Helpers;
using Gss.Core.Interfaces;
namespace Gss.Core.Entities
{
public class SensorType : IEntity
{
[ExpressionsBuilder]
public Guid Id { get; set; }
[Required]
[MaxLength(200)]
[Expr... |
MenuBuddySample.SharedProject/TreeTest.cs | dmanning23/MenuBuddySample | 3 | 7053552 | using MenuBuddy;
using Microsoft.Xna.Framework;
using ResolutionBuddy;
using System.Threading.Tasks;
namespace MenuBuddySample
{
public class TreeTest : WidgetScreen
{
public TreeTest() : base("Tree Test")
{
CoverOtherScreens = true;
CoveredByOtherScreens = true;
}
public override async Task LoadCont... |
MusicStore/MusicStore.Web/Models/SongDataModel.cs | SimoPrG/Web-Services-and-Cloud-Homework | 6 | 7053553 | namespace MusicStore.Web.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using MusicStore.Models;
public class SongDataModel
{
public static Func<Song, SongDataModel> FromDataToModel
{
get
{
return a => new Son... |
Src/BlueDotBrigade.Weevil.Common/Navigation/Comparers/LineNumberComparer.cs | BlueDotBrigade/weevil | 8 | 7053554 | namespace BlueDotBrigade.Weevil.Navigation.Comparers
{
using BlueDotBrigade.Weevil.Data;
internal sealed class LineNumberComparer : MagnitudeComparer
{
public override int Compare(IRecord x, IRecord y)
{
return x.LineNumber.CompareTo(y.LineNumber);
}
public override double CompareMagnitude(IRecord x, I... |
Assets/Scripts/Player/DeathController.cs | Prabhav2B/GameProject1 | 0 | 7053555 | <gh_stars>0
using System;
using UnityEngine;
public class DeathController : MonoBehaviour
{
[SerializeField] private Transform respawnTransform;
[SerializeField] int killPlayerLayer = 9;
[SerializeField] GameObject player;
[SerializeField] GameObject deathParticles;
[SerializeField] Transform part... |
Dio84ReUbc.NfLibrary/GlobalSuppressions.cs | y2cjp/DIO-8-4RE-UBC-ExampleCs | 0 | 7053556 | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessag... |
Assets/_Scripts/Item.cs | Gabby202/OCTAD-Text-Adventure | 3 | 7053557 | <reponame>Gabby202/OCTAD-Text-Adventure
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface Item {
int id { get; set; }
string Name { get; set; }
string Description { get; set; }
string use();
}
|
Tests/TheBookProject.Services.Data.Tests/UserServiceTests.cs | The-Book-Project/The-Book-Project | 0 | 7053558 | namespace TheBookProject.Services.Data.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Contracts;
using TheBookProject.Data.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
[TestClass]
public class UserServiceTests
{
... |
GitLab Data Sync/Model/ToGitLab/NewGitLabIssue.cs | Inflectra/spira-gitlab-datasync | 2 | 7053559 | using GitLabDataSync.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitLabDataSync.Model.ToGitLab
{
/// <summary>
/// A new issue to post to GitLab
/// </summary>
class NewGitLabIssue
{
... |
Presentation/Mzg.Web.FrameWork/Route/OrgRouteMatcher.cs | lygwys/dlvm_lygwys | 0 | 7053560 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Template;
namespace Mzg.Web.Framework.Route
{
/// <summary>
/// 组织路由匹配
/// </summary>
public class OrgRouteMatcher
{
private const string ORG_ROUTETEMPLATE = "{org}/{controller}/{action}... |
Module 9 GraphQL/BookStore.Graph/BookStore.Graph/BookStore.Graph.API/Installers/RepositoriesInstaller.cs | AhmedKhalil777/DOTNET-Learning | 0 | 7053561 | <reponame>AhmedKhalil777/DOTNET-Learning
using BookStore.Graph.API.Queries;
using BookStore.Graph.API.Schemas;
using BookStore.Graph.DataAccess.Repositories;
using BookStore.Graph.DataAccess.Repositories.Contracts;
using BookStore.Graph.Types.QueryTypes;
using GraphQL;
using GraphQL.Http;
using GraphQL.Types;
using Mi... |
Run/Assets/Scripts/PlayerScripts/PlayerFootsteps.cs | MichalB996/Run | 0 | 7053562 | <filename>Run/Assets/Scripts/PlayerScripts/PlayerFootsteps.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerFootsteps : MonoBehaviour
{
// Start is called before the first frame update
void Awake()
{
_footstepSound = GetComponent<Audio... |
src/AasxPackageExplorer.GuiTests/Common.cs | svpxc/aasx-package-explorer | 0 | 7053563 | using System.Linq;
using FlaUI.Core.AutomationElements;
using NUnit.Framework; // necessary extension for AsLabel() and other methods
using Application = FlaUI.Core.Application;
using Assert = NUnit.Framework.Assert;
using AssertionException = NUnit.Framework.AssertionException;
using Directory = System.IO.Directory;... |
tests/Glued.Selenium.WebDriver.SpecFlowTests/LogExtensions.cs | corker/Glued | 3 | 7053564 | using System;
using System.Diagnostics;
using Glued.Selenium.WebDriver.SpecFlowTests.Services;
namespace Glued.Selenium.WebDriver.SpecFlowTests
{
public static class LogExtensions
{
public static Func<T> Log<T>(this Func<T> source, ILogger logger)
{
return () =>
{
... |
sources/backend/src/MovieNight.Web/Configurations/PolicyConfiguration.cs | Glenn-S/MovieNight | 0 | 7053565 | <reponame>Glenn-S/MovieNight<gh_stars>0
using Microsoft.AspNetCore.Authorization;
using MovieNight.Common.Authorization;
namespace MovieNight.Web.Configurations
{
public class PolicyConfiguration
{
public static void ConfigurePolicies(AuthorizationOptions options)
{
options.Default... |
fos-api/FOS/FOS.Model/Dto/DeliveryDetail.cs | lnmthuc/fos | 0 | 7053566 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FOS.Model.Dto
{
public class DeliveryDetail
{
public dynamic rating { get; set; }
}
}
|
src/Lib/CommonLibrary.NET/_Core/Lexer/LexHelper.cs | joelverhagen/Knapcode.CommonLibrary.NET | 1 | 7053567 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ComLib
{
/// <summary>
/// Helper class for parsing strings in the format of parameters ( key / value pairs or simple keys )
/// </summary>
public class LexHelper
... |
development/Beyova.StandardContract/Model/AuthenticationProfile/AccountSecurityUpdateToken.cs | JTOne123/CommonFoundation | 7 | 7053568 | <gh_stars>1-10
using System;
namespace Beyova
{
/// <summary>
/// Class AccountSecurityUpdateToken.
/// </summary>
public class AccountSecurityUpdateToken : IExpirable
{
/// <summary>
/// Gets or sets the access identifier.
/// </summary>
/// <value>The access ident... |
blockchain/csharp/core/Models/CreateOcpProductRequest.cs | alipay/antchain-openapi-prod-sdk | 6 | 7053569 | <reponame>alipay/antchain-openapi-prod-sdk<filename>blockchain/csharp/core/Models/CreateOcpProductRequest.cs
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.BLOCKCHAIN.Models
{
public class CreateOcpProductR... |
src/FxBot/DataController/DataView.cs | bpe78/OldStuff | 0 | 7053570 | <filename>src/FxBot/DataController/DataView.cs
using System;
using System.Collections.Generic;
using System.Text;
using DataCommon;
using DataModel;
namespace DataController
{
public class DataView : IDataView
{
#region Members & Properties
public TimeFrame Timeframe { get; private set; }
private List<IData... |
Aura Operating System/Aura_OS/System/Shell/cmdIntr/Util/About.cs | Kiirx/Aura-Operating-System | 185 | 7053571 | using System;
using System.Collections.Generic;
using System.Text;
namespace Aura_OS.System.Shell.cmdIntr.Util
{
class CommandAbout : ICommand
{
/// <summary>
/// Empty constructor.
/// </summary>
public CommandAbout(string[] commandvalues) : base(commandvalues)
{
... |
Sources/Engine/Engine/World.cs | vgabi94/Lava-Engine | 0 | 7053572 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Lava.Mathematics;
namespace Lava.Engine
{
public class World
{
[DllImport("LavaCore.dll")]
private static extern IntPtr CreateWorld_Native(bool makeCurrent, bool hasPhysics);
[DllIm... |
IXamlSettingsSection.cs | grammophone/Gramma.Configuration | 1 | 7053573 | <filename>IXamlSettingsSection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grammophone.Configuration
{
/// <summary>
/// Interface expected to be implemented by a configuration section
/// specifying a settings instance in XAML.
... |
src/Galaxy.Dapper/DapperRepository{TEntity,TKey}.cs | eyazici90/Galaxy | 15 | 7053574 | using Dapper;
using Galaxy.DataContext;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading.Tasks;
namespace Galaxy.Dapper
{
public class DapperRepository<TEntity, TKey> : IDapperRepository<TEntity, TKey> where TEntity : class
{
protected reado... |
BadgerJaus/messages/manipulatortooloffset/QueryToolOffset.cs | WisconsinRobotics/BadgerJAUS.NET | 2 | 7053575 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BadgerJaus.Messages;
namespace BadgerJaus.messages.manipulatortooloffset
{
public class QueryToolOffset : Message
{
protected override int CommandCode
{
... |
MAL3/mangalist_1538511219_3585579.cs | Germillios/MAL---Excel-App | 0 | 7053576 | <reponame>Germillios/MAL---Excel-App
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be ov... |
src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.cs | UWPCommunity/ComputeSharp | 0 | 7053577 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Runtime.CompilerServices;
using ComputeSharp.Core.Helpers;
using ComputeSharp.SourceGeneration.Extensions;
using ComputeSharp.SourceGeneration.Mappings;
using ComputeSharp.SourceGenerators.Models;
using ... |
test/Microsoft.AspNetCore.OData.E2E.Tests/Commons/WebHostTestFixtureOfT.cs | KenitoInc/AspNetCoreOData | 223 | 7053578 | <filename>test/Microsoft.AspNetCore.OData.E2E.Tests/Commons/WebHostTestFixtureOfT.cs
//-----------------------------------------------------------------------------
// <copyright file="WebHostTestFixtureOfT.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// ... |
source/Lucene.Net.Linq.Tests/Integration/FuzzyTests.cs | tamasflamich/Lucene.Net.Linq | 2 | 7053579 | using System.Linq;
using Lucene.Net.Analysis;
using NUnit.Framework;
using Version = System.Version;
namespace Lucene.Net.Linq.Tests.Integration
{
[TestFixture]
public class FuzzyTests : IntegrationTestBase
{
private IQueryable<SampleDocument> documents;
[SetUp]
public void AddDoc... |
src/ZpqrtBnk.ModelsBuilder.Extension/Generator.cs | EtchUK/Zbu.ModelsBuilder | 0 | 7053580 | <filename>src/ZpqrtBnk.ModelsBuilder.Extension/Generator.cs
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Umbraco.ModelsBuilder.Api;
using ZpqrtBnk.ModelsBuilder.Extension.VisualStu... |
wj.DataBinding/NotifyPropertyChanged.cs | webJose/wj.DataBinding | 0 | 7053581 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace wj.DataBinding
{
/// <summary>
/// Provides a base implementation for the <code>System.ComponentModel.INotifyPropert... |
guildwars/Keyboard.cs | agabani/GuildWars2Orchestra.v2 | 0 | 7053582 | <filename>guildwars/Keyboard.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using guildwars.Extern;
namespace guildwars
{
public class Keyboard
{
private static readonly Dictionary<int, ScanCodeShort> ScanCodeShorts = new Dictionary<int, ScanCodeShort>
... |
Timetabler.DataLoader.Tests.Unit/Save/Yaml/GraphTrainPropertiesExtensionsUnitTests.cs | caitlinsalt/simple-timetable-editor | 0 | 7053583 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Globalization;
using Tests.Utility.Providers;
using Timetabler.Data;
using Timetabler.DataLoader.Save.Yaml;
using Timetabler.SerialData.Yaml;
namespace Timetabler.DataLoader.Tests.Unit.... |
src/ContactlessEntry.Cloud/Utilities/StreamInputFormatter.cs | juanroman/contactless-entry | 0 | 7053584 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Net.Http.Headers;
using System;
using System.IO;
using System.Net.Mime;
using System.Threading;
using System.Threading.Tasks;
namespace ContactlessEntry.Cloud.Utilities
{
public cla... |
Assets/Scripts/Items/Crate.cs | ZackXevious/MegamanMakeshift | 1 | 7053585 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Crate : MonoBehaviour {
public float Health=1;
public GameObject hurtSpawn;
public string adverseTo;
public bool isFloating = false;
public GameObject itemspawn;
public float numDeath=1;
public GameObject deathspawn;
... |
KBrimble.Dota2.Client.UnitTests/JsonConverters/TrueFalseToPickOrBanConverterTests/When_deserializing_a_number_to_a_pick_or_ban.cs | kbrimble/Dota2.Client | 0 | 7053586 | <filename>KBrimble.Dota2.Client.UnitTests/JsonConverters/TrueFalseToPickOrBanConverterTests/When_deserializing_a_number_to_a_pick_or_ban.cs
using FluentAssertions;
using KBrimble.Dota2.Client.Domain.MatchInformation;
using Newtonsoft.Json;
using NUnit.Framework;
namespace KBrimble.Dota2.Client.UnitTests.JsonConv... |
Source/Samples/DuckAttack/GameStates/MainMenu.cs | obiwanjacobi/FlexoGraphics | 0 | 7053587 | <gh_stars>0
/*
MIT License
Copyright (c) 2020 stephenhaunts
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, mer... |
samples/ComponentInspector/ComponentInspector.Core/Src/ObjectBrowser/SavedCastInfo.cs | dongdapeng110/SharpDevelopTest | 11 | 7053588 | <reponame>dongdapeng110/SharpDevelopTest
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Oakland Software Incorporated" email="<EMAIL>"/>
// <version>$Revision$</version>
// </file>
using System;
namespace NoGoop.ObjBrowser
{
/// <s... |
src/GitHub.Exports/Models/IInlineCommentModel.cs | alsamer2008/VisualStudio | 1 | 7053589 | using System;
namespace GitHub.Models
{
/// <summary>
/// Represents an pull request review comment that can be displayed inline in a code editor.
/// </summary>
public interface IInlineCommentModel
{
/// <summary>
/// Gets the 0-based line number of the comment.
/// </summ... |
1_Games/[C#] Blank game/Game/GameObject/BaseGameObject.cs | Team-on/works | 10 | 7053590 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Game.Component;
using Game.ComponentMessage;
namespace Game.GameObject {
abstract class BaseGameObject {
static ulong lastId = 0;
public GameObjectType GOType { get; protected set; }
public BaseGameO... |
LdapAuthorizationService/ApplicationConfiguration.cs | rubicon-oss/egoraStammportal | 3 | 7053591 | <filename>LdapAuthorizationService/ApplicationConfiguration.cs
/*************************
Diese Software ist ein Beispiel (sample code) und unterliegt der Microsoft Public License.
Die Verwendung des Codes ist unter den Bedingungen der Microsoft Public License erlaubt.
*************************
This software is sample... |
Tests/ToolBox/PolygonSymbolMapperTests.cs | BlackBoxAM/Lean | 6,580 | 7053592 | <reponame>BlackBoxAM/Lean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
Data.Tests/ArrayBallsTest.cs | S1NU5-P1/MS-SS-TPW-Project | 0 | 7053593 | <reponame>S1NU5-P1/MS-SS-TPW-Project
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace TPW.Data.Tests
{
public class Tests
{
private BallsDataLayerAbstractApi balls;
private readonly Vector2 board... |
RibbonControlsLibrary/Microsoft/Windows/Controls/Ribbon/Primitives/RibbonQuickAccessToolBarOverflowPanel.cs | thinkgandhi/Azure-Media-Service-Explorer | 0 | 7053594 | //---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System.Windows.Controls;
using System.Windows;
using System.Diagnostics;
using System;
us... |
src/Octokit.Webhooks/Events/Organization/OrganizationActionValue.cs | nwf/octokit-webhooks.net | 15 | 7053595 | namespace Octokit.Webhooks.Events.Organization
{
public static class OrganizationActionValue
{
public const string Deleted = "deleted";
public const string MemberAdded = "member_added";
public const string MemberInvited = "member_invited";
public const string MemberRemoved = "... |
Assets/Scripts/Editor/ProbuilderUtils.cs | studentutu/HDRP-Custom-Passes | 716 | 7053596 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.ProBuilder;
public class ProbuilderUtils : EditorWindow
{
[MenuItem("Tools/ProBuilder/Probuilder Utils")]
public static void ProbuilderUtils_Open()
{
GetWindow<Probu... |
Piglet/Parser/Construction/ReductionRule.cs | Unknown6656/Piglet | 0 | 7053597 | <reponame>Unknown6656/Piglet<filename>Piglet/Parser/Construction/ReductionRule.cs
using System;
using Piglet.Parser.Configuration;
using Piglet.Lexer.Runtime;
namespace Piglet.Parser.Construction
{
internal sealed class ReductionRule<T>
: IReductionRule<T>
{
public int NumTokensToPop... |
Scripts/PlantGrow.cs | QinZhuo/CubeCircleEliminationGame | 1 | 7053598 | <filename>Scripts/PlantGrow.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlantGrow : MonoBehaviour {
public static PlantGrow single;
public float PlantTimer;
public Dictionary<PlantData, float> data=new Dictionary<PlantData, float>();... |
UWPMessengerClient/MSNP/NotificationServerConnection.cs | campos02/UWPMessengerClient | 10 | 7053599 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Xml;
using System.IO;
using Windows.UI.Core;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text.Reg... |
RhythmBox.Window/RhythmBoxWindow.cs | BlauFx/RhythmBox | 5 | 7053600 | <gh_stars>1-10
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Platform;
using osu.Framework.Screens;
using osuTK;
using RhythmBox.Window.Screens;
namespace RhythmBox.Window
{
public class RhythmBoxWindow : RhythmBoxResources
{
private ScreenStack _stack;
[Ba... |
SnapMD.VirtualCare.ApiModels/Rules/IRuleExecutionRequest.cs | adrianvalor/connectedcare-sdk | 6 | 7053601 | <reponame>adrianvalor/connectedcare-sdk
namespace SnapMD.VirtualCare.ApiModels.Rules
{
/// <summary>
/// The Interface for Rule Execution Request.
/// </summary>
public interface IRuleExecutionRequest
{
/// <summary>
/// The category of the rules.
/// </summary>
/// ... |
2 Unit testing CSharp/Sklad/BusinessServers/IWarehouseService.cs | Flexberry/automated-testing-course-2020 | 0 | 7053602 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IIS.Sklad
{
public interface IWarehouseService
{
bool CanReserveProduct(Товар товар, int count);
ТоварНаСкладе[] ReserveProduct(Товар товар, int count);
... |
sdk/src/Services/Panorama/Generated/Model/DescribePackageResponse.cs | MDanialSaleem/aws-sdk-net | 1,705 | 7053603 | /*
* Copyright 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 "license" fi... |
Cardbooru.Gui.Wpf/Views/FullImageBrowsingView.xaml.cs | matryosha/cardbooru | 1 | 7053604 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Animation;
using Cardbooru.Gui.Wpf.ViewModels;
namespace Cardbooru.Gui.Wpf.Views
{
public partial class FullImageBrowsingView : UserControl
{
public FullImageBrowsingVie... |
BaskervilleWebsite/Baskerville.App/Areas/English/Views/Shared/_NavBar.cshtml | MarioZisov/Baskerville | 0 | 7053605 | <!-- Navigation -->
<nav class="navbar navbar-default nav-justified navbar-fixed-top">
<div class="container">
<!-- Brand and toggle are grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data... |
Vulnerability.Scanner.Api/Controllers/Pages/CVESummary.cshtml | protacon/container-vulnerability-scanner | 1 | 7053607 | <reponame>protacon/container-vulnerability-scanner<filename>Vulnerability.Scanner.Api/Controllers/Pages/CVESummary.cshtml<gh_stars>1-10
@model Vulnerability.Scanner.Api.Data.CveListModel
@using Vulnerability.Scanner.Api.Controllers.Domain
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<tit... |
sources/platform-solutions/App.UI.Mvc5/Areas/Users/Models/Account/AccountLogInViewModelValidator.cs | weedkiller/aspnet-mvc5-starter-template | 0 | 7053608 | <reponame>weedkiller/aspnet-mvc5-starter-template<filename>sources/platform-solutions/App.UI.Mvc5/Areas/Users/Models/Account/AccountLogInViewModelValidator.cs
using FluentValidation;
namespace App.UI.Mvc5.Areas.Users.Models
{
public class AccountLogInViewModelValidator : AbstractValidator<AccountLogInViewModel>
{
... |
Assets/AnyRPG/Engine/Core/System/Scripts/Interactables/CharacterCreatorConfig.cs | Scott004948/AnyRPGCore | 289 | 7053611 | using AnyRPG;
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace AnyRPG {
[CreateAssetMenu(fileName = "New Character Creator Config", menuName = "AnyRPG/Interactable/CharacterCreatorConfig")]
public class CharacterCreatorCo... |
Assets/AdvancedInputField/Scripts/TextManipulation/LiveProcessingFilter/BlockRichTextTagsFilter.cs | Yunatan/AdvancedInputField | 3 | 7053612 | <filename>Assets/AdvancedInputField/Scripts/TextManipulation/LiveProcessingFilter/BlockRichTextTagsFilter.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using UnityEngine;
namespace AdvancedInputFieldPlugin
{
pub... |
oob/sample/OnYourWayHome/OnYourWayHome.Phone/ApplicationModel/Presentation/Navigation/PhoneNavigationService.cs | zhy29563/MyMEF | 0 | 7053613 | <filename>oob/sample/OnYourWayHome/OnYourWayHome.Phone/ApplicationModel/Presentation/Navigation/PhoneNavigationService.cs
using System;
using System.Windows.Controls;
using System.Windows.Navigation;
using OnYourWayHome.ApplicationModel.Composition;
using OnYourWayHome.ViewModels;
namespace OnYourWayHome.ApplicationM... |
nMQTTTests/MessageComponents/Header/Deserialization.cs | zhanghz/nmqtt | 1 | 7053614 | /*
* nMQTT, a .Net MQTT v3 client implementation.
* http://wiki.github.com/markallanson/nmqtt
*
* Copyright (c) 2009 <NAME> (<EMAIL>) & Contributors
*
* Licensed under the MIT License. You may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://w... |
GoodJobs/UserControls/UCUserAccount.ascx.cs | loi-se/Goodjobs | 0 | 7053615 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jobhunt.Controllers;
using Jobhunt.Models;
using Jobhunt.Data;
using System.Linq;
using System.Collections;
using System.Globalization;
namespace Jobhunt
{
public partial class... |
DevSnicket.TfsFileHistoryImage/ImageProcessor.cs | grahamdyson/TfsFileHistoryImage | 1 | 7053616 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
namespace DevSnicket.TfsFileHistoryImage
{
internal partial class ImageProcessor
{
public static IEnumerable<Bitmap> Process(
ICollection<Bitmap> images,
Size maximum)
{
... |
Assets/Scripts/HumbleObject/BadExample/BirdController.cs | toniezlydeveloper/Example-Atchitecture | 0 | 7053617 | using UnityEngine;
namespace HumbleObject.BadExample
{
public class BirdController : MonoBehaviour
{
#region Serialized Fields
[SerializeField]
private float minHeight;
[SerializeField]
private float maxHeight;
#endregion
#region Unity Callbacks
... |
src/ResourceManager/Batch/Commands.Batch.Test/VMs/GetBatchVMCommandTests.cs | Nilambari/azure-powershell | 0 | 7053618 | // ----------------------------------------------------------------------------------
//
// Copyright 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://w... |
ShrimpDX/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs | ousttrue/WindowsSDKImport | 1 | 7053619 | <reponame>ousttrue/WindowsSDKImport<gh_stars>1-10
// This source code was generated by regenerator"
using System;
using System.Runtime.InteropServices;
namespace ShrimpDX {
public enum D3D12_ROOT_SIGNATURE_FLAGS // 1
{
_NONE = 0x0,
_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT = 0x1,
_DE... |
input/DisplayTemplates/PromotionSection.cshtml | alanta/kontent-statiq-theme-planty | 3 | 7053620 | <reponame>alanta/kontent-statiq-theme-planty<gh_stars>1-10
@model Planty.Models.PromotionSection
<section class="content__row content__row--full-width content__row--mb-0" data-id="@Model.System.Id">
<div class="promo">
<planty-picture src="@Model.Image.First().Url" alt="@Model.Image.First().Description... |
AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipelineAsset.cs | 17cuA/AimRacing11 | 0 | 7053621 | <filename>AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipelineAsset.cs
using UnityEngine.Serialization;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
// The HDRenderPipeline assumes linear lighting. Doesn't work with gamma.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.