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 |
|---|---|---|---|---|
RmEncrypter_PublicVersion/Interfaces/IEncryptionService.cs | RudMike/RmEncrypter_PublicVersion | 0 | 7048861 | // <copyright file="IEncryptionService.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace RmEncrypter_PublicVersion
{
using System.Collections.Generic;
using System.Threading.Tasks;
/// <summary>
/// Provides methods for encrypting and decrypting an entity w... |
src/HJR.FinanceControl.WebApp/HJR.FinanceControl.WebApp/Data/Mappings/ContaPagarMap.cs | helitonjr/FinanceControlWebApp | 0 | 7048862 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using HJR.FinanceControl.WebApp.Models;
namespace HJR.FinanceControl.WebApp.Data.Mappings
{
public class ContaPagarMap : IEntityTypeConfiguration<ContaAPagar>
... |
Source/RhythmCodex.Lib/Wav/Converters/IMicrosoftAdpcmDecoder.cs | SaxxonPike/RhythmCodex | 10 | 7048863 | using System;
using RhythmCodex.Sounds.Models;
using RhythmCodex.Wav.Models;
namespace RhythmCodex.Wav.Converters
{
public interface IMicrosoftAdpcmDecoder
{
ISound Decode(ReadOnlySpan<byte> data, IWaveFormat fmtChunk, MicrosoftAdpcmFormat microsoftAdpcmFormat);
}
} |
Source/ITQJ.WebClient/Controllers/PostulantController.cs | volatile-programming/ITQJ | 2 | 7048864 | <gh_stars>1-10
using ITQJ.Domain.DTOs;
using ITQJ.WebClient.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ITQJ.WebClient.Controllers
{
public class Postu... |
VRT.Resume.Mvc/Controllers/PersonImageController.cs | rutkowskit/VRT.Resume | 1 | 7048865 | using System.Threading.Tasks;
using MediatR;
using VRT.Resume.Application.Persons.Commands.UpsertProfileImage;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
namespace VRT.Resume.Mvc.Controllers
{
public partial class PersonImageController : PersonEditControllerBase
{
public PersonIm... |
src/SharpGLTF.Core/Validation/ModelException.cs | ehtick/SharpGLTF | 1 | 7048866 | <reponame>ehtick/SharpGLTF<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using TARGET = SharpGLTF.IO.JsonSerializable;
namespace SharpGLTF.Validation
{
/// <summary>
/// Represents an exception produced by the serialization or validation o... |
DICE.BoardgameOpenCatalog/DICE.Data.Ingest.Bgg.BoardgameDataImport/BoardgameGeekGameListScrapperFullImport.cs | marconsilva/BoardgameOpenCatalog | 0 | 7048867 | <gh_stars>0
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace DICE.Data.Ingest.Bgg.Boa... |
src/Bloggine/Services/BlogService.cs | tidyui/bloggine | 3 | 7048868 | /*
* Copyright (c) 2021 <NAME>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/tidyui/bloggine
*
*/
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using Syst... |
src/SGReader.Core/SGImage.cs | n-tiz/SGReader.Net | 0 | 7048869 | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using FastBitmapLib;
using SGReader.Core.Exceptions;
namespace SGReader.Core
{
public class SGImage : IDisposable
{
private const int IsometricTileWidth = 58;
private const int IsometricTileHe... |
Algorithms/DataStructures/Trees/BinarySearch/BinarySearchTree.cs | koshkarov/c-sharp-data-structures | 1 | 7048870 | <reponame>koshkarov/c-sharp-data-structures
using Algorithms.DataStructures.Trees.Binary;
using System;
using System.Collections.Generic;
namespace Algorithms.DataStructures.Trees.BinarySearch
{
/// <summary>
/// Definition. A binary search tree (BST) is a binary tree where each node has a Comparable key (and... |
Team3_Project/Team3_Project/Models/ManageViewModels.cs | Mem-Dixy/CS3750_Team3 | 0 | 7048871 | namespace Team3_Project.Models {
public class IndexViewModel {
public System.Boolean HasPassword { get; set; }
public System.Collections.Generic.IList<Microsoft.AspNet.Identity.UserLoginInfo> Logins { get; set; }
public System.String PhoneNumber { get; set; }
public System.Boolean TwoFactor { get; set; }
pu... |
Entity Framework Core/01.ADB.NET/03.MinionNames/StartUp.cs | PetroslavGochev/CSharpDatabaseModule | 1 | 7048872 | using Microsoft.Data.SqlClient;
using System;
using System.Text;
namespace _03.MinionNames
{
public class StartUp
{
private const string connectionString = @"Server=.;Database=MinionsDB;Integrated Security = true";
private const string NOT_EXIST_VILLIAN = "No villain with ID {0} exists in the ... |
src/ConsoleExtensions/StatusLine.cs | JeevanJames/ConsoleFx | 6 | 7048873 | // Copyright (c) 2015-2021 <NAME>
// This file is licensed to you under the Apache License, Version 2.0.
// See the LICENSE file in the project root for more information.
using System;
namespace ConsoleFx.ConsoleExtensions
{
public sealed class StatusLine : IDisposable
{
private ColorString _status;
... |
src/FuelWerx.Core/Authorization/AppPermissions.cs | zberg007/project | 0 | 7048874 | using System;
namespace FuelWerx.Authorization
{
public static class AppPermissions
{
public const string Pages = "Pages";
public const string Pages_Administration = "Pages.Administration";
public const string Pages_Administration_Roles = "Pages.Administration.Roles";
public const string Pages_Administrat... |
Peliculas/Program.cs | CesarHLR/POO | 1 | 7048875 | using System;
namespace Peliculas
{
class Peli
{
private string Titulo;
private Int16 Año;
private string Pais;
private string Director;
//Metodo Titulo
public void setTitulo(string Titulo)
{
this.Titulo=Titulo;
}
public ... |
src/Practice/CozyDump.ModuleStatistics/Program.cs | zpublic/cozy | 48 | 7048876 | <reponame>zpublic/cozy
using CozyDump.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CozyDump.ModuleStatistics
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, int> moduleCount = new Dictionary<string, int>(... |
z80/IPorts.cs | sklivvz/z80 | 73 | 7048877 | <reponame>sklivvz/z80<filename>z80/IPorts.cs
namespace z80
{
public interface IPorts
{
byte ReadPort(ushort address);
void WritePort(ushort address, byte value);
bool NMI { get; }
bool MI { get; }
byte Data { get; }
}
} |
LeetCode.Test/1401-1450/1427-PerformStringShifts-Test.cs | BigEggStudy/LeetCode-CS | 16 | 7048878 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _1427_PerformStringShifts_Test
{
[TestMethod]
public void StringShiftTest_1()
{
var solution = new _1427_PerformStringShifts();
var result = solution.Strin... |
sources/DirectXSharp.Interop/d3d9/D3DCUBEMAP_FACES.cs | ronaldvanmanen/DirectXSharp | 0 | 7048879 | // DirectXSharp
//
// Copyright (C) 2021 <NAME> <<EMAIL>>
//
// MIT License
//
// 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, including without limitation the rights... |
src/Lucene.Net.Core/Support/IDictionaryExtensions.cs | SeanKilleen/lucenenet | 2 | 7048880 | <gh_stars>1-10
using System.Collections.Generic;
namespace Lucene.Net.Support
{
public static class IDictionaryExtensions
{
public static void PutAll<TKey, TValue>(this IDictionary<TKey, TValue> dict, IEnumerable<KeyValuePair<TKey, TValue>> kvps)
{
foreach (var kvp in kvps)
... |
IndrivoPM/IndrivoPM.Application/EntityServices/Reports/Queries/Filters/GetEmployeeFiltersReport/LookupModels/LoggedTimesFilteredByEmployeeLookupModel.cs | indrivo/bizon360_pm | 0 | 7048881 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Gear.Manager.Core.EntityServices.Reports.Queries.Filters.GetEmployeeFiltersReport.DTOs;
namespace Gear.Manager.Core.EntityServices.Reports.Queries.Filters.GetEmployeeFiltersReport.LookupModels
{
public class Lo... |
source/AboutBox.cs | eliasr/MCDaemon | 3 | 7048882 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
namespace MCDaemon
{
public partial class AboutBox : Form
{
private static AboutBox instance;... |
silkveil.net EBC Prototype by Peter/Silkveil.Net.Prototype/SilkveilBoard.cs | peterbucher/silkveil | 0 | 7048883 | <gh_stars>0
using System.IO;
namespace Silkveil.Net.Prototype
{
public interface IBoard<TStartData>
{
void Start(TStartData startData);
}
public abstract class Board<TStartData> : IBoard<TStartData>
{
public abstract void Start(TStartData startData);
}
publi... |
src/Dfc.CourseDirectory.WebV2/Features/Providers/TLevelDefinitionViewModel.cs | uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory | 4 | 7048884 | using System;
namespace Dfc.CourseDirectory.WebV2.Features.Providers
{
public class TLevelDefinitionViewModel
{
public Guid TLevelDefinitionId { get; set; }
public string Name { get; set; }
}
}
|
SapiensProject/Views/Account_/index.cshtml | HaraDev001/CSharpPlusNode | 0 | 7048885 | @using SapiensProject.Controllers
@using System.Web.Script.Serialization;
@{
string div = string.Empty;
if (IsPost)
{
string txtUserName = Request.Form["txtUserName"];
string txtPassword = Request.Form["txtPassword"];
string player_id = Request.Form["player_id"];
if ((txtUs... |
MjollnirBotManager/Command/StartCommand.cs | Mjollnirs/TelegramBotManager | 0 | 7048886 | using System;
using System.Threading;
using System.Threading.Tasks;
using Castle.MicroKernel;
using MjollnirBotManager.Common.Command;
namespace MjollnirBotManager.Command
{
public class StartCommand : CommandBase
{
public StartCommand(IKernel kernel)
: base(kernel)
{
}
... |
BikeRentalAgency/Models/BikeRentalContext.cs | thenowherenlboy/BikeRentalAgency | 0 | 7048887 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BikeRentalAgency.Models;
using Microsoft.EntityFrameworkCore;
namespace BikeRentalAgency.Context
{
public class BikeRentalContext : DbContext
{
//Used for the connection string in the startup.cs
... |
Kooboo.CMS/Kooboo.CMS.Caching.NotifyRemote/CacheNotificationSection.cs | syberside/CMS | 288 | 7048888 | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
#region Usings
using System.Configuration;
#endregion
namespace Kooboo.CMS.Caching.NotifyRemote
{
/// <summary>
///
/// </summary>
public class CacheNo... |
source/ConsoleGame/ConsoleGame.Engine/DisplaySettings.cs | sms-apps/faalon | 0 | 7048890 | namespace ConsoleGame.Engine
{
public struct DisplaySettings
{
public int Height { get; set; }
public int Width { get; set; }
public char Background { get; set; }
public char? Character { get; set; }
public DisplaySettings(int height, int width, char background, char? ... |
Assets/Source/2_Domain/Model/PathFinding/GridGenerator.cs | AnatoliyCh/unity3d-test-brainy | 0 | 7048891 | <filename>Assets/Source/2_Domain/Model/PathFinding/GridGenerator.cs
using Domain.Interfaces;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Domain.Model.PathFinding
{
public class GridGenerator : MonoBehaviour, IGenerator
{
[SerializeField] private GameObject squarePrefab... |
Assets/Scripts/Model/Product.cs | GraySchofield/DigitalFactory | 0 | 7048892 | using System;
/// <summary>
/// 代表生成的产品
/// </summary>
namespace DGFactory
{
public class Product
{
public int ProductId
{
get;
set;
}
public string ProdutName
{
get;
set;
}
//TODO:这里的ID 暂时是随机的
pub... |
Source/Test1_CoreVisual_New/Form1.Designer.cs | danieloff/HtmlRenderer | 170 | 7048893 | <filename>Source/Test1_CoreVisual_New/Form1.Designer.cs<gh_stars>100-1000
namespace TestGraphicPackage
{
partial class Form1
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
... |
Assets/Scripts/UI/InfoTools/ToolTips/TipEndGame.cs | plombeur/alpha | 0 | 7048894 | <reponame>plombeur/alpha<filename>Assets/Scripts/UI/InfoTools/ToolTips/TipEndGame.cs
using UnityEngine;
using System.Collections;
public class TipEndGame : ToolTip {
void Awake()
{
title = " Vous avez perdu !";
description = " Le loup alpha est mort de faim, ou un loup beta l'a évincé de son ... |
src/IvyBrowserGadget/Setting.cs | Invary/IvyBrowserGadget | 0 | 7048895 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Threading;
using System.Xml.Serialization;
using Point = System.Windows.Point;
using Size = System.Windows.Size;
namespace Invary.IvyBrowserGadget
{
[Serializable]
public class Setting
{
[XmlIgnore]
pu... |
modules/admin/src/Bing.Admin/Program.cs | haptear/Bing.NetCore | 914 | 7048896 | using AspectCore.Extensions.Hosting;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Bing.Admin
{
public class Program
{
public static void Main(string[] args)
{
CreaetHostBuilder(args).Build().Run();
}
public static IHostBuilder C... |
Labs_re-api/obj/Debug/netcoreapp2.1/Razor/Pages/Data.g.cshtml.cs | SebastianTrifa/c- | 0 | 7048897 | #pragma checksum "C:\c-\Labs_re-api\Pages\Data.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3c78763e75b12434efcc49024955a79d88583822"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Labs_re_api.Pages.Pages_Data), @"mvc.1.0.ra... |
NET Microservices/identity-service/CloudConsult.Identity.Infrastructure/Handlers/CreateUserHandler.cs | devntofficial/CloudConsultRC | 1 | 7048898 | <reponame>devntofficial/CloudConsultRC
using AutoMapper;
using CloudConsult.Common.Builders;
using CloudConsult.Common.CQRS;
using CloudConsult.Identity.Domain.Commands;
using CloudConsult.Identity.Domain.Responses;
using CloudConsult.Identity.Domain.Services;
using FluentValidation;
using Microsoft.AspNetCore.Http;
... |
ar-adhd-project/Assets/Scripts/Registro/PsicologoScan.cs | pabloaguiars/ar-adhd-project | 0 | 7048899 | <reponame>pabloaguiars/ar-adhd-project
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
using ZXing;
using System.Collections;
using UnityEngine.SceneManagement;
// http://answers.unity.com/answers/1155328/view.html
// https://stackoverflow.com/questions/30056471/how-to-make-the-script-wait-sleep-in-a-sim... |
CleanCode/02_Chess_Test.cs | kampus-2014-2/01-cleancode-task | 1 | 7048900 | <reponame>kampus-2014-2/01-cleancode-task<filename>CleanCode/02_Chess_Test.cs<gh_stars>1-10
using System;
using System.IO;
using NUnit.Framework;
namespace CleanCode
{
[TestFixture]
public class Chess_Test
{
[Test]
public void Test()
{
int testsCount = 0;
foreach (var file in Directory.GetFiles("ChessTe... |
src/ymapp-aspnet-core/src/YMApp.Web.Mvc/Views/Solution/Index.cshtml | yannis123/YMApp | 0 | 7048901 | @section styles{
<link type="text/css" rel="stylesheet" href="~/assets/css/TJStyle-solution.css" />
}
<div class="addContainer q" id="add_container" data-attr="h:0">
<div class="customModuleRow customModuleRowAbsolute " id="row_134">
<div class="customModuleRowInner">
... |
Fleux/Core/NativeHelpers/IImageWrapper.cs | hobdrive/fleux | 0 | 7048902 | namespace Fleux.Core.NativeHelpers
{
using System;
using System.Drawing;
using GraphicsHelpers;
/// <summary>
/// TODO: I see not reasoning in this class, suggest to cut it out
/// </summary>
public class IImageWrapper : IDisposable
{
public IImage Image;
pu... |
Tools/2 - Core/MoDesign2d/Frame/Property/QUiButtonProperty.Designer.cs | favedit/MoCross | 3 | 7048903 | <filename>Tools/2 - Core/MoDesign2d/Frame/Property/QUiButtonProperty.Designer.cs
namespace MO.Design2d.Frame.Property
{
partial class QUiButtonProperty
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///... |
src/Dnc.Seedwork/Behaviors/IDataStatusBehavior.cs | gainorloss/Dnc.Core | 13 | 7048904 | <gh_stars>10-100
using Dnc.Seedwork;
using System;
using System.Collections.Generic;
using System.Text;
namespace Dnc.Seedwork
{
public interface IDataStatusBehavior
{
DataStatus DataStatus { get; set; }
}
}
|
Tests/Runtime/CSharp/CollectionHelper/TestListHelper.cs | tositeru/hinode | 0 | 7048905 | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using System.Linq;
namespace Hinode.Tests.CSharp.CollectionHelper
{
/// <summary>
/// <seealso cref="ListHelper{T}"/>
/// </summary>
public class TestListHelper
{
#r... |
Interpol/obj/Debug/Window1.g.i.cs | UagNanit/-Team-Project | 0 | 7048906 | #pragma checksum "..\..\Window1.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "415B8FCA701876F28D6C536BB5014C424B588A13E63E0F1B6A582EF59B9BA296"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.303... |
Nancy.Scaffolding/Healthcheck/SqlServerHealthcheck.cs | ThiagoBarradas/nancy-scaffolding | 3 | 7048907 | <gh_stars>1-10
using Dapper;
using System;
using System.Data.Common;
using System.Data.SqlClient;
namespace Nancy.Scaffolding.Healthcheck
{
public class SqlServerHealthcheck : IHealthcheck
{
public SqlServerHealthcheck(string connString, string query = "select 1;", int timeoutInSeconds = 5, string nam... |
src/SettingsProcessor.cs | dymanoid/webcam-settings | 1 | 7048908 | using System;
using System.IO;
using SharpYaml.Serialization;
namespace WebcamSettings
{
internal sealed class SettingsProcessor
{
public static int Store(string targetFile, int cameraIndex)
{
if (string.IsNullOrWhiteSpace(targetFile))
{
throw new Argume... |
JDI.Light/JDI.Light.Tests/UIObjects/Pages/MetalsColorsPage.cs | codacy-badger/jdi-light-csharp | 6 | 7048909 | using JDI.Light.Attributes;
using JDI.Light.Elements.Base;
using JDI.Light.Elements.Common;
using JDI.Light.Elements.Composite;
using JDI.Light.Interfaces.Common;
using JDI.Light.Tests.UIObjects.Sections;
using OpenQA.Selenium;
namespace JDI.Light.Tests.UIObjects.Pages
{
public class MetalsColorsPage : WebPage
... |
src/SpaTemplates.EntityFrameworkCore/DataSeeder.cs | alirizaadiyahsi/spa-templates | 7 | 7048910 | <reponame>alirizaadiyahsi/spa-templates
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SpaTemplates.Domain;
namespace SpaTemplates.EntityFrameworkCore
{
public class DataSeeder
{
private static readonly string[] Summaries = {
"Freezin... |
Flepper.QueryBuilder/Operators/Paginate/Extensions/OffSetOperatorExtension.cs | nicolastakashi/flepper | 32 | 7048911 | <filename>Flepper.QueryBuilder/Operators/Paginate/Extensions/OffSetOperatorExtension.cs
namespace Flepper.QueryBuilder
{
/// <summary>
/// Off Set Operator Extension
/// </summary>
public static class OffSetOperatorExtension
{
/// <summary>
/// Fetch Operator
/// </summary>
... |
Framework.Core/Theraot/Collections/ThreadSafe/WeakDictionary.cs | workgroupengineering/Theraot | 113 | 7048912 | // Needed for NET35 (ConditionalWeakTable)
#pragma warning disable CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes).
// ReSharper disable ImplicitlyCapturedClosure
// ReSharper disable UseDeconstructionOnParameter
u... |
PInvoke/Shell32/ShObjIdl.IThumbnailHandlerFactory.cs | DigitalPlatform/Vanara | 1,037 | 7048913 | using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace Vanara.PInvoke
{
public static partial class Shell32
{
/// <summary>
/// Exposes a method for retrieving the thumbnail handler of an item. Implement this interface if you want to specify what extractor
... |
GraspIT_EEG/GraspIT_EEG/Model/Butterworth.cs | alexsigaras/GraspIT_EEG | 0 | 7048914 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GraspIT_EEG.Model
{
/// <summary>
/// This is a Butterworth Bandpass Filter class of order 3.
/// nzeros and npoles are both 6 (2N)
/// </summary>
class Butterworth
{
public Butte... |
KS.Fiks.IO.Arkiv.Client/Models/Generated/KS.Fiks.IO.Arkiv.Client.Models.Innsyn.Sok/SorteringType.cs | JanIvarMoldekleiv/fiks-arkiv-client-dotnet | 1 | 7048915 | <filename>KS.Fiks.IO.Arkiv.Client/Models/Generated/KS.Fiks.IO.Arkiv.Client.Models.Innsyn.Sok/SorteringType.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and wil... |
src/MxNet/RNN/Cell/SequentialRNNCell.cs | tk4218/MxNet.Sharp | 121 | 7048916 | <filename>src/MxNet/RNN/Cell/SequentialRNNCell.cs
/*****************************************************************************
Copyright 2018 The MxNet.Sharp Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the... |
src/Orleans.Serialization/ISerializableSerializer/DotNetSerializableCodec.cs | wangjia184/orleans | 0 | 7048917 | using Orleans.Serialization.Buffers;
using Orleans.Serialization.Codecs;
using Orleans.Serialization.Serializers;
using Orleans.Serialization.TypeSystem;
using Orleans.Serialization.WireProtocol;
using System;
using System.Buffers;
using System.Collections.Concurrent;
using System.Runtime.Serialization;
using System.Se... |
cqrs/SeparateModels/Init/DbInitializer.cs | sharmasourabh/ddd | 0 | 7048918 | <reponame>sharmasourabh/ddd
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using SeparateModels.Domain;
namespace SeparateModels.Init
{
public class DbInitializer
{
private readonly IDataStore dataStore;
public Db... |
DNN Platform/Modules/Groups/Components/GroupInfo.cs | pmsereno/Dnn.Platform | 0 | 7048919 | //
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.Xml;
using System.Xml.Serialization;
using DotNetNuke.Services.Tokens;
using DotNetNuke.Security.Roles;
using System.Collecti... |
cmf-cli/Commands/new/BusinessCommand.cs | cesarmeira90/cli | 6 | 7048920 | <reponame>cesarmeira90/cli<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Diagnostics;
using System.IO;
using System.IO.Abstractions;
using System.Text.Json;
using Cmf.Common.Cli.Attributes;
using Cmf.Common.Cli.Enums;
using Cmf.... |
src/Vendr.Contrib.Reviews/Configuration/VendrReviewsSettings.cs | vendrcontrib/vendr-product-reviews | 1 | 7048921 | #if NETFRAMEWORK
using System.Configuration;
#endif
namespace Vendr.Contrib.Reviews.Configuration
{
public class VendrReviewsSettings
{
public HCaptcha HCaptcha { get; set; }
public VendrReviewsSettings()
{
#if NETFRAMEWORK
HCaptcha = new HCaptcha
{
... |
src/Tiantianquan.Common/Tiantianquan.Common/Runtime/Constants.cs | DORAdreamless/Dapper.AutoMigrate | 2 | 7048922 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tiantianquan.Common.Runtime
{
public class Constants
{
/// <summary>
/// 首页头部导航链接
/// </summary>
public const string Header_... |
src/Mastersign.AutoForm/AutomationProjectFactory.cs | mastersign/Mastersign.AutoForm | 0 | 7048923 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mastersign.AutoForm
{
class AutomationProjectFactory
{
public AutomationProject ParseExcelFile(string filename)
{
var wbs = File.Open(filen... |
src/Mimp.SeeSharper.Instantiation/ConstructorInstantiator.cs | DavenaHack/SeeSharper.Instantiation | 2 | 7048924 | using Mimp.SeeSharper.Instantiation.Abstraction;
using Mimp.SeeSharper.ObjectDescription;
using Mimp.SeeSharper.ObjectDescription.Abstraction;
using Mimp.SeeSharper.Reflection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Mimp.SeeSharper.Instantiation
{
///... |
ASPPatterns.allcode/ASPPatterns02/ASPPatterns.Chap2.Tests/ProductServiceTests.cs | codeyu/ASPNETCore-Design-Patterns | 4 | 7048925 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ASPPatterns.Chap2.Service;
using ASPPatterns.Chap2.Tests.Stubs;
using ASPPatterns.Chap2.Tests.Mocks;
namespace ASPPatterns.Chap2.Tests
{
[TestFixture]
public class ProductServiceTests... |
01 - Programming Fundamentals Course/06 - Object and Classes/Exercise/BookLibrary/BookLibrary/Library.cs | AleksandrinaGeorgieva/SoftUni | 0 | 7048926 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookLibrary
{
class Library
{
public string name { get; set; }
public List<Book> books { get; set; }
}
}
|
SHFB/Source/SandcastleBuilderPlugIns/MemberIDFixUpPlugIn.cs | Mu-L/SHFB | 0 | 7048927 | <filename>SHFB/Source/SandcastleBuilderPlugIns/MemberIDFixUpPlugIn.cs
//===============================================================================================================
// System : Sandcastle Help File Builder Plug-Ins
// File : MemberIdFixUpPlugIn.cs
// Author : <NAME> (<EMAIL>)
// Updated : ... |
_no_namespace/Bloom.TweakMode.cs | SinsofSloth/RF5-global-metadata | 1 | 7048928 | public enum Bloom.TweakMode // TypeDefIndex: 5995
{
// Fields
public int value__; // 0x0
public const Bloom.TweakMode Basic = 0;
public const Bloom.TweakMode Complex = 1;
}
|
AzureWebsite.Library/inkasso/Database.cs | Riniga/Azure-Website | 0 | 7048929 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace AzureWebsite.Library.Inkasso
{
public static class Database
{
internal static SqlConnection GetConnection()
{
return new SqlConnection(GetConnecti... |
pinterestPicUpload/ContinuousSettings.cs | inevolin/PinBot-1 | 0 | 7048930 | using System;
namespace PinBot
{
/// <summary>
/// Model that keeps settings for continuous run
/// </summary>
class ContinuousSettings
{
/// <summary>
/// Indicating whether event should occur more times
/// </summary>
public bool ContinuousRun { get; set; }
/// <summary>
/// Start... |
MyTenantWorld/Views/Authentication/ForgetPasswordPage.xaml.cs | MrIndomitable/MTW | 1 | 7048931 | using System;
using Xamarin.Forms;
namespace MyTenantWorld
{
public partial class ForgetPasswordPage : ContentPage
{
RestService service;
public ForgetPasswordPage()
{
InitializeComponent();
var resetGesture = new TapGestureRecognizer();
resetGesture.Tapped += ResetGesture_Tapped;
resetButton.Ges... |
src/IdentityServer/NetCore/MyApp/Startup.cs | lozanotek/aspnet-security | 1 | 7048932 | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using IdentityModel;
namespace MyApp
{
public class S... |
EzParser/Slice.cs | ReneZwanenburg/EzParser | 0 | 7048933 | namespace EzParser
{
public struct Slice
{
public string Base { get; }
public int StartIndex { get; }
public int EndIndex { get; }
public int Length => EndIndex - StartIndex;
public string Value => Base.Substring(StartIndex, Length);
public Slice(strin... |
src/LibHac/Fs/DirectoryEntry.cs | VolcaEM/LibHac | 213 | 7048934 | <reponame>VolcaEM/LibHac<filename>src/LibHac/Fs/DirectoryEntry.cs
using System;
using System.Runtime.InteropServices;
using LibHac.Common;
using LibHac.FsSystem;
namespace LibHac.Fs
{
public class DirectoryEntryEx
{
public string Name { get; set; }
public string FullPath { get; set; ... |
client/Assets/seqence/Editor/treeview/EditorTransformTrack.cs | Hengle/seqence | 0 | 7048935 | <filename>client/Assets/seqence/Editor/treeview/EditorTransformTrack.cs<gh_stars>0
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Seqence;
using UnityEngine.Seqence.Data;
namespace UnityEditor.Seqence
{
[SeqenceEditor(typeof(XTransformTrack))]
public class EditorTransformT... |
SRC/ZIPResourceManager.cs | roman-minyaylov/ZIPResourceManager | 0 | 7048936 | // ***********************************************************************
// <copyright file="ZIPResourceManager.cs" company="<NAME>">
// Copyright (c) 2022
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Collections;
us... |
src/ESFA.DC.ESF.Service.Config/ServiceBusOptions.cs | SkillsFundingAgency/DC-ESF | 0 | 7048937 | namespace ESFA.DC.ESF.Service.Config
{
public sealed class ServiceBusOptions
{
public string AuditQueueName { get; set; }
public string JobStatusQueueName { get; set; }
public string ServiceBusConnectionString { get; set; }
public string TopicName { get; set; }
publi... |
zPoolMiner/Miners/ClaymoreCryptoNightMiner.cs | hash-kings/Hash-Kings-Miner-V3 | 4 | 7048938 | namespace zPoolMiner.Miners
{
using System;
using System.Collections.Generic;
using zPoolMiner.Configs;
using zPoolMiner.Enums;
using zPoolMiner.Miners.Grouping;
using zPoolMiner.Miners.Parsing;
/// <summary>
/// Defines the <see cref="ClaymorecryptonightMiner" />
/// </summary>
... |
Math/Operator.cs | chrisf/math | 0 | 7048939 | <reponame>chrisf/math<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Math
{
public class Operator
{
public delegate double Calculation(double[] args);
protected Calculation calculate;
public char symbol;
public int pr... |
sdk/src/Services/GameLift/Generated/Model/Internal/MarshallTransformations/PriorityConfigurationMarshaller.cs | dariolingotti/aws-sdk-net | 0 | 7048940 | <gh_stars>0
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the ... |
Test/RoomRepositoryTest.cs | johaneka06/Werewolf.NET | 0 | 7048941 | <reponame>johaneka06/Werewolf.NET<gh_stars>0
using System;
using Xunit;
using Npgsql;
using Werewolf.NET.Game;
using Werewolf.NET.Game.Database.PostgreSQL;
namespace Test
{
public class RoomRepositoryTest
{
private string conectionStr;
public RoomRepositoryTest()
{
conecti... |
Trivia unity3d project/Assets/scripts/goToTriviaPlay.cs | suxrobGM/TriviaStreak | 1 | 7048942 | using UnityEngine;
using UnityEngine.SceneManagement;
using Newtonsoft.Json;
public class goToTriviaPlay : MonoBehaviour {
public dfTextbox emailText;
public dfTextbox passText;
public dfLabel invalidText;
//private string url = "login_user.php";
//?app_user_name=saqib&app_user_pass=<PASSWORD>";
public AudioC... |
src/Grappachu.Core/Media/Common/MediaUriSource.cs | grappachu/core | 0 | 7048943 | using System;
namespace Grappachu.Core.Media.Common
{
/// <summary>
/// Defines a generic media content wich can be identified by a url
/// </summary>
public class MediaUriSource : IMediaSource
{
/// <summary>
/// Creates a new instance <see cref="MediaUriSource" /> from a p... |
ksi-net-api-test/Publication/TestPublicationsfile.cs | GuardTime/ksi-net-sdk | 2 | 7048945 | <filename>ksi-net-api-test/Publication/TestPublicationsfile.cs
/*
* Copyright 2013-2018 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a cop... |
src/MyTested.AspNetCore.Mvc.Abstractions/Builders/Contracts/Authentication/IAndWithClaimsPrincipalBuilder.cs | kalintsenkov/MyTested.AspNetCore.Mvc | 8 | 7048946 | <gh_stars>1-10
namespace MyTested.AspNetCore.Mvc.Builders.Contracts.Authentication
{
/// <summary>
/// Used for adding AndAlso() method to the <see cref="System.Security.Claims.ClaimsPrincipal"/> builder.
/// </summary>
public interface IAndWithClaimsPrincipalBuilder : IWithClaimsPrincipalBuilder
{... |
Treinamento-2018-Grupo1/Assets/Scripts/Enviroment/RockMovement2.cs | FellowshipOfTheGame/treinamento-grupo1 | 2 | 7048947 | <reponame>FellowshipOfTheGame/treinamento-grupo1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Scripts/Enviroment/Rock Movement 2")]
public class RockMovement2 : MonoBehaviour {
public int ativo;//movimentando ou parado
public float desaceleracao;
publi... |
Assets/Scripts/Editor/NodeEditor/NodeEditorSaveHandler.cs | Aspekt1024/ClumsyBat | 4 | 7048948 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Serialization;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public static class NodeEditorSaveHandler {
public static void Load(BaseEditor editor)
{
string filePath = GetStateMac... |
Apps/HightechAngular.Web/DropdownProviders/SaleListDropdownProvider.cs | niyazz/DotNext-Moscow-2020 | 0 | 7048949 | <gh_stars>0
using System;
using System.Threading.Tasks;
using HightechAngular.Shop.Features.Index.GetSale;
using Infrastructure.SwaggerSchema.Dropdowns;
using Infrastructure.SwaggerSchema.Dropdowns.Providers;
namespace HightechAngular.Shop.Features.Index
{
public class SaleListDropdownProvider: IDropdownProvider<... |
src/Masuit.MyBlogs.WebApp/Models/EmailConfig.cs | formylover/Masuit.MyBlogs | 0 | 7048950 | <reponame>formylover/Masuit.MyBlogs
using Common;
namespace Masuit.MyBlogs.WebApp.Models
{
/// <summary>
/// 邮箱配置
/// </summary>
public static class EmailConfig
{
/// <summary>
/// smtp服务器地址
/// </summary>
public static string Smtp { get; set; } = CommonHelper.GetSe... |
src/MiniCover/CommandLine/Options/CoverageLoadedFileOption.cs | lucaslorentz/minicover | 212 | 7048951 | using System.IO.Abstractions;
using MiniCover.Core.Model;
using MiniCover.Exceptions;
using Newtonsoft.Json;
namespace MiniCover.CommandLine.Options
{
public class CoverageLoadedFileOption : CoverageFileOption, ICoverageLoadedFileOption
{
private readonly IFileSystem _fileSystem;
public Cover... |
OCRDemo/ViewerControl/ZoneAnnotationObject.cs | LEADTOOLS/ocr-demo-dotnet | 2 | 7048952 | // *************************************************************
// Copyright (c) 1991-2020 LEAD Technologies, Inc.
// All Rights Reserved.
// *************************************************************
using System;
using System.Collections.Generic;
using Syste... |
iloire Facturacion/Views/Customer/Index.cshtml | MikeWallet/KPecht | 91 | 7048953 | <gh_stars>10-100
@*
<NAME> - www.iloire.com
Please readme README file for license terms.
ASP.NET MVC3 ACME Invocing app (demo app for training purposes)
*@
@using MvcPaging;
@model IPagedList<Customer>
@{
ViewBag.Title = "Customers";
}
<div id="ajaxResponse">
<h1>List <small>of Customers</small></h1>
<scr... |
HashAlgorithmBenchmarks.cs | msurikov/Argon2Benchmarks | 0 | 7048954 | using BenchmarkDotNet.Attributes;
using Isopoh.Cryptography.Argon2;
using Norgerman.Cryptography.Scrypt;
namespace HasAlgorithmBenckmarks
{
[MemoryDiagnoser]
public class Benchmarks
{
private byte[] _passwordBytes;
private byte[] _salt;
public Benchmarks()
{
_pa... |
src/Kunai/Net/NetExtensions.cs | evilz/kunai | 1 | 7048955 | <reponame>evilz/kunai
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Kunai.NetExt
{
public static class NetExtensions
{
public static double inet_aton(this IPAdd... |
DancingGoat/Controllers/BrewersController.cs | Kentico/compose-cloud-sample-app-net | 0 | 7048956 | <filename>DancingGoat/Controllers/BrewersController.cs
using DancingGoat.Models;
using KenticoCloud.Delivery;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace DancingGoat.Controllers
{
[RoutePrefix("product-catalog/brewers")]
public class Brewe... |
UJCSystem/Vokabular.Forum.DataEntities/Database/Entities/NntptopicMap.cs | RIDICS/ITJakub | 3 | 7048957 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Mapping.ByCode.Conformist;
using NHibernate.Mapping.ByCode;
using Vokabular.ForumSite.DataEntities.Database.Entities;
namespace Vokabular.ForumSite.DataEntities.Database.Entities {
public class Nntptop... |
BadSecApp/Client/Pages/Login.razor.cs | nc-overflow/BadSecApp | 0 | 7048958 | using BadSecApp.Shared;
using Microsoft.AspNetCore.Components;
using System.Net.Http;
namespace BadSecApp.Client.Pages
{
public class LoginBase : ComponentBase
{
protected Credentials ProposedCredentials { get; set; }
protected string resultat;
[Inject]
protected HttpClient h... |
Tauron.Application.Common/Application/ITauronEnviroment.cs | augustoproiete-bot/Project-Manager-Akka | 0 | 7048959 | using System.Collections.Generic;
using JetBrains.Annotations;
namespace Tauron.Application
{
[PublicAPI]
public interface ITauronEnviroment
{
string DefaultProfilePath { get; set; }
string LocalApplicationData { get; }
string LocalApplicationTempFolder { get; }
IEnumera... |
source/UniversalGraphics/UGColor.cs | mntone/UniversalGraphics | 2 | 7048960 | <reponame>mntone/UniversalGraphics
using System.Runtime.InteropServices;
namespace UniversalGraphics
{
[StructLayout(LayoutKind.Explicit)]
public struct UGColor
{
[FieldOffset(0)] public byte B;
[FieldOffset(1)] public byte G;
[FieldOffset(2)] public byte R;
[FieldOffset(3)] public byte A;
[FieldOffset(0... |
Octokit.Tests/Clients/WorkflowRunsClientTests.cs | fathym-it/octokit.net | 0 | 7048961 | <reponame>fathym-it/octokit.net<filename>Octokit.Tests/Clients/WorkflowRunsClientTests.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
public class WorkflowRunsClientTests
{
public class TheCtor
... |
TripOrganiser/Models/Person.cs | pgmckillop/TripPlanner | 0 | 7048962 | using System;
using System.Collections.Generic;
using System.Text;
namespace TripOrganiser.Models
{
public class Person
{
private string forename;
public string Forename
{
get { return forename; }
set { forename = value; }
}
private string surname;
public string Surname
{
get { retur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.