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 |
|---|---|---|---|---|
SQLObjects/Tables.cs | lslewis901/SqlSchemaTool | 1 | 7067676 | using NLog;
using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
namespace Lewis.SST.SQLObjects
{
/// <summary>
/// Class to serialize the DB tables which inherits from a DataSet class.
/// </summary>
[Serializable()]
public class Tables : BaseObject
{
/// <su... |
LayoutKit.Xamarin/Views/ReloadableViewLayoutAdapter.cs | ararog/LayoutKit.Xamarin | 3 | 7067677 | using Foundation;
using System;
using System.Diagnostics;
using CoreFoundation;
using UIKit;
using CoreGraphics;
namespace LayoutKit.Xamarin
{
public class ReloadableViewLayoutAdapter : IUITableViewDataSource, IUITableViewDelegate, IUICollectionViewDataSource, IUICollectionViewDelegateFlowLayout
{
str... |
Topocat.Backend/Topocat.Services/ICommand.cs | DarkFIxED/topocat | 4 | 7067678 | <reponame>DarkFIxED/topocat<filename>Topocat.Backend/Topocat.Services/ICommand.cs
using System;
using System.Threading.Tasks;
namespace Topocat.Services
{
public interface ICommand
{
}
public interface ICommand<in TArgs, TResult> : ICommand
{
Task<TResult> Execute(TArgs args);
}
... |
UI/PC/Views/Message/ToMe.cshtml | feilang864/task.zyfei.net | 1 | 7067679 | @{
ViewBag.Title = "当前任务列表·自由飞·任务管理系统";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using FFLTask.SRV.ViewModel.Message
@using Global.Core.ExtensionMethod
@using FFLTask.GLB.Global.Enum
@model ToMeModel
<div id="dual_columns_big">
@using (Html.BeginForm())
{
@Html.Partial("_ToMeOperater")
... |
test/Test.Unit.Infrastructure.WebApi/Controllers/CategoriesControllerTester.cs | smashingboxes/reference-architecture-api | 9 | 7067680 | <filename>test/Test.Unit.Infrastructure.WebApi/Controllers/CategoriesControllerTester.cs
namespace Test.Unit.Infrastructure.WebApi.Controllers
{
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Security.Principal;
using CompanyName.Notebook.NoteTaking.Core.A... |
PMDC/LevelGen/Floors/GenSteps/Seals/BossSealStep.cs | PMDCollab/PMDC | 3 | 7067681 | <reponame>PMDCollab/PMDC<gh_stars>1-10
using System;
using RogueElements;
using RogueEssence.Dungeon;
using RogueEssence;
using RogueEssence.LevelGen;
using PMDC.Dungeon;
using System.Collections.Generic;
namespace PMDC.LevelGen
{
[Serializable]
public class BossSealStep<T> : BaseSealStep<T> where T : ListMap... |
src/ReSharperPlugin/src/ILCompiler/ElementCompilers/ClassLikeDeclarationCompiler.cs | gsvgit/CoFRA | 4 | 7067682 | using Cofra.AbstractIL.Common.Types;
using Cofra.AbstractIL.Common.Types.Ids;
using Cofra.ReSharperPlugin.ILCompiler.CompilationResults;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace Cofra.ReSharperPlugin.ILCompiler.ElementCompilers
{
internal class ClassLikeDeclarationCompiler : ElementCompiler
{
priva... |
Cart.API/Startup.cs | lucascrocha1/west | 0 | 7067683 | namespace Cart.API
{
using Cart.API.Infrastructure.Repositories;
using Cart.API.Infrastructure.Services.User;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft... |
Log/LogInfo.cs | norcino/Minded | 4 | 7067684 | namespace Minded.Log
{
public class LogInfo
{
public LogInfo()
{
LogMessageTemplate = string.Empty;
LogMessageParameters = new object[0];
}
public LogInfo(string logMessageTemplate, params object[] logMessageParameters)
{
LogMessageTe... |
src/SGFR_Web/Controllers/Produtoes1Controller.cs | PauloGaldino/SGFR_Identity | 0 | 7067685 | <filename>src/SGFR_Web/Controllers/Produtoes1Controller.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Domain.Entities.Producao;
using InfraData.Data... |
api/Models/Covenant.cs | CarlosGatti/api_c-_master | 0 | 7067686 | using System;
using System.ComponentModel.DataAnnotations;
namespace Cretovale_api.Models
{
public class Covenant : IEntity
{
public Guid Id { get; set; }
[Required]
public string Name { get; set; }
public string Site { get; set; }
//benefit
public string Bene... |
UsefulStuff.Core/Features/PostProcessing.cs | kkykkykky/HSPlugins | 8 | 7067687 | #if !KOIKATSU
using Studio;
using ToolBox.Extensions;
#if IPA
using Harmony;
#elif BEPINEX
using HarmonyLib;
#endif
#if HONEYSELECT
using System;
using System.Reflection;
using UnityEngine;
using UnityStandardAssets.ImageEffects;
#endif
namespace HSUS.Features
{
public class PostProcessing : IFeature
{
... |
kdl_wrap/generated/Kdl/FrameAccVector.cs | slater1/Kdl.NetStandard | 1 | 7067688 | <reponame>slater1/Kdl.NetStandard<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--mo... |
authproxy/XsrfAuthorization.cs | plasne/openid-connect | 11 | 7067689 | <filename>authproxy/XsrfAuthorization.cs
using System;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace authproxy
{
public class XsrfRequirement : IA... |
src/_DomainDriven/Framework.DomainDriven.Core/DAL/Revisions/DomainObjectRevisionBase.cs | Luxoft/BSSFramework | 18 | 7067690 | <reponame>Luxoft/BSSFramework
using System.Collections.Generic;
using Framework.Persistent;
namespace Framework.DomainDriven.DAL.Revisions
{
public interface IDomainObjectPropertyRevisionBase<out TIdent, out TRevisionItems>
{
string PropertyName { get; }
TIdent Identity { get; }
... |
StreamController/SystemTrayIcon.xaml.cs | watfordjc/csharp-stream-controller | 2 | 7067691 | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using uk.JohnCook.dotnet.NAudioWrapperLibrary;
using uk.JohnCook.dotnet.StreamController.Controls;
namespace uk.JohnCook.dotnet.StreamController
{
/// <summary>
/// Intera... |
StateEngine4net/StateEngine4net.Shared/Transitions/Interfaces/IStateTransition.cs | igambin/StateEngine4net | 0 | 7067692 | <filename>StateEngine4net/StateEngine4net.Shared/Transitions/Interfaces/IStateTransition.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using StateEngine4net.Core.Interfaces;
using StateEngine4net.Core.Models;
namespace StateEngine4net.Core.Transitions.Interfaces
{
publi... |
Assets/Scripts/SinglePlayer/UIControl.cs | sunsongqiao2018/color_bet_game | 0 | 7067693 | <filename>Assets/Scripts/SinglePlayer/UIControl.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using System;
using DG.Tweening;
using UnityEngine.UI;
public class UIControl : MonoBehaviour
{
[SerializeField] TextMeshProUGUI _totalChips;
[SerializeField] TextMesh... |
StreetWorkout.Data/Configurations/ApplicationUserConfiguration.cs | vasiltatarov/Street-Workout | 6 | 7067695 | namespace StreetWorkout.Data.Configurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using StreetWorkout.Data.Models;
public class ApplicationUserConfiguration : IEntityTypeConfiguration<ApplicationUser>
{
public void Configure(EntityTyp... |
test.xunit.runner.visualstudio.testadapter/TestCaseFilterHelperTests.cs | sharwell/visualstudio.xunit | 2 | 7067696 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using NSubstitute;
namespace Xunit.Runner.Vi... |
Source/Engine/AGS.Engine/Audio/Modifiers/VolumeModifier.cs | tzachshabtay/MonoAGS | 27 | 7067697 | <filename>Source/Engine/AGS.Engine/Audio/Modifiers/VolumeModifier.cs
using AGS.API;
namespace AGS.Engine
{
public class VolumeModifier : ISoundModifier
{
private float _volumeFactor;
public VolumeModifier(float volumeFactor)
{
OnChange = new AGSEvent();
_volume... |
src/DotNet.IService/IModifyRecordService.cs | cuiwenyuan/DotNet.Util | 1 | 7067698 | <gh_stars>1-10
//-----------------------------------------------------------------
// All Rights Reserved. Copyright (C) 2021, DotNet.
//-----------------------------------------------------------------
using System.Collections.Generic;
using System.Data;
namespace DotNet.IService
{
using Util;
/// <summar... |
Senai.InLock.WebApi/Senai.InLock.WebApi/Domains/Perfil.cs | silvaemiliaborges/2s2019-t2-sprint-2-inlock | 0 | 7067699 | <reponame>silvaemiliaborges/2s2019-t2-sprint-2-inlock
using System;
using System.Collections.Generic;
namespace Senai.InLock.WebApi.Domains
{
public partial class Perfil
{
public Perfil()
{
Usuario = new HashSet<Usuario>();
}
public int Idperfil { get; set; }
... |
Assets/My Assets/Scripts/ToneManager.cs | JasonSkillman/Heading-Home | 0 | 7067700 | <filename>Assets/My Assets/Scripts/ToneManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DialogueManager;
public class ToneManager : MonoBehaviour {
public Sprite[] answer;
public Sprite[] currentTry;
public DialogueScript dialogueScript;
bool flag = false;
public ... |
src/Model/Account/NameModel.cs | mintyfusion/moov-dotnet-sdk | 0 | 7067701 | <gh_stars>0
namespace Tutkoo.mintyfusion.Moov.Sdk.Model.Account
{
#region Namespace
using System.Text.Json.Serialization;
#endregion
#region Class
public class NameModel
{
[JsonPropertyName("firstName")]
public string FirstName { get; set; }
[JsonPropertyName("middleNa... |
src/Logzio.NLog.Extensions/ConfigureExtensions.cs | afaq-khan/LogzioNLogExtensions | 0 | 7067702 | using Logzio.DotNet.NLog;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using NLog;
using NLog.Config;
using NLog.Extensions.Logging;
using NLog.Targets;
using LogLevel = NLog.LogLevel;
namespace Logzio.NLog.Extensions
{
public static class ConfigureExtensions
{
public ... |
UiMetadataFramework.Basic/Output/FormLink.cs | UNOPS/UiMetadataFramework | 11 | 7067703 | namespace UiMetadataFramework.Basic.Output
{
using System.Collections.Generic;
using UiMetadataFramework.Core;
using UiMetadataFramework.Core.Binding;
/// <summary>
/// Represents a reference to a form.
/// </summary>
[OutputFieldType("formlink")]
public class FormLink
{
/// <summary>
/// Gets or sets a ... |
src/Services/Discount/Discount.Shared/Repositories/DiscountRepository.cs | geraldmaale/AspnetMicroservices | 0 | 7067704 | <gh_stars>0
using Discount.Shared.Data;
using Discount.Shared.Entities;
using GreatIdeas.Repository;
using Microsoft.EntityFrameworkCore;
namespace Discount.Shared.Repositories;
public class DiscountRepository : RepositoryFactory<DiscountDbContext, Coupon>, IDiscountRepository
{
public DiscountRepository(IDbConte... |
Assets/Scripts/Voxels/Helper/PolyModelHandle.cs | Deus0/Zeltexium | 4 | 7067705 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Zeltex.Voxels
{
/// <summary>
/// The mode of the voxel model handler
/// </summary>
public enum PolyModelHandleMode
{
None,
Verts,
Lines,
... |
src/AvaloniaPreviewLanguageServer/FileSystemHelpers.cs | Takoooooo/AvaloniaPreviewLanguageServer | 0 | 7067706 | <reponame>Takoooooo/AvaloniaPreviewLanguageServer
using System;
using System.Collections.Generic;
using System.IO;
namespace AvaloniaPreviewLanguageServer
{
internal static class FileSystemHelpers
{
public static IReadOnlyList<string> FindCsprojFilesInDirectory(string directoryPath)
{
... |
DirectN/DirectN/Generated/IAudioEndpointOffloadStreamVolume.cs | riQQ/DirectN | 1 | 7067707 | <filename>DirectN/DirectN/Generated/IAudioEndpointOffloadStreamVolume.cs<gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\audioengineendpoint.h(752,5)
using System;
using System.Runtime.InteropServices;
using HNSTIME = System.Int64;
namespace DirectN
{
[Guid("64f1dd49-71ca-4281-8672... |
Mercury.Models/MercuryRequest.cs | wolf8196/Mercury | 1 | 7067708 | <gh_stars>1-10
using System.Collections.Generic;
namespace Mercury.Models
{
public class MercuryRequest<TPayload>
where TPayload : class
{
public string TemplateKey { get; set; }
public IEnumerable<string> Tos { get; set; }
public IEnumerable<string> Ccs { get; set; }
... |
src/Univer.Web/HttpWebRequestMethod.cs | shigengyu/UniverCore | 0 | 7067709 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Univer.Web
{
[Flags]
public enum HttpWebRequestMethod
{
Connect = 1,
Get = 1 << 1,
Head = 1 << 2,
MkCol = 1 << 3,
Post = 1 << 4,
Put = 1 << 5
}
}
|
TD6/src/ClientSOAP/TD4/Program.cs | AndreaBerro/eiin839 | 0 | 7067710 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TD4
{
internal class Program
{
static void Main(string[] args)
{
//Test du serveur SOAP
ServiceReference2.MathsOperationsClient client = new Ser... |
Models/Recipe.cs | Omri-sh/Recipes | 0 | 7067711 | <gh_stars>0
using System;
using System.Collections.Generic;
using SQLite;
namespace Recipes.Models
{
public class Recipe
{
#region Properties
[PrimaryKey]
public int Id { get; set; }
[MaxLength(50)]
public string Title { get; set; }
[MaxLength(5)]
public... |
MVC Movie Tutorial/MVCMovie/MVCMovie/Models/Book.cs | komitoff/Software-Technologies | 0 | 7067713 | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
namespace MVCMovie.Models
{
public class Book
{
public int ID { get; set; }
public string Author { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public dec... |
Examples/Example4 Using Dependent Analysis/massObjective.cs | DesignEngrLab/OOOT | 11 | 7067714 | /*************************************************************************
* This file & class is part of the Object-Oriented Optimization
* Toolbox (or OOOT) Project
* Copyright 2010 <NAME>, PhD.
*
* OOOT is free software: you can redistribute it and/or modify
* it under the terms of t... |
Source/WallMountedTurretSettings/WallMountedTurretSettings.cs | emipa606/WallMountedTurrets | 0 | 7067715 | using Verse;
namespace WallMountedTurretSettings
{
public class WallMountedTurretSettings : ModSettings
{
public bool MyTurretDefNameFlameIsVisible = true;
public bool MyTurretDefNameIsVisible = true;
public bool MyTurretDefNameMinigunIsVisible = true;
public bool MyTurretDefNa... |
PokeAbilities/DefaultRandomizer.cs | TanaUmbreon/PokeAbilities | 0 | 7067716 | using System.Collections.Generic;
namespace PokeAbilities
{
/// <summary>
/// <see cref="RandomUtil"/> を使用した疑似乱数ジェネレーターです。
/// </summary>
public sealed class DefaultRandomizer : IRandomizer
{
#region Singleton 実装
/// <summary>
/// このクラスの既定のインスタンスを取得します。
... |
Common/Helpers/ConsoleObserver.cs | xp44mm/RxInAction | 0 | 7067717 | using System;
namespace Helpers
{
/// <summary>
/// Listing 4.2 An observer that output to the console each time the OnNext, OnError and
/// OnComplete occurs
/// </summary>
/// <typeparam name="T"></typeparam>
public class ConsoleObserver<T> : IObserver<T>
{
private readonly strin... |
libshade.server.nierian-impl/NierianServiceImpl.cs | miyu/libalby | 1 | 7067718 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Shade.Server.Accounts;
using ItzWarty;
namespace Shade.Server.Nierians
{
public class NierianServiceImpl : NierianService
{
private Dictionary<string, ShardNierianServiceImpl> shardNie... |
TheGameOfLifeWPFApp/TheGameOfLife.Tests/GameLogicTests.cs | laskiewicz/TheGameOfLife | 2 | 7067719 | using System;
using Xunit;
using WPFTheGameOfLife.GameOfLife;
using WPFTheGameOfLife.Messages;
using Microsoft.Toolkit.Mvvm.Messaging;
namespace TheGameOfLife.Tests
{
public class GameLogicTests
{
[Theory]
[InlineData(0)]
[InlineData(10)]
[InlineData(1000)]
[InlineData(... |
PocoGen.GUI/Presentation/Views/SettingsView.xaml.cs | Chri-s/PocoGen | 0 | 7067720 | using System.ComponentModel.Composition;
using System.Windows;
using PocoGen.Gui.Applications.Views;
namespace PocoGen.Gui.Presentation.Views
{
[Export(typeof(ISettingsView))]
[PartCreationPolicy(CreationPolicy.NonShared)]
internal sealed partial class SettingsView : Window, ISettingsView
{
... |
Csvexe_L02_Table/Project/CSharp_Impl/300_Table/RecordFielddefImpl.cs | muzudho/csharp-frame-memo | 0 | 7067721 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xenon.Syntax;
namespace Xenon.Table
{
public class RecordFielddefImpl : RecordFielddef
{
#region 生成と破棄
//────────────────────────────────────────
public RecordFielddefImpl()
{
... |
Assets/Scripts/GridObj.cs | unstablesun/LifeX | 1 | 7067722 | <filename>Assets/Scripts/GridObj.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GridObj : MonoBehaviour {
public List<List<GameObject>> GridCells { get; set; }
private int mCols = 1;
private int mRows = 1;
private float mStartX;
private float mStartY;
priva... |
PayU.Client/src/PayU.Client/Models/McpPartners/CurrencyPair.cs | bares43/PayU-CSharp-Client | 3 | 7067723 | <reponame>bares43/PayU-CSharp-Client<filename>PayU.Client/src/PayU.Client/Models/McpPartners/CurrencyPair.cs
using Newtonsoft.Json;
namespace PayU.Client.Models
{
public class CurrencyPair
{
[JsonProperty(PayUContainer.PropsName.BaseCurrency)]
public string BaseCurrency { get; set; }
[... |
Views/band.cshtml | HunterTParks/Band-Tracker | 0 | 7067724 | @{
Layout = "Shared/_layout.cshtml";
}
<ul>
@foreach(var item in @Model["band"].GetVenues())
{
Console.WriteLine(item.GetName());
<li>@item.GetName()</li>
}
Where would you like this band to go?
<form action="/band/@Model["band"].GetId()/added_to_venue/" method="post">
<select name="addVenue">... |
Tests/FeedbackMessages.AspNetCore3.Test/FeedbackMessagesUnitTestBase.cs | SaravananR22/FeedbackMessages | 1 | 7067725 | <reponame>SaravananR22/FeedbackMessages
using Microsoft.AspNetCore.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace FeedbackMessages.Test
{
/// <summary>
/// Unit test base.
/// </summary>
public... |
src/Plugin.Toast/NotificationEvent.shared.cs | anton-yashin/Plugin.Toast | 2 | 7067726 | using System;
namespace Plugin.Toast
{
/// <summary>
/// Notification event.
/// </summary>
public sealed class NotificationEvent : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="NotificationEvent"/> class.
/// </summary>
/// <param name=... |
MediaBrowser.Theater.Interfaces/Presentation/ISettingsPage.cs | thogil/MediaBrowser.Theater | 0 | 7067727 | using MediaBrowser.Model.Dto;
using System;
namespace MediaBrowser.Theater.Interfaces.Presentation
{
/// <summary>
/// Interface ISettingsPage
/// </summary>
public interface ISettingsPage
{
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value... |
ScriptEngine/runtime/function/CallExpression.cs | toycode/WPF-Blocky | 5 | 7067728 | <reponame>toycode/WPF-Blocky
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScratchNet
{
public class CallStatement : Statement
{
public string Function
{
get;
set;
}
public string FunctionNameFormat { get... |
YantraJS.Core/FastParser/Compiler/StrictModeExtensions.cs | yantrajs/yantra | 23 | 7067729 | using System;
using System.Collections.Generic;
using System.Text;
namespace YantraJS.Core.FastParser.Compiler
{
internal static class StrictModeExtensions
{
public static void VerifyIdentifierForUpdate(this AstIdentifier id)
{
if (id.Name.Equals("arguments") || id.Name.E... |
src/outer/imL.Rest.Google/imL/Schema/Maps/Plus_Code.cs | rllamocca/imL | 1 | 7067730 | namespace imL.Rest.Google.Schema.Maps
{
#pragma warning disable IDE1006 // Estilos de nombres
public class Plus_Code
{
public string compound_code { set; get; }
public string global_code { set; get; }
}
#pragma warning restore IDE1006 // Estilos de nombres
} |
IBGE.Helper.Tests/NamesTests.cs | leandrosdias/IBGE.Helper | 0 | 7067731 | using IBGE.Helper.Models.Nomes;
using IBGE.Helper.Tests.Utils;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IBGE.Helper.Tests
{
[TestFixture]
public class NamesTests
{
... |
Epam.Task7/Epam.Task7.DAL/AwardBinDao.cs | Vladislav-Pushkarev/XT-2018Q4 | 0 | 7067732 | <reponame>Vladislav-Pushkarev/XT-2018Q4
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using Epam.Task7.DAL.Interface;
using Epam.Task7.Entities;
namespace Epam.Task7.DAL
{
public class AwardBinDao : IAwardDao
{
... |
KeyboardRecorder/KeyboardAPI/APIs/Key.cs | Aszusz/KeyboardRecorder | 1 | 7067734 | namespace KeyboardAPI.APIs
{
public enum Key
{
LeftMouseButton = 0x01,
RightMouseButton = 0x02,
Cancel = 0x03,
MiddleMouseButton = 0x04,
MouseXButton1 = 0x05,
MouseXButton2 = 0x06,
Backspace = 0x08,
Tab = 0x09,
Clear = 0x0C,
Enter =... |
CS451ScrabbleAssignment/Form1.Designer.cs | ajm1014/scrabble | 0 | 7067735 | <filename>CS451ScrabbleAssignment/Form1.Designer.cs
namespace CS451ScrabbleAssignment
{
partial class ScrabbleGUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean u... |
src/DesktopHelper.cs | lookitsnicholas/WinDynamicDesktop | 0 | 7067736 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using Microsoft.Win32;
namespace WinDynamicDesktop
{
class DesktopHelper
{
public static string GetCurrentDirectory()
{... |
src/core/Bari.Core/cs/Model/PackagerDefinition.cs | gavrail/bari | 5 | 7067738 | <filename>src/core/Bari.Core/cs/Model/PackagerDefinition.cs
using Bari.Core.Model.Parameters;
namespace Bari.Core.Model
{
public class PackagerDefinition
{
private readonly PackagerId packagerType;
private readonly IPackagerParameters parameters;
public PackagerId PackagerType
... |
TestApp/AzureCommunicationVideoTest.iOS/AppDelegate.cs | mariusu-msft/Xamarin.AzureCommunicationCalling | 23 | 7067739 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Foundation;
using UIKit;
using UserNotifications;
namespace AzureCommunicationVideoTest.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Inte... |
src/Bass/Shared/Bass/Structures/DeviceInfo.cs | Beyley/ManagedBass | 169 | 7067740 | using System;
using System.Runtime.InteropServices;
namespace ManagedBass
{
/// <summary>
/// Used with <see cref="Bass.GetDeviceInfo(int,out DeviceInfo)" /> or <see cref="Bass.RecordGetDeviceInfo(int,out DeviceInfo)" /> to retrieve information on a device.
/// </summary>
/// <remarks>
/// <para>
... |
src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/LastRequester.cs | Veraatversus/AnnoSavegameViewer | 12 | 7067741 | <filename>src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/LastRequester.cs
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
using AnnoSavegameViewer.Serialization.Core;
public class LastRequester {
[BinaryContent(Name = "ForceAreaID", NodeType = BinaryContentTypes.Attrib... |
SpiirCodeTask/Model/User.cs | YoginiA/SpiirTask | 0 | 7067742 | <gh_stars>0
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Linq;
namespace SpiirCodeTask.Model
{
public class User
{
[BsonId]
public int Id { get; set; }
public string Nm { get; set; }
private string firstName = "";
public string FirstName
... |
src/Uno.UWP/Devices/Enumeration/Internal/Providers/Midi/MidiOutDeviceClassProvider.Android.cs | olirobert/uno | 5,973 | 7067743 | <gh_stars>1000+
#if __ANDROID__
using Android.Media.Midi;
namespace Uno.Devices.Enumeration.Internal.Providers.Midi
{
internal class MidiOutDeviceClassProvider : MidiDeviceClassProviderBase
{
public MidiOutDeviceClassProvider() : base(MidiPortType.Output)
{
}
}
}
#endif
|
Inazuma/Inazuma.PetitClr/Core/InazumaUtility.cs | mayuki/Inazuma | 23 | 7067744 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Inazuma.PetitClr.Core.Structure;
namespace Inazuma.PetitClr.Core
{
internal class InazumaUtility
{
}
}
|
HomeHunter/Services/HomeHunter.Services/EmailSender/EmailSender.cs | CryptoEcliptic/HomeHunter | 0 | 7067745 | <reponame>CryptoEcliptic/HomeHunter<gh_stars>0
using Microsoft.Extensions.Configuration;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Threading.Tasks;
namespace HomeHunter.Services.EmailSender
{
public class EmailSender : IApplicationEmailSender
{
private const string SenderEmail = "<EMA... |
Vega/Vega/Models/ModelResources/ContactResource.cs | DarkMimiron/vegaWebApp | 0 | 7067746 | using System.ComponentModel.DataAnnotations;
namespace Vega.Models.ModelResources{
public class ContactResource{
[Required]
[StringLength(255)]
public string Name{ get; set; }
[Required]
[StringLength(255)]
public string Phone{ get; set; }
[Required]
... |
Assets/Scripts/Icons.cs | auctumnus/latency | 0 | 7067747 | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Scenes;
using Scenes.Actions;
using UnityEngine;
using UnityEngine.UI;
public class Icons: MonoBehaviour
{
public List<GameObject> queue;
public GameObject attackPrefab;
public GameObject movePrefab;
public Ga... |
rbkApiModules.Authentication/Models/Relationships/RoleToClaim.cs | smarza/rbk-api-modules | 0 | 7067748 | using System;
namespace rbkApiModules.Authentication
{
/// <summary>
/// Classe necessária para modelar o relacionamento n-n do EntityFrameworkCore
/// </summary>
public class RoleToClaim
{
protected RoleToClaim()
{
}
public RoleToClaim(Role role, Claim claim)
... |
src/Mojapi.Core/Common/Property.cs | PotatoMaster101/mojapi | 0 | 7067750 | using System;
using System.Text.Json;
namespace Mojapi.Core.Common
{
/// <summary>
/// Stores the property values.
/// </summary>
public record Property
{
/// <summary>
/// Gets the name of the property.
/// </summary>
/// <value>The name of the property.</value>
... |
Assets/Scripts/Players/PlayerCore.cs | one-night-game-jam/great-kanpai | 0 | 7067751 | using System;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
using Zenject;
namespace Players
{
public class PlayerCore : MonoBehaviour
{
[Inject]
IInputEventProvider inputEventProvider;
public IObservable<Unit> OnJump => inputEventProvider.Jump
.WithLatestFrom(Jump... |
src/MeowvBlog.API/Models/Dto/Gallery/ImageV2Dto.cs | Xieweikang123/Blog-1 | 1 | 7067752 | <gh_stars>1-10
using System.Collections.Generic;
namespace MeowvBlog.API.Models.Dto.Gallery
{
public class ImageV2Dto
{
/// <summary>
/// AlbumId
/// </summary>
public string AlbumId { get; set; }
/// <summary>
/// 图片URL列表
/// </summary>
public ... |
Culminating project/MenuForm.cs | boris1022chan/matching-animal-sound | 0 | 7067753 | /* <NAME>
* June 3 2015
* this program is a sound to animal matching game, which comes with 3 different environments and 15 different animals
* */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.T... |
iBot/Facades/Events/Args/ConnectionChangedEventArgs.cs | LunaTTvBot/iBot | 0 | 7067754 | using System;
using IBot.Facades.Core;
namespace IBot.Facades.Events.Args
{
public class ConnectionChangedEventArgs : EventArgs
{
public ConnectionChangeType ChangeType { get; internal set; }
public ConnectionType ConnectionType { get; internal set; }
public ConnectionChangedEventArgs... |
MainWindow.xaml.cs | borup3/CSharp-IRC-Client-WPF | 0 | 7067755 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using CodeCafeIRC.irc;
using CodeCafeIRC.messaging;
... |
SoulsVania/Src/Dialogue.cs | komos90/MonoPlatformer | 0 | 7067756 | <filename>SoulsVania/Src/Dialogue.cs
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Platformer {
public class Dialogue {
private const int totalLines = 4;
public delegate void ResponseFunc(World world);
priv... |
AsyncMediator.Test/Fakes/TestMultipleCommandsWithResult.cs | preemajames/AsyncMediator | 8 | 7067757 | using System;
using System.Threading.Tasks;
namespace AsyncMediator.Test
{
public class TestMultipleCommandHandlerWithResult : CommandHandler<TestMultipleCommandWithResult>
{
public TestMultipleCommandHandlerWithResult(IMediator mediator) : base(mediator)
{
}
protected overrid... |
SignalR.Strong.Dynamic/HubInterceptor.cs | mehmetakbulut/SignalR.Strong | 27 | 7067758 | using System.ComponentModel;
using System.Reflection;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using System.Xml.XPath;
using Castle.DynamicProxy;
using Microsoft.AspNetCore.SignalR.Client;
namespace SignalR.Strong.Dynamic
{
internal class HubInterceptor : I... |
test/Infrastructure/Migrations/20180817155225_Initial.cs | bessgeor/ZeroORM.EFCore | 0 | 7067759 | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace ZeroORM.EFCore.Test.Infrastructure.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Crea... |
src/Threax.AspNetCore.UserBuilder.Entities/AdminRoles.cs | threax/AspNetCore.Swashbuckle.Convention | 1 | 7067760 | using System;
using System.Collections.Generic;
using System.Text;
namespace Threax.AspNetCore.UserBuilder.Entities
{
/// <summary>
/// This class represents the roles that the current user acting as an admin has. This can be none of these
/// roles, which means they arent really an admin.
/// </summa... |
Assets/AddressableBasedBuildTools/Editor/AssetSystem/ClearCache.cs | huosk/AddressableBasedBuildTools | 0 | 7067761 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using System.IO;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Text;
public class ClearCache
{
const string Menu_OpenCacheFolder = "Tools/清除缓存/浏览缓存目录";
const string Menu_ClearAl... |
BusylightRestHost/Src/Utils/AppArguments.cs | thuliumcc/busylight-rest-host | 0 | 7067762 | <filename>BusylightRestHost/Src/Utils/AppArguments.cs
using System;
using System.Linq;
namespace BusylightRestHost.Utils
{
public class AppArguments
{
public static bool forceMock()
{
var arguments = Environment.GetCommandLineArgs();
return arguments.Any(argument => argu... |
Unity/TypeTree/TypeTree.V2019_3.cs | KingEnderBrine/TypeTreeDumper | 18 | 7067763 | <filename>Unity/TypeTree/TypeTree.V2019_3.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using ManagedTypeTree = Unity.TypeTree;
namespace Unity
{
public partial class TypeTree
{
// Unity 2019.3+
unsafe class V201... |
UsbWrapper_Windows/WinusbHelper.cs | qa87/pololu-usb-sdk | 26 | 7067764 | /* CHANGELOG:
* 2010-05-26 for version 1.3.0.0:
* Fixed PInvoke signatures:
* SetupDiEnumDeviceInterfaces
* DeviceInfoData changed from Int32 to IntPtr
* MemberIndex changed from Int32 to UInt32
* SetupDiGetClassDevs
* Enumberator chagned fr... |
src/NFabric.BoundedContext/Persistence/InMemorySnapshotRepository.cs | zdeneksejcek/NFabric | 0 | 7067765 | <gh_stars>0
using System;
namespace NFabric.BoundedContext.Persistence
{
public class InMemorySnapshotRepository : ISnapshotsRepository
{
public InMemorySnapshotRepository()
{
}
public Snapshot GetBy(Guid aggregateId)
{
return new Snapshot(Guid.Empty, 0);
... |
FoxKit/Assets/FoxKit/Fox/Generated/Fox/Core/StageBlockControllerData.generated.cs | Joey35233/FoxKit-3 | 3 | 7067766 | <filename>FoxKit/Assets/FoxKit/Fox/Generated/Fox/Core/StageBlockControllerData.generated.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incor... |
main/Boku/Common/Triangle.cs | chrisphillips/KoduGameLab | 11 | 7067768 | <filename>main/Boku/Common/Triangle.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.... |
MarvelvsCapcom/DAL/Repositories/BaseRepository.cs | OUMLIL/marvelvCAPCOMBack | 0 | 7067769 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MarvelvsCapcom.DTO.ModelsDTO;
using MarvelvsCapcom.DAL.Models;
using MarvelvsCapcom.DAL.Extensions;
namespace MarvelvsCapcom.DAL.Repositories
{
public abstract class BaseRepository : IDisposab... |
HoardeGame/Gameplay/Weapons/WeaponInfo.cs | Huskitch/Horde | 0 | 7067770 | // <copyright file="WeaponInfo.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
using HoardeGame.Resources;
using Microsoft.Xna.Framework;
namespace HoardeGame.Gameplay.Weapons
{
//... |
(CSharp)/1) Mark Price/Code/PracticalApps/NorthwindMvc/Controllers/HomeController.cs | zherar7ordoya/AP3 | 0 | 7067771 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NorthwindMvc.Models;
using Packt.Shared;
using Microsoft.EntityFrameworkCore;
using System.Net.Http;
using System.Net.Http... |
Code/Components/DanpheEMR.ServerModel/BillingModels/BillInvoiceReturnModel.cs | MenkaChaugule/hospital-management-emr | 1 | 7067772 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*
File: BillInvoiceReturnModel.cs
Created: 5May'18 <sudarshan>
Description: Created after IRD and HAM... |
HFSharp/Models/Responses/Leader.cs | NickNameHF/HFSharp | 1 | 7067773 | using System.Runtime.Serialization;
namespace HFSharp.Models.Responses
{
[DataContract]
public class Leader
{
[DataMember(Name = "uid")]
public string Uid { get; set; }
[DataMember(Name = "username")]
public string Username { get; set; }
}
}
|
First_Iteration/Data_Structures/Hashtables/HashTableTests/UnitTest1.cs | ericsingletonjr/Data-Structures-and-Algorithms | 0 | 7067774 | <filename>First_Iteration/Data_Structures/Hashtables/HashTableTests/UnitTest1.cs<gh_stars>0
using System;
using Xunit;
using Hashtables.Classes;
namespace HashTableTests
{
public class UnitTest1
{
[Theory]
[InlineData("Cat")]
[InlineData("CoolStuff")]
[InlineData("Banana")]
... |
MScResearchTool.Server/MScResearchTool.Server.Web/Controllers/IdentityController.cs | zbigniewmarszolik/MScResearchTool | 0 | 7067775 | <gh_stars>0
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MScResearchTool.Server.Core.Businesses;
using MScResearchTool.Server.Core.Enums;
using MScResearchTool.Server.Core.Models;
using MScResearchTool.Server... |
YourFood.Data/UoW/YourFoodData.cs | Telerik-Hackathon-2014/YourFood-WebAPI | 2 | 7067776 | namespace YourFood.Data.UoW
{
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using YourFood.Data.Repositories;
using YourFood.Models;
public class YourFoodData : IYourFoodData
{
private readonly DbContext context;
private re... |
PSql/_Utilities/SqlClientVersionExtensions.cs | sharpjs/PSqlDeploy | 0 | 7067778 | /*
Copyright 2021 <NAME>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARR... |
src/Tweetinvi.Core/Public/Parameters/AccountClient/UpdateRelationshipParameters.cs | pskumarweb/tweetinvi | 1,018 | 7067779 | using Tweetinvi.Models;
namespace Tweetinvi.Parameters
{
/// <summary>
/// https://dev.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-update
/// </summary>
public interface IUpdateRelationshipParameters : ICustomRequestParameters
{
/// <summary... |
Assets/Scripts/NukeShockwaveCollision.cs | Dehaku/Zenthium-Heroes | 2 | 7067780 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NukeShockwaveCollision : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
Knockback kb = other.GetComponent < Knockback>();
if(kb != null)
{
Debug.Log(this.name + "... |
Udon-MIDI-Web-Handler/PostRequestExample.cs | DarthShader/Udon-MIDI-HTTP-Helper | 9 | 7067781 | <gh_stars>1-10
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
public class PostRequestExample : UdonSharpBehaviour
{
// Link this behaviour to the centralized web handler
public UdonMIDIWebHandler webManager;
// C... |
Roll20PowerCardMacroGenerator/Roll20PowerCardMacroGenerator/DataLoader.cs | prbarcelon/r20cpcmg | 0 | 7067782 | <filename>Roll20PowerCardMacroGenerator/Roll20PowerCardMacroGenerator/DataLoader.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Roll20PowerCardMacroGenerator
{
public class DataLoader
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.