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 |
|---|---|---|---|---|
MPT/CSI/API/MPT.CSI.OOAPI/Core/Support/IUniqueName.cs | MarkPThomas/MPT.Net | 0 | 7027103 | // ***********************************************************************
// Assembly : MPT.CSI.OOAPI
// Author : <NAME>
// Created : 12-11-2018
//
// Last Modified By : <NAME>
// Last Modified On : 12-11-2018
// ***********************************************************************
// <co... |
src/MongoDB.Driver.Core/Core/Connections/TcpStreamFactory.cs | geasi/mongo-csharp-driver | 0 | 7027104 | <filename>src/MongoDB.Driver.Core/Core/Connections/TcpStreamFactory.cs<gh_stars>0
/* Copyright 2013-present MongoDB 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.... |
KdbConnections/KdbConnections/KdbConnections/Queries.cs | AquaQAnalytics/kdb-contrib | 0 | 7027105 | <filename>KdbConnections/KdbConnections/KdbConnections/Queries.cs
using System.Collections.Generic;
using kx;
namespace KdbConnections
{
public class Queries
{
public Queries()
{
}
/// <summary>
/// Loads a c.Flip containing the fictional db version numbe... |
src/LightOps.Commerce.Services.Category.Backends.InMemory/Configuration/IInMemoryCategoryServiceBackendComponent.cs | SorenA/lightops-commerce-services-category | 0 | 7027106 | <filename>src/LightOps.Commerce.Services.Category.Backends.InMemory/Configuration/IInMemoryCategoryServiceBackendComponent.cs
using System.Collections.Generic;
using LightOps.Commerce.Services.Category.Backends.InMemory.Api.Providers;
namespace LightOps.Commerce.Services.Category.Backends.InMemory.Configuration
{
... |
Dapper.Data/DapperRepository.cs | pankaj0567/LearningDapper | 0 | 7027107 | <reponame>pankaj0567/LearningDapper
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper.Core;
using Dapper;
using Dapper.Core.Domain.Employee;
namespace ... |
Open Judge System/Tools/OJS.Tools.OldDatabaseMigrationExecutor/OldDatabaseMigrationExecutorProgram.cs | SveGeorgiev/OpenJudgeSystem | 1 | 7027109 | <filename>Open Judge System/Tools/OJS.Tools.OldDatabaseMigrationExecutor/OldDatabaseMigrationExecutorProgram.cs<gh_stars>1-10
namespace OJS.Tools.OldDatabaseMigrationExecutor
{
using System;
using System.Data.Entity;
using System.Linq;
using OJS.Data;
using OJS.Data.Migrations;
using OJS.Tools... |
csharp/Facebook.CSSLayout/CSSNode.cs | diederickh/css-layout | 1 | 7027110 | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
using Sys... |
test/TesterInternal/StorageTests/CommonStorageTests.cs | JohnDebono/orleans | 17 | 7027111 | <reponame>JohnDebono/orleans
using Orleans;
using Orleans.Runtime;
using Orleans.Storage;
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using UnitTests.StorageTests.Relational.TestDataSets;
using Xunit;
namespace UnitTests.StorageTests.Relational
{
/// <summary>
///... |
DeviceAssignment/DeviceAssignment.Infrastracture/Services/EmployeeRepository.cs | Eyeskrim/.NET-Core-EFCore-Clean-Architecture | 1 | 7027112 | <filename>DeviceAssignment/DeviceAssignment.Infrastracture/Services/EmployeeRepository.cs
using AutoMapper;
using AutoMapper.QueryableExtensions;
using DeviceAssigment.Application.Common.Exceptions;
using DeviceAssigment.Application.Common.Interfaces;
using DeviceAssigment.Application.Common.Models;
using DeviceAssigm... |
ZFS.Api/Design/MyUnprocessableEntityObjectResult.cs | HenJigg/Asp.net-Core-WebApi-Sample | 51 | 7027113 | <filename>ZFS.Api/Design/MyUnprocessableEntityObjectResult.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ZFS.Api.Design
{
/// <summary>
/// 自定义验证
/// </summary>
... |
JukeBox.Mobile/JukeBox.Mobile/Common/ContentPageBase.cs | rcappello/IoT-JukeBox | 0 | 7027114 | <filename>JukeBox.Mobile/JukeBox.Mobile/Common/ContentPageBase.cs<gh_stars>0
using Xamarin.Forms;
using GalaSoft.MvvmLight.Messaging;
using JukeBox.Mobile.ViewModels;
namespace JukeBox.Mobile.Common
{
public abstract class ContentPageBase : ContentPage, IContentPageBase
{
public bool CancelsTouchesInV... |
src/Dapper.SimpleSave.Tests/TestScripts/OneToOneRelationshipFkOnParentScriptGenerationTests.cs | Paymentsense/Dapper.SimpleSave | 35 | 7027115 | using System;
using System.Collections.Generic;
using Dapper.SimpleSave.Impl;
using Dapper.SimpleSave.Tests.Dto;
using Dapper.SimpleSave.Tests.GuidDtos;
using NUnit.Framework;
namespace Dapper.SimpleSave.Tests.TestScripts
{
[TestFixture]
public class OneToOneRelationshipFkOnParentScriptGenerationT... |
WebsitePanel/Sources/WebsitePanel.Providers.Virtualization.HyperV-2012R2/Extensions/PSObjectExtension.cs | Key4ce/Websitepanel | 3 | 7027116 | // Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary f... |
Wwise Adventure Game No Sound/Assets/Scripts/World/TargetDummyShield_OnDamage.cs | FlanStudio/AllegroKingdom | 0 | 7027117 | <gh_stars>0
////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
//
////////////////////////////////////////////////////////////////////////
using UnityEngine;
public class TargetDummyShield_OnDamage : MonoBehaviour, IDamageable
{
... |
Noice_Bot_Twitch/Noice_Bot_Twitch/PubSubService.cs | Korpsian/Twitch-Noice-Bot | 2 | 7027118 | <gh_stars>1-10
using Newtonsoft.Json.Serialization;
using System;
using System.Timers;
using WebSocket4Net;
namespace Noice_Bot_Twitch
{
public class PubSubService
{
WebSocket4Net.WebSocket socket;
TwitchJsonBuilder tjb;
IrcClient client;
Timer t;
public PubSubService(... |
PandaSharp.Bamboo.Test/Utils/RestRequestExtensionsTest.cs | soerendd/PandaSharp | 0 | 7027119 | <reponame>soerendd/PandaSharp<filename>PandaSharp.Bamboo.Test/Utils/RestRequestExtensionsTest.cs
using System.Linq;
using Moq;
using NUnit.Framework;
using PandaSharp.Bamboo.Utils;
using RestSharp;
namespace PandaSharp.Bamboo.Test.Utils
{
[TestFixture]
public sealed class RestRequestExtensionsTest
{
... |
src/MEAKKA.NET/Actor/IActorFactory.cs | HelloKitty/MEAKKA.NET | 0 | 7027120 | <reponame>HelloKitty/MEAKKA.NET
using System;
using System.Collections.Generic;
using System.Text;
using Akka.Actor;
using Akka.DI.Core;
using Glader.Essentials;
using MEAKKA;
namespace MEAKKA
{
/// <summary>
/// Basic creation context for an actor.
/// </summary>
public sealed class ActorCreationContext
{
///... |
Parse/Infrastructure/Utilities/InternalExtensions.cs | sschaub/Parse-SDK-dotNET | 174 | 7027121 | <gh_stars>100-1000
// Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory.
using System;
... |
Assets/Script/Slots/SwtichUI.cs | daxiazh/BrickAndBall | 97 | 7027122 | <gh_stars>10-100
using System;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
namespace Game.Slots {
using UI;
[CreateAssetMenuAttribute(menuName="Game/Slot/SwtichUI")]
public class SwtichUI : Utility.Slot {
[SerializeField]
protected GameObject next;
[SerializeField]
protected float wat... |
Assets/MiroChessBord/MiroModelV1/Script/DispAssists/MiroV1HPDisp.cs | iniwap/LianQiClient | 3 | 7027123 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Lyu;
using UnityEngine.Events;
namespace MiroV1
{
public class MiroV1HPDisp : MonoBehaviour {
public MorphAnimCtrl _animCtrl;
public MiroModelV1 _model;
public LineRenderer _LineRendererBG;
public bool _bUpdat... |
Feed the Monster/Assets/Scripts/UI/LoadFirstAssets.cs | AULFA/FeedTheMonster | 1 | 7027124 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoadFirstAssets : MonoBehaviour {
public GameObject baseBackground;
// Use this for initialization
void Start () {
Monster[] monsters = UserInfo.Instance.CollectedFriends;
// GameObject go = Resources.Load... |
CgiResourceUpload/Models/ValidationCheck.cs | SharpCloud/CgiResourceUpload | 0 | 7027125 | using System;
namespace CgiResourceUpload.Models
{
internal class ValidationCheck
{
public Func<bool> Validate { get; }
public string FailMessage { get; }
public ValidationCheck(Func<bool> validate, string failMessage)
{
Validate = validate;
FailMessage... |
src/web-apis/LetPortal.Chat/Configurations/VideoCallOptions.cs | phucan1108/letportal | 31 | 7027126 | using System;
using System.Collections.Generic;
using System.Text;
namespace LetPortal.Chat.Configurations
{
public class VideoCallOptions
{
/// <summary>
/// Add many public STUN servers as we wanted
/// Prefer the list in https://gist.github.com/mondain/b0ec1cf5f60ae726202e
/... |
Kasumi/Database/RolesContext.cs | Kotori7/Kasumi | 0 | 7027127 | <reponame>Kotori7/Kasumi
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace Kasumi.Database
{
public class RolesContext : DbContext
{
public DbSet<AssignableRole> AssignableRoles { get; set; }
protected o... |
Tangle.Net/Tangle.Net.Examples/Examples/Mam/MamPublishExample.cs | kristofvdj88/tangle-.net | 0 | 7027129 | <reponame>kristofvdj88/tangle-.net<filename>Tangle.Net/Tangle.Net.Examples/Examples/Mam/MamPublishExample.cs
namespace Tangle.Net.Examples.Examples.Mam
{
using System;
using System.Threading.Tasks;
using Tangle.Net.Cryptography;
using Tangle.Net.Entity;
using Tangle.Net.Mam.Entity;
using Tangle.Net.Mam.Me... |
src/Skoruba.Duende.IdentityServer.Admin.BusinessLogic/Dtos/Configuration/ClientCloneDto.cs | FabienDehopre/Duende.IdentityServer.Admin | 143 | 7027131 | <reponame>FabienDehopre/Duende.IdentityServer.Admin
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
namespace Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Dtos.Configuration
{
public class ClientCloneDto : ClientDto
{
public string ClientIdOriginal... |
src/PearAdmin.AbpTemplate.Application/Notifications/Dto/GetNotificationsOutput.cs | PearAdmin/pear-admin-abp | 4 | 7027132 | <filename>src/PearAdmin.AbpTemplate.Application/Notifications/Dto/GetNotificationsOutput.cs
using Abp.Application.Services.Dto;
using Abp.Notifications;
using System.Collections.Generic;
namespace PearAdmin.AbpTemplate.Notifications.Dto
{
public class GetNotificationsOutput : PagedResultDto<UserNotification>
... |
backend/iayos.flashcardapi.Domain.Concrete/Deck/GetDeckById/GetDeckByIdGateway.cs | daleholborow/iayos.flashcardapi | 0 | 7027133 | <reponame>daleholborow/iayos.flashcardapi
using System;
using System.Data;
using iayos.flashcardapi.Domain.Interactor.Deck.GetDeckById;
using iayos.flashcardapi.DomainModel.Models;
using iayos.sequentialguid;
namespace iayos.flashcardapi.Domain.Concrete.Deck.GetDeckById
{
public class GetDeckByIdGateway : FlashCardG... |
Assets/Packages/SerializableDictionary/Example/UserSerializableDictionaries.cs | Drarch/FirefighterVR | 1 | 7027135 | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
[Serializable]
public class StringStringDictionary : SerializableDictionary<string, string> {}
[Serializable]
public class ObjectColorDictionary : SerializableDictionary<UnityEngine.Object, Color> {}
[Serializable]
public c... |
sdk/dotnet/NotificationHubs/Latest/GetNamespace.cs | pulumi-bot/pulumi-azure-native | 0 | 7027136 | <reponame>pulumi-bot/pulumi-azure-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pul... |
c#/src/OpeningHandshakeHandler.cs | bigpeng2046/miqi-server | 0 | 7027137 | using System;
using System.Text;
using System.Security.Cryptography;
namespace Miqi.Net
{
// Note: This implementation does not support sub-protocol negotioation.
public static class OpeningHandshakeHandler
{
public static string CreateServerHandshake(string clientHandshake)
{
... |
samples/snippets/csharp/VS_Snippets_WebNet/Classic DataListItemEventArgs.DataListItemEventArgs Example/CS/source.cs | hamarb123/dotnet-api-docs | 421 | 7027138 | <filename>samples/snippets/csharp/VS_Snippets_WebNet/Classic DataListItemEventArgs.DataListItemEventArgs Example/CS/source.cs
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
public class Form1: Page
{
// <Snippet1>
void Item_Created(Object sender, DataListItemEventArgs e)
{
DataListIte... |
nopCommerce 4.4/src/Presentation/Nop.Web/Themes/RootTheme/Views/Product/_ProductBreadcrumb.cshtml | peterthomet/BioPuur | 0 | 7027139 | @model ProductDetailsModel.ProductBreadcrumbModel
@using Nop.Core.Domain.Common
@inject CommonSettings commonSettings
@{
var breadcrumbDelimiter = commonSettings.BreadcrumbDelimiter;
}
@if (Model.Enabled)
{
<nav aria-label="breadcrumb">
<ul class="breadcrumb" itemscope itemtype="http://schema.org/Bread... |
Parser/Parser/Mapper/MapperToNumber.cs | pourmand1376/Parser | 0 | 7027140 | using System.Collections.Generic;
using System.Linq;
using Parser.Lexical;
using Parser.Models;
namespace Parser.Parse
{
/// <summary>
/// Maps Variable and states to number
/// for example S -> 2
///
/// </summary>
public class MapperToNumber
{
private readonly GrammarRules _gram... |
src/Tasks/Show.cs | cdonges/CivOne | 2 | 7027141 | <gh_stars>1-10
// CivOne
//
// To the extent possible under law, the person who associated CC0 with
// CivOne has waived all copyright and related or neighboring rights
// to CivOne.
//
// You should have received a copy of the CC0 legalcode along with this
// work. If not, see <http://creativecommons.org/publicdomain/... |
Common/Server.cs | prime167/RemoteDesktopManager | 5 | 7027143 | <gh_stars>1-10
using Tomlet.Attributes;
namespace Common;
public class Server
{
public Server()
{
}
public Server(string name, string ip, int port)
{
Name = name;
IP = ip;
Port = port;
}
[TomlProperty("name")]
[TomlPrecedingComment("名称")]
public string?... |
scr/hrmApp/hrmApp.Web/Views/Shared/_InitReportDataTablesScript.cshtml | gasparekferenc/hrmApp.N-Layer.MVC | 0 | 7027144 | <reponame>gasparekferenc/hrmApp.N-Layer.MVC<filename>scr/hrmApp/hrmApp.Web/Views/Shared/_InitReportDataTablesScript.cshtml
<script>
$(document).ready(function () {
$.extend($.fn.dataTable.defaults, {
language: { url: '/lib/datatables/localization/hu.json' },
});
var t... |
src/Cofoundry.Domain/Domain/ClientConnection/Services/DefaultClientConnectionService.cs | aTiKhan/cofoundry | 780 | 7027145 | using Cofoundry.Core;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cofoundry.Domain.Internal
{
/// <summary>
/// The default IClientConnectionService implementation does not
/// return any client data so that by default non-web scenarios
... |
systie/Console/CLI/IShell.cs | fjiang2/sqlcli | 0 | 7027146 | namespace Sys.Stdio.Cli
{
public interface IShell
{
/// <summary>
/// Implementation of commands in the Shell
/// </summary>
IShellTask Task { get; }
/// <summary>
/// Read command line from system consolee and execute
/// </summary>
void Run()... |
Gravity Game/Assets/Scripts/HubTriggerManager.cs | GordonCoffeeCan/Gravity_Lover_Game_Studio_II | 0 | 7027147 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HubTriggerManager : MonoBehaviour {
private bool playerPREntered = false;
private bool playerJPEntered = false;
// Use this for initialization
void Start () {
GameManager.musicSource.Music1.Trans... |
Src/Example/DevicesExamples.cs | eCarUp/smartme-api-client-library-dotnet | 1 | 7027148 | #region License
// Copyright (c) 2019 smart-me AG https://www.smart-me.com/
//
// 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 right... |
src/KitchenSink/obj/x64/Debug/TextPage-2.json.g.cs | Mihaiii/KitchenSink_ | 0 | 7027149 | <gh_stars>0
// This is a system generated file (G2). It reflects the Starcounter App Template defined in the file "TextPage.json"
// Version: 2
// DO NOT MODIFY DIRECTLY - CHANGES WILL BE OVERWRITTEN
using System;
using System.Collections;
using System.Collections.Generic;
using Starcounter.Advanced;
using Starcounter... |
src/StarlightDirector/UI/Controls/Rendering/ScorePreviewerRenderer.Ribbons.cs | hozuki/StarlightDirector | 18 | 7027150 | <reponame>hozuki/StarlightDirector
using MonoGame.Extended.Overlay;
using OpenCGSS.StarlightDirector.Models;
using OpenCGSS.StarlightDirector.Models.Beatmap;
using OpenCGSS.StarlightDirector.UI.Controls.Previewing;
namespace OpenCGSS.StarlightDirector.UI.Controls.Rendering {
partial class ScorePreviewerRenderer {
... |
MapEditorPlugin/Components/EntityControl.cs | spheredev/sphere-studio | 1 | 7027151 | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using SphereStudio.Formats;
namespace SphereStudio.Components
{
partial class EntityControl : UserControl
{
private List<Entity> _entities = new List<Entity>();
private List<Layer> _layers = new List<Layer>();
... |
tests/AnApiOfIceAndFire.Data.Tests/IntegrationTests/DbFixture.cs | troystaylor/AnApiOfIceAndFire | 351 | 7027152 | <filename>tests/AnApiOfIceAndFire.Data.Tests/IntegrationTests/DbFixture.cs
using System;
using AnApiOfIceAndFire.DataFeeder;
using Xunit;
namespace AnApiOfIceAndFire.Data.Tests.IntegrationTests
{
[CollectionDefinition("DbCollection")]
public class DbCollection : ICollectionFixture<DbFixture>
{
}
... |
Source/TimeWarp.Blazor.Template/templates/Feature.AutoCrud/GeneratedCode/Source/Client/Actions/Update/Update__FeatureName__Handler.cs | mikeyoshino/timewarp-templates | 36 | 7027153 | <gh_stars>10-100
namespace __RootNamespace__.Features.__FeatureName__s
{
using __RootNamespace__.Features.Bases;
using BlazorState;
using MediatR;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading;
using System.Threading.Tasks;
using System;
using System.Text.Json;
internal ... |
IffyLib/Extensions/NumberExtensions.cs | MarNicGit/IffyLib | 0 | 7027154 | <filename>IffyLib/Extensions/NumberExtensions.cs
namespace IffyLib.Extensions
{
public static class NumberExtensions
{
/// <summary>
/// Checks if the given value is even or not
/// </summary>
public static bool IsEven(this int value)
{
if (value == 0) return... |
samples/RMQRequestReplyExamples/Greetings/Ports/CommandHandlers/GreetingReplyHandler.cs | homcl/Brighter | 1 | 7027155 | <reponame>homcl/Brighter<filename>samples/RMQRequestReplyExamples/Greetings/Ports/CommandHandlers/GreetingReplyHandler.cs
using System;
using Greetings.Ports.Commands;
using Paramore.Brighter;
namespace Greetings.Ports.CommandHandlers
{
public class GreetingReplyHandler : RequestHandler<GreetingReply>
{
... |
Havit.Blazor.Components.Web.Bootstrap/Tooltips/PopoverTrigger.cs | sshulik/Havit.Blazor | 0 | 7027156 | <reponame>sshulik/Havit.Blazor<filename>Havit.Blazor.Components.Web.Bootstrap/Tooltips/PopoverTrigger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Havit.Blazor.Components.Web.Bootstrap
{
/// <summary>
/// Triggers for <see cref="HxP... |
backend/webapi/Models/ClientLog.cs | bcgov/moh-pidp | 5 | 7027157 | namespace Pidp.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table(nameof(ClientLog))]
public class ClientLog : BaseAuditable
{
[Key]
public int Id { get; set; }
public string Message { get; set; } = string.Empty;
public LogLevel LogLevel {... |
RCV-LT-Lite-BE/ExternalLibraries/RCV-FileContainer/RCV-FileContainer/RCV-FileContainer/Utilities/BlobUtilities.cs | asmarboulos/BMW-Labeltool-Lite | 1 | 7027158 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure.Storage.Blob;
namespace RCV.FileContainer.Utilities
{
/// <summary>
/// Utility class for azure blob storage.
/// </summary>
public static class BlobUtilities
{
/// <summary>
... |
src/libraries/System.IO.FileSystem/tests/Net5CompatTests/Net5CompatSwitchTests.cs | JimmyCushnie/runtime | 2 | 7027159 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Reflection;
using Xunit;
namespace System.IO.Tests
{
public class Net5CompatSwitchTests
{
[Fact]
public static void LegacySwitchIsHonored()
... |
src/System.Web.Http.OData/OData/Query/HandleNullPropagationOptionHelper.cs | vmanthena/aspnetwebstack | 71 | 7027160 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Http.OData.Query
{
internal static class HandleNullPropagationOptionHelper
{
public static bool IsDefined(HandleNullPropagationOption value)
... |
ClientePeatonXamarin/ClientePeatonXamarin/Modelos/ExploradorEnvios/ONNovedadesTransporteDC.cs | Erikole21/Xamarin-Forms-APP | 0 | 7027161 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace ClientePeatonXamarin.Modelos
{
public class ONNovedadesTransporteDC
{
public ONNovedadesTransporteDC()
{
}
public long IdManifiestoOperacionNacio { get... |
SceneNavi/TitleCardForm.Designer.cs | sste9512/SceneNavi | 0 | 7027162 | <reponame>sste9512/SceneNavi
namespace SceneNavi
{
partial class TitleCardForm
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
... |
Specifications/Embeddings.Processing/for_EmbeddingRequestFactory/when_trying_to_create/a_delete_request/and_everything_works.cs | dolittle/Runtime | 12 | 7027163 | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Dolittle.Runtime.Events.Store;
using Dolittle.Runtime.Events.Processing.Projections;
using Dolittle.Runtime.Protobuf;
using Machine.Specifications;
u... |
SushiProject/SushiProject/ViewModels/ObjectsListViewModel.cs | OHIOhackathon2014/OSU-Hackathon-Sushi-Project | 1 | 7027164 | <reponame>OHIOhackathon2014/OSU-Hackathon-Sushi-Project
using SushiProject.Commands;
using SushiProject.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiProject.V... |
BTCPayServer.Data/Data/PaymentData.cs | darosior/btcpayserver | 7 | 7027166 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Data
{
public class PaymentData
{
public string Id
{
get; set;
}
public string InvoiceDataId
{
get; set;
}
pu... |
src/Uno.UI.Composition/Generated/3.0.0.0/Windows.UI.Composition/CompositionPathGeometry.cs | olirobert/uno | 5,973 | 7027167 | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Composition
{
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class CompositionPathGeometry : global::Windows.UI.Composition.Co... |
ToolGood.ReadyGo3/Gadget/Internals/SqlEvents.cs | toolgood/ToolGood.ReadyGo | 10 | 7027168 | <gh_stars>1-10
using System;
using System.Text;
namespace ToolGood.ReadyGo3.Gadget.Events
{
/// <summary>
/// SQL事件
/// </summary>
public class SqlEvents
{
private readonly SqlHelper _sqlHelper;
/// <summary>
///
/// </summary>
/// <param name... |
src/Fabrik.Common.WebAPI/Links/Link.cs | kapiljaveri/Fabrik.Common | 202 | 7027169 | <filename>src/Fabrik.Common.WebAPI/Links/Link.cs
using Fabrik.Common;
using System.Runtime.Serialization;
namespace Fabrik.Common.WebAPI.Links
{
/// <summary>
/// A base class for relation links
/// </summary>
[DataContract]
public class Link
{
[DataMember]
public string Rel { ... |
Dictionaries - Exercises/01. Letter Repetition/01. Letter Repetition.cs | vankatalp360/Programming-Fundamentals-2017 | 1 | 7027170 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _01.Letter_Repetition
{
public class Program
{
public static void Main()
{
var chars = Console.ReadLine();
var result = new Dictionary<char, int>();
foreach (var symbol in chars)
... |
Apps/AzureSupport/Operation/PublishGroupContentToPublicAreaImplementation.cs | JTOne123/TheBallPlatform | 0 | 7027171 | <gh_stars>0
using System;
using System.Collections.Generic;
using TheBall;
namespace AaltoGlobalImpact.OIP
{
public static class PublishGroupContentToPublicAreaImplementation
{
public static string GetTarget_CurrentContainerName(string groupID)
{
return StorageSupport.CurrActiveCon... |
src/Celarix.Cix/Celarix.Cix/Emit/IronArc/TypeInfoComputer.cs | Celarix/Cix | 0 | 7027172 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Celarix.Cix.Compiler.Emit.IronArc.Models;
using Celarix.Cix.Compiler.Exceptions;
using Celarix.Cix.Compiler.Parse.Models.AST.v1;
using NLog;
namespace Celarix.Cix.Compiler.Emit.IronArc
{
inter... |
src/Algorithms/OverlappingDecahedrons.cs | hyrmn/gart | 2 | 7027173 | <filename>src/Algorithms/OverlappingDecahedrons.cs
using System;
using System.IO;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
namespace gart.Algorithms;
public class Ove... |
src/AddIns/Misc/TextTemplating/Project/Src/AddInAssemblyRuntime.cs | dongdapeng110/SharpDevelopTest | 11 | 7027174 | <gh_stars>10-100
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Linq;
namespace ICSharpCode.TextTemplating
{
public class AddInAssemblyRuntime
... |
src/core/srcbc/crypto/tls/NamedCurve.cs | yangli1128/itextsharp.NetCore | 1 | 7027175 | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add... |
Src/Utilities/ArrayUtils.cs | ExterminatorX99/DissonanceEngine | 36 | 7027176 | using System;
namespace Dissonance.Engine.Utilities
{
public static class ArrayUtils
{
public static void Add<T>(ref T[] array, T value)
{
int originalLength = array?.Length ?? 0;
Array.Resize(ref array, originalLength + 1);
array[originalLength] = value;
}
public static void Remove<T>(ref T[] a... |
src/DowntimeAlerter.Domain/Authentication/CookieAuthenticationManager.cs | iyilm4z/potential-tribble | 5 | 7027177 | using System;
using System.Collections.Generic;
using System.Security.Claims;
using DowntimeAlerter.Authorization.Users;
using DowntimeAlerter.Configuration;
using DowntimeAlerter.Domain.Repositories;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
namespace DowntimeAlerter.Authentication
... |
tests/Magick.NET.Tests/Netstandard20/MagickImageCollectionTests/TheReadAsyncMethod.cs | fernandoafonso/Magick.NET | 2,279 | 7027178 | // Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
#if NETCORE
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickImageCollectionTests
... |
Scripts/MatchThree/Scene/ScenePack.cs | TheDrw/MatchThreeGame-Code | 0 | 7027179 | <reponame>TheDrw/MatchThreeGame-Code<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MatchThree.Data;
namespace MatchThree.Scene
{
/// <summary>
/// Whenever I renamed scenes, the references to those string assets
/// would have to be rewired. This prevents ... |
CartomancyGame/Assets/Naninovel/Runtime/Command/Printer/ShowPrinter.cs | ChrisKindred/CartomancyGame | 0 | 7027180 | // Copyright 2017-2021 Elringus (<NAME>). All rights reserved.
namespace Naninovel.Commands
{
/// <summary>
/// Shows a text printer.
/// </summary>
public class ShowPrinter : PrinterCommand
{
/// <summary>
/// ID of the printer actor to use. Will use a default one when not provide... |
Timetabler/Models/NoteListEditFormModel.cs | caitlinsalt/simple-timetable-editor | 0 | 7027181 | <gh_stars>0
using System.Collections.Generic;
using Timetabler.Data;
namespace Timetabler.Models
{
/// <summary>
/// Model class for the NoteListEditForm dialog
/// </summary>
public class NoteListEditFormModel
{
/// <summary>
/// The footnotes currently in the document.
//... |
Stacks/MessageClient/StacksMessageAttribute.cs | Ravadre/Stacks | 17 | 7027182 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stacks
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class StacksMessageAttribute : Attribute
{
public int MessageId { get; pr... |
Lexical.FileProvider/Zip/ZipFileProvider.cs | ka4ep/Lexical.FileProvider | 7 | 7027183 | // --------------------------------------------------------
// Copyright: <NAME>
// Date: 29.12.2018
// Url: http://lexical.fi
// --------------------------------------------------------
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System... |
src/Orchard.Web/Modules/Orchard.Recipes/Views/EditorTemplates/BuilderSteps/Content.cshtml | ropstah/OrchardBlogPostContentTypes | 0 | 7027184 | @model Orchard.Recipes.ViewModels.ContentBuilderStepViewModel
@{
Style.Include("recipebuilderstep-content.css");
Script.Require("jQuery");
Script.Include("recipebuilderstep-data.js");
}
<div>
<table class="items">
<thead>
<tr>
<th>@T("Content Type")</th>
... |
PurificationPioneer/Assets/3rd/DialogSystem/VIew/DialogUnitUI.cs | LaudateCorpus1/distributed-architecture-of-moba-game-server | 37 | 7027185 | using DialogSystem.Model;
using ReadyGamerOne.Common;
using ReadyGamerOne.View;
using UnityEngine.EventSystems;
namespace DialogSystem.View
{
public class DialogUnitUI:AbstractUI
{
protected DialogUnitInfo m_dialogUnitInfo;
public DialogUnitUI(DialogUnitInfo info)
{
m_dialog... |
src/viewer/common/TypeGraphPlotter.cs | mono/heap-prof | 3 | 7027186 | using System;
using System.Collections;
using System.Drawing;
using System.Drawing.Drawing2D;
class TimePoint {
public int Time;
public int X;
public int OtherSize;
public int [] TypeData;
public TimeData Data;
public int HeapSize;
}
class Plotter {
int xsize, ysize;
TypeTabulator d;
TypeList tl;
Profile Pr... |
GameJam2018/Assets/AstarPathfindingProject/Generators/Utilities/GridLookup.cs | cbraunsch-dev/GameJam2018 | 495 | 7027187 | <reponame>cbraunsch-dev/GameJam2018
using System.Collections.Generic;
namespace Pathfinding.Util {
/** Holds a lookup datastructure to quickly find objects inside rectangles.
* Objects of type T occupy an integer rectangle in the grid and they can be
* moved efficiently. You can query for all objects that touch a... |
Errands.Users.Api/Controllers/AccountController.cs | kennymudiaga/errands-user | 0 | 7027188 | using Errands.Users.Domain.Commands;
using Errands.Users.Domain.Models;
using Errands.Users.Domain.Queries;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Errands.Users.Api.Controllers
{
[ApiController]
[Route("[c... |
Vue.Net/VOL.Entity/DomainModels/System/Sys_Menu.cs | kissxic/Vue.NetCore | 2,694 | 7027189 | <filename>Vue.Net/VOL.Entity/DomainModels/System/Sys_Menu.cs
/*
*Author:jxx
*Contact:<EMAIL>
*Date:2018-07-01
* 此代码由框架生成,请勿随意更改
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
u... |
CRMP.XTBPlugin.SystemComparer/AppCode/TelemetryEventType.cs | iggsn/XTBPlugin.SystemComparerer | 1 | 7027190 | namespace CRMP.XTBPlugin.SystemComparer.AppCode
{
enum TelemetryEventType
{
Event = 0,
Dependency = 1,
Exception = 2,
Trace = 3
}
}
|
Sunbeam/Patches/ModdingControllerNS/GameContextReloadAfterPatch.cs | stefanhaan/Sunbeam | 0 | 7027191 | <reponame>stefanhaan/Sunbeam<gh_stars>0
using Harmony;
using Staxel.Browser;
using Staxel.Modding;
namespace Sunbeam.Patches.ModdingControllerNS
{
[HarmonyPatch(typeof(ModdingController), "GameContextReloadAfter")]
class GameContextReloadAfterPatch
{
[HarmonyPrefix]
static void BeforeGameContextReloadAfter(... |
GDAPI/GDAPI/Objects/GeometryDash/General/GuidelineCollection.cs | gd-edit/GDAPI | 14 | 7027192 | using GDAPI.Functions.Extensions;
using GDAPI.Objects.DataStructures;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static GDAPI.Functions.General.Parsing;
namespace GDAPI.Objects.GeometryDash.General
{
/// <summary>Represents a collection of guidelines.</... |
Content.Server/Disease/Zombie/DiseaseZombieSystem.cs | mikrel071204/space-station-14 | 0 | 7027193 | <reponame>mikrel071204/space-station-14<filename>Content.Server/Disease/Zombie/DiseaseZombieSystem.cs
using Robust.Shared.Player;
using Content.Server.Speech.Components;
using Content.Server.Ghost.Roles.Components;
using Content.Server.Disease.Components;
using Content.Server.Disease.Zombie.Components;
using Content.Se... |
Source/PSBarberPod/UIObjects/SingleSlider.cs | emipa606/PSBarberPod | 0 | 7027194 | <reponame>emipa606/PSBarberPod
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using UnityEngine;
using Verse;
namespace PS_BarberPod
{
public class SingleSlider
{
public Rect DrawRect;
public float CurrentValue;
public string Label... |
dependencies/dotnetcore-minimal/src/QboxNext.Simulation/UsagePatternSpec.cs | StefH/QboxNext | 2 | 7027195 |
using System;
namespace QboxNext.Simulation
{
/// <summary>
/// Shape of the energy usage.
/// </summary>
public enum EUsageShape
{
None,
Zero,
ZeroPeak,
Flat,
FlatPeak,
Block,
BlockHalf,
Sine,
Random
}
/// <summary>
/// Usage pattern specifier.
/// </summary>
public class UsagePatternS... |
src/HotChocolate/Core/src/Abstractions/Execution/IQueryResultSerializer.cs | ashawky-futura/hotchocolate | 0 | 7027196 | <gh_stars>0
using System.Buffers;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
#nullable enable
namespace HotChocolate.Execution;
/// <summary>
/// Represents a serializer for <see cref="IQueryResult"/>s.
/// </summary>
public interface IQueryResultSerializer
{
/// <summary>
/// Ser... |
src/M.WFEngine/Task/Node/TaskWorkAsyncSendMQ.cs | 505606909/ScheduleEngine | 1 | 7027197 | using FD.Component.RabbitMQ;
using FD.Simple.Utils.Agent;
using FD.Simple.Utils.Serialize;
using M.WorkFlow.Model;
using System;
using System.Collections.Generic;
namespace M.WFEngine.Task.Node
{
[Autowired]
public class TaskWorkAsyncSendMQ : BaseTask
{
/// <summary>
/// 信道服务
/// <... |
Ryujinx.ShaderTools/Program.cs | BSoDGamingYT/Ryujinx | 1 | 7027198 | using CommandLine;
using Ryujinx.Graphics.Shader;
using Ryujinx.Graphics.Shader.Translation;
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Ryujinx.ShaderTools
{
class Program
{
private class GpuAccessor : IGpuAccessor
{
private readonly byte[] _data... |
OctopusProjectBuilder.Uploader/Converters/ProjectTriggerAutoDeployActionConverter.cs | pavlo-oliinyk/OctopusProjectBuilder | 12 | 7027199 | <reponame>pavlo-oliinyk/OctopusProjectBuilder
using Octopus.Client.Model.Triggers;
using OctopusProjectBuilder.Model;
namespace OctopusProjectBuilder.Uploader.Converters
{
public static class ProjectTriggerAutoDeployActionConverter
{
public static ProjectTriggerAutoDeployAction ToModel(this TriggerActi... |
src/Events.IO/Events.IO.Domain.Core/Commands/Command.cs | lisashiphrah/NETCoreArchitectureFinalProject | 0 | 7027200 | <filename>src/Events.IO/Events.IO.Domain.Core/Commands/Command.cs
using Events.IO.Domain.Core.SystemEvents;
using System;
using System.Collections.Generic;
using System.Text;
namespace Events.IO.Domain.Core.Commands
{
public class Command : Message
{
public DateTime Timestamp { get; private set; }
... |
Pds/Pds.Api.Contracts/Content/ClientForLookupDto.cs | SelitskiySergey/bloggers-cms | 32 | 7027201 | <filename>Pds/Pds.Api.Contracts/Content/ClientForLookupDto.cs<gh_stars>10-100
namespace Pds.Api.Contracts.Content;
public class ClientForLookupDto
{
public Guid? Id { get; set; }
public string Name { get; set; }
} |
studio/Controllers/SearchController.cs | askildolsen/dataplattform | 0 | 7027202 | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Raven.Client.Documents;
using Raven.Client.Documents.Linq;
using Digitalisert.Dataplattform.Studio.Models;
namespace Digitalisert.Dataplattform.Studio.Controllers
{
[Route("Studio/api/[controller]")]
public class SearchController : Controll... |
Vulcanova/Vulcanova/Core/Layout/Controls/CalendarDateCell.xaml.cs | MRmlik12/Vulcanova | 3 | 7027203 | using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Vulcanova.Core.Layout.Controls
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CalendarDateCell
{
public static readonly BindableProperty SelectedProperty =
BindableProperty.Cre... |
Public/Src/Tools/Execution.Analyzer/Analyzers.Partner/FileConsumptionAnalyzer.cs | shivanshu3/BuildXL | 0 | 7027204 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BuildXL.Pip... |
Source/Web/SupportMe.Web/Areas/Admin/Controllers/AdministrationController.cs | SlavchoGeorgiev/SupportMe | 1 | 7027205 | <gh_stars>1-10
namespace SupportMe.Web.Areas.Admin.Controllers
{
using System;
using System.Web.Mvc;
using Data.Common.Constants;
using Filters;
using Web.Controllers;
[Log]
[Authorize(Roles = UserRole.Admin)]
public abstract class AdministrationController : BaseController
{
... |
Operators/Types/SoundInputExample.cs | still-scene/t3 | 23 | 7027206 | <filename>Operators/Types/SoundInputExample.cs
using SharpDX.Direct3D11;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_012119bf_aeec_4134_b7aa_6bc7f9816800
{
public class SoundInputExample : Instance<SoundInputExample>
{
[Output... |
ADP_Tests/ADP_Tests/SmokeTestWindowInfo.cs | adpautomation/ADPAutomation | 0 | 7027207 | <reponame>adpautomation/ADPAutomation
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ADP_Tests
{
public partial class SmokeTe... |
Appinion.Domain/Common/EntityBase.cs | eduardosbcabral/appinion-backend | 1 | 7027208 | <reponame>eduardosbcabral/appinion-backend<filename>Appinion.Domain/Common/EntityBase.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Appinion.Domain.Entity
{
/// <summary>
/// Entidade base para as Classes de Domínio que usam o ID como chave primária.
/// </summary>
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.