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 |
|---|---|---|---|---|
O3653/O3653-12 Deep dive into the Office 365 Video API/Completed Project/Utils/SpHelper.cs | andrewconnell/TrainingContent-Archive | 2 | 7033516 | <filename>O3653/O3653-12 Deep dive into the Office 365 Video API/Completed Project/Utils/SpHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
u... |
sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubRouteV2.cs | wenjlu-lgy/azure-sdk-for-net | 1 | 7033517 | <gh_stars>1-10
// <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 Code Generator.
// Changes may cause incorrect behavior and will be lost if th... |
pwiz_tools/Skyline/Model/DocSettings/Irt.cs | austinkeller/pwiz | 2 | 7033519 | <reponame>austinkeller/pwiz<filename>pwiz_tools/Skyline/Model/DocSettings/Irt.cs
/*
* Original author: <NAME> <jchilton .at. uw.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2011 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2... |
C#/C# 2/Homework Text Files/Problem 3. Line numbers/Program.cs | Telerik-Homework-ValentinRangelov/Homework | 1 | 7033520 | using System;
using System.IO;
//Write a program that reads a text file and inserts line numbers in front of each of its lines.
//The result should be written to another text file.
class Program
{
static void Main()
{
StreamReader Text = new StreamReader("FirstText.txt");
StreamWrite... |
WebBrowserSample/CookieAccessibleBrowser/MainWindow.xaml.cs | nuitsjp/WPF-Samples | 1 | 7033521 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Syst... |
NETCoreProject/NETCoreProject/Models/Customer.cs | vimendes/UserREST | 0 | 7033522 | <filename>NETCoreProject/NETCoreProject/Models/Customer.cs
using NETCoreProject.Data.Validators;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace NETCoreProject.Models
{
public class Customer : IEntity
{
[Required]
public int Id { get; set; }
... |
src/TeamCloud.Azure.Deployment/AzureDeploymentTemplate.cs | Chongruiyuan893/TeamCloud | 64 | 7033523 | /**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*/
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Linq;
namespace TeamCloud.Azure.Deployment
{
public interface IAzureDeploymentTe... |
TS SE Tool/CustomClasses/Save/Items/Job_offer_Data.cs | josemurillo94/TS-SE-Tool | 0 | 7033524 | <filename>TS SE Tool/CustomClasses/Save/Items/Job_offer_Data.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TS_SE_Tool.Save.Items
{
class Job_offer_Data : SiiNBlockCore
{
internal string target { get; set; } = "";
... |
NPOI.SS.Formula.Function/FunctionMetadataReader.cs | iNeverSleeeeep/NPOI-For-Unity | 1 | 7033525 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
namespace NPOI.SS.Formula.Function
{
/// Converts the text meta-data file into a <c>FunctionMetadataRegistry</c>
///
/// @author <NAME>
internal class FunctionMetadataRe... |
src/ClickTwice.Publisher.Core/Loggers/FileLogger.cs | leszekrogowski/ClickTwice | 11 | 7033526 | using System;
using System.Collections.Generic;
using System.IO;
namespace ClickTwice.Publisher.Core.Loggers
{
public class FileLogger : IPublishLogger
{
private List<string> Messages { get; set; } = new List<string>();
public FileLogger(bool includeBuildMessages = true)
{
... |
src/MessageKeeper/MessageKeeper.SqlServerBackend/SqlServerMessageKeeper.cs | Vanlightly/MessageKeeper | 0 | 7033527 | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MessageKeeper.SqlServerBackend
{
public class SqlServerMessageKeeper : IMessageKeeper
{
priva... |
02Fundamentals/Fundamentals01BSCSLExercise/StrongNumber/StartUp.cs | NIKONaaaaa/Basic | 0 | 7033528 | <filename>02Fundamentals/Fundamentals01BSCSLExercise/StrongNumber/StartUp.cs
namespace StrongNumber
{
using System;
class StartUp
{
static void Main()
{
string input = Console.ReadLine();
int number = int.Parse(input);
int total = 0;
foreach (... |
KeyVault.Acmebot/Contracts/RetryStrategy.cs | LarsenLP/keyvault-acmebot | 0 | 7033529 | using System;
using KeyVault.Acmebot.Internal;
namespace KeyVault.Acmebot.Contracts
{
public static class RetryStrategy
{
public static bool RetriableException(Exception exception)
{
return exception.InnerException is RetriableActivityException;
}
}
}
|
src/NTrospection.CLI/Services/ArgumentService.cs | WMaxZimmerman/NTrospection | 3 | 7033530 | using NTrospection.CLI.Core;
using NTrospection.CLI.Models;
using NTrospection.CLI.Repositories;
using System.Collections.Generic;
using System.Linq;
namespace NTrospection.CLI.Services
{
public interface IArgumentService
{
ProcessedArguments ProcessArgs(IReadOnlyList<string> args);
}
publ... |
Moana/Moana/Modules/SettingsModule/AppConfigInitial.cs | yuzhengyang/Moana | 12 | 7033531 | using Azylee.Core.IOUtils.TxtUtils;
using Moana.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moana.Modules.SettingsModule
{
public class AppConfigInitial
{
public static void Init()
{
R.WakaTi... |
CampfireNet/CampfireChat.Core/ChatRoomTable.cs | jpaberc/CampfireNet | 18 | 7033532 | using System.Collections.Concurrent;
using System.Collections.Generic;
using CampfireNet;
using CampfireNet.Identities;
namespace CampfireChat {
public class ChatRoomTable {
private readonly ConcurrentDictionary<IdentityHash, ChatRoomContext> descriptorsByRoomIdHash = new ConcurrentDictionary<IdentityHash, Ch... |
src/MassTransit/Transformation/MessageTransformPropertyContext.cs | kjrobrien/MassTransit | 1 | 7033533 | <filename>src/MassTransit/Transformation/MessageTransformPropertyContext.cs<gh_stars>1-10
namespace MassTransit.Transformation
{
using System;
using Middleware;
public class MessageTransformPropertyContext<TProperty, TInput> :
ProxyPipeContext,
TransformPropertyContext<TProperty, TInput>
... |
src/Hummingbird.Extensions.Idempotency/Abstractions/IRequestManager.cs | guoming/Hummingbird | 34 | 7033534 | <filename>src/Hummingbird.Extensions.Idempotency/Abstractions/IRequestManager.cs
using System;
using System.Threading.Tasks;
namespace Hummingbird.Extensions.Idempotency
{
public interface IRequestManager
{
ClientRequest Find(string id);
ClientRequest CreateRequestForCommand<T,R>(
... |
QTD/QTD/Entities/BaseTower.cs | SquirtingElephant/QTD | 0 | 7033535 | <reponame>SquirtingElephant/QTD<filename>QTD/QTD/Entities/BaseTower.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using ... |
CS-PipeChanger/Loader.cs | Headkillah/CS-PipeChanger | 0 | 7033536 | <gh_stars>0
using ColossalFramework.UI;
using ICities;
using PipeChanger.GUI;
using System;
namespace PipeChanger
{
public class Loader : LoadingExtensionBase
{
#region Fields
public static MainUI MainUi { get; private set; }
#endregion Fields
#region Methods
/// <s... |
src/Tests/Tests/Cluster/ClusterPendingTasks/ClusterPendingTasksUrlTests.cs | mouseflow/elasticsearch-net | 2 | 7033537 | <reponame>mouseflow/elasticsearch-net
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Framework.EndpointTests;
using static Tests.Framework.EndpointTests.UrlTester;
namespace Tests.Cluster.ClusterPendingTasks
{
public class ClusterPendingTasksUrlTests : UrlTestsBase
{
[U] ... |
SPMWatchDogNew/Program.cs | Derek-Lehrke/ATSPM | 1 | 7033538 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MOE.Common;
using System.Threading;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Collections.Concurrent;
using Microsoft.AspNet.Identity.EntityFramework;
using MOE.Common.Business.SiteSecurity;
using ... |
src/Orchard.Web/Modules/Orchard.Rules/ViewModels/EditActionViewModel.cs | yangbingqi155/Nagrace | 2,670 | 7033539 | using Orchard.Rules.Models;
namespace Orchard.Rules.ViewModels {
public class EditActionViewModel {
public int Id { get; set; }
public int ActionId { get; set; }
public ActionDescriptor Action { get; set; }
public dynamic Form { get; set; }
}
}
|
src/libary/Client/PillowClinetSettings.cs | weirdAlchemist/pillowsharp | 2 | 7033541 | <gh_stars>1-10
using PillowSharp.Middleware;
using PillowSharp.Middleware.Default;
using PillowSharp.CouchType;
using PillowSharp.BaseObject;
using System;
using System.Threading.Tasks;
using System.Reflection;
using System.Collections.Generic;
using RestSharp;
using System.Linq;
using System.IO;
using PillowSharp.He... |
mdo/src/mdo/Encounter.cs | marcsommer/mdo | 1 | 7033542 | <filename>mdo/src/mdo/Encounter.cs
#region CopyrightHeader
//
// Copyright by Contributors
//
// 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... |
contract/MAVN.Service.CrossChainWalletLinker.Contract/Linking/WalletLinkingStatusChangeFailedEvent.cs | LykkeBusiness/MAVN.Service.CrossChainWalletLinker | 0 | 7033543 | using Falcon.Numerics;
namespace MAVN.Service.CrossChainWalletLinker.Contract.Linking
{
/// <summary>
/// Wallet linking status change has failed in private blockchain
/// </summary>
public class WalletLinkingStatusChangeFailedEvent
{
/// <summary>
/// The customer id
/// </... |
src/Dfc.DiscoverSkillsAndCareers.UnitTests/FilteringAssessmentCalculationServiceTests.cs | Muthuramana/dfc-discoverskillsandcareers | 6 | 7033544 | using Dfc.DiscoverSkillsAndCareers.AssessmentFunctionApp.Services;
using Dfc.DiscoverSkillsAndCareers.Models;
using Dfc.DiscoverSkillsAndCareers.Repositories;
using Microsoft.Extensions.Logging;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.... |
backend/PhanTichChungKhoan.Infrastructure/DbContexts/PriceBoardDbContext.cs | phongnq007/phantichchungkhoan | 0 | 7033545 | <reponame>phongnq007/phantichchungkhoan
using Microsoft.EntityFrameworkCore;
using System.Reflection;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace PhanTichChungKhoan.Infrastructure.DbContexts
{
public class PriceBoardDbContext : IdentityDbContext
{
... |
LudicrousElectron.GUI/GUIManager.cs | JeffM2501/LudicrousElectron | 0 | 7033546 | using System;
using System.Collections.Generic;
using System.Drawing;
using LudicrousElectron.Engine.Window;
using LudicrousElectron.Engine.Graphics;
using LudicrousElectron.Engine.Graphics.Textures;
using LudicrousElectron.Engine.Input;
namespace LudicrousElectron.GUI
{
public class GUIMaterial
{
pu... |
src/Norns.Urd/Attributes/DynamicProxyAttribute.cs | fs7744/Norns.Urd | 39 | 7033547 | <filename>src/Norns.Urd/Attributes/DynamicProxyAttribute.cs
using System;
namespace Norns.Urd.Attributes
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public class DynamicProxyAttribute : Attribute
{
}
} |
ViewModels/RegisterViewModel.cs | almandoro/PrzychodniaWSB | 0 | 7033548 | using Dapper;
using PrzychodniaWSB.ClinicCore;
using PrzychodniaWSB.ClinicCore.Utils;
using PrzychodniaWSB.Models;
using PrzychodniaWSB.ViewModels.Parents;
using PrzychodniaWSB.Views;
using System.Data;
using System.Data.SQLite;
using System.Linq;
namespace PrzychodniaWSB.ViewModels {
public class RegisterViewMod... |
src/api/src/Audiochan.API/Controllers/Me/FollowingsController.cs | nollidnosnhoj/Audiochan_old | 0 | 7033549 | <filename>src/api/src/Audiochan.API/Controllers/Me/FollowingsController.cs
using System.Threading;
using System.Threading.Tasks;
using Audiochan.API.Extensions;
using Audiochan.Core.Extensions;
using Audiochan.Core.Services;
using Audiochan.Core.Users.Commands;
using Audiochan.Core.Users.Queries;
using MediatR;
using ... |
IdleClicker/Library/PackageCache/com.unity.ugui@1.0.0/Tests/Runtime/EventSystem/InputModuleTests.cs | IHunelI/-Prototype-IdleMinerTycoon | 3 | 7033550 | using System.Collections;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.TestTools;
using UnityEngine.UI;
public class InputModuleTests
{
EventSystem m_EventSystem;
FakeBaseInput m_FakeBaseInput;
StandaloneInputModule m_StandaloneInputModule;
Canvas m_Canvas... |
CBreeze/UncommonSense.CBreeze.Parse/Parser.Variable.cs | niku-live/UncommonSense.CBreeze | 0 | 7033551 | <reponame>niku-live/UncommonSense.CBreeze
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using UncommonSense.CBreeze.Common;
namespace UncommonSense.CBreeze.Parse
{
public partial class Parser
{
internal bool ParseVariable(Li... |
yafsrc/ServiceStack/ServiceStack/Common/Command.cs | Spinks90/YAFNET | 0 | 7033552 | // ***********************************************************************
// <copyright file="Command.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright>
// <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</summary>
/... |
csharp/forth/Forth.cs | stanciua/exercism | 0 | 7033553 | using System;
using System.Collections.Generic;
using System.Linq;
public static class Forth
{
private static readonly Stack<short> Stack = new Stack<short>();
private static readonly Dictionary<string, List<string>> Words =
new Dictionary<string, List<string>>();
public static string Evaluate(I... |
src/Examples.WebApi/Controllers/LocalizationController.cs | suzu-devworks/examples-dotnet-web | 0 | 7033554 | using System;
using System.Globalization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using Examples.WebApi.Applications.Localization;
using Examples.WebApi.Applications.Localization.Models;
namespace Examples.WebApi.Controllers
{
/// <summ... |
ImageViewer/VtkItkAdapters/ItkHelper.cs | SNBnani/Xian | 1 | 7033555 | <reponame>SNBnani/Xian
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.ImageVie... |
src/ControlExample/Controls/Cycle.xaml.cs | kujotx/TimeSpaceDiagram | 0 | 7033556 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Cycle.xaml.cs" company="">
//
// </copyright>
// <summary>
// Interaction logic for Cycle.xaml
// </summary>
// --------------------------------------------------------------... |
SafeExamBrowser.Communication.Contracts/Data/ReconfigurationMessage.cs | shashinma/CSEB-Windows | 0 | 7033557 | /*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
namespace S... |
Prism.CommonDialogPack/ViewModels/ConfirmationDialogViewModel.cs | Kuro4/Prism.CommonDialogPack | 9 | 7033558 | <reponame>Kuro4/Prism.CommonDialogPack<filename>Prism.CommonDialogPack/ViewModels/ConfirmationDialogViewModel.cs
using Prism.Commands;
using Prism.Mvvm;
using Prism.Services.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Prism.CommonDialogPack.ViewModels
{
public class Confi... |
src/Messaging/NBB.Messaging.OpenTracing/Publisher/OpenTracingPublisherDecorator.cs | VCuzmin/nbb | 1 | 7033559 | <gh_stars>1-10
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
using NBB.Core.Abstractions;
using NBB.Correlation;
using NBB.Messaging.Abstractions;
using OpenTracing;
using OpenTracing.Propagation;
using OpenTracing.Tag;
using System;
using System.Threading;
using System.Threadi... |
src/TradingNEAT/TradingData.cs | AlexLeung/TradingNEAT | 0 | 7033560 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.IO;
namespace TradingNEAT
{
class TradingData
{
private static TimeStepDataPiece[] allData;
private int currentIndex;
... |
src/Android/HandlingRotationSample/ProgramaticLayoutActivity.cs | vincoss/xamarin.samples | 1 | 7033561 | <filename>src/Android/HandlingRotationSample/ProgramaticLayoutActivity.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace HandlingRotationSample... |
ColorCoder/ColorCoderCore/ColorStorage.cs | kplkasteel/VisualStudio-ColorCoder | 0 | 7033562 | using Microsoft.VisualStudio.Shell.Interop;
using System;
namespace ColorCoder.ColorCoderCore
{
public class ColorStorage
{
public IVsUIShell2 Shell { get; }
public IVsFontAndColorStorage Storage { get; }
public IVsFontAndColorUtilities Utilities { get; }
public ColorStorage(... |
Huobi.SDK.Core/Spot/RESTful/Response/SubUser/GetUIDResponse.cs | nils2525/huobi_sdk_CSharp | 1 | 7033563 | namespace Huobi.SDK.Core.Spot.RESTful.Response.SubUser
{
/// <summary>
/// Create SubUser Response
/// </summary>
public class GetUIDResponse
{
/// <summary>
/// Status code
/// </summary>
public int code;
/// <summary>
/// Error message (if any)
... |
src/Timewaster.Core/Entities/Accounts/ApplicationUser.cs | zsra/Timewaster | 0 | 7033564 | <gh_stars>0
using Microsoft.AspNetCore.Identity;
namespace Timewaster.Core.Entities.Accounts
{
public class ApplicationUser : IdentityUser
{
public string Firstname { get; set; }
public string Lastname { get; set; }
}
}
|
CookingPapa/CookingPapa.Test/UnitTest1.cs | jhecken/Team1-repo2 | 0 | 7033565 | using Xunit;
using Microsoft.EntityFrameworkCore;
using CookingPapa.Domain.Models;
using CookingPapa.Data;
using System.Linq;
using System.Collections.Generic;
namespace CookingPapa.Test
{
public class UnitTest1
{
/// <summary>
/// Test 0 --
/// Uses the Unit of Work to build repositor... |
Correct/PortDataDisplay.cs | aprilyuanyuan/Correct | 0 | 7033566 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.Timers;
namespace Correct
{
/// <summary>
/// 定义了一个委托类型
/// </summary>
... |
Intuit.TSheets/Client/Core/ResilientRestClient.cs | lisashort/TSheets-V1-DotNET-SDK | 0 | 7033567 | <gh_stars>0
// *******************************************************************************
// <copyright file="ResilientRestClient.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... |
Server/API/Filters/ValidateModelAttribute.cs | PedDavid/qip | 0 | 7033569 | <reponame>PedDavid/qip
using QIP.API.MediaTypes;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.Net.Http.Headers;
using Newtonsoft.Json;
using System.Linq;
using System.Net;
using System.Text;
namespace QIP.API.Filters {
public ... |
Dawnauth.MVC/Models/Extended/IDAL/IDawnAuthModuleDAL.cs | cockroach888/Dawnauth | 0 | 7033570 | <gh_stars>0
// ===================================================================
// 产品规则(DawnXZ.Dawnauth.IDAL)项目
//====================================================================
//【宋杰军 @Copy Right 2008+】--【联系QQ:6808240】--【请保留此注释】
//====================================================================
// 文件名称:I... |
src/DNTScheduler.Core/ScheduledTaskStatus.cs | VahidN/DNTScheduler.Core | 43 | 7033571 | using System;
using DNTScheduler.Core.Contracts;
namespace DNTScheduler.Core
{
/// <summary>
/// Scheduled Task
/// </summary>
public class ScheduledTaskStatus
{
/// <summary>
/// Status of last run.
/// </summary>
public bool? IsLastRunSuccessful { get; set; }
... |
BookLovers.Librarians.Infrastructure/QueryHandlers/PromotionWaiters/PaginatedPromotionWaitersHandler.cs | kamilk08/BookLoversApi | 0 | 7033572 | using AutoMapper;
using BookLovers.Base.Infrastructure.Queries;
using BookLovers.Librarians.Infrastructure.Dtos;
using BookLovers.Librarians.Infrastructure.Persistence;
using BookLovers.Librarians.Infrastructure.Persistence.ReadModels;
using BookLovers.Librarians.Infrastructure.Queries.PromotionWaiters;
using System.C... |
2ITCON_2/chap1/frmEX_listview.Designer.cs | Ko-Thanousone/C_Sharp_Lesson | 0 | 7033573 | namespace chap1
{
partial class frmEX_listview
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... |
NewLife.Core/Remoting/IApiHandler.cs | theseventhman/X | 1 | 7033574 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using NewLife.Collections;
using NewLife.Data;
using NewLife.Reflection;
namespace NewLife.Remoting
{
/// <summary>Api处理器</summary>
public interface IApiHandler
{
... |
Social.Network.Api/Social.Network.Api/Startup.cs | muhammad-hari/social-network-page | 0 | 7033575 | <filename>Social.Network.Api/Social.Network.Api/Startup.cs
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Mic... |
Src/Compilers/CSharp/Portable/Symbols/FieldInitializers.cs | semihokur/pattern-matching-csharp | 6 | 7033576 | // 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.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAna... |
VisitMyCities/Controllers/BatimentsController.cs | MyCatCanCode/VisitMyCities | 0 | 7033577 | <reponame>MyCatCanCode/VisitMyCities
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using VisitMyCities.DataModel.Bu... |
machinelearningext/TestMachineLearningExt/TestFeaturesTransforms.cs | xadupre/machinelearningext | 2 | 7033578 | // See the LICENSE file in the project root for more information.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.ML.Data;
using Microsoft.ML;
using Scikit.ML.TestHelper;
using Scikit.ML.PipelineHelper;
using Scikit.ML.FeaturesTran... |
iot.solution.model/Repository/Implementation/UserDashboardWidgetRepository.cs | iotconnect-apps/SmartLighting | 1 | 7033579 | using System;
using System.Collections.Generic;
using System.Text;
using Model = iot.solution.model.Models;
using iot.solution.model.Repository.Interface;
using component.logger;
using LogHandler = component.services.loghandler;
namespace iot.solution.model.Repository.Implementation
{
public class UserDashboardW... |
src/PortableGdi/Imaging/ImageFormats/Jpeg/ScanDecoder/JpegHuffmanScanDecoder.cs | i-e-b/Formation | 0 | 7033580 | #nullable enable
using System;
using System.Diagnostics;
namespace Portable.Drawing.Imaging.ImageFormats.Jpeg.ScanDecoder
{
internal abstract class JpegHuffmanScanDecoder : JpegScanDecoder
{
protected JpegDecoder Decoder { get; private set; }
public JpegHuffmanScanDecoder(JpegDecoder decoder... |
Aridia 1.x/aridia/AridiaUI/Constants.cs | huguesjohnson/aridia | 7 | 7033581 | <reponame>huguesjohnson/aridia<gh_stars>1-10
/*
Aridia: Phantasy Star III ROM Editor
Copyright (c) 2007-2018 <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, includi... |
Src/CastIron.Sql/Mapping/Compilers/ScalarCompiler.cs | Whiteknight/CastIron | 2 | 7033582 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace CastIron.Sql.Mapping.Compilers
{
/// <summary>
/// Compiler type to map a column to one of the supported primitive types
/// </summary>
... |
src/autostep/Results/FormattingExtensions.cs | autostep/autostep-cli | 0 | 7033583 | <reponame>autostep/autostep-cli
using System.Globalization;
namespace AutoStep.CommandLine.Results
{
/// <summary>
/// Helper methods for formatting messages.
/// </summary>
public static class FormattingExtensions
{
/// <summary>
/// Format with the current culture.
/// </... |
ZC.Customer.Repository/Mappings/FileUploadsInfoMapping.cs | liyy599/test | 0 | 7033584 | <reponame>liyy599/test
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ZC.Customer.Model.Models;
namespace ZC.Customer.Repository.Mappings
{
public class FileUploadsInfoMapping : IEntityTypeConfiguration<Model.Models.FileUploadsInfo>
{
public void Confi... |
src/HouseofCat.Extensions/GenericTypeExtensions.cs | houseofcat/HouseofCat.Library | 23 | 7033585 | namespace HouseofCat.Extensions
{
using System;
using System.Collections.Generic;
using System.Numerics;
public static class GenericTypeExtensions
{
private static readonly HashSet<Type> _numericTypes = new HashSet<Type>
{
typeof(int), typeof(double), typeof(decimal),
... |
WebApplication1/hoss/Users1.Context.cs | BryceSuchy/Hospital-Online-Scheduling-System | 1 | 7033586 | <filename>WebApplication1/hoss/Users1.Context.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this fi... |
src/lib/Engine/Actors/AkkaSystem.cs | crasshacker/STak | 1 | 7033587 | using System;
using Akka.Actor;
using Akka.Event;
using Akka.Configuration;
namespace STak.TakEngine.Actors
{
public static class AkkaSystem
{
public const string ActorSystemName = "tak";
public static string ActorSystemAddress { get; private set; }
public static ActorSystem TakAc... |
css/untitled.cs | andreastkdf/Aquaspace | 0 | 7033588 | <filename>css/untitled.cs
@using Contensis.Framework.Web
@{
//===========================================//
//=========== GLOBALS - UTILITIES ===========//
//===========================================//
string homepageDestination = "EUI homepage";
string host = HttpContext.Current.Request.Url.Host; //Live or Previe... |
aspnet-core/src/FengWo.Web.Mvc/Startup/FengWoNavigationProvider.cs | Mohongzhi/FengWo-ABP | 0 | 7033589 | using Abp.Application.Navigation;
using Abp.Domain.Repositories;
using Abp.Localization;
using FengWo.Authorization;
using FengWo.Authorization.Menus;
using System.Linq;
namespace FengWo.Web.Startup
{
/// <summary>
/// This class defines menus for the application.
/// </summary>
public class FengWoNav... |
Source/EasyNetQ/ConsumedMessage.cs | hryo/EasyNetQ | 2,047 | 7033590 | using System;
namespace EasyNetQ
{
/// <summary>
/// Represents a consumed message
/// </summary>
public readonly struct ConsumedMessage
{
/// <summary>
/// Creates ConsumedMessage
/// </summary>
/// <param name="receivedInfo">The received info</param>
... |
tests/Examples/Ccr/Apis/Follow/PutFollowPage.cs | adamralph/elasticsearch-net | 0 | 7033591 | <filename>tests/Examples/Ccr/Apis/Follow/PutFollowPage.cs
using Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Ccr.Apis.Follow
{
public class PutFollowPage : ExampleBase
{
[U(Skip = "Example not implemented")]
[Description("ccr/apis/follow/put-follow.asciidoc:25")]
pub... |
IsoPaint/Models/Color.cs | dfgs/IsoPaint | 0 | 7033592 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace IsoPaint.Models
{
public class Color
{
[XmlAttribute]
public int ID
{
get;
set;
}
[XmlAttribute]
public byte A
{
get;
set;
... |
src/TTY.GMP.WebApi/Controllers/Shop/GetShopStatisticsAction.cs | chenjian8541/gmp | 5 | 7033593 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TTY.GMP.Entity.Common;
using TTY.GMP.Entity.Enum;
using TTY.GMP.Entity.View;
using TTY.GMP.Entity.Web.Shop.Request;
using TTY.GMP.Entity.Web.Shop.Response;
using TTY.GMP.IBusiness;
namespace TTY.GMP.WebApi.Controlle... |
NHB3/Home.Designer.cs | HALUZ15/new | 164 | 7033594 | namespace NHB3
{
partial class Home
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="di... |
src/Domain/Jobs/AzureKeyVaultJob.cs | btungut/kubernetes-azure-keyvault-secret-operator | 2 | 7033595 | <gh_stars>1-10
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace Operator.Domain.Jobs
{
internal class AzureKeyVaultJob : Job<AzureKeyVault>
{
private readonly ILogger _logger = LoggerFactory.GetLogger<AzureKeyVaultJob>();
private readonly IKubernetes _client = Program.... |
Assets/Scripts/StageComplete.cs | m-a-s-h-e-d/dino-dash | 1 | 7033596 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class StageComplete : MonoBehaviour
{
public AudioClip clip;
public AudioSource source;
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.Compa... |
unity-renderer/Assets/Scripts/MainScripts/DCL/AvatarSystem/Definitions/WearableItemResolverDefinitions/IWearableItemResolver.cs | dcl-glb/unity-renderer | 0 | 7033598 | using System;
using System.Collections.Generic;
using System.Threading;
using Cysharp.Threading.Tasks;
namespace AvatarSystem
{
public interface IWearableItemResolver : IDisposable
{
UniTask<(List<WearableItem> wearables, List<WearableItem> emotes)> ResolveAndSplit( IEnumerable<string> wearableIds, Can... |
2020/Day19/Interpreter.cs | David-Rushton/AdventOfCode-Solutions | 0 | 7033599 | <filename>2020/Day19/Interpreter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AoC
{
public class Interpreter
{
public int CountOfImagesThatMatchRule(string rule, IEnumerable<string> images) =>
(
... |
03.Sets And Dictionaries-Exercicse/04.EvenTimes/Program.cs | StefanLB/C-Advanced---September-2018 | 0 | 7033600 | <reponame>StefanLB/C-Advanced---September-2018
namespace _04.EvenTimes
{
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
var numbers = new Dictionary<int, int>();
... |
test/FunctionalTests/Framework/Verification/PayloadNamedStream.cs | Sreejithpin/odata.net | 629 | 7033601 | //---------------------------------------------------------------------
// <copyright file="PayloadNamedStream.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------... |
sampleapi/Milvasoft.SampleAPI/DTOs/MentorDTOs/AddMentorDTO.cs | Milvasoft/Milvasoft | 15 | 7033602 | using Milvasoft.SampleAPI.Utils.Attributes.ValidationAttributes;
using System;
using System.Collections.Generic;
namespace Milvasoft.SampleAPI.DTOs.MentorDTOs
{
/// <summary>
/// Add mentor DTO for add operations.
/// </summary>
public class AddMentorDTO
{
/// <summary>
/// Mentor ... |
Acme.BusinessApi/src/Dal.Contract/Product/IProductPersistance.cs | xlent-fulcrum/fulcrum-templates | 0 | 7033603 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xlent.Lever.Libraries2.Standard.Decoupling;
using Xlent.Lever.Libraries2.Standard.Storage.Model;
namespace Acme.FulcrumFacade.Dal.Contract.Product
{
/// <summary>
/// CRUD logic for <seealso cref="IStorableProduct"... |
MyArea.DataAccess/DataAccess/MyAreaContext.cs | wangzhiqing999/my-csharp-project | 0 | 7033604 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using MyArea.Model;
namespace MyArea.DataAccess
{
// Enable-Migrations -ProjectName MyArea.DataAccess -EnableAutomaticMigrations
public class MyAreaContext : DbC... |
src/JacksonVeroneze.ViaCep.API/Controllers/HomeController.cs | jacksonveroneze/ViaCepDotnet | 0 | 7033605 | using Microsoft.AspNetCore.Mvc;
namespace JacksonVeroneze.ViaCep.API.Controllers
{
[ApiController]
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : ControllerBase
{
//
// Summary:
// /// Method responsible for redirect to swagger page. ///
... |
src/Microsoft.Azure.Devices.Proxy/Model/Types/BoundSocketAddress.cs | ZeroInfinite/iot-edge-opc-proxy-api-csharp | 0 | 7033606 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
// Keep in sync with native... |
src/REstate/Schematics/Builders/SchematicBuilder.cs | BPHartel/REstate | 43 | 7033607 | <reponame>BPHartel/REstate<filename>src/REstate/Schematics/Builders/SchematicBuilder.cs
using System;
using System.Collections.Generic;
using System.Linq;
using REstate.Schematics.Builders.Providers;
namespace REstate.Schematics.Builders
{
public interface ISchematicBuilder<TState, TInput>
: ISchematicBui... |
SCNDISC.Server/SCNDISC.Server.Core/Models/Notifications/PushNotificationAndroidRequest.cs | ScienceSoft-Inc/XamarinDiscounts | 15 | 7033608 | <reponame>ScienceSoft-Inc/XamarinDiscounts
using Newtonsoft.Json;
namespace SCNDISC.Server.Core.Models.Notifications
{
[JsonObject]
public class PushNotificationAndroidRequest
{
[JsonProperty(PropertyName = "data")]
public PushNotifyData Data { get; set; }
[JsonProperty(PropertyNam... |
src/RouteFinder/RouteCleaner/RouteFinderDataPrepDriver.cs | guyrt/routefinder | 0 | 7033609 | <filename>src/RouteFinder/RouteCleaner/RouteFinderDataPrepDriver.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using GlobalSettings;
using New... |
Barista.Consistency/Activities/Initialization/CreateUserActivity.cs | nesfit/Coffee | 0 | 7033610 | using System;
using System.Threading.Tasks;
using Barista.Common;
using Barista.Common.OperationResults;
using Barista.Consistency.Commands;
using Barista.Consistency.Domain;
using Barista.Consistency.Repositories;
using Barista.Contracts.Commands.User;
using Barista.Contracts.Events.Consistency;
using MassTransit.Cou... |
benchmarks/Benchmark.Net.Http.WebPush/Program.cs | techfg/Lib.Net.Http.WebPush | 55 | 7033611 | using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
using System;
namespace Benchmark.Net.Http.WebPush
{
class Program
{
static void Main(string[] args)
{
Summary webPushBenchmarksSummary = BenchmarkRunner.Run<WebPushBenchmarks>();
Console.ReadKey();
... |
src/CommandFramework/Commands/CommandSearchExtensions.cs | BorysLevytskyi/CommandFramework | 3 | 7033612 | <reponame>BorysLevytskyi/CommandFramework
using System.Collections.Generic;
using System.Linq;
using CommandFramework.Parsing;
namespace CommandFramework.Commands
{
public static class CommandSearchExtensions
{
public static bool Matches(this ICommand cmd, ParsedCommand parsedCommand)
{
return !(from prm in c... |
adrilight/DesktopDuplication/ISecondDesktopFrame.cs | Kaitoukid93/Ambinity | 0 | 7033613 | using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
namespace adrilight
{
public interface ISecondDesktopFrame : INotifyPropertyChanged
{
byte[] Frame { get; set; }
void Stop();
int FrameWidth { get; set; }
int FrameHeight { ... |
CefSharp.MinimalExample.Wpf/MainWindow.xaml.cs | henrihs/CefSharp.MinimalExample | 0 | 7033614 | <filename>CefSharp.MinimalExample.Wpf/MainWindow.xaml.cs<gh_stars>0
using System.IO;
using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void OnIsBrowserInit... |
MyBBS/BBS2018.Bussiness/ViewModel/Answer/BBSAnswerVM.cs | shuaiagain/my-bbs | 0 | 7033615 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BBS2018.Bussiness.ViewModel
{
/// <summary>
/// 回答视图
/// </summary>
public class BBSAnswerVM
{
public long? ID { get; set; }
/// <summary>
/// 问题ID
/// </summary>
... |
inetsrv/uddi/source/tools/bootstrap/bootstrap.cs | npocmaka/Windows-Server-2003 | 17 | 7033616 | using System;
using System.IO;
using System.Security.Principal;
using System.Xml.Serialization;
using System.Data;
using System.Data.SqlClient;
using System.Resources;
using UDDI.API;
using UDDI.API.Extensions;
namespace UDDI.Tools
{
class Bootstrap
{
static string filename;
static string userna... |
src/WInterop.Desktop/ProcessAndThreads/Processes.cs | willibrandon/WInterop | 49 | 7033617 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using WInterop.Errors;
using WInterop.ProcessAndThreads.Native;
using WInterop.Support;
using WInterop.... |
src/Platformus.Globalization.Data.EntityFramework.PostgreSql/CultureRepository.cs | TarasKovalenko/Platformus | 0 | 7033618 | // Copyright © 2015 <NAME>. 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.Linq;
using ExtCore.Data.EntityFramework;
using Microsoft.EntityFrameworkCore;
using Platformus.... |
src/AddIns/DisplayBindings/XmlEditor/Project/Src/FormatXmlCommand.cs | dongdapeng110/SharpDevelopTest | 11 | 7033619 | // 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 ICSharpCode.SharpDevelop.Editor;
using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;
namespace IC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.