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 |
|---|---|---|---|---|
samples/Sample-Win81/ViewModels/ThirdViewModel.cs | jeisenbach/Caliburn.Micro.Autofac | 14 | 7054463 | using System.Windows.Input;
using Caliburn.Micro.WinRT.Autofac.Sample.Infrastructure;
namespace Caliburn.Micro.WinRT.Autofac.Sample.ViewModels
{
public class ThirdViewModel : Screen
{
public ThirdViewModel(INavigationService navigationService)
{
GoBackCommand = new ActionC... |
DataTable/Data/DemoContext.cs | reshamkafle/jQuery-DataTable-ASP.NET-5 | 0 | 7054464 | using DataTable.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace DataTable.Data
{
public class DemoContext : DbContext
{
public DemoContext(DbContextOptions<DemoContext> opti... |
Assets/Scripts/Controllers/Tank/BaseTankPartController.cs | Anatolij-Grigorjev/Unity5TankArena | 0 | 7054465 | <reponame>Anatolij-Grigorjev/Unity5TankArena
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using TankArena.Models.Tank;
using TankArena.Utils;
namespace TankArena.Controllers
{
public abstract class BaseTankPartController<T>: MonoBehaviour where T: TankPa... |
src/Content/src/Net5WebTemplate.Application/Common/Interfaces/IUserManager.cs | marlonajgayle/Net5WebTemplate | 3 | 7054466 | <reponame>marlonajgayle/Net5WebTemplate<filename>src/Content/src/Net5WebTemplate.Application/Common/Interfaces/IUserManager.cs
using Net5WebTemplate.Application.Common.Models;
using System.Threading.Tasks;
namespace Net5WebTemplate.Application.Common.Interfaces
{
public interface IUserManager
{
Task<(... |
Selenium/ComInterfaces/_TableElement.cs | igoreksiz/SeleniumBasic | 355 | 7054467 | <reponame>igoreksiz/SeleniumBasic
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-BE15C121F199")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public... |
GW2Tradz/GW2Tradz/Analyzers/ElonianAnalyzer.cs | krismaz/GW2Tradz | 0 | 7054468 | <reponame>krismaz/GW2Tradz<gh_stars>0
using GW2Tradz.Networking;
using GW2Tradz.Viewmodels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GW2Tradz.Analyzers
{
class ElonianAnalyzer : IAnalyzer
{
public List<TradingAction> ... |
Demo/Program.cs | keithn/katoa.functional | 0 | 7054469 | using System;
using System.Linq;
using Katoa.Functional;
namespace Demo
{
public abstract record Failure : Katoa.Functional.Failure
{
public record Fail(string Message) : Failure;
public record Thrown(Exception Exception) : Failure;
}
class Program
{
public static void Dem... |
BookManagement/BookManagement/BookInfoForm.Designer.cs | stimulate/Book-Management | 1 | 7054470 | namespace BookManagement
{
partial class BookInfoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
src/Sample/Simple/Domain/User.cs | 861191244/miniDDD | 4 | 7054471 | using System;
using System.Collections.Generic;
using DDD.Simple.Domain.Events;
using MiniDDD;
namespace DDD.Simple.Domain
{
public class User : AggregateRoot<Guid>
{
public string Name { get; private set; }
public string Email { get; private set; }
public List<Guid> Friends { get; pr... |
src/Microsoft.DotNet.ServiceFabric.ServiceHost/ServiceHostKeyVaultProvider.cs | jonfortescue/arcade-services | 1 | 7054472 | // 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 Microsoft.Azure.KeyVault;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.DotNet.Configurati... |
Win/PPDFramework/ArrayTree.cs | KHCmaster/PPD | 16 | 7054473 | <reponame>KHCmaster/PPD
using System.Collections.Generic;
namespace PPDFramework
{
class ArrayTree<T, V>
where T : struct
where V : class
{
Dictionary<T, ArrayTree<T, V>> subtrees;
private V value;
private int depth;
private ArrayTree<T, V> parent;
pub... |
src/WebApi/Configurations/DependencyInjectionConfig.cs | JBragon/phone-plans-api | 0 | 7054474 | using FluentValidation;
using JBragon.Business.Interfaces;
using JBragon.Business.Services;
using JBragon.Models.Mapper.Request;
using JBragon.Resources;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace JBragon.WebApi.Configuration
{
public static class DependencyInjectio... |
Assets/MainGame/Player/Guns/Unfinished/Guns/Gun 1/Fire.cs | itsMohammedThaier/3D-Unity-Top-Down-Game | 0 | 7054475 | using UnityEngine;
public class Fire : MonoBehaviour
{
public GameObject bullet, fireEffect;
public Transform firePoint;
public Animator fireAnimation;
public float bulletSpeed;
public float shootTimer;
private float timeWhenAllowedNextShoot = 0f;
void Update()
{
if (Input.Ge... |
Finnhub_client_core/Model/Candle.cs | dashwort/MarketWatch | 0 | 7054476 | <filename>Finnhub_client_core/Model/Candle.cs
using System;
namespace Finnhub.ClientCore.Model
{
public class Candle
{
public DateTime Timestamp { get; set; }
public decimal High { get; set; }
public decimal Low { get; set; }
public decimal Open { get; set; }
public dec... |
Bundling.Extensions/Transforms/CssTransform.cs | unger/Bundling.Extensions | 12 | 7054477 | <filename>Bundling.Extensions/Transforms/CssTransform.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Optimization;
namespace Bundling.Extensions.Transforms
{
public class CssTransform : IBundleTransform
{
public void Process(BundleContext cont... |
System.ServiceModel/System/ServiceModel/Channels/ClientContextProtocol.cs | cnork/referencesource | 911 | 7054478 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System;
using System.Collections.Generic;
using System.Net;
using Sy... |
AppPublic/Smart.Win/Helpers/StartScreenHelper.cs | chartsoft/SmartPublic | 5 | 7054479 | <filename>AppPublic/Smart.Win/Helpers/StartScreenHelper.cs
using System.Drawing;
using System.Timers;
using System.Windows.Forms;
using DevExpress.XtraSplashScreen;
using DevExpress.XtraWaitForm;
using Smart.Win.Helpers.StartScreen;
namespace Smart.Win.Helpers
{
/// <summary>
/// 启动画面管理器
/// </summary>
... |
NDictPlus/ViewModel/PartialPhraseViewModel.cs | Xin-Shiyu/NDictPlus | 0 | 7054480 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace NDictPlus.ViewModel
{
public class PartialPhraseViewModel
{
public string Phrase { get; set; }
public string PartOfSpeech { get; set; }
public string Description { get; set; }
... |
server/LibraryInventory/LibraryInventory.Api/Models/DTO/AuthorsPageDTO.cs | kordiseps/library-inventor | 0 | 7054481 | namespace LibraryInventory.Api.Models.DTO
{
public class AuthorsPageDTO
{
public int Id { get; set; }
public string Name { get; set; }
public string Country { get; set; }
}
}
|
Store/Data/Migrations/20191205182349_test1.cs | Delpieron/StoreNew213 | 0 | 7054482 | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Store.Data.Migrations
{
public partial class test1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
Tiles/MortarAndPestleTile.cs | 41D4N/subredditmod | 2 | 7054483 | using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.Enums;
using Terraria.ObjectData;
using Terraria.DataStructures;
using Terraria.ModLoader;
namespace rterrariamod.Tiles
{
public class MortarAndPestleTile : ModTile
{
public override void SetDefaults()
... |
Naveego.Streaming.Kafka.Tests/Models/Message.cs | naveego/streaming-dotnet | 1 | 7054484 | <gh_stars>1-10
using System;
namespace Naveego.Streaming.Kafka.Tests.Models
{
public class Message
{
public DateTime Time { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Company { get; set; }
public int DistanceInMiles { ... |
PoESkillTree.Engine.Computation.Builders/Buffs/BuffRestrictionsBuilder.cs | BlazesRus/PoESkillTree_BlazesRus.Engine | 5 | 7054485 | using System.Collections.Generic;
using System.Linq;
using PoESkillTree.Engine.Computation.Common.Builders;
using PoESkillTree.Engine.Computation.Common.Builders.Resolving;
using PoESkillTree.Engine.Computation.Common.Builders.Skills;
using PoESkillTree.Engine.Utils.Extensions;
namespace PoESkillTree.Engine.Computati... |
Services/TradeService/ApplicationService/TradeLogQueryService.cs | matrixknight/Oxygen-Dapr.EshopSample | 206 | 7054486 | <gh_stars>100-1000
using Domain.Entities;
using Domain.Repository;
using IApplicationService;
using IApplicationService.TradeService;
using IApplicationService.TradeService.Dtos.Output;
using IApplicationService.TradeService.Dtos.Input;
using Infrastructure.EfDataAccess;
using InfrastructureBase.AuthBase;
using Infras... |
src/Synnduit/IServiceProvider.cs | Synnduit/Synnduit.NET | 0 | 7054488 | using System.Collections.Generic;
using Synnduit.Deduplication;
using Synnduit.Merge;
using Synnduit.Preprocessing;
using Synnduit.Serialization;
namespace Synnduit
{
/// <summary>
/// Provides access to configurable services - i.e., those services that are not
/// directly dependency "injectionable", as ... |
LiveScoreUpdateSystem/LiveScoreUpdateSystem.Web/Views/Shared/_Layout.cshtml | papiReta/livescore | 0 | 7054489 | @using LiveScoreUpdateSystem.Common;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LiveScore</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/Kendo-css")
@Styles.Render("~/Content/template-c... |
Kooboo.Mail/LumiSoft.Net/AUTH/AUTH_SASL_Client_XOAuth2.cs | tenghui-kooboo/Kooboo | 296 | 7054490 | using System;
using System.Collections.Generic;
using System.Text;
namespace LumiSoft.Net.AUTH
{
/// <summary>
/// This class implements <b>XOAUTH2</b> authentication.
/// </summary>
public class AUTH_SASL_Client_XOAuth2 : AUTH_SASL_Client
{
private bool m_IsCompleted = false;
priv... |
ChiaPlotStatusLib/Logic/Utils/SearchFilter.cs | DazEB2/Chia-Plot-Status | 207 | 7054491 | <reponame>DazEB2/Chia-Plot-Status
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ChiaPlotStatus.Logic.Utils
{
public static class SearchFilter
{
/**
*... |
src/Mono.VisualC.Interop/ABI/VTableManaged.cs | shana/cppinterop | 1 | 7054492 | //
// Mono.VisualC.Interop.ABI.VTableManaged.cs: Managed vtable implementation
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
//
// Copyright (C) 2010 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Sof... |
Module08_Heritage/POOI_Heritage_CompteBancaireSansAbstraction/POOI_Heritage_CompteBancaireSansAbstraction/Transactions/TransactionRetrait.cs | PiFou86/420-W20-SF | 0 | 7054493 | using POOI_Heritage_CompteBancaireSansAbstraction.Transactions;
namespace POOI_Heritage_CompteBancaireSansAbstraction.Transactions
{
internal class TransactionRetrait : Transaction
{
public TransactionRetrait(decimal p_montant) : base(TypeTransaction.DEBIT, p_montant, "Retrait d'un montant sur l... |
src/Mozlite.Mvc/Templates/Declarings/DoctypeDeclaringWriter.cs | Mozlite/Docs | 8 | 7054494 | using System.IO;
namespace Mozlite.Mvc.Templates.Declarings
{
/// <summary>
/// 文档类型!doctype
/// </summary>
public class DoctypeDeclaringWriter : IDeclaringWriter
{
/// <summary>
/// 声明名称。
/// </summary>
public virtual string Name => "doctype";
/// <summary... |
AssemblyClient.Tests/Resources/RegistrationGroupsResourceTests.cs | andrewdavey/assembly-client-dotnet | 0 | 7054495 | <reponame>andrewdavey/assembly-client-dotnet<filename>AssemblyClient.Tests/Resources/RegistrationGroupsResourceTests.cs<gh_stars>0
using System;
using System.Linq;
using System.Dynamic;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Net;
using Moq;
using NUnit.Framew... |
FolderViewer/Form1.cs | fredrikj31/FolderViewer | 0 | 7054496 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FolderViewer {
public partial class Form1 : Form {... |
Shuhari.Framework.Web.Mvc/Mvc/ActionExecutionFlags.cs | shuhari/Shuhari.Framework | 0 | 7054497 | using System;
namespace Shuhari.Framework.Web.Mvc
{
/// <summary>
/// Action flags
/// </summary>
[Flags]
public enum ActionExecutionFlags
{
/// <summary>
/// Default
/// </summary>
Default = 0,
/// <summary>
/// Skip ModelState check
//... |
samples/snippets/csharp/VS_Snippets_Data/XSLT_NodeFrag/CS/xslt_frag.cs | BaruaSourav/docs | 3,294 | 7054498 | using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
public class Sample
{
public static void Main()
{
//<snippet1>
// Load an XPathDocument.
XPathDocument doc = new XPathDocument("books.xml");
// Locate the node fragment.
XPathNavigator nav = doc.CreateNavigator();
X... |
ModernSlavery.WebUI.Registration/Classes/PublicSectorRepository.cs | mccabesp/ModernSlavery-Beta | 0 | 7054499 | <filename>ModernSlavery.WebUI.Registration/Classes/PublicSectorRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ModernSlavery.BusinessDomain.Shared.Interfaces;
using ModernSlavery.Core.Classes;
using ModernSlavery.Core.Entities;
using ModernSlavery.Co... |
HalClient.Net.Tests/HalHttpClientFactoryTests.cs | imsodin/HalClient.Net | 19 | 7054500 | using System.Net.Http;
using HalClient.Net.Parser;
using Moq;
using Xunit;
namespace HalClient.Net.Tests
{
public class HalHttpClientFactoryTests
{
private readonly IHalJsonParser _mockedHalJsonParser = new Mock<IHalJsonParser>().Object;
[Fact]
public void CreateClient_CreatesAClient()
{
var sut = new H... |
samples/features/security/contoso-clinic/src/ContosoClinic/Migrations/201602170605457_Visits.cs | manikanth/sql-server-samples | 4,474 | 7054501 | <gh_stars>1000+
namespace ContosoClinic.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Visits : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Visits",
c => new
{
... |
Plugins/_CYM/_Base/Editor/Window/UnityTextureWindow.cs | chengyimingvb/CYMUni | 1 | 7054502 | <reponame>chengyimingvb/CYMUni
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace CYM
{
public class UnityTextureWindow : EditorWindow
{
public static void ShowWindow()
{
EditorWindow.GetWindow<UnityTextureWindow>("UnityIcon");
}
Vector2 m_Scroll;
... |
src/CaseManagement.HumanTask/HumanTaskDef/Queries/Handlers/GetAllHumanTaskDefQueryHandler.cs | lulzzz/CaseManagement | 21 | 7054503 | <reponame>lulzzz/CaseManagement
using CaseManagement.HumanTask.HumanTaskDef.Results;
using CaseManagement.HumanTask.Persistence;
using MediatR;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CaseManagement.HumanTask.HumanTaskDef.Queries.Handlers
{
... |
src/CohortCutterFactory.cs | aruzicka555/Library-Biomass-Harvest | 0 | 7054504 |
using Landis.Core;
using Landis.Library.SiteHarvest;
namespace Landis.Library.BiomassHarvest
{
/// <summary>
/// A factory for making instances of cohort cutters (WholeCohortCutter
/// and PartialCohortCutter).
/// </summary>
public static class CohortCutterFactory
{
/// <summary>
... |
TankLib/STU/Types/STU_72035D44.cs | Mike111177/OWLib | 1 | 7054505 | <reponame>Mike111177/OWLib<filename>TankLib/STU/Types/STU_72035D44.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x72035D44)]
public class STU_72035D44 : STU_6243C374 {
[STUFieldAttribute(0x40AF7E2D, ReaderType = typeof(Em... |
test/WebJobs.Script.Tests/ScriptWebHostEnvironmentTests.cs | mgravell/azure-functions-host | 1,454 | 7054506 | <filename>test/WebJobs.Script.Tests/ScriptWebHostEnvironmentTests.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
u... |
samples/My.DotNet.Component.Console/Program.cs | e5r/gulp-dotnet5 | 0 | 7054507 | <filename>samples/My.DotNet.Component.Console/Program.cs<gh_stars>0
// Copyright (c) E5R Development Team. All rights reserved.
// Licensed under the Apache License, Version 2.0. More license information in LICENSE.txt.
using static System.Console;
public class Program
{
public void Main()
{
WriteLine... |
src/MarkupSync/Controllers/MessageApiController.cs | tragiclos/realtime-signalr | 4 | 7054508 | <filename>src/MarkupSync/Controllers/MessageApiController.cs<gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MarkupSync.Services;
namespace MarkupSync.Controllers
{
public class MessageApiController : Controller
{
private readonly IMessageService messageSer... |
src/Microsoft.AspNetCore.WebHooks.Receivers/Metadata/IWebHookGetRequestMetadata.cs | SevenSpikes/WebHooks | 2 | 7054509 | <filename>src/Microsoft.AspNetCore.WebHooks.Receivers/Metadata/IWebHookGetRequestMetadata.cs
// 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.
namespace Microsoft.AspNetCore.WebHooks.Metadata
{
///... |
Slack2Display/Server/Controllers/MessageController.cs | andyturl/Windows-IOT | 0 | 7054510 | <gh_stars>0
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Slack2Display.Server.Models;
using Slack2Display.Server.Services;
namespace Slack2Display.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MessageController : ControllerBase
{
... |
library/TelAPI.Api/Model/Account.cs | TelAPI/telapi-dotnet | 0 | 7054511 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace TelAPI
{
/// <summary>
/// An account resource provides information about a single TelAPI account.
/// </summary>
public class Account : TelAPIBase
{
/// <summary>
/// An alphanumeric strin... |
solution/WebApplication/WebApplication.DataAccess/Models/SourceAndTargetSystems.cs | NMHS-MichaelLawton/azure-data-services-go-fast-codebase | 1 | 7054512 | using System.ComponentModel.DataAnnotations;
namespace WebApplication.Models
{
public partial class SourceAndTargetSystems
{
public long SystemId { get; set; }
[Display(Name = "Name")]
[Required(AllowEmptyStrings = false, ErrorMessage = "Please input valid Name")]
public string... |
OpenIZAdmin/Models/ApplicationModels/ApplicationViewModel.cs | santedb/openiz-admin | 0 | 7054514 | <filename>OpenIZAdmin/Models/ApplicationModels/ApplicationViewModel.cs
/*
* Copyright 2016-2017 Mohawk College of Applied Arts and Technology
*
* 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 Licens... |
Services/LoLShop.Services.Data/IUsersService.cs | Want3d1337/LoLShop | 2 | 7054515 | <reponame>Want3d1337/LoLShop
namespace LoLShop.Services.Data
{
using System.Threading.Tasks;
using LoLShop.Data.Models;
using LoLShop.Web.ViewModels.Users;
public interface IUsersService
{
Task UpdateAsync(EditInputModel inputModel);
Task AddFundsAsync(ApplicationUser user, doubl... |
src/Sidekick.Application/Keybinds/OpenCheatsheetsKeybindHandler.cs | pobiega/Sidekick | 440 | 7054516 | using System.Threading.Tasks;
using Sidekick.Domain.Keybinds;
using Sidekick.Domain.Platforms;
using Sidekick.Domain.Settings;
using Sidekick.Domain.Views;
namespace Sidekick.Application.Keybinds
{
public class OpenCheatsheetsKeybindHandler : IKeybindHandler
{
private readonly IViewLocator viewLocator;... |
Assets/Watson/Scripts/Services/Discovery/v1/Models/QueryRelationsFilter.cs | iamdakshak/faceAR | 3 | 7054517 | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
CodecksExtension/Source/Card.cs | chrisyarbrough/CodecksPlasticIntegration | 7 | 7054518 | namespace Xarbrough.CodecksPlasticIntegration
{
/// <summary>
/// A data transfer object which represents
/// the relevant properties of a Codecks card.
/// </summary>
public struct Card
{
/// <summary>
/// A guid, e.g. '2e8ec154-521f-11ec-be97-07520a644149'
/// </summary>
public string cardI... |
Editor/Tools/WebRequestTestTool.cs | Funbites-Game-Studio/com.funbites.unity-utils | 0 | 7054519 | using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Unity.EditorCoroutines.Editor;
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
namespace Funbites.UnityUtils.Editor
{
public clas... |
Mobile/Xamarin.Forms/IMEManager/IMEManager/IMEManager/CustomCell.cs | aferin/Tizen-CSharp-Samples | 217 | 7054520 | <reponame>aferin/Tizen-CSharp-Samples
/*
* Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
C# Fundamentals/Associative Arrays - Exercise/10. SoftUni Exam Results/Program.cs | yanchevilian/SoftUni-Solutions | 0 | 7054521 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _10._SoftUni_Exam_Results
{
class Program
{
static void Main(string[] args)
{
string command = Console.ReadLine();
Dictionary<string, List<int>> usernamePoints = new Dictionary<strin... |
Parser/2.PathMember (Normal-Parser)/Option/PathOptionCollection.cs | AltBuild/AltBuild.LinkedPath | 0 | 7054522 | <reponame>AltBuild/AltBuild.LinkedPath
using System.Collections.Generic;
using System.Text;
namespace AltBuild.LinkedPath.Parser
{
/// <summary>
/// KeyValuePair のリスト
/// </summary>
public partial class PathOptionCollection : List<PathOption>
{
/// <summary>
/// この引数の関連パス情報(親)
... |
aliyun-net-sdk-companyreg/Companyreg/Model/V20190508/ListBookkeepingSubjectBalancesResponse.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7054523 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
Tests/AnotherSut/AnotherSystemUnderTest.cs | Serg046/AutoFake | 26 | 7054524 | <gh_stars>10-100
using System;
namespace AnotherSut
{
public class AnotherSystemUnderTest
{
public DateTime GetCurrentDate() => DateTime.Now;
public virtual DateTime GetCurrentDateVirtual() => DateTime.Now;
}
}
|
Library/Library.Test/LockingTests/BaseThreadedReaderWriterTest.cs | git-thinh/CSharpTest.Net-source-v2.12.810.409 | 0 | 7054525 | #region Copyright 2011-2012 by <NAME>, Licensed under the Apache License, Version 2.0
/* 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
* ... |
Framework/Core/ConditionHelper.cs | Pathoschild/Mods.Entoarox | 40 | 7054526 | using System;
using StardewValley;
namespace Entoarox.Framework.Core
{
public class ConditionHelper : IConditionHelper
{
/*********
** Fields
*********/
private static readonly string[] WeatherTypes = { "weatherWedding", "weatherFestival", "weatherSun", "weatherSummerDebris", "w... |
Standard/essentialMix.Threading/EventWaitHandleBase.cs | asm2025/asm | 0 | 7054528 | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Threading;
using essentialMix.Extensions;
using essentialMix.Helpers;
namespace essentialMix.Threading
{
[HostProtection(Synchronization=true, ExternalThreading=true)]
[ComVisib... |
Bondage.Portal/Bondage.Tier.Services.Tests/Classes/TestMonthService.cs | javierpardollama/BONDAGE | 0 | 7054529 | <gh_stars>0
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NUnit.Framework;
using Bondage.Tier.Entities.Classes;
using Bondage.Tier.Services.Classes;
using Bondage.Tier.ViewModels.Classes.Additions;
using Bondage.Tier.ViewModels.Classes.Updates;
namespace B... |
DataLayer/VehicleModelDataMapper.cs | OleksandrDede/DPO | 0 | 7054530 | using DataLayer;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataLayer
{
public class VehicleModelDataMapper
{
static String SQL_SELECT = "SELECT * FROM Mode... |
Source/Presentation Layer/JOERP.WebSite/Areas/Administracion/Controllers/RolController.cs | joedayz/joerp | 0 | 7054531 |
namespace JOERP.WebSite.Areas.Administracion.Controllers
{
using System;
using System.Linq;
using System.Web.Mvc;
using Business.Entity;
using Business.Logic;
using Helpers;
using Helpers.Enums;
using Helpers.JqGrid;
using Core;
public class RolController : BaseController
... |
src/ExpressionParser.UTests/End2EndTests/End2EndInt.cs | HeartofTheForce/ExpressionParser | 2 | 7054532 | using ExpressionParser.Compilers;
using ExpressionParser.Parsers;
using NUnit.Framework;
#pragma warning disable IDE0047
namespace ExpressionParser.UTests.End2EndTests
{
[TestFixture]
public class End2EndInt
{
static readonly Context<int> s_ctx = new Context<int>()
{
A = 1,
... |
aspnet-core/src/EducationAdmin.Core/Education/Course.cs | 717009629/EducationAdmin | 0 | 7054533 | using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;
namespace EducationAdmin.Education
{
public class Course : FullAuditedEntity<long>, IMustHaveTenant
{
public string Category { get; set; }
public string Name { g... |
RT/RTGUI/Assets/Scripts/RTSystem/MaterialValues/MV_Swizzle.cs | heyx3/heyx3RT | 0 | 7054534 | <filename>RT/RTGUI/Assets/Scripts/RTSystem/MaterialValues/MV_Swizzle.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEditor;
using RT.Serialization;
namespace RT.MaterialValue
{
public class MV_Swizzle : MV_Base
{
public enum Components { X = ... |
Data/CALDAV/CALDAVContext.cs | DEWC-Australia/CalDavServer | 2 | 7054535 | <reponame>DEWC-Australia/CalDavServer
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace CalDav.Data.CALDAV
{
public partial class CALDAVContext : DbContext
{
public CALDAVContext()
{
}
public CALDAVContext(DbContextOptio... |
HealtChecker/HealtChecker.Service.Logging/Data/Entities/Log.cs | serhatzor/HealtChecker | 0 | 7054536 | using HealtChecker.Shared.Models;
using System;
namespace HealtChecker.Service.Logging.Data.Entities
{
public class Log
{
public string LogType { get; set; }
public DateTime ErrorTime { get; set; }
public string Content { get; set; }
public Guid Id { get; set; }
public ... |
src/BlogTube/Data/ArticleKeyword.cs | georgy-kirilov/BlogTube | 0 | 7054537 | <reponame>georgy-kirilov/BlogTube
namespace BlogTube.Data
{
using System.ComponentModel.DataAnnotations;
public class ArticleKeyword
{
[Key]
public int Id { get; set; }
public string ArticleId { get; set; }
public Article Article { get; set; }
public int KeywordI... |
CIID16B.NETCoreLib/Messages/Data/Generic/QualifiedDataType100/IAllowanceChargeIdentificationCodeType.cs | BartVertongen/CrossIndustryInvoice.NETCoreLib | 2 | 7054538 |
namespace VertSoft.CrossIndustryInvoice.D16B.Data.QualifiedDataType100.Generic
{
public interface IAllowanceChargeIdentificationCodeType
{
string listID { get; set; }
string listAgencyID { get; set; }
string listVersionID { get; set; }
string listURI { get; set; }
//CodelistCoupled(enum) or string
/... |
src/Web/DragonSouvenirs.Web/Controllers/OrdersController.cs | StoyannD/DragonSouvenirs | 0 | 7054539 | namespace DragonSouvenirs.Web.Controllers
{
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using DragonSouvenirs.Common;
using DragonSouvenirs.Data.Models;
using DragonSouvenirs.Data.Models.Enums;
using DragonSouvenirs.Services.Data;
us... |
SignalRDemo/SignalRDemoDataAccess.Tests/Utils/EnumHelperTest.cs | nachiappannk/SignalRDemo | 2 | 7054540 | <reponame>nachiappannk/SignalRDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SignalRDemoDataAccess.Types;
using SignalRDemoDataAccess.Utils;
namespace SignalRDemoDataAccess.Tests.Utils
{... |
TimeTable.UI/Models/ProjectHours.cs | PeterAsenov22/TimeTable | 0 | 7054541 | <gh_stars>0
namespace TimeTable.UI.Models
{
using System;
public partial class ProjectHours
{
public decimal ProjectId { get; set; }
public decimal EmployeeId { get; set; }
public DateTime ProjectTaskdate { get; set; }
public decimal? ProjectMonthId { get; set; }
pub... |
Amns.Tessen/Web/UI/WebControls/DojoClassDeleteDialog.cs | rahodges/Tessen | 0 | 7054542 | <reponame>rahodges/Tessen
using System;
using System.Data;
using System.Data.OleDb;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using Amns.GreyFox.People;
using Amns.GreyFox.Web.UI.WebControls;
namespace Amns.Tessen.Web.UI.WebControls
{
/// <sum... |
CAC/sourceCodes/SourceCodeC.cs | MichalTichy/aGrader | 1 | 7054543 | <gh_stars>1-10
using System;
namespace aGrader.sourceCodes
{
class SourceCodeC :SourceCode
{
public SourceCodeC(string path) : base(path)
{
}
public override string ToString()
{
return Name;
}
public override void GetCompilationE... |
AzureQueueStorageHelper.cs | JoshWencl/AzTesting | 0 | 7054544 | using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace AzureFunctionDriver
{
/// <summary>
/// Azure queue storage helper class
/// </summary>
public class AzureQueueStorageHelper
{
/// <summary>
... |
src/EasyPermissionManagement.Core/Statics/PermissionValues.cs | furkandeveloper/EasyPermissionManagement | 5 | 7054545 | <filename>src/EasyPermissionManagement.Core/Statics/PermissionValues.cs
using EasyPermissionManagement.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyPermissionManagement.Core.Statics
{
/// <summary>
/// Permissi... |
C#/SLN_Combolist/Combolist/Form1.Designer.cs | GuiPiovezan/Atividades | 0 | 7054546 | namespace Combolist
{
partial class frm_Combolist
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
src/MoneyMan.WPF/ContentControlWithEvents.cs | G-arj/MoneyMan | 28 | 7054547 | <reponame>G-arj/MoneyMan
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Ms-PL license. See LICENSE.txt file in the project root for full license information.
using System.Windows.Controls;
namespace MoneyMan;
public class ContentControlWithEvents : ContentControl
{
public event EventHandler? T... |
Installer/AdvocacyPlatformInstaller.Contracts/Model/DynamicsCrm/EntityRecord.cs | Bhaskers-Blu-Org2/AdvocacyPlatform | 9 | 7054548 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace AdvocacyPlatformInstaller.Contracts
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
... |
Source-Code-设客网设计师与设计院作品分享与威客门户网站/PayOnline/Return/BaoFaoShow.aspx.cs | zoomlacms/web022 | 2 | 7054549 | <reponame>zoomlacms/web022<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZoomLa.BLL;
using ZoomLa.BLL.API;
using ZoomLa.Common;
using ZoomLa.Model;
public partial class PayOnline_BaoFaoShow : System.Web.UI... |
stm-logic/PlayGen.RAGE.SportsTeamManager/PlayGen.RAGE.SportsTeamManager.Simulation/TemplateBridge.cs | playgen/sports-team-manager | 2 | 7054550 | using System;
using System.Linq;
using AssetPackage;
namespace PlayGen.RAGE.SportsTeamManager.Simulation
{
public class TemplateBridge : IBridge, IDataStorage
{
public virtual bool Delete(string fileId)
{
throw new NotImplementedException();
}
public virtual bool Exists(string fileId)
{
return tru... |
FarsiLibrary.WinFormDemo/Pages/RightToLeft.Designer.cs | SKamalou/FarsiLibrary | 43 | 7054551 | <filename>FarsiLibrary.WinFormDemo/Pages/RightToLeft.Designer.cs<gh_stars>10-100
namespace FarsiLibrary.WinFormDemo.Pages
{
partial class RightToLeft
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/CAS.Common/ResourceUtilities.cs | risadams/team-agile | 0 | 7054552 | // -----------------------------------------------------------------------
// <copyright file="ResourceUtilities.cs" company="<NAME>">
// Copyright © 2014 <NAME>. All rights reserved.
// </copyright>
// <author></author>
// <project>CAS.Common</project>
// -------------------------------------------------------... |
src/Web/Api/CentralApi/Models/PaymentSelectBankViewModel.cs | mojjoiv/c-banking-syste-m | 127 | 7054553 | namespace CentralApi.Models
{
using System.Collections.Generic;
public class PaymentSelectBankViewModel
{
public decimal Amount { get; set; }
public string Description { get; set; }
public IEnumerable<BankListingViewModel> Banks { get; set; }
}
} |
src/Rn.Mailer.Core/Models/MailUser.cs | rncode/Rn.Mailer | 0 | 7054554 | using System;
namespace Rn.Mailer.Core.Models
{
public class MailUser
{
/// <summary>
/// Unique identifier for this user, often referred to as the userId
/// </summary>
public int Id { get; set; }
/// <summary>
/// Indicates the enabled state for t... |
sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/InventoryItemProperties.cs | ScriptBox99/azure-sdk-for-net | 0 | 7054555 | <filename>sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/InventoryItemProperties.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.ArcScVmm.Models
{
/// <summary> Defines the... |
C# OOP 2019/01. WorkingWithAbstraction/P01_RawData/Cargo.cs | bodyquest/SoftwareUniversity-Bulgaria | 2 | 7054556 | namespace P01_RawData
{
using System;
using System.Collections.Generic;
using System.Text;
public class Cargo
{
private int weight;
public Cargo(string type, int weight)
{
this.Type = type;
this.weight = weight;
}
public string Type... |
src/AppKit/NSPageLayout.cs | moljac/monomac | 4 | 7054557 | //
// Support code for NSPageLayout
//
using System;
namespace MonoMac.AppKit {
public partial class NSPageLayout {
object __mt_accessory_var;
}
}
|
SafeRapidPdf/Filters/IFilter.cs | Color-Of-Code/SafeRapidPdf | 6 | 7054558 | using SafeRapidPdf.Objects;
namespace SafeRapidPdf.Filters
{
public interface IFilter
{
/// <summary>
/// Decodes the input buffer and returns a decoded output buffer
/// </summary>
/// <param name="input"></param>
/// <param name="options"></param>
/... |
Runtime/CareBoo.AlgoSdk/Serialization/EqualityComparers.cs | SpacePassport/unity-algorand-sdk | 15 | 7054559 | using System;
using System.Collections.Generic;
using Unity.Collections.LowLevel.Unsafe;
namespace AlgoSdk
{
public struct ByteEnumComparer<T> : IEqualityComparer<T>
where T : Enum
{
bool IEqualityComparer<T>.Equals(T x, T y) => Equals(x, y);
int IEqualityComparer<T>.GetHashCode(T obj) ... |
Lab Generics/2_GenericArrayCreator/StartUp.cs | danieldamianov/C-OOP-Advanced | 1 | 7054560 | using System;
using System.Collections.Generic;
namespace GenericArrayCreator
{
class StartUp
{
static void Main(string[] args)
{
string[] strings = ArrayCreator.Create<string>(5, "Pesho");
int[] integers = ArrayCreator.Create<int>(10, 33);
}
}
}
|
Assets/Editor/Tests/EditMode/Shared/DependencyInjection/GuidProvider.cs | sipasi/ProjectCard | 1 | 7054561 |
using System;
namespace Framework.Shared.DependencyInjection.Tests
{
public class GuidProvider : IGuidProvider
{
public Guid Guid { get; } = Guid.NewGuid();
}
} |
src/PuyoTools.App.Shared/Formats/Archives/U8Format.cs | MichaelHinrichs/puyotools | 73 | 7054562 | using PuyoTools.Core;
using PuyoTools.Core.Archives;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PuyoTools.App.Formats.Archives
{
/// <inheritdoc/>
internal partial class U8Format : IArchiveFormat
{
... |
RIS.Reflection/ReflectionHelper.cs | RISStudio-tm/RIS-Libraries | 5 | 7054563 | <reponame>RISStudio-tm/RIS-Libraries
// Copyright (c) RISStudio, 2020. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for license information.
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace RIS.Reflection
{
public sta... |
src/MicroElements.Metadata/Validation/ValidationExtensions.cs | micro-elements/MicroElements.MetadataModel | 1 | 7054564 | // Copyright (c) MicroElements. 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 MicroElements.Functional;
using MicroElements.Metadata;
using MicroElements.Validation.Rul... |
Yetibyte.FridgeMvvm/DataExchange/DatabaseAccessor.cs | Yeti47/Yetibyte.FridgeMvvm | 0 | 7054565 | <reponame>Yeti47/Yetibyte.FridgeMvvm<gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Data.Common;
namespace Yetibyte.FridgeMvvm.DataExchange {
public class Database... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.