max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/dajet-data-scripting/visitors/Columns/BooleanBinaryExpressionVisitor.cs | zhichkin/dajet-data-scripting | 0 | 7048754 | using DaJet.Data.Scripting.SyntaxTree;
using Microsoft.SqlServer.TransactSql.ScriptDom;
using System;
using System.Collections.Generic;
namespace DaJet.Data.Scripting
{
internal sealed class BooleanBinaryExpressionVisitor : ISyntaxTreeVisitor
{
private IScriptingService ScriptingService { get; }
... |
src/Tincan.Web/Controllers/MessageController.cs | nringbaek/tincan | 0 | 7048755 | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Tincan.Cryptography;
using Tincan.Web.Controllers.Models;
namespace Tincan.Web.Controllers
{
[ApiController]
[Route("api/message")]
[Produces("application/json")]
public class MessageCont... |
src/WebApi.Client/BearerTokenProviders/Decorators/EnsureSuccessBearerTokenProviderDecorator.T1.cs | InformappNL/informapp-api-dotnet-client | 22 | 7048756 | using Informapp.InformSystem.WebApi.Client.Arguments;
using Informapp.InformSystem.WebApi.Client.Decorators;
using Informapp.InformSystem.WebApi.Client.Exceptions;
using Informapp.InformSystem.WebApi.Client.Requests;
using System.Threading;
using System.Threading.Tasks;
namespace Informapp.InformSystem.WebApi.Client.... |
src/Core/UI/CanvasContextExtensionMethods.cs | jam40jeff/CsJs | 0 | 7048757 | using System.Html.Media.Graphics;
using System.Runtime.CompilerServices;
namespace MorseCode.CsJs.UI
{
public static class CanvasContextExtensionMethods
{
[InstanceMethodOnFirstArgument]
public static void BeginPath(this CanvasContext canvasContext)
{
}
[InstanceMethodOnFirstArgument]
public static voi... |
ParkirOperator/frmOperator.cs | dwichan0905/ParkirKendaraan | 2 | 7048758 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ParkirCustomer {
public partial class frmOperator : Form {
... |
BlizzardApiReader.Starcraft2/Models/Criteria.cs | pointed-GG/BlizzardApiReader | 34 | 7048759 | <reponame>pointed-GG/BlizzardApiReader
using System;
using System.Collections.Generic;
using System.Text;
namespace BlizzardApiReader.Starcraft2.Models
{
public class Criteria
{
public string AchievementId { get; set; }
public string Description { get; set; }
public string EvaluationCl... |
AI_Class_05/AI_Class_05_Project/Assets/Steering/SteeringObstacleAvoidance.cs | joseppi/Unity_Handouts | 0 | 7048760 | <filename>AI_Class_05/AI_Class_05_Project/Assets/Steering/SteeringObstacleAvoidance.cs
using UnityEngine;
using System.Collections;
public class SteeringObstacleAvoidance : MonoBehaviour {
public LayerMask mask;
public float avoid_distance = 5.0f;
public static Ray raycast;
Object building;
Move move;
S... |
Libraries/SmartSql/Configuration/Tags/Where.cs | wsroot/AdminApp | 1 | 7048761 | <reponame>wsroot/AdminApp
using System;
using System.Collections.Generic;
using System.Text;
using SmartSql.Abstractions;
using System.Linq;
namespace SmartSql.Configuration.Tags
{
public class Where : Dynamic
{
public override TagType Type => TagType.Where;
public override string Prepend { ge... |
src/Lykke.Job.BlockchainBalancesReport/Clients/EosParkApi/EosParkApiClient.cs | LykkeCity/Lykke.Tools.BlockchainBalancesReport | 0 | 7048763 | using System.Threading.Tasks;
using Flurl;
using Flurl.Http;
namespace Lykke.Job.BlockchainBalancesReport.Clients.EosParkApi
{
public class EosParkApiClient
{
private readonly string _url;
private readonly string _apiKey;
public EosParkApiClient(string url, string apiKey)
{
... |
Assets/Resources/Scripts/Management/PanicButtons.cs | gadsu/BetweenTheWalls | 0 | 7048764 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PanicButtons : MonoBehaviour {
// Update is called once per frame
void Update () {
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKey(KeyCode.R))
{
GameManager.Instance.SceneSwitch.ChangeLevel("Office Level");
} ... |
RS2-Seminarski/Data/ViewModels/IzvjestajVM.cs | Safijah/RS2_Seminarski-AplikacijaZaVolontere | 0 | 7048765 | <filename>RS2-Seminarski/Data/ViewModels/IzvjestajVM.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Data.ViewModels
{
public class IzvjestajVM
{
public int Id { get; set; }
public string Cilj { get; set; }
public string VolonterskeAktivnosti { get; set;... |
src/WWTMVC5/Models/BlobDetails.cs | pkgw/wwt-website | 45 | 7048766 | <reponame>pkgw/wwt-website<gh_stars>10-100
//-----------------------------------------------------------------------
// <copyright file="BlobDetails.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation 2011. All rights reserved.
// </copyright>
//---------------------------------------------... |
bgg/battlefield/Battlefield.cs | StStep/battle-game-godot | 2 | 7048768 | <gh_stars>1-10
using Godot;
using System;
using System.Collections.Generic;
using System.Linq;
public class Battlefield : Node
{
private PackedScene _deployUnitScene = GD.Load<PackedScene>("res://units/DragUnit.tscn");
private PackedScene _moveUnitScene = GD.Load<PackedScene>("res://units/MoveUnit.tscn");
... |
src/PowerSchemaFlyout/Models/Configuration/Configurations.cs | Cheerpipe/PowerSchemaFlyout | 0 | 7048769 | using System.Collections.Generic;
namespace PowerSchemaFlyout.Models.Configuration
{
public class Configurations
{
public List<Preset> Presets { get; set; }
public CpuUsageDetector CpuUsageDetector { get; set; }
public GpuUsageDetector GpuUsageDetector { get; set; }
public Def... |
Samples/OSS.Clients.Pay.Samples/Controllers/WechatController.cs | QingMuHai/OSS.Clients.Pay | 199 | 7048770 | using Microsoft.AspNetCore.Mvc;
using System.IO;
using System.Text.Json;
using System.Threading.Tasks;
using OSS.Clients.Pay.Wechat;
using OSS.Clients.Pay.Wechat.Basic;
using OSS.Common.BasicMos.Resp;
using OSS.Common.Extension;
namespace OSS.Clients.Pay.Samples.Controllers
{
public class WechatController : Contr... |
src/EasyRpc.Abstractions/Path/ExposeDefaultMethod.cs | ipjohnson/EasyRpc | 92 | 7048771 | <filename>src/EasyRpc.Abstractions/Path/ExposeDefaultMethod.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyRpc.Abstractions.Path
{
/// <summary>
/// Http method to use when exposing methods
/// </summary>
public enum ExposeDefaultMethod
{
... |
Assets/Scripts/LightScript.cs | JeffKomarow/Unity-Lighting | 0 | 7048772 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightScript : MonoBehaviour
{
public Transform actor;
Transform lightATransform;
Light lightAColor;
public Color lightColor;
// Start is called before the first frame update
void Start()
{
... |
lab_24_inheritance/Program.cs | jaspreetkaur28/Training | 0 | 7048773 | <filename>lab_24_inheritance/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab_24_inheritance
{
class Program
{
static void Main(string[] args)
{
var p01 = new Parent();
p01.Name ... |
unity-client/Assets/Tutorial/Scripts/TutorialSteps/TutorialStep_GenesisPlaza.cs | menduz/explorer | 0 | 7048774 | namespace DCL.Tutorial
{
public class TutorialStep_GenesisPlaza : TutorialStep
{
public override void OnStepStart()
{
base.OnStepStart();
HUDController.i?.minimapHud.SetVisibility(true);
HUDController.i?.expressionsHud.SetVisibility(false);
Tutoria... |
Web/Controllers/Api/UserApiController.cs | VKBGroup/core2ntier | 0 | 7048775 | using System.Collections.Generic;
using AppCore.Models;
using AppCore.Services;
using Microsoft.AspNetCore.Mvc;
namespace Web.Controllers.Api
{
[Produces("application/json")]
[Route("api/User")]
public class UserApiController : Controller
{
private readonly IUserService _userService;
... |
src/biz.dfch.CS.SampleIPA.StockManagement/Connected Services/OData Service Stockmanagement/StockmanagementAPI.cs | dfensgmbh/biz.dfch.CS.SampleIPA.StockManagement | 0 | 7048776 | /**
* Copyright 2020 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
Src/UI/P9SongTool/Models/LyricConfig.cs | PikminGuts92/Mackiloha | 7 | 7048777 | <reponame>PikminGuts92/Mackiloha
using System;
using System.Collections.Generic;
using System.Text;
namespace P9SongTool.Models
{
public class LyricConfig
{
public string Name { get; set; }
public LyricEvent[] Lyrics { get; set; }
}
}
|
Programming Fundamentals/Exercise 6 - Objects and Classes/06.VehicleCatalogue/Program.cs | HNochev/SoftUni-CSharp-Software-Engineering | 1 | 7048778 | <reponame>HNochev/SoftUni-CSharp-Software-Engineering
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace _06.VehicleCatalogue
{
class Program
{
static void Main(string[] args)
{
List<V... |
ResumeConstructor/HOT4/Views/Resume/Index.cshtml | nortin89/myWork | 1 | 7048779 | @model IEnumerable<HOT4.Models.Resume>
@{
ViewBag.Title = "Index";
}
<h2>Contact Information</h2>
<div class="row">
<div class="col-md-8">
@using (Html.BeginForm("Index", "Resume", FormMethod.Get))
{
<div class="input-group-append">
<input name="q" class="form-control" type="text" value="@... |
TheMovie.Model/Base/Video.cs | DarkSideMoon/TheMovie | 3 | 7048780 | using Newtonsoft.Json;
namespace TheMovie.Model.Base
{
public class Video
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("iso_639_1")]
public string LanguageSmall { get; set; }
[JsonProperty("iso_3166_1")]
public string Language { get; set... |
src/CoreHook.IPC/Messages/CustomMessage.cs | fengjixuchui/CoreHook | 224 | 7048781 |
namespace CoreHook.IPC.Messages
{
/// <summary>
/// Define the basic template for creating message data.
/// </summary>
public abstract class CustomMessage
{
/// <summary>
/// A unique character that separates a list of messages.
/// </summary>
protected const char ... |
.Src/Extend/System.String/String.Contains.cs | DaveSenn/PortableExtensions | 38 | 7048782 | #region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Extend
{
public static partial class StringEx
{
/// <summary>
/// Checks whether a specified substring occurs within the given string, or not.
/// </summary>
/// <exception cref="... |
Assets/Scripts/Behaviours/CharacterModelChanger.cs | GhodelApps/SanAndreasUnity | 1,169 | 7048783 | <reponame>GhodelApps/SanAndreasUnity
using UnityEngine;
namespace SanAndreasUnity.Behaviours
{
public class CharacterModelChanger : MonoBehaviour
{
public KeyCode actionKey = KeyCode.P;
private void Update()
{
if (Input.GetKeyDown(actionKey) && GameManager.CanPlayerReadI... |
inject-function.cs | ltdat6499/virus-trojan | 1 | 7048784 | private void StartHumanInstrumentalityProject(){
System.Diagnostics.Process.Start(@"C:\Users\" + userName + "\\Documents\\Eva\\EvaShogoki.exe");
}
private void CopyEvaShogoki(){
string fileName = "Eva";
string sourcePath = Application.StartupPath + "\\Eva";
string targetPath = @"C:\Users\" + userName +... |
Runtime/Triggers/KillZone.cs | JamesLaFritz/CoreFrameWork | 2 | 7048785 | <filename>Runtime/Triggers/KillZone.cs
using UnityEngine;
public class KillZone : MonoBehaviour
{
[SerializeField, Tag] private string m_PlayerTag = "Player";
[SerializeField] private BoolReference m_playerDead;
private void OnTriggerEnter(Collider other)
{
Debug.Assert(other != null, nameof(... |
Assets/Effects/Scripts/Share/FadeInOutLight.cs | sevenred1995/ARPG_project | 3 | 7048786 | <gh_stars>1-10
using UnityEngine;
public class FadeInOutLight : MonoBehaviour
{
public float StartDelay = 0;
public float FadeInSpeed = 0;
public float FadeOutDelay = 0;
public float FadeOutSpeed = 0;
public bool FadeOutAfterCollision;
public bool UseHideStatus;
private Light goLight;
private float o... |
MVC/Softuni.Community.Data.Models/UserQuestionDisLikes.cs | tmollov/Softuni.Community | 2 | 7048787 | namespace Softuni.Community.Data.Models
{
public class UserQuestionDisLikes
{
public UserQuestionDisLikes() { }
public UserQuestionDisLikes(int questionId, CustomUser user)
{
this.QuestionId = questionId;
this.User = user;
}
public int Id { get; ... |
Core/Blocks/Container/ContainerBlock.cs | ghuntley/StructuredEditor | 32 | 7048788 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using GuiLabs.Editor.Actions;
using GuiLabs.Editor.Lists;
using GuiLabs.Utils;
namespace GuiLabs.Editor.Blocks
{
public abstract partial class ContainerBlock : Block
{
#region ctor
public Containe... |
examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Dao/Dao/ISupportsSave.cs | MaferYangPointJun/Spring.net | 0 | 7048789 | <reponame>MaferYangPointJun/Spring.net<filename>examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Dao/Dao/ISupportsSave.cs
namespace Spring.Northwind.Dao
{
/// <summary>
/// Role interface for DAOs that support saves and updates to entities.
/// </summary>
/// <typeparam name="TEntit... |
src/BizTalk.Web.Monitoring.Site/Controllers/ProcessingStepController.cs | icraftsoftware/BizTalk.Factory | 4 | 7048790 | #region Copyright & License
// Copyright © 2012 - 2013 <NAME>, <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... |
TechnologyIndustries/Win.TechnologyIndustries/MenuForm.Designer.cs | juliocesarojas/TechnologyIndustries | 0 | 7048791 | namespace Win.TechnologyIndustries
{
partial class MenuForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Au.Editor/App/Menus.cs | qmgindi/Au | 7 | 7048792 | <reponame>qmgindi/Au
using Au.Controls;
using Microsoft.Win32;
using Au.Tools;
static class Menus
{
[Command(target = "Files")]
public static class File
{
[Command(target = "", image = "*Typicons.DocumentAdd #008EEE")]
public static class New
{
static FileNode _New(string name) => App.Model.NewItem(name, ... |
src/Tests/Plugins.Tests/CoreTests/DefaultServiceTests.cs | papayet974/XrmFramework | 0 | 7048793 | <filename>src/Tests/Plugins.Tests/CoreTests/DefaultServiceTests.cs
// Copyright (c) <NAME> (CGO Conseils). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Crm.Sdk.Messages;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mic... |
src/docfx/Models/FileMetadataPairs.cs | StevenTCramer/docfx | 4 | 7048794 | <reponame>StevenTCramer/docfx<gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
... |
tests/src/CoreMangLib/cti/system/multicastdelegate/multicastdelegatector.cs | CyberSys/coreclr-mono | 10 | 7048795 | using System;
using System.Security;
public class MulticastDelegateCtor
{
#region Public Method
public bool RunTests()
{
bool retVal = true;
TestLibrary.TestFramework.LogInformation("[Positive]");
retVal = PosTest1() && retVal;
retVal = PosTest2() && retVal;
retVal ... |
src/Hprose/AssemblyInfo.cs | lovecruel/hprose1.x-dotnet | 0 | 7048796 | namespace Hprose {
public class AssemblyInfo {
public const string Version = "1.5";
#if ClientOnly
public const string Name = "Hprose Client";
public const string FileName = "Hprose.Client.dll";
#else
public const string Name = "Hprose";
public const string FileName =... |
Editor/Settings/ScriptableObjectSettingsProvider.cs | krisrok/com.hextantstudios.utilities | 10 | 7048797 | // Copyright 2021 by <NAME>. https://HextantStudios.com
// This work is licensed under CC BY 4.0. http://creativecommons.org/licenses/by/4.0/
using UnityEditor;
using UnityEngine;
namespace Hextant.Editor
{
using Editor = UnityEditor.Editor;
// SettingsProvider helper used to display settings for a Scriptable... |
src/STACK/Components/Interaction/HotspotSprite.cs | advdotnet/AdventuresDotNet | 16 | 7048798 | <filename>src/STACK/Components/Interaction/HotspotSprite.cs
using Microsoft.Xna.Framework;
using System;
namespace STACK.Components
{
/// <summary>
/// Hotspot described by a sprite component. Can be rectangular or pixel perfect.
/// </summary>
[Serializable]
public class HotspotSprite : Hotspot
... |
ORM Cookbook/Recipes.ServiceStack/Entities/EmployeeDetail.cs | diev/DotNet-ORM-Cookbook | 247 | 7048799 | using ServiceStack.DataAnnotations;
namespace Recipes.ServiceStack.Entities
{
[Alias("EmployeeDetail")]
[Schema("HR")]
public partial class EmployeeDetail
{
[PrimaryKey, AutoIncrement]
[Alias("EmployeeKey")]
public int Id { get; set; }
[Required]
[StringLength(... |
CoinTrackApi.Web/Controllers/CoinsController.cs | stackpond/cointrack-api | 0 | 7048800 | using CoinTrackApi.Application.Commands;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace CoinTrackApi.Web.Controllers
{
[ApiController]
[Route("api")]
public class CoinsController : ControllerBase
{
private readonly IMediator _mediator;
public Co... |
Assets/Scripts/Map Visuals/SatelliteImageService.cs | mikkokotola/3Dmaps | 2 | 7048802 | <filename>Assets/Scripts/Map Visuals/SatelliteImageService.cs
using System;
using UnityEngine;
/// <summary>
/// Static class that returns a SatelliteImage object containing current satellite image.
/// </summary>
public static class SatelliteImageService {
public static SatelliteImage satelliteImage;
public stat... |
src/ControlGallery/src/Xamarin.Forms.Controls.Issues.Shared/Issue11794.xaml.cs | pictos/maui | 1 | 7048803 | <reponame>pictos/maui
using System;
using System.Collections.ObjectModel;
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
namespace Microsoft.Maui.Controls.ControlGallery.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 11794, "[Bug] RefreshView with Collec... |
src/backend/InsightDerm.Host.Backend/Controllers/ConsultationsController.DiagnosticImages.cs | nrubiano/InsightDerm | 0 | 7048804 | using System;
using InsightDerm.Core.Dto;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
namespace InsightDerm.Host.Backend.Controllers
{
public partial class ConsultationsController : ControllerBase
{
[HttpGet]
[Route("{id}/images")]
public IActionResult GetDiag... |
NorthwindWindowsStoreService/NorthwindWindowsStoreService/App_Start/CollectionJsonConfig.cs | krzysztofkolek/NorthwindWindowsStore | 0 | 7048805 | <filename>NorthwindWindowsStoreService/NorthwindWindowsStoreService/App_Start/CollectionJsonConfig.cs<gh_stars>0
namespace NorthwindWindowsStoreService.SampleApi
{
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Http;
using CollectionJsonFormatter;
... |
src/GovUk.Education.ExploreEducationStatistics.Admin/Services/Interfaces/IFileUploadsValidatorService.cs | luke-h1/explore-education-statistics | 0 | 7048806 | using System;
using System.Threading.Tasks;
using GovUk.Education.ExploreEducationStatistics.Common.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace GovUk.Education.ExploreEducationStatistics.Admin.Services.Interfaces
{
public interface IFileUploadsValidatorService
{
Ta... |
FileEncryptSample/Form1.cs | hibara/FileEncryptSample | 1 | 7048807 | <reponame>hibara/FileEncryptSample<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.IO.Compression;
using System.Security.Cryptography;
using System.Windows.Forms;
namespace FileEncryptSample
{
public partial class Form1 : Form
{
//Encrypt or Decrypt t... |
test/Microsoft.Azure.WebJobs.Host.FunctionalTests/TestDoubles/FakeStorageBlockBlob.cs | alpaix/azure-jobs | 0 | 7048809 | <gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Thread... |
Assets/Scanner/Interfaces/IParser.cs | UncleJey/BCS | 214 | 7048810 | using BarcodeScanner.Parser;
using UnityEngine;
namespace BarcodeScanner
{
public interface IParser
{
ParserResult Decode(Color32[] colors, int width, int height);
}
} |
03. C# Advanced/07. Sets and Dictionaries Advanced - Lab/02. Average Student Grades/Program.cs | GeorgiGradev/SoftwareUniversity | 7 | 7048811 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _02._Average_Student_Grades
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
var dict = new Dictionary<string, List<d... |
Test/Caravan.Ribbon.Test/DefaultDynamicServerSource.cs | ctripcorp/caravan.net | 10 | 7048812 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.Ctrip.Soa.Caravan.Collections.Generic;
using Com.Ctrip.Soa.Caravan.Utility;
namespace Com.Ctrip.Soa.Caravan.Ribbon.ServerSource
{
class DefaultDynamicServerSource : DefaultServerSource, IDynamicServerSource
{
... |
src/PandocNet/Output/AsciiDocOut.cs | SimonCropp/PandocNet | 9 | 7048813 | <reponame>SimonCropp/PandocNet
namespace Pandoc;
/// <summary>
/// https://en.wikipedia.org/wiki/AsciiDoc
/// </summary>
public class AsciiDocOut :
OutOptions
{
public override string Format => "asciidoc";
} |
src/MarkdownGenerator/_Model/_Spans/MdLinkSpan.cs | ap0llo/markdown-generator | 19 | 7048814 | using System;
using Grynwald.MarkdownGenerator.Internal;
namespace Grynwald.MarkdownGenerator
{
/// <summary>
/// Represents a link element.
/// For specification see <see href="https://spec.commonmark.org/0.28/#links">CommonMark - Links</see>.
/// </summary>
public sealed class MdLinkSpan : MdSpa... |
src/SqlCrawler.Backend/Drivers/IServerDriver.cs | georgemclaughlin/sql-crawler | 10 | 7048815 | <filename>src/SqlCrawler.Backend/Drivers/IServerDriver.cs
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using SqlCrawler.Backend.Core;
namespace SqlCrawler.Backend.Drivers
{
public interface IServerDriver
{
bool CanHandle(string driverName);
string Bui... |
Aptacode.Forms.Shared/ViewModels/Factories/FormElementViewModelFactory.cs | BlazorHub/Aptacode.Forms | 0 | 7048816 | using Aptacode.Forms.Shared.Builders.Elements.Composite;
using Aptacode.Forms.Shared.Builders.Elements.Controls;
using Aptacode.Forms.Shared.Builders.Elements.Controls.Fields;
using Aptacode.Forms.Shared.Interfaces;
using Aptacode.Forms.Shared.Interfaces.Composite;
using Aptacode.Forms.Shared.Models.Elements;
using Ap... |
CodeEval/Easy/PenultimateWord/PenultimateWord.cs | joshimoo/Challenges | 1 | 7048817 | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
namespace CodeEval.PenultimateWord
{
/// <summary>
/// Penultimate Word Challenge
/// Difficulty: Easy
/// Description: find the next-to-last word in a string.
/// Problem Statement: https://www.codeeval.com/open_challenges/92... |
CloselinkAPI/Client/Configuration.cs | closelink/closelink-api-net | 0 | 7048818 | <reponame>closelink/closelink-api-net
using System;
namespace CloselinkAPI.Client
{
/// <summary>
/// Represents a set of configuration settings
/// </summary>
public class Configuration : IReadableConfiguration
{
#region Static Members
private static readonly object GlobalConfigS... |
src/TygaSoft/Web/ScriptServices/SharesService.asmx.cs | qq283335746/51QiWang | 0 | 7048819 | using System;
using System.Collections.Generic;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Security;
using System.Data;
using System.Data.SqlClient;
using CustomProvider;
namespace LotterySl... |
src/Couchbase/CouchbaseException`1.cs | csmarvz/couchbase-net-client | 211 | 7048820 | <filename>src/Couchbase/CouchbaseException`1.cs
using System;
using Couchbase.Core;
#nullable enable
namespace Couchbase
{
/// <summary>
/// Base exception for all exceptions generated or handled by the Couchbase SDK.
/// </summary>
public abstract class CouchbaseException<TContext> : CouchbaseExcepti... |
apiClientDotNet/Models/EventPayload.cs | Nexus452/symphony-api-client-dotnet | 3 | 7048821 | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using apiClientDotNet.Models.Events;
namespace apiClientDotNet.Models
{
public class EventPayload
{
[JsonProperty("messageSent")]
public MessageSent messageSent { get; set; }
[JsonProperty("share... |
src/IdNet6/src/Configuration/DependencyInjection/Options/EventsOptions.cs | simple0x47/IdNet6 | 1 | 7048822 | // Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace IdNet6.Configuration
{
/// <summary>
/// Configures events
/// </summary>
public class EventsOptions
{
/// <summary>... |
src/FluentHub/UserControls/ButtonBlocks/CommitButtonBlock.xaml.cs | fluenthub-community/FluentHub | 26 | 7048823 | using FluentHub.Octokit.Models;
using FluentHub.Services;
using FluentHub.ViewModels;
using FluentHub.ViewModels.UserControls.ButtonBlocks;
using Microsoft.Extensions.DependencyInjection;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace FluentHub.UserControls.ButtonBlocks
{
public sealed partial c... |
src/Http.API/Controllers/AuthController.cs | AterDev/DevCenter | 0 | 7048824 | <reponame>AterDev/DevCenter
using Share.Models.AuthDtos;
namespace Http.API.Controllers;
/// <summary>
/// 系统用户授权登录
/// </summary>
[Route("api/[controller]")]
[ApiController]
public class AuthController : ControllerBase
{
private readonly UserDataStore _store;
private readonly IConfiguration _config;
//p... |
ScadaComm/ScadaCommCommon/Channels/CommChannelView.cs | hhdang/scada | 4 | 7048825 | <filename>ScadaComm/ScadaCommCommon/Channels/CommChannelView.cs
/*
* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... |
XA_ClearTrafficTest/MainActivity.cs | ytabuchi/ClearTrafficTest | 0 | 7048826 | using Android.App;
using Android.OS;
using Android.Support.V7.App;
using Android.Runtime;
using Android.Widget;
using Android.Support.Design.Widget;
using Android.Webkit;
namespace XA_ClearTrafficTest
{
[Activity(Label = "@string/app_name", Theme = "@style/AppTheme", MainLauncher = true)]
public class MainAct... |
DapperApps.WinRT.Toolkit/DapperApps.WinRT.Toolkit/Controls/ImageControl.cs | Falven/DapperToolkit | 0 | 7048827 | <filename>DapperApps.WinRT.Toolkit/DapperApps.WinRT.Toolkit/Controls/ImageControl.cs
/*
* Copyright (c) Dapper Apps. All rights reserved.
* Use of this source code is subject to the terms of the Dapper Apps license
* agreement under which you licensed this sample source code and is provided AS-IS.
* If you did n... |
src/SkunkLab.Protocols/Coap/DateTimeExtensions.cs | lulzzz/SkunkLab.Core | 1 | 7048828 | <filename>src/SkunkLab.Protocols/Coap/DateTimeExtensions.cs
namespace SkunkLab.Protocols.Coap
{
using System;
using System.Text;
using System.Xml;
internal static class DateTimeExtensions
{
public static byte[] Convert(this DateTime? expires, string contentType)
{
Me... |
BookClub/Views/Authors/Edit.cshtml | KristaRutz/Week-12-Advanced-Databases-and-Authentication-Project | 4 | 7048829 | @model BookClub.Models.Author
<h1>Edit Author</h1>
@using (Html.BeginForm())
{
@Html.HiddenFor(m => m.AuthorId)
<div class="form-row">
<div class="form-group col-md-6">
@Html.LabelFor(m => m.FirstName)
@Html.TextBoxFor(m => m.FirstName, new { @class = "form-control"})
</div>
<div class="f... |
Introducao_a_Design_Patterns_com_dotNET/Localiza.Frotas.Domain/Veiculo.cs | mckatoo/localiza-bootcamp-2 | 0 | 7048830 | namespace Localiza.Frotas.Domain
{
public class Veiculo
{
public Veiculo(Guid id, string placa, string marca, string anoFabricacao)
{
this.Id = id;
this.Marca = marca;
this.Placa = placa;
this.AnoFabricacao = anoFabricacao;
}
public Guid Id { get; set; }
publi... |
LuaSTGEditorSharp.Core/Lua/StringParser.cs | Tru-Dev/LuaSTG-Editor-Sharp-X | 19 | 7048831 | <reponame>Tru-Dev/LuaSTG-Editor-Sharp-X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LuaSTGEditorSharp.Lua
{
public static class StringParser
{
public static string ParseLua(string s)
{
if (!s.Contains... |
IntegrationTestDS3/Ds3TestUtils.cs | RachelTucker/ds3_net_sdk | 4 | 7048832 | <reponame>RachelTucker/ds3_net_sdk<filename>IntegrationTestDS3/Ds3TestUtils.cs<gh_stars>1-10
/*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License").... |
src/Orchard.Web/Modules/Enjoy.Core/Services/WeChat/MessageBehaviors/UserGetCardWeChatMsgBehavior.cs | mannyqiao/enjoy | 0 | 7048833 | <gh_stars>0
namespace Enjoy.Core.Services
{
using Enjoy.Core.EnjoyModels;
using Enjoy.Core.Records;
using Enjoy.Core.WeChatModels;
using Orchard;
using Orchard.Logging;
public class UserGetCardWeChatMsgBehavior : WeChatMsgBehavior<GetCardCouponWeChatEventArgs>
{
private readonly ... |
GameServer.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderHost.cs | SeungHuLee/GameServer-MagicOnion | 0 | 7048834 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using Grpc.Core;
using UnityEngine;
namespace MagicOnion.Unity
{
/// <summary>
/// A host that integrates gRPC channel management with Unity lifecycle.
/// </summary>
/// <example>
/// <code>
/// // Initialize... |
Wpf/Microsoft.DataTransfer.WpfHost.Basics/Extensions/NotifyPropertyChangedExtensions.cs | costinBol/azure-documentdb-datamigrationtool | 338 | 7048835 | using Microsoft.DataTransfer.Basics;
using Microsoft.DataTransfer.Basics.Extensions;
using System;
using System.ComponentModel;
using System.Linq.Expressions;
namespace Microsoft.DataTransfer.WpfHost.Basics.Extensions
{
/// <summary>
/// Provides a set of static methods to simplify work with <see cref="INotif... |
src/RoslynMapper/IBuilder.cs | liuhongbo/RoslynMapper | 10 | 7048836 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoslynMapper
{
public interface IBuilder
{
string GenerateCode();
bool GenerateAssembly(string path);
}
}
|
Chapter06/Exercises/Exercise05/Product.cs | PacktWorkshops/The-C-Sharp-Workshop | 3 | 7048838 | <filename>Chapter06/Exercises/Exercise05/Product.cs
using System.Collections.Generic;
using System.Linq;
#nullable disable
namespace Chapter06.Exercises.Exercise05
{
public partial class Product
{
public int Id { get; set; }
public string Name { get; set; }
public int ManufacturerId {... |
TextStudio/TextStudio/FromUrl.cs | TheRealMichaelWang/TextStudio | 1 | 7048839 | <reponame>TheRealMichaelWang/TextStudio
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Windows.Forms;
namespace TextStudio
{
public partial class FromUrl : Form
... |
source/SharpTM/test/SharpTM.Persistence.Tests/FromDTO/ConstructFromDTOTests.cs | mhoyer/sharptm | 0 | 7048840 | <reponame>mhoyer/sharptm
// <copyright file="ConstructFromDTOTests.cs" company="Pixelplastic">
// Copyright (C) <NAME> 2009. All rights reserved.
// </copyright>
// <author><NAME></author>
// <email>mhoyer AT pixelplastic DOT de</email>
using Pixelplastic.TopicMaps.SharpTM.DataInterchange.XTM2.DTOs;
using Pixelpl... |
Tests/UnitTests.cs | victoria-t/TravisCI | 0 | 7048841 | <reponame>victoria-t/TravisCI<filename>Tests/UnitTests.cs
using System;
using NUnit.Framework;
namespace TravisCILab
{
[TestFixture]
public class Math
{
[Test]
public void Add_Valid_Titsworth()
{
Assert.AreEqual(3, Program.Add("1", "2"));
Assert.AreEqual(5, ... |
Source/SodiumInitLibrary.cs | Chewhern/LibsodiumBinding | 0 | 7048842 | <reponame>Chewhern/LibsodiumBinding
using System;
using System.Runtime.InteropServices;
namespace ASodium
{
public static partial class SodiumInitLibrary
{
#if IOS
const string DllName = "__Internal";
#else
const string DllName = "libsodium";
#endif
... |
SpectatorView/SpectatorViewSample/Assets/Addons/SpectatorViewRig/Scripts/SpectatorViewCamera.cs | matealex/MixedRealityCompanionKit | 204 | 7048843 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
namespace SpectatorView
{
pub... |
Src/NPlant/Core/TypeMetaModel.cs | mmuell/nplant | 59 | 7048844 | <reponame>mmuell/nplant<filename>Src/NPlant/Core/TypeMetaModel.cs
using System;
using System.Collections.Generic;
using System.Text;
using NPlant.Generation.ClassDiagraming;
namespace NPlant.Core
{
public class TypeMetaModel
{
private readonly Type _type;
private bool _isPrimitive;... |
Styx/Aegir/GeoCoordinates/GeoHash64.cs | Vanaheimr/Styx | 10 | 7048845 | <reponame>Vanaheimr/Styx<gh_stars>1-10
/*
* Copyright (c) 2010-2021, <NAME> <<EMAIL>>
* This file is part of Aegir <https://www.github.com/Vanaheimr/Aegir>
*
* 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 cop... |
ProgrammingProblems/ProgrammingProblems/LeetCodeUtil/CharUtil.cs | carloszq/Programming-Problems | 0 | 7048846 | using System;
namespace ProgrammingProblems.LeetCodeUtil
{
/// <summary>
/// Extension method class for <see cref="Char"/>
/// </summary>
public static class CharUtil
{
/// <summary>
/// Determines if a given char is a Plus-minus sign: '-'/'+'.
/// </summary>
... |
AwsLambdaMeasurer/ReportFactory.cs | wojciech-dabrowski/aws-lambda-measurer | 0 | 7048847 | <filename>AwsLambdaMeasurer/ReportFactory.cs<gh_stars>0
using System;
namespace AwsLambdaMeasurer
{
public class ReportFactory
{
public string CreateCsvReport(MeasurementsSummary summary)
{
throw new NotImplementedException();
}
}
} |
src/TestUtil/TestUtil/ConsoleLogger.cs | WOM-Platform/Registry | 0 | 7048848 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Logging;
namespace TestUtil {
public class ConsoleLogger<T> : ILogger<T> {
public IDisposable BeginScope<TState>(TState state) {
return null;
}
public bool IsEnabled(LogLevel logLevel... |
day15/Program.cs | matajoh/aoc_2020 | 0 | 7048849 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace day15
{
class Program
{
static long GetIndex(long[] prefix, long index)
{
Dictionary<long, long> lookup = new();
long spoken = -1;
for(int i=0; i<prefix.Length; ++i... |
code/dotnet/OptimizationEngineAPIMultiperiod/v1/src/FactSet.SDK.OptimizationEngineAPIMultiperiod/Model/OptimizerInputsExpectedReturnTerm.cs | factset/enterprise-sdk | 6 | 7048850 | /*
* fpo_mp_input
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.G... |
Codecamp.Common/Models/Speaker.cs | thewindev/CodecampUWP | 0 | 7048851 | namespace Codecamp.Common.Models
{
public class Speaker
{
public string Name { get; set; }
public string Bio { get; set; }
public string Company { get; set; }
public string Title { get; set; }
public string Photo { get; set; }
}
} |
Lists/MoreExercises/TakeSkipRope/Program.cs | petarcmarinov97/grafixoftIntership | 0 | 7048852 | <gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace TakeSkipRope
{
internal class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
List<int> numbers = new List<int>();
List... |
Kvaiha/Parsing/Nodes/StringLiteralNode.cs | shift-eleven/Kvaiha | 2 | 7048853 | <reponame>shift-eleven/Kvaiha
namespace Kvaiha.Parsing.Nodes;
public class StringLiteralNode : INode
{
public string Value { get; }
public StringLiteralNode(string value)
=> Value = value;
public string PrettyPrint()
=> $"StringNode::{Value}";
} |
Microsoft.SystemForCrossDomainIdentityManagement/Protocol/ISchemaIdentifier.cs | leonvanderiet/SCIMReferenceCode | 80 | 7048854 | <gh_stars>10-100
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.SCIM
{
public interface ISchemaIdentifier
{
string Value { get; }
st... |
sdk/keyvault/Azure.Security.KeyVault.Keys/src/ReleaseKeyResult.cs | gjy5885/azure-sdk-for-net | 3,268 | 7048855 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Text.Json;
namespace Azure.Security.KeyVault.Keys
{
/// <summary>
/// The key release result containing the released key.
/// </summary>
public class ReleaseKeyResult : IJsonDeserializable
... |
src/TssSqlToMongo/ReadModel/Events/BaseDevicesEvent.cs | mribichich/tss-sql-to-mongo | 0 | 7048857 | namespace TssSqlToMongo.ReadModel.Events
{
using System;
using TssSqlToMongo.Core;
public abstract class BaseDevicesEvent : BaseEvent
{
protected BaseDevicesEvent(Guid aggregateId, string userId)
: base(aggregateId, userId)
{
this.EntityType = "Device";
... |
Source/Microsoft.Teams.Apps.LearnNow/Models/ViewModels/ResourceModuleViewModel.cs | OfficeDev/microsoft-teams-apps-course-companion | 1 | 7048859 | <reponame>OfficeDev/microsoft-teams-apps-course-companion<gh_stars>1-10
// <copyright file="ResourceModuleViewModel.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// </copyright>
namespace Microsoft.Teams.Apps.LearnNow.Models
{
using System;
usi... |
csharp/ReferenceImplementation/MXP/ExtensionFragments/OpenMetaverseFragments.cs | MoysheBenRabi/setp | 1 | 7048860 |
// Generated from
using MXP.Common.Proto;
namespace MXP.Extentions.OpenMetaverseFragments.Proto
{
[System.Serializable, ProtoBuf.ProtoContract(Name=@"OmTypeListResponseExt")]
public partial class OmTypeListResponseExt : ProtoBuf.IExtensible
{
public OmTypeListResponseExt() {}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.