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 |
|---|---|---|---|---|
Moonlay.ELibrary.Api/Microservices/Domain/Moonlay.ELibrary.Domain/Models/RentDetail.cs | muhammad-hari/elibrary-api | 0 | 7040555 | <gh_stars>0
using System;
using System.Collections.Generic;
// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable
namespace Moonlay.ELibrary.Domain.Models
{
public part... |
src/XRoadLib/Serialization/ContentTypes.cs | janno-p/XRoadLib | 9 | 7040556 | namespace XRoadLib.Serialization
{
public static class ContentTypes
{
/// <summary>
/// Content-type of SOAP 1.1 protocol messages.
/// </summary>
public const string Soap = "text/xml";
/// <summary>
/// Content-type of SOAP 1.2 protocol messages.
/// </s... |
samples/Curupira2D.Samples/Scenes/SceneTest.cs | RonildoSouza/MonoGame.Helper | 0 | 7040557 | <reponame>RonildoSouza/MonoGame.Helper<gh_stars>0
using Curupira2D.ECS.Components.Drawables;
using Curupira2D.ECS.Components.Physics;
using Curupira2D.Extensions;
using Curupira2D.Samples.Common.Scenes;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespa... |
src/Foundation/SCSDK/code/Services/MSSDK/Bing/ImageSearchService.cs | markstiles/SitecoreCognitiveServices.Core | 0 | 7040558 | <filename>src/Foundation/SCSDK/code/Services/MSSDK/Bing/ImageSearchService.cs
using System;
using System.Collections.Generic;
using SitecoreCognitiveServices.Foundation.SCSDK.Wrappers;
using SitecoreCognitiveServices.Foundation.MSSDK.Bing;
using System.Threading.Tasks;
using SitecoreCognitiveServices.Foundation.MSSDK;... |
ux/Master.cs | nanase/ux | 7 | 7040559 | /* ux - Micro Xylph / Software Synthesizer Core Library
LICENSE - The MIT License (MIT)
Copyright (c) 2013-2014 <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,... |
src/Corvinus.WPF.Common/src/Corvinus/WPF/Common/Events/MethodBindingExtension.cs | CorvinusCollective/WPF | 0 | 7040560 | // <copyright file="MethodBindingExtension.cs" company="Corvinus Collective">
// Copyright (c) Corvinus Collective. All rights reserved.
// </copyright>
namespace Corvinus.WPF.Common.Events
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
usi... |
src/go-src-converted/utf8.cs | rgwood/go2cs | 249 | 7040561 | // package utf8 -- go2cs converted at 2020 October 09 06:03:48 UTC
// import "golang.org/x/tools/go/ssa/interp/testdata/src/unicode/utf8" ==> using utf8 = go.golang.org.x.tools.go.ssa.interp.testdata.src.unicode.utf8_package
// Original source: C:\Users\ritchie\go\src\golang.org\x\tools\go\ssa\interp\testdata\src\unico... |
Client/OmniCore.Client/Removed/ViewModels/PodsViewModel.cs | winemug/omnicore | 112 | 7040562 | <reponame>winemug/omnicore<gh_stars>100-1000
//using OmniCore.Repository.Entities;
//using OmniCore.Client.Interfaces;
//using OmniCore.Client.Services;
//using OmniCore.Model.Interfaces;
//using System;
//using System.Collections.Generic;
//using System.Collections.ObjectModel;
//using System.Text;
//using System.Thr... |
surreal_game/Assets/LookAtPlayer.cs | ethanfischer/surrealgame | 0 | 7040563 | using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.PlayerScripts;
using SurrealGame;
using UnityEngine;
public class LookAtPlayer : MonoBehaviour
{
void Update()
{
transform.LookAt(Camera.main?.transform, Vector3.up);
}
}
|
backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs | MartijnDijkgraaf/squidex | 1 | 7040564 | <reponame>MartijnDijkgraaf/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT lice... |
backend/src/Domain/Interfaces/Read/IStageReadRepository.cs | BinaryStudioAcademy/bsa-2021-scout | 0 | 7040565 | using System.Threading.Tasks;
using Domain.Interfaces.Abstractions;
using Domain.Entities;
using System.Collections.Generic;
namespace Domain.Interfaces.Read
{
public interface IStageReadRepository : IReadRepository<Stage>
{
Task<Vacancy> GetByVacancyAsync(string vacancyId);
Task<Stage> GetByVa... |
obj/Release/netcoreapp3.1/Razor/Views/Shared/_HesapYonet.cshtml.g.cs | berkaybayar/dergi-abone-takip-sistemi | 0 | 7040567 | <reponame>berkaybayar/dergi-abone-takip-sistemi<filename>obj/Release/netcoreapp3.1/Razor/Views/Shared/_HesapYonet.cshtml.g.cs
#pragma checksum "C:\Users\berka\source\repos\dergi-abone-takip-sistemi\Views\Shared\_HesapYonet.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "25a70f7319ad5ae68145c1ac63a54f8e52ee0700"
// <a... |
src/XamarinAndroidFCM/MyFirebaseMessagingService.cs | Xushlin/PushNotificaiton | 1 | 7040568 | <reponame>Xushlin/PushNotificaiton
using System;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Util;
using Android.Widget;
using Firebase.Messaging;
namespace XamarinAndroidFCM
{
[Service]
[IntentFilter(new[] {"com.google.firebase.MESSAGING_EVENT"})]
public class MyFirebaseMes... |
03.DataStructures/01.Lists/02.DemoOOP/02.TestAnimal/Point.cs | AngelMilovski/SuftUniLearning | 0 | 7040569 | using System;
class Point
{
public int X { get; private set; }
public int Y { get; private set; }
//ctor + tab, tab
public Point(int x, int y)
{
this.X = x;
this.Y = y;
}
} |
RepoDb.SQLite.System/RepoDb.SQLite.System.IntegrationTests/Operations/MergeAllTest.cs | Swoorup/RepoDB | 1,060 | 7040570 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Extensions;
using RepoDb.SQLite.System.IntegrationTests.Models;
using RepoDb.SQLite.System.IntegrationTests.Setup;
using System.Data.SQLite;
using System.Linq;
namespace RepoDb.SQLite.System.IntegrationTests.Operations.SDS
{
[TestClass]
public c... |
VideoRentalStore.DataAccess/DataAccessObjects/RentalsDataAccessObject.cs | fcapellino/mvc5-video-rental-store | 1 | 7040571 | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using VideoRentalStore.DataAccess.Common;
using VideoRentalStore.Domain.Entities;
namespace VideoRentalStore.DataAccess.DataAccessObjects
{
public class RentalsDataAccessObject : IDataAccess<Rental>
{
... |
DNN Platform/Library/Services/Social/Messaging/Internal/InternalMessagingController.cs | pmsereno/Dnn.Platform | 0 | 7040572 | <gh_stars>0
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Framework;
#endregion
namespace DotNetNuke.Services.Social.Messaging.Internal
{
/// <summar... |
Models/Hand.cs | RandyWeyer/ML-poker | 0 | 7040573 | <reponame>RandyWeyer/ML-poker<filename>Models/Hand.cs
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using ML_poker;
using System;
namespace ML_poker.Models
{
public class Hand
{
private int _id;
private string _name;
private int _win;
private int _lose;
private int _total;
... |
inCapsulam/UserControlPredefinedTarget.cs | ilya-khaustov/inCapsulam | 0 | 7040574 | <filename>inCapsulam/UserControlPredefinedTarget.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using inCapsulam.Optimization.Targets;
namespace inCapsulam
{
public partial c... |
24_Advanced Collections Exercises/4 Social Media Posts/media.cs | Tcetso/Fundamentals | 0 | 7040575 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4_Social_Media_Posts
{
class media
{
static void Main(string[] args)
{
var input = Console.ReadLine();
var posts = new Dictionary<string, Dictionary<string, string>>();
whi... |
src/Cofoundry.Domain/Domain/Users/Queries/SearchUserSummariesQuery.cs | BearerPipelineTest/cofoundry | 0 | 7040576 | using Cofoundry.Domain.CQS;
using System.ComponentModel.DataAnnotations;
namespace Cofoundry.Domain
{
/// <summary>
/// Searches users based on simple filter criteria and returns a paged result.
/// </summary>
public class SearchUserSummariesQuery : SimplePageableQuery, IQuery<PagedQueryResult<UserSu... |
source/Unity/Tests/Unity.Tests/InjectionParameterValueFixture.cs | drcarver/unity | 1 | 7040577 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.ObjectBuilder;
using Microsoft.Practices.Unity.TestSupp... |
Assets/NatsunekoLaboratory/SakuraShader/CSharpShaders/Avatars/Effects/ShaderLab/AvatarsEffectsShaderLodNone.cs | mika-f/SakuraShaderSharp | 0 | 7040578 | #if SHARPX_COMPILER
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using SharpX.Library.ShaderLab.Abstractions;
using SharpX.Library.ShaderLab.Enums;
namespace NatsunekoLaboratory.SakuraShader.Avatars.Effects.ShaderLab
{
internal class AvatarsEffectsShaderLodNone : SubS... |
test/Microsoft.AspNetCore.Routing.Tests/ConstraintMatcherTest.cs | aneequrrehman/Routing | 0 | 7040579 | <reponame>aneequrrehman/Routing
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging.Abstractions;
usin... |
WRK-V1.2/jscript/engine/jstoken.cs | intj-t/openvmsft | 0 | 7040580 | <filename>WRK-V1.2/jscript/engine/jstoken.cs
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this ... |
TesterCall/Services/Generation/Interface/IOpenApiSpecObjectParser.cs | FinnReilly/TesterCall | 0 | 7040581 | using System;
using System.Collections.Generic;
using System.Text;
using TesterCall.Models.OpenApi;
using TesterCall.Services.Generation.Interface;
using TesterCall.Services.Generation.JsonExtraction.Models;
namespace TesterCall.Services.Generation.JsonExtraction.Interfaces
{
public interface IOpenApiSpecObjectPa... |
SampleQRCodes/Assets/MixedRealityToolkit.Services/InputSystem/Utilities/CanvasEditorExtension.cs | KevinKennedy/QRTracking | 1 | 7040582 | <reponame>KevinKennedy/QRTracking
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input.Utilities
{
/... |
ReferenceConflictAnalyser/ReferenceReader.cs | rstm-sf/reference-conflicts-analyzer | 39 | 7040583 | <reponame>rstm-sf/reference-conflicts-analyzer<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.IO;
using ReferenceConflictAnalyser.DataStructures;
using System.Configuration;
namespace ReferenceCo... |
ApplicationLayer/SendMessageView.Designer.cs | Anindra123/PasswordManagementApp | 1 | 7040584 | <filename>ApplicationLayer/SendMessageView.Designer.cs
namespace ApplicationLayer
{
partial class SendMessageView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean u... |
sdk/dotnet/Sch/Outputs/ServiceConnectorTarget.cs | EladGabay/pulumi-oci | 5 | 7040585 | <reponame>EladGabay/pulumi-oci<gh_stars>1-10
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.Thread... |
development/NET/samples/client/DAGetProperties/CS/MyDaSession.cs | Movares/OPC-Classic-SDK | 19 | 7040586 | using Softing.OPCToolbox.Client;
using Softing.OPCToolbox;
namespace DAGetProperties
{
public class MyDaSession : DaSession
{
#region Constructor
//-----------------
public MyDaSession(string url) : base(url)
{
GetDaPropertiesCompleted += new GetDaPropertiesEventHandler(HandleGetDaPropertiesCompleted);
... |
Kwm/KwsApp/Pb/Pb.cs | tmbx/kwm-ng | 0 | 7040587 | <filename>Kwm/KwsApp/Pb/Pb.cs
using kcslib;
using kwmlib;
using System;
namespace kwm
{
/// <summary>
/// Backend class for the public workspace application.
/// </summary>
public class AppPb : KwsApp
{
public override UInt32 AppID { get { return KAnp.KANP_NS_PB; } }
... |
src/crm.lead.api/Services/LeadService.cs | atnsoftdev/crm | 5 | 7040588 | using System.Threading.Tasks;
using CRM.Lead.Model;
using CRM.Shared.ValidationModel;
using FluentValidation;
using Google.Protobuf.WellKnownTypes;
using Grpc.Core;
using LeadApi;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
using static LeadApi.Lead;
namespace CRM.Lead.Api.Services
{
... |
Assets/Scripts/Players/Player.cs | TrutzX/9nations | 1 | 7040589 | <filename>Assets/Scripts/Players/Player.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Schema;
using Audio;
using Buildings;
using Classes;
using Game;
using Libraries;
using Libraries.Coats;
using Libraries.Nations;
using Libraries.Overlay... |
ViewModels/Account/UserProfileViewModel.cs | wivuu/nswag-liquid-slim | 1 | 7040590 | <gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace nswag_liquid_slim.ViewModels.Account
{
public class UserProfileViewModel
{
public Guid Id { get; set; }
[Required, BindRequired]
[DataType(DataType.EmailAddr... |
src/DidNet.Common/Verification/CapabilityDelegationMethod.cs | decentralized-identity/did-common-dotnet | 12 | 7040591 | using System.Diagnostics;
namespace DidNet.Common.Verification
{
/// <summary>
/// https://www.w3.org/TR/did-core/#verification-methods
/// </summary>
[DebuggerDisplay("CapabilityDelegationMethod(Id = {Id}, IsEmbeddedVerification = {IsEmbeddedVerification})")]
public class CapabilityDelegationMetho... |
src/ScheduleMasterCore/Hos.ScheduleMaster.Core/Log/LogManager.cs | sibo-git/ScheduleMasterCore | 4 | 7040592 | <reponame>sibo-git/ScheduleMasterCore
using Hos.ScheduleMaster.Core.Common;
using Hos.ScheduleMaster.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hos.ScheduleMaster.Core.Log
{
public class LogManager
{
public static BufferQueu... |
Lunar/RemoteProcess/Structures/Module.cs | playday3008/Lunar | 1 | 7040593 | using System;
using System.IO;
using Lunar.PortableExecutable;
namespace Lunar.RemoteProcess.Structures
{
internal sealed class Module
{
internal IntPtr BaseAddress { get; }
internal string Name { get; }
internal Lazy<PeImage> PeImage { get; }
internal Module(IntPtr baseAddr... |
test/KitHub.Tests/KitHubSessionTests.cs | niklaskarl/KitHub | 0 | 7040594 | using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KitHub.Tests
{
[TestClass]
[TestCategory("KitHubSessionTests")]
public class KitHubSessionTests
{
protected KitHubSession Session { get; set; }
[TestInitialize]
public void... |
Helpers/Functions.cs | RamiAlkhateeb/Clincs | 0 | 7040595 | <filename>Helpers/Functions.cs
using System;
using System.Globalization;
using WebApi.Entities;
using System.Collections.Generic;
using System.Linq;
namespace WebApi.Helpers
{
public class Functions
{
public bool isDoctorFull(List<Slot> slots)
{
if(slots.Count() > 11)
... |
MiddleWareWebApi/Models/User.cs | ETsukarev/UserOperationsApp | 1 | 7040596 | namespace MiddleWareWebApi.Models
{
/// <summary>
/// 1. Логин
///
/// 2. Пароль
///
/// 3. Фамилия
///
/// 4. Имя
///
/// 5. Отчество
///
/// 6. Телефон
///
/// 7. Роль
/// </summary>
public class User
{
public int Id { get; set; }
... |
src/server/EventQueue.Server/EventQueue.Server.Common/Models/EventData.cs | Alschy/EventQueue | 0 | 7040597 | <reponame>Alschy/EventQueue
namespace EventQueue.Server.Common.Models
{
public class EventData
{
public object OrgEventData { get; set; }
public object EventDataContext { get; set; }
public string EventDataIdentifier { get; set; }
}
}
|
MIMWebClient/Core/Player/Spells/Invis.cs | zeeneddie/ArchaicQuest | 82 | 7040599 | <filename>MIMWebClient/Core/Player/Spells/Invis.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MIMWebClient.Core.Item;
using MIMWebClient.Core.World.Items.MiscEQ.Light;
namespace MIMWebClient.Core.Player.Skills
{
using MIMWebClient.Core... |
cheatsheets/cs/zzz-cs-async.cs | questsin/cheats | 0 | 7040600 | private async Task<IActionResult> HandleCloudEvent(string jsonContent)
private async Task<IActionResult> HandleGridEvents(string jsonContent)
private async Task<JsonResult> HandleValidation(string jsonContent)
private async Task RefreshAsync ()
private static async Task CreateDocumentIfNotExistsAsync(
private stat... |
Drf_OCR_Manager_UI/SysControls/register_text.cs | zuiyuewentian/local_-ocr_-manager | 0 | 7040602 | <filename>Drf_OCR_Manager_UI/SysControls/register_text.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Drf_OCR_Manager_UI.SysControls
{
... |
src/Internal/Utils/NativeMethods.cs | sunthx/ATP | 0 | 7040603 | <filename>src/Internal/Utils/NativeMethods.cs
using System;
using System.Runtime.InteropServices;
using Vanara.PInvoke;
namespace ATP.Internal.Utils
{
internal class NativeMethods
{
/// <summary>
/// 还原窗口
/// </summary>
public static void BringWindowToFront(uint currentProcessI... |
RouteHandlers.cs | UltiRequiem/string-utilities-api | 4 | 7040604 | <reponame>UltiRequiem/string-utilities-api
namespace StringUtilitiesAPI;
internal static class RouteHandlers
{
public static string Reverse(string text)
{
return new string(text.ToCharArray().Reverse().ToArray());
}
public static bool Palindrome(string text)
{
return text.SequenceE... |
Clunker/Editor/SelectedEntity/SelectEntityRequest.cs | my0n/Wrecker | 42 | 7040605 | using DefaultEcs;
using System;
using System.Collections.Generic;
using System.Text;
namespace Clunker.Editor.SelectedEntity
{
public struct SelectEntityRequest
{
public Entity Entity;
}
}
|
MicroRPC.Contract/ICalculate.cs | fengdingfeilong/MicroRPC | 2 | 7040606 | <filename>MicroRPC.Contract/ICalculate.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MicroRPC.ContractDemo
{
public interface ICalculate
{
int Add(int a, int b);
int Sub(int a, int b);
... |
Assets/Scripts/Game/GameItem/Prop/Item/PassiveItem/ItemBreakfast.cs | zekron/The-Binding-of-Isaac-Unity | 0 | 7040607 | <filename>Assets/Scripts/Game/GameItem/Prop/Item/PassiveItem/ItemBreakfast.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemBreakfast : PassiveItem
{
protected override void SetID()
{
ID = 25;
}
protected override void Effect()
{
p... |
dotnet/rest/RestConsole/RestClient/GitHub/Example.cs | orri93/examples | 0 | 7040608 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestClient.GitHub
{
public static class Example
{
public const string BaseUrl = "https://api.github.com";
public const string Url = BaseUrl + "/r... |
src/Rin/Extensions/ResponseDataCaptureStreamExtensions.cs | vip32/Rin | 1 | 7040609 | <reponame>vip32/Rin
using Microsoft.AspNetCore.Http;
using Rin.Features;
using Rin.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Rin.Extensions
{
public static class ResponseDataCaptureStreamExtensions
{
public static void EnableResponse... |
src/CheckoutSdk/Payments/Hosted/HostedPaymentsClient.cs | oferns/checkout-sdk-net | 13 | 7040610 | using System.Threading;
using System.Threading.Tasks;
namespace Checkout.Payments.Hosted
{
public class HostedPaymentsClient : AbstractClient, IHostedPaymentsClient
{
private const string HostedPaymentsPath = "hosted-payments";
public HostedPaymentsClient(IApiClient apiClient, CheckoutConfigu... |
src/Orangebeard.Client/Resources/ServiceLaunchResource.cs | orangebeard-io/dotnet-client | 0 | 7040611 | using Orangebeard.Client.Abstractions.Filtering;
using Orangebeard.Client.Abstractions.Requests;
using Orangebeard.Client.Abstractions.Resources;
using Orangebeard.Client.Abstractions.Responses;
using System.Net.Http;
using System.Threading.Tasks;
namespace Orangebeard.Client.Resources
{
class ServiceLaunchResour... |
src/ConsulSharp/V1/ACL/Policy/PolicyModel.cs | rajanadar/ConsulSharp | 2 | 7040612 | <filename>src/ConsulSharp/V1/ACL/Policy/PolicyModel.cs
using Newtonsoft.Json;
namespace ConsulSharp.V1.ACL.Policy
{
public class PolicyModel : AbstractPolicy
{
[JsonProperty("ID")]
public string PolicyId { get; set; }
[JsonProperty("Hash")]
public string Hash { get; set; }
... |
functional-tests/bdd-tests/TestBaseStructuralAlterations.cs | brianorwhatever/jag-lcrb-carla-public | 0 | 7040614 | using Microsoft.Extensions.Configuration;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Support;
using OpenQA.Selenium.Support.UI;
using Protractor;
using System;
using Xunit;
using Xunit.Abstractions;
using Xunit.Gherkin.Quick;
... |
native/mkl/src/imports/lapack/potrf.cs | 0xCM/z0 | 0 | 7040615 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Mkl
{
using System;
using System.Runtime.InteropServices;
using static MklCom... |
backend/src/Squidex.Domain.Apps.Core.Operations/Templates/Extensions/JsonArrayFluidValue.cs | ngxuansang/squidex | 1 | 7040616 | <reponame>ngxuansang/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
/... |
EscapeFromEnceladus/EscapeFromEnceladus/Entity/SolidColorEffect.cs | zachmu/escape-from-enceladus | 3 | 7040617 | <reponame>zachmu/escape-from-enceladus
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace Enceladus.Entity {
/// <summary>
/// Simple container for th... |
Orm/Xtensive.Orm/Sql/Model/PairedNodeCollection.cs | PopovKS/dataobjects-net | 0 | 7040618 | // Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
using System;
using System.Collections;
using System.Collections.Generic;
using Xtensive.Core;
namespace Xtensive.Sql.Model
{
/// <summary>
/// Represents paired collection of <see cref="Node"/... |
xna/trunk/Xenocide/Source/UI/Dialogs/YesNoDialog.cs | astyanax/Project-Xenocide | 1 | 7040619 | <reponame>astyanax/Project-Xenocide
#region Copyright
/*
--------------------------------------------------------------------------------
This source file is part of Xenocide
by Project Xenocide Team
For the latest info on Xenocide, see http://www.projectxenocide.com/
This work is licensed under the Creati... |
PerfettoCds/Pipeline/SourceDataCookers/PerfettoSchedSliceCooker.cs | markkeinz/Microsoft-Performance-Tools-Linux | 179 | 7040620 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using Microsoft.Performance.SDK;
using Microsoft.Performance.SDK.Extensibility;
using Microsoft.Performance.SDK.Extensibility.DataCooking;
using Microsoft.Performance.SDK.Extensibility.D... |
SLang.NET.Test/TestsRepository.cs | ratijas/SLang.NET | 1 | 7040621 | <reponame>ratijas/SLang.NET
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace SLang.NET.Test
{
public class TestsRepository
{
public const string DefaultTestsDirectoryName = "tests";
public TestsRepository(DirectoryInfo baseDirectory = null)
... |
CodeEval/Easy/NiceAngles/NiceAngles.cs | joshimoo/Challenges | 1 | 7040622 | using System;
using System.IO;
namespace CodeEval.NiceAngles
{
/// <summary>
/// Nice Angles Challenge
/// Difficulty: Easy
/// Description: Convert angle values to sexagesimal format.
/// Problem Statement: https://www.codeeval.com/open_challenges/160/
/// </summary>
class NiceAngles
... |
src/JSInterop/Microsoft.JSInterop/src/Infrastructure/DotNetInvocationResult.cs | tomaswesterlund/aspnetcore | 13,846 | 7040624 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.JSInterop.Infrastructure
{
/// <summary>
/// Result of a .NET invocation that is returned to JavaScript.
/// </summary>
public read... |
src/Microsoft.AspNet.SignalR.Core/Messaging/DefaultSubscription.cs | MacawNL/SignalR | 2 | 7040625 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Infrastructure;
na... |
Mach.Banking.Fio/FioBank.cs | machv/fio-banking-api | 1 | 7040626 | <gh_stars>1-10
using System;
using System.IO;
using System.Net;
using System.Text;
namespace Mach.Banking.Fio
{
public class FioBank
{
private const string _base = "https://www.fio.cz/ib_api/rest/";
private readonly string _token;
public FioBank(string token)
{
_to... |
src/ResourceManagement/CustomerInsights/Generated/Models/HubBillingInfoFormat.cs | abharath27/azure-libraries-for-net | 0 | 7040627 | <filename>src/ResourceManagement/CustomerInsights/Generated/Models/HubBillingInfoFormat.cs
// <auto-generated>
// 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 Co... |
src/Worker.Logic/CatalogScan/Drivers/LoadPackageVersion/PackageVersionEntity.cs | joelverhagen/ExplorePackages | 9 | 7040628 | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Azure;
using NuGet.Versioning;
namespace NuGet.Insights.Worker.LoadPackageVersion
{
public class PackageVersionE... |
eBay.Service.Standard/Core/Sdk/ApiException.cs | mccj/eBay.Service.Standard | 1 | 7040629 | #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
// found at http://w... |
StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1002UnitTests.cs | morsiu/StyleCopAnalyzers | 0 | 7040630 | <filename>StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1002UnitTests.cs<gh_stars>0
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.SpacingRu... |
src/Xena.Contracts/Helpers/PayOnAccountDetailData.cs | EG-BRS/Xena.Contracts | 0 | 7040631 | namespace Xena.Contracts.Helpers
{
public class PayOnAccountDetailData
{
public long OrderTaskId { get; set; }
public decimal? Percentage { get; set; }
public decimal? Amount { get; set; }
}
} |
src/ApiPort/ApiPort.VisualStudio/Utils/TargetInformationStringConverter.cs | ghmoore/dotnet-apiport | 694 | 7040632 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ApiPortVS.Resources;
using System;
using System.Globalization;
using System.Windows.Data;
namespace ApiPortVS.Utils
{
internal class TargetInformationString... |
UnitTestProject1/JsonWriters/Base/JsonWriterContainerTests.cs | blqw/blqw-Json | 0 | 7040633 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using blqw.Serializable;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace blqw.Serializable.Tests
{
[TestClass()]
public class JsonWriterContai... |
01.Exam/YouTubePlaylistsSystem/Web/YouTubePlaylistsSystem.Web.App/App_Start/NinjectWebCommon.cs | vassildinev/ASP.NET-Web-Forms | 0 | 7040634 | <reponame>vassildinev/ASP.NET-Web-Forms<filename>01.Exam/YouTubePlaylistsSystem/Web/YouTubePlaylistsSystem.Web.App/App_Start/NinjectWebCommon.cs
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(YouTubePlaylistsSystem.Web.App.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownM... |
Sources/Imaging/Microsoft.Psi.Imaging/IDepthImageCompressor.cs | pat-sweeney/psi | 1 | 7040635 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Imaging
{
using Microsoft.Psi.Common;
using Microsoft.Psi.Serialization;
/// <summary>
/// Defines type of compression to use when serializing out a <see cref="DepthImage"/>.
//... |
Firmware Update USB Device sample/C#/BackgroundTask/UpdateFirmwareTask.cs | mfloresn90/CSharpSources | 1 | 7040636 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading... |
Source/Tests/Trakt.NET.Objects.Post.Tests/Scrobbles/Responses/Json/Reader/MovieScrobblePostResponseObjectJsonReader/MovieScrobblePostResponseObjectJsonReader_Json_String_Tests.cs | henrikfroehling/Trakt.NET | 39 | 7040637 | <reponame>henrikfroehling/Trakt.NET
namespace TraktNet.Objects.Post.Tests.Scrobbles.Responses.Json.Reader
{
using FluentAssertions;
using System;
using System.Threading.Tasks;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Enums;
using TraktNet.Objects.Post.Scrobbles.Responses;
using ... |
src/common/MediaApps.Common/Helpers/ResourceHelper.cs | wernervn/media-apps | 0 | 7040638 | <reponame>wernervn/media-apps
using System.Reflection;
using System.Text;
namespace MediaApps.Common.Helpers
{
/// <summary>
/// Retrieve values from embedded resources
/// </summary>
public static class ResourceHelper
{
/// <summary>
/// Retrieve string value from embedded resourc... |
CameraControl.Plugins/ToolPlugins/GenThumbPlugin.cs | marcingorecki/digiCamControl | 1 | 7040639 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CameraControl.Core.Interfaces;
using CameraControl.Core.Translation;
namespace CameraControl.Plugins.ToolPlugins
{
class GenThumbPlugin : IToolPlugin
{
public bool Execute()
{
... |
Methods - Lab/Temperature Conversion/Program.cs | giggals/Software-University | 0 | 7040640 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Temperature_Conversion
{
class Program
{
static void Main(string[] args)
{
double fahrenheit = double.Parse(Console.ReadLine());
double celsius =... |
WpfApplication1/Views/SpecialViews/AffordanceColorView.xaml.cs | vitorbellotto/LoadProfileGenerator | 0 | 7040641 | <reponame>vitorbellotto/LoadProfileGenerator
//-----------------------------------------------------------------------
// <copyright>
//
// Copyright (c) TU Chemnitz, Prof. Technische Thermodynamik
// Written by <NAME>.
// Redistribution and use in source and binary forms, with or without modification, are permitted p... |
TweetPublisher/Properties/Settings.Designer.cs | brentstineman/EventHubandDataLake | 0 | 7040642 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... |
Yutbube/Extensions/SignalRExtensions.cs | mercenaryntx/yutbube | 1 | 7040643 | using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.SignalRService;
namespace Yutbube.Extensions
{
public static class SignalRExtensions
{
public static async void Publish(this IAsyncCollector<SignalRMessage> signalR, string target, params object[] args)
{
await... |
src/PVM.Core/Runtime/IExecution.cs | dmn1k/PVM.NET | 3 | 7040644 | #region License
// -------------------------------------------------------------------------------
// <copyright file="IExecution.cs" company="PVM.NET Project Contributors">
// Copyright (c) 2015 PVM.NET Project Contributors
// Authors: <NAME> (<EMAIL>)
//
// Licensed under the Apache License, V... |
Spaces/ISpace.cs | SinZ163/SwinMonopoly | 1 | 7040645 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SwinMonopoly.Spaces
{
interface ISpace
{
string Name { get; }
void OnLand(Player person);
}
}
|
Core/Core/Parser/Matchers/RelativeLocationMatcher.cs | Blecki/RMUDReboot | 1 | 7040646 | <reponame>Blecki/RMUDReboot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD
{
public partial class CommandFactory
{
public static CommandTokenMatcher RelativeLocation(String CaptureName)
{
return new RelativeLocationMatcher(Captu... |
src/Grillisoft.BufferManager/Statistics/BufferManagerStats.cs | gigi81/buffermanager | 1 | 7040647 | using Grillisoft.BufferManager.Events;
namespace Grillisoft.BufferManager.Statistics
{
public class BufferManagerStats
{
public readonly IAllocEvents Allocated = new AllocEvents();
public readonly IAllocEvents Cached = new AllocEvents();
public long Total => this.Allocated.Allocated ... |
HttpServer.Core/HttpServerContext.cs | rhorvald/HttpServer | 0 | 7040648 | using Castle.MicroKernel.Registration;
using Castle.Windsor;
using HTTPServer.Core.Abstractions;
using HTTPServer.Core.Attributes;
using HTTPServer.Core.Exceptions;
using HTTPServer.Core.Repositories;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using... |
Agora-C_Sharp-FPA-SDK/Unity/API-Example/examples/FpaServiceSample/FpaServiceSample.cs | AgoraIO-Community/Agora-Unity-FPA-SDK | 0 | 7040649 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Net;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Serialization;
using agora.fpa;
using agora.util;
using Logger = agora.util.Logger;
public class FpaServiceSample : MonoBehaviour
{
[Formerl... |
src/Zinc.WebServices/Rest/ExceptionHandler.cs | filipetoscano/Zinc | 0 | 7040650 | <filename>src/Zinc.WebServices/Rest/ExceptionHandler.cs
using Platinum;
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.ExceptionHandling;
namespace Zinc.WebServices.Rest
{
/// <summary>
/// Handles *any* unhandled exception which occurs as part of the
/// WebAPI ... |
3DSRNGTool/Gen6/Results/ResultW6.cs | GlacieredPyro/3DSRNGTool | 139 | 7040651 | using Pk3DSRNGTool.Core;
namespace Pk3DSRNGTool
{
public class ResultW6 : Result6, WildResult
{
public byte Slot { get; set; }
public bool IsSpecial { get; set; }
public byte Item { get; set; }
}
}
|
Inasync.PrimitiveAssert.Tests/IssueTests.cs | in-async/DeepAssert | 1 | 7040652 | <filename>Inasync.PrimitiveAssert.Tests/IssueTests.cs
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Inasync.Tests {
[TestClass]
... |
MinecraftMappings.NET/Minecraft/Java/Models/Block/DaylightDetector_Inverted.cs | null511/MinecraftMappings.NET | 0 | 7040653 | <filename>MinecraftMappings.NET/Minecraft/Java/Models/Block/DaylightDetector_Inverted.cs
using MinecraftMappings.Internal.Models.Block;
namespace MinecraftMappings.Minecraft.Java.Models.Block
{
public class DaylightDetector_Inverted : JavaBlockModel
{
public DaylightDetector_Inverted() : base("Dayligh... |
src/Server/WebMVC/Script/Scriptlet.cs | nikhilk/sharpen | 2 | 7040654 | <filename>src/Server/WebMVC/Script/Scriptlet.cs
// Scriptlet.cs
// Sharpen/Server
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
namespace Sharpen.Server.Script {
internal sealed class Scriptlet {
private string _scriptletType;
privat... |
src/System.Composition.Runtime/tests/ExportTests.cs | vkvenkat/corefx | 15 | 7040655 | <gh_stars>10-100
// 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.
using System.Composition;
using Xunit;
namespace System.Compostition.Runtime.Tests
{
public c... |
projects/Prototype/Prototype/Services/TestService.cs | thirdplay/TestSolution | 0 | 7040656 | using Microsoft.Practices.ServiceLocation;
using OfficeOpenXml;
using Prototype.Constants;
using Prototype.Mvc.DI;
using Prototype.Entities;
using Prototype.Models;
using Prototype.Repositories;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.We... |
udemy-01/Algorithms/Sorting/InsertionSortAlgorithm.cs | gfurtadoalmeida/study-algorithms | 0 | 7040657 | <filename>udemy-01/Algorithms/Sorting/InsertionSortAlgorithm.cs
namespace Algorithms.Sorting
{
public class InsertionSortAlgorithm : SortAlgorithm
{
public static readonly ISortAlgorithm Instance = new InsertionSortAlgorithm();
protected override void OnSort<T>(ref T[] array, int arrayLength)
... |
PartitionedStorage.Abstractions/PartitionsExtensions.cs | Staticsoft/PartitionedStorage | 0 | 7040658 | namespace Staticsoft.PartitionedStorage.Abstractions
{
public static class PartitionsExtensions
{
public static Partition<TData> Get<TData>(this Partitions partitions)
where TData : new()
=> partitions.Get<TData>(typeof(TData).Name);
public static PartitionFacto... |
Sculptor/Query/Builder.cs | samuelmaurice/sculptor | 1 | 7040659 | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using Sculptor.Database;
using Sculptor.Database.Connectors;
using Sculptor.Exceptions;
namespace Sculptor.Query
{
public class Builder<T> where T : Model<T>, new()
{
/// <summary>
/// The database connection instan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.