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 |
|---|---|---|---|---|
MaterialCMS/DbConfiguration/ConfigHelper.cs | DucThanhNguyen/MaterialCMS | 12 | 7057967 | <reponame>DucThanhNguyen/MaterialCMS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentNHibernate.Automapping;
using FluentNHibernate.Mapping;
using MaterialCMS.Apps;
using MaterialCMS.DbConfiguration.Types;
using MaterialCMS.Helpers;
namespace MaterialCMS.DbConfi... |
Xania.AspNet.Razor/SimpleDisplayMode.cs | ibrahimbensalah/Xania.AspNet.Simulator | 18 | 7057968 | <gh_stars>10-100
using System;
using System.Web;
using System.Web.WebPages;
namespace Xania.AspNet.Razor
{
internal class SimpleDisplayMode : IDisplayMode
{
public bool CanHandleContext(HttpContextBase httpContext)
{
return true;
}
public DisplayInfo GetDisplayInfo... |
Expressions/Expressions/LensPut.cs | NMFCode/NMF | 35 | 7057969 | <reponame>NMFCode/NMF<filename>Expressions/Expressions/LensPut.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace NMF.Expressions
{
internal abstract class LensPut<TBase, TValue>
{
public static LensPut<TB... |
Test/Test.VirtualRadar.Database/StandingDataUpdaterTests.cs | wiseman/virtual-radar-server | 9 | 7057970 | // Copyright © 2010 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this list ... |
WinUIXamlCompiler/WinUIXamlLanguage.cs | stevenbrix/xamlx-winui | 8 | 7057971 | using System;
using XamlX.Emit;
using XamlX.Transform;
using XamlX.TypeSystem;
namespace WinUIXamlCompiler
{
internal class WinUIXamlLanguage
{
internal static (XamlLanguageTypeMappings, XamlLanguageEmitMappings<TBackendEmitter, TEmitResult>) Configure<TBackendEmitter, TEmitResult>(CecilTypeSystem typ... |
Luchador Boxing/Assets/Scripts/Customize.cs | lukeh17/Mucho-Lucho | 0 | 7057972 | using UnityEngine;
using UnityEngine.UI;
public class Customize : MonoBehaviour {
public Image maskImage;
public static Sprite mask1, mask2, mask3, mask4, mask5, mask6, mask7, mask8;
void Awake ()
{
Sprite[] sprites = Resources.LoadAll<Sprite>("Sprites/Luchador");
mask1 = sprites[19];... |
Brownbag.Data/SeedData/UserSeedData.cs | dhruvb14/GenericAngularCLIEnterpriseTemplate | 4 | 7057973 | <reponame>dhruvb14/GenericAngularCLIEnterpriseTemplate
using System;
using Brownbag.Data.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace Bom.Data {
public static class UserSeedData {
public static void Initialize(ModelBuilder modelBuilder) {
modelBuil... |
EZNEW/Develop/DataAccess/Event/DeleteDataEvent.cs | Jafic/EZNEW | 15 | 7057974 | <filename>EZNEW/Develop/DataAccess/Event/DeleteDataEvent.cs
using System;
using System.Collections.Generic;
namespace EZNEW.Develop.DataAccess.Event
{
/// <summary>
/// Delete data event
/// </summary>
[Serializable]
public class DeleteDataEvent : BaseDataAccessEvent
{
/// <summary>
... |
Assets/Scripts/Pickups/Pickup.cs | nickc01/GPE340-Project | 0 | 7057975 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Pickup : MonoBehaviour
{
/// <summary>
/// If true, the pickup will be destroyed as soon as it's picked up
/// </summary>
public virtual bool DestroyOnPickup => true;
/// <summary>
/// Called when the characte... |
test/AspNetSeo.CoreMvc.TestWebApp/Startup.cs | techbuzzz/AspNetSeo | 0 | 7057976 | <reponame>techbuzzz/AspNetSeo
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace AspNetSeo.CoreMvc.TestWebApp
{
public class Startup
{
public Sta... |
SchoolSystem/SchoolSystem.Web.Services/Services/SubjectManagementService.cs | HlebForms/SchoolSystemProject | 5 | 7057978 | using System;
using System.Collections.Generic;
using System.Linq;
using Bytes2you.Validation;
using SchoolSystem.Data.Contracts;
using SchoolSystem.Data.Models;
using SchoolSystem.Data.Models.CustomModels;
using SchoolSystem.Web.Services.Contracts;
namespace SchoolSystem.Web.Services
{
public class SubjectManage... |
Media Inventory Manager/tMedia.cs | davidgn/Prager-Software | 0 | 7057979 | <reponame>davidgn/Prager-Software
//#define TRACE
using System;
using System.Collections;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using FirebirdSql.Data.FirebirdClient;
namespace Media_Inven... |
Editor/CodeGeneration/CustomEditors/ConfigPropertyDrawer.cs | KingEnderBrine/RoRSkinBuilder | 2 | 7057980 | <filename>Editor/CodeGeneration/CustomEditors/ConfigPropertyDrawer.cs
using RoRSkinBuilder.Data;
using System;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
namespace RoRSkinBuilder.CustomEditors
{
[CustomPropertyDrawer(typeof(ConfigInfo))]
public class ConfigPropertyDrawer : Hideabl... |
NArrange/src/NArrange.Tests.CSharp/TestSourceFiles/MultiClassDefinition.cs | adgistics/Adgistics.Build | 0 | 7057981 | <filename>NArrange/src/NArrange.Tests.CSharp/TestSourceFiles/MultiClassDefinition.cs
// <auto-generated /> Disable StyleCop on this file
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace SampleNamespace
{
public class SampleClass1
{
}
class Samp... |
log4mssql/LoggerBase/Assemblies/LoggerBase_Exec_Non_Transacted_Query.cs | jbpion/log4mssql | 1 | 7057982 | <filename>log4mssql/LoggerBase/Assemblies/LoggerBase_Exec_Non_Transacted_Query.cs<gh_stars>1-10
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.IO;
using System.Threading;
using System.Xml;
using Microsoft.SqlServer.Server;
public partial class StoredProcedures
{
... |
Zen.Web/Service/Extensions/Add.cs | bucknellu/zen | 0 | 7057983 | <gh_stars>0
using System;
using Microsoft.Extensions.DependencyInjection;
using Zen.Base;
using Zen.Web.ApiExplorer;
namespace Zen.Web.Service.Extensions
{
public static class Add
{
public static ZenWebBuilder AddZenWeb(this IServiceCollection services)
{
if (services == null) thro... |
Mediator/Mediator/Subscriber.cs | furkanisitan/CSharp_DesignPatterns | 1 | 7057984 |
namespace Mediator
{
abstract class Subscriber
{
public string Nick { get; set; }
protected Subscriber(string nick)
{
Nick = nick;
}
public abstract void GetMessage(Subscriber sender, string message);
}
}
|
Client/Mobile/O10.Client.Mobile.Base/Views/QrScannerPage.xaml.cs | muaddibco/O10city | 1 | 7057986 | using O10.Client.Mobile.Base.Aspects;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace O10.Client.Mobile.Base.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
[Navigatable("QrScanner")]
public partial class QrScannerPage
{
public QrScannerPage()
{
Initializ... |
Hub.Legacy/Gcpe.Hub.Legacy.Website/Contacts/DataManagement/ManageData.aspx.cs | andrelashley/gcpe-hub | 0 | 7057987 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MediaRelationsLibrary;
using System.Xml;
using System.Text;
public partial class DataManagement_ManageData : System.Web.UI.Page
{
protected void Page_Load(object sender,... |
Packages/UIForia/Src/Util/LRUCache.cs | criedel/UIForia | 124 | 7057988 | <filename>Packages/UIForia/Src/Util/LRUCache.cs
using System.Collections.Generic;
namespace UIForia.Util {
public class LRUCache<K, V> {
private readonly int capacity;
private readonly Dictionary<K, LinkedListNode<LRUCacheItem>> cacheMap;
private readonly LinkedList<LRUCacheItem> lruList;... |
test/ManagedFusion.Tests/ModelSerializerTest.cs | managedfusion/managedfusion | 1 | 7057989 | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using ManagedFusion.Serialization;
using NUnit.Framework;
namespace ManagedFusion.Tests
{
[TestFixture]
public class ModelSerializerTest
{
private class TestModel : IModelSerializer
{
#region IModelSerializer Members
... |
src/Leftware.Tasks.Core/TaskParameters/ConsoleReaders/ReadFileTaskParameterConsoleReader.cs | jhonnycano/Leftware-Tasks | 0 | 7057990 | <reponame>jhonnycano/Leftware-Tasks
using Leftware.Common;
using Spectre.Console;
namespace Leftware.Tasks.Core.TaskParameters.ConsoleReaders;
internal class ReadFileTaskParameterConsoleReader : TaskParameterConsoleReaderBase<ReadFileTaskParameter>
{
public override void Read(ConsoleReadContext context, ReadFile... |
Abstractions/AbstractionContent/TheBallCore/Out/Footvoter.serialization.designer.cs | JTOne123/TheBallPlatform | 0 | 7057991 |
namespace SER.Footvoter.Services {
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Xml;
using System.Linq;
using System.Runtime.Serialization;
//using ProtoBuf;
using System.Threading.Tasks;
namespace INT {
[DataContract(Namespac... |
Assets/Scripts/FryPancake/PanShake.cs | pablotomico/Guzzlesarus | 3 | 7057992 | <reponame>pablotomico/Guzzlesarus<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PanShake : MonoBehaviour
{
public float deltaRotation;
private float z = 0;
private bool zPlus = false;
// Use this for initialization
void Start()
{
... |
ComPro/ComPro/Interfaces/IFeed.cs | RezaHoque/ComPro | 0 | 7057993 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ComPro.Models;
namespace ComPro.Interfaces
{
public interface IFeed
{
void AddToFeeds(FeedModel feed);
}
}
|
MainApplication/Windows/LanguageChangeWindow.cs | Klocman/Text-To-Screen | 19 | 7057994 | <reponame>Klocman/Text-To-Screen<filename>MainApplication/Windows/LanguageChangeWindow.cs
/*
Copyright (c) 2017 <NAME> (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Globalization;
using System.Linq;
using System.Windows.Forms;
using Klocman.Extensions;
using ... |
ContentPatcher/Framework/LoadedContentPack.cs | Zangorr/StardewMods | 378 | 7057995 | <reponame>Zangorr/StardewMods<filename>ContentPatcher/Framework/LoadedContentPack.cs
using ContentPatcher.Framework.ConfigModels;
using Pathoschild.Stardew.Common.Utilities;
namespace ContentPatcher.Framework
{
/// <summary>A loaded content pack.</summary>
internal class LoadedContentPack : RawContentPack
... |
Main.cs | icefoxen/old-mantleomat | 0 | 7057996 | using System;
namespace Mantleomat {
class MainClass {
public static void Main(string[] args) {
Console.WriteLine("Running...");
var a = new Simulation(100, 100, 100000, 0);
a.RunSteps(100000, 10);
/*
foreach(var i in b) {
Console.Out.WriteLine(i);
}
*/
Console.WriteLine("Writing results... |
src/Perpetuum/IMessageSender.cs | jeffmaley/PerpetuumServer | 46 | 7057997 | using System.Collections.Generic;
using Perpetuum.Accounting;
using Perpetuum.Accounting.Characters;
using Perpetuum.Groups.Corporations;
using Perpetuum.Services.Sessions;
namespace Perpetuum
{
public interface ICorporationMessageSender
{
void SendToAll(IMessage message,Corporation corporation);
... |
Topics/11. Entity-Framework-Code-First/demos/CodeFirst.Data/ForumContext.cs | SvetlomirBalevski/Databases | 24 | 7057998 | <filename>Topics/11. Entity-Framework-Code-First/demos/CodeFirst.Data/ForumContext.cs
namespace CodeFirst.Data
{
using System.Data.Entity;
using CodeFirst.Models;
public class ForumContext : DbContext
{
public ForumContext()
: base("ForumDb")
{
}
public Db... |
nanoFramework.Device.Bluetooth/IO/Buffer.cs | AdrianSoundy/nanoFramework.Device.Bluetooth | 4 | 7057999 | using System;
using System.Text;
namespace nanoFramework.Device.Bluetooth
{
/// <summary>
/// Represents a referenced array of bytes used by byte stream read and write interfaces.
/// </summary>
public class Buffer
{
/// <summary>
/// Byte buffer
/// </summary>
priv... |
HSLSharp/NodeSettings/FormRegularCode.Designer.cs | dathlin/HSLSharp | 15 | 7058000 | namespace HSLSharp.NodeSettings
{
partial class FormRegularCode
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
Common.SL/Converters/InverseVisibilityConverter.cs | jkattestaart/AccoBooking | 0 | 7058001 | <filename>Common.SL/Converters/InverseVisibilityConverter.cs
//====================================================================================================================
// Copyright (c) 2012 IdeaBlade
//=========================================================================================================... |
CardfileDotNet/CardfileDotNet/UI/OptionsDialog.Designer.cs | poppedcorn/Cardfile.NET | 0 | 7058002 | namespace CardfileDotNet.UI
{
partial class OptionsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
src/Benchmarks/AccessBenchmark.cs | FolkerKinzel/CsvTools | 0 | 7058003 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FolkerKinzel.CsvTools.Helpers;
using FolkerKinzel.CsvTools;
using BenchmarkDotNet.Attributes;
using System.IO;
using FolkerKinzel.CsvTools.Helpers.Converters;
namespace Benchmarks
{
[MemoryDia... |
Editor/Mux.Editor/Assembly/Modifier.cs | kakunpc/Mux | 162 | 7058004 | <reponame>kakunpc/Mux<gh_stars>100-1000
// Copyright 2019 pixiv Inc.
//
// 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 req... |
ES5.Script/ScriptComponentException.cs | luboid/ES5.Script | 1 | 7058005 | <reponame>luboid/ES5.Script
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ES5.Script
{
public class ScriptComponentException : Exception
{
public ScriptComponentException() : base() { }
public ScriptComponentException(string message) : base(mes... |
DogsIRL-API/DogsIRL-API/Views/Forms/ResetPasswordConfirm.cshtml | 401FinalProjectOrg/DogsIRL-API | 1 | 7058006 | <reponame>401FinalProjectOrg/DogsIRL-API
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<h1>Success!</h1>
<p>
Your password has been reset.
</p> |
NetworkShare.cs | mgnush/PCCG_Companion | 1 | 7058007 | <reponame>mgnush/PCCG_Companion
using System;
using System.Runtime.InteropServices;
namespace Builder_Companion
{
public static class NetworkShare
{
/// <summary>
/// Connects to the remote share
/// </summary>
/// <returns>Null if successful, otherwise error message.</returns>... |
ServiceStack.OrmLite/src/ServiceStack.OrmLite.Oracle/Converters/OracleGuidConverter.cs | filipsky/ServiceStack | 1 | 7058008 | <gh_stars>1-10
using System;
using System.Data;
using ServiceStack.OrmLite.Converters;
namespace ServiceStack.OrmLite.Oracle.Converters
{
public class OracleGuidConverter : GuidConverter
{
public override string ColumnDefinition
{
get { return "VARCHAR2(37)"; }
}
p... |
WebServices/ITravelService.cs | blendiahmetaj1/eSupremacy | 0 | 7058009 | <reponame>blendiahmetaj1/eSupremacy
using Common.Operations;
using Entities;
using Entities.Items;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebServices
{
public interface ITravelService
{
MethodResult CanTravel(Citize... |
cmpctircd/Configuration/LoggerElement.cs | thesamesam/cmpctircd.NET | 7 | 7058010 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Configuration;
namespace cmpctircd.Configuration {
public class LoggerElement : ConfigurationElement {
private readonly Dictionary<string, string> _attributes = new Dictionary<string, string>();
// ... |
WindowsFormsApplication2/WindowsFormsApplication3/Form1.cs | ChupUchup/VS-CS-Projects | 0 | 7058011 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace WindowsFormsApplication3
{
... |
src/MSIExtract/Model/AppModel.cs | learn-more/MSIExtractApp | 0 | 7058012 | <filename>src/MSIExtract/Model/AppModel.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Text;
using Syst... |
TesseractBoxCreator/Commands/BaseCommand.cs | EvilVir/tesseract-box-creator | 0 | 7058013 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace TesseractBoxCreator.Commands
{
public abstract class BaseCommand<T> : ICommand
{
public event EventHandler CanExecuteChang... |
WheatlyBot/Entities/ChronoGG/ChronoGGItem.cs | walkerboh/ChronoBot | 1 | 7058014 | <filename>WheatlyBot/Entities/ChronoGG/ChronoGGItem.cs<gh_stars>1-10
using System.Collections.Generic;
namespace WheatlyBot.Entities.ChronoGG
{
public abstract class ChronoGgItem
{
protected string CleanPlatforms(string[] platforms)
{
var cleanedStrings = new List<string>();
... |
Source/NLedger.Tests/CompareItemsTests.cs | allisterb/nledger | 133 | 7058015 | // **********************************************************************************
// Copyright (c) 2015-2021, <NAME>. All rights reserved.
// Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer.
//
// This file is part of NLedger that is a .Ne... |
Zeldomizer.Test/Engine/Underworld/UnderworldRoomDecompilerTests.cs | SaxxonPike/Zeldomizer | 17 | 7058016 | using NUnit.Framework;
// ReSharper disable CollectionNeverUpdated.Local
namespace Zeldomizer.Engine.Underworld
{
public class UnderworldRoomDecompilerTests : ZeldomizerBaseTestFixture<UnderworldRoomDecompiler>
{
protected override UnderworldRoomDecompiler GetTestSubject()
{
retur... |
Scripts/Plot.cs | andrew-raphael-lukasik/Segments | 8 | 7058017 | <gh_stars>1-10
using Debug = UnityEngine.Debug;
using Unity.Mathematics;
using Unity.Collections;
using Unity.Jobs;
using BurstCompile = Unity.Burst.BurstCompileAttribute;
namespace Segments
{
public static class Plot
{
#region ellipses
/// <summary> Plots a ellipse shape. </summary>
/// <remarks> Will ad... |
Assets/Plugins/GrayBlue/Central.cs | naninunenoy/unity-IMUDevice | 4 | 7058018 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using GrayBlueUWPCore;
namespace GrayBlue {
[DefaultExecutionOrder(-1)]
public class Central : MonoBehaviour, IConnectionDelegate, INotifyDelegate, IDisposable {
... |
test/Itinero.Test/Algorithms/Contracted/DykstraTests.cs | itinero/itnero | 182 | 7058019 | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... |
src/Brits.Providers.AzureQueueStorage/AzureQueueStorageOptions.cs | lsymonds/Brits | 0 | 7058020 | <gh_stars>0
namespace Brits
{
/// <summary>
/// Options for configuring the AzureQueueStorageProvider.
/// </summary>
public class AzureQueueStorageOptions
{
/// <summary>
/// Gets or sets the connection string used to connect to the Azure Queue Storage queue.
/// </summary>
... |
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/ErrorPages404Steps.cs | uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite | 0 | 7058021 | <gh_stars>0
using Sfa.Tl.ResultsAndCertificationAutomation.Framework.Helpers;
using TechTalk.SpecFlow;
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages;
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.TestSupport;
using NUnit.Framework;
namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefin... |
src/Milou.Deployer.Web.IisHost/Areas/Deployment/Services/PackageService.cs | milou-se/milou.deployer.web | 1 | 7058022 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Arbor.KVConfiguration.Core;
using Arbor.Tooler;
using JetBrains.Annotations;
using Milou.Deployer.Core.Processes;
us... |
ModibotCommands/RequirePrivilegeCommand.cs | BigETI/Modibot | 4 | 7058023 | <filename>ModibotCommands/RequirePrivilegeCommand.cs<gh_stars>1-10
using ModibotAPI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
/// Modibot commands namespace
/// </summary>
namespace ModibotCommands
{
/// <summary>
/// Require privilege command
///... |
src/TestForm.cs | WasatchPhotonics/TemperatureCharacterization | 0 | 7058024 | <reponame>WasatchPhotonics/TemperatureCharacterization<filename>src/TestForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WasatchNET... |
Ao3TrackReader/Ao3TrackReader.iOS/App.cs | Antyos/Ao3-Tracker | 8 | 7058025 | <filename>Ao3TrackReader/Ao3TrackReader.iOS/App.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using Foundation;
using UIKit;
using Xamarin.Forms;
namespace Ao3TrackReader
{
public partial class App
{
... |
src/Example-RestAPI/Models/Media_type.cs | HSU-F20-CS346/p05-rja45 | 0 | 7058027 | <filename>src/Example-RestAPI/Models/Media_type.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Example_RestAPI.Models
{
public class Media_type... |
Merwylan.ExampleApi.Services/Extensions/MappingExtensions.cs | Merwylan-Software-Development/Merwylan.ExampleApi | 0 | 7058028 | <reponame>Merwylan-Software-Development/Merwylan.ExampleApi
using System.Linq;
using Merwylan.ExampleApi.Persistence.Entities;
using Merwylan.ExampleApi.Shared.UserManagement;
namespace Merwylan.ExampleApi.Services.Extensions
{
public static class MappingExtensions
{
public static UserDto ToDto(this U... |
src/rchia/Keys/DeleteKeyCommand.cs | dkackman/rchia | 9 | 7058029 | using System;
using System.Threading;
using System.Threading.Tasks;
using chia.dotnet;
using rchia.Commands;
namespace rchia.Keys;
internal sealed class DeleteKeyCommand : WalletCommand
{
[Option("f", "force", Description = "Delete the key without prompting for confirmation")]
public bool Force { get; init; ... |
QTFK.DB/QTFK/Extensions/DBCommand/DBCommandExtension.cs | hossmi/qtfk | 0 | 7058030 | using System;
using System.Collections.Generic;
using System.Data;
namespace QTFK.Extensions.DBCommand
{
public static class DBCommandExtension
{
public static IDbCommand setCommandText(this IDbCommand cmd, string commandText)
{
cmd.CommandText = commandText;
return cmd... |
Core/Movement/SuccessfulMoveRemover.cs | SpencasaurusRex/ARA2D | 2 | 7058031 | <gh_stars>1-10
using System;
using Core.Archetypes;
using DefaultEcs;
using DefaultEcs.System;
namespace Core.Movement
{
public class SuccessfulMoveRemover : AEntitySystem<TickContext>
{
public SuccessfulMoveRemover(Factory factory) : base(factory.MovementResultsSet)
{
}
prote... |
src/FoxIDs.ControlShared/Models/Api/Master/ResourceItem.cs | ITfoxtec/FoxIDs | 19 | 7058032 | <filename>src/FoxIDs.ControlShared/Models/Api/Master/ResourceItem.cs
using FoxIDs.Infrastructure.DataAnnotations;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace FoxIDs.Models.Api
{
public class ResourceItem
{
[Required]
[Display(... |
Shop-Store-System/Shop-Store-System/Design Interfaces/formArchiveDeliveries.cs | georgianastasov/Shop-Storage-System | 0 | 7058033 | using Shop_Store_System.BusinesLogic;
using Shop_Store_System.BusinessLogic;
using Shop_Store_System.DataAccess;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows... |
Mono.Addins/Mono.Addins.Database/Util.cs | directhex/mono-addins | 1 | 7058034 | //
// Util.cs
//
// Author:
// <NAME>
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
//
// 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
// wi... |
CsharpDemo/CsharpDemo/CsharpDemo/Commands/PublicCommands.cs | StanZzzzzz/AltvCshrapDemo | 0 | 7058035 | using AltV.Net;
using AltV.Net.Elements.Entities;
using AltV.Net.Enums;
using CsharpDemo.Utils;
using ReLogLib;
using System;
namespace CsharpDemo.Commands
{
/**
* PublicCommands
* @Author:RED
* @Email:<EMAIL>
*/
public class PublicCommands : IScript
{
// command test1
... |
Listing 1-95 Rethrowing an exception/Program.cs | zhamppx97/exam-ref-70-483 | 2 | 7058036 | <filename>Listing 1-95 Rethrowing an exception/Program.cs<gh_stars>1-10
using System;
namespace Listing_1_95_Rethrowing_an_exception
{
class Program
{
static void Main()
{
try
{
int x = int.Parse("s");
}
catch (Exception logEx)
... |
SocietyManagement/SocietyManagement/Startup.cs | mukeshbpatel/SocietyManagement | 0 | 7058038 | <reponame>mukeshbpatel/SocietyManagement
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(SocietyManagement.Startup))]
namespace SocietyManagement
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
... |
src/App.xaml.cs | arithex/ThrottleOverlay | 0 | 7058039 | using System;
using System.Windows;
using System.Windows.Media;
namespace ThrottleOverlay
{
public partial class App : Application
{
static IntPtr s_msgWndForStick = IntPtr.Zero;
static RawInputJoystickHandler s_stickInputHandler = null;
//---------------------------------------------... |
src/MyX3DParser.Generator/Builders/DataTypes/StringEnumBuilder.cs | mgrman/MyX3DParser | 2 | 7058040 | // using MyX3DParser.Utils;
// using System;
// using System.Collections.Generic;
// using System.Diagnostics.Contracts;
// using System.Linq;
// using System.Text;
// using System.Text.RegularExpressions;
// using System.Threading.Tasks;
//
// namespace MyX3DParser.Model.Builders
// {
// [BuilderCategory("DataTyp... |
RecommendationSystem.Naive/MostCommonRating/MostCommonRatingRecommender.cs | gligoran/RecommendationSystem | 2 | 7058041 | using System.Collections.Generic;
using System.Linq;
using RecommendationSystem.Entities;
using RecommendationSystem.Prediction;
using RecommendationSystem.Recommendations;
namespace RecommendationSystem.Naive.MostCommonRating
{
public class MostCommonRatingRecommender : IRecommender<IMostCommonRatingModel... |
Scripts/CameraRotator.cs | dandylow/LaserSparks | 0 | 7058042 | <reponame>dandylow/LaserSparks
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraRotator : MonoBehaviour
{
public float speed = 1f;
void Update()
{
transform.Rotate(0, speed * Time.deltaTime, 0);
}
}
|
c_sharp_course/Start/Overview/Operators/Program.cs | synthline/bdsa21 | 1 | 7058043 | <reponame>synthline/bdsa21<filename>c_sharp_course/Start/Overview/Operators/Program.cs
using System;
namespace Operators
{
class Program
{
static void Main(string[] args)
{
// Declare some variables to excercise the operators
int x=10, y=5;
string ... |
src/SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceTests/Steps/AccountSteps.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 1 | 7058044 | using System;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Messages.Events;
using SFA.DAS.EmployerFinance.Messages.Events;
using SFA.DAS.Reservations.Data;
using SFA.DAS.Reservations.Domain.AccountLegalEntities;
using SFA.DAS.Reservations.Domai... |
EVEStandard/API/Routes.cs | copyliu/EVEStandard | 55 | 7058045 | using EVEStandard.Enumerations;
using EVEStandard.Models.API;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EVEStandard.API
{
/// <summary>
/// Routes API
/// </summary>
/// <seealso cref="EVEStandard.API.APIBase" />
public class Rout... |
Assets/Scripts/DebugManager.cs | tiagomms/DarkLight_VR | 0 | 7058046 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebugManager : MonoBehaviour
{
public static bool isDebugging = false; // set to true to enable Debug.Logs
public static void Info(string message)
{
if (!isDebugging)
return;
else
... |
Paint/Controls/ImagePanel.cs | wieslawsoltes/Paint | 0 | 7058047 | using Avalonia.Controls;
using Avalonia.Media;
using Paint.ViewModels;
namespace Paint.Controls
{
public class ImagePanel : Panel
{
public override void Render(DrawingContext context)
{
base.Render(context);
if (DataContext is ImageViewModel vm)
{
... |
sdk/storage/Azure.Storage.Blobs/src/Models/FilterBlobsAsyncCollection.cs | gjy5885/azure-sdk-for-net | 3,268 | 7058048 | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma warning disable SA1402 // File may only contain a single type
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Storage.Blobs.Models
{
internal class F... |
SourceCode/Source/Components/Components.Window.Design/View/DesignerEventBindingService.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7058049 | <gh_stars>100-1000
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Compon... |
CSharp/Reflection/GetValueMembers.cs | piovezan/SOpt | 148 | 7058050 | <reponame>piovezan/SOpt<filename>CSharp/Reflection/GetValueMembers.cs
private string[] ObterValoresPropriedades(object objeto) {
var val = new List<string>();
foreach (var item in objeto.GetType().GetProperties())
val.Add((item.GetValue(objeto) ?? "").ToString());
return val.ToArray();
}
//https://pt.s... |
src/Comformation/Generated/CloudFront/PublicKey/PublicKeyConfig.cs | stanb/Comformation | 17 | 7058051 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.CloudFront.PublicKey
{
/// <summary>
/// AWS::CloudFront::PublicKey PublicKeyConfig
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfro... |
Splash/Constraints/BoxConstraint.cs | lightfromshadows/qadunity | 0 | 7058052 | <filename>Splash/Constraints/BoxConstraint.cs
using UnityEngine;
using System.Collections;
namespace QuickAndDirty.Splash
{
public class BoxConstraint : ParticleAffector
{
public Bounds bounds = new Bounds(new Vector3(0,0,0), new Vector3(1,1,1));
public override void AffectParticle(ref Partic... |
GeoDex.GH/Surfaces/Open.cs | interopxyz/GeoDex.GH | 3 | 7058053 | <reponame>interopxyz/GeoDex.GH
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace Geodex.GH.Surfaces
{
public class Open : GeodexBase
{
/// <summary>
/// Initializes a new instance of the Open class.
/// </summary>
public ... |
Offbeat.BitmapDiff/BitmapDiffer.cs | offbeat-solutions/BitmapDiff | 0 | 7058054 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Offbeat.BitmapDiff {
public static class BitmapDiffer
{
private static readonly ImageCompareOptions DefaultC... |
SafeExamBrowser.Logging.Contracts/IThreadInfo.cs | shashinma/CSEB-Windows | 0 | 7058055 | <reponame>shashinma/CSEB-Windows
/*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/... |
WebApi/ViewModels/Mappings/ViewModelToEntityMappingProfile.cs | gatsbys/NetCoreWebApiIdentity | 2 | 7058056 | using Api.Messages.Identity;
using AutoMapper;
namespace WebApi.ViewModels.Mappings
{
public class ViewModelToEntityMappingProfile : Profile
{
public ViewModelToEntityMappingProfile()
{
CreateMap<RegistrationViewModel, User>()
.ForMember(au => au.UserName, map => ma... |
Test/WTXModbusTest/CalibrationTestsModbus.cs | HBM/Automation-API | 0 | 7058057 | // <copyright file="CalibrationTestsModbus.cs" company="Hottinger Baldwin Messtechnik GmbH">
//
// WTXGUIsimple, a demo application for HBM Weighing-API
//
// The MIT License (MIT)
//
// Copyright (C) <NAME> Messtechnik GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of thi... |
Tapey's Adventure/Assets/Scripts/TapeRecorderButtons.cs | Pikachuxxxx/Tapey-Adventure | 0 | 7058058 | <filename>Tapey's Adventure/Assets/Scripts/TapeRecorderButtons.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TapeRecorderButtons : MonoBehaviour
{
//public Button pauseButton;
private PlayerCollisions playerColl;
void Start()
{
... |
AbrantosAPI/Models/User/CreateUserViewModel.cs | diguifi/abrantos-api | 0 | 7058059 | <reponame>diguifi/abrantos-api
namespace AbrantosAPI.Models.User
{
public class CreateUserViewModel
{
public string UserName { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string PasswordConfirmation { get; set; }
}
} |
Shared/Microsoft.DataTransfer.Basics.Files/Source/LocalFile/LocalFileSourceStreamProvidersFactory.cs | costinBol/azure-documentdb-datamigrationtool | 338 | 7058060 | <gh_stars>100-1000
using Microsoft.DataTransfer.Basics.Files.Shared;
using Microsoft.DataTransfer.Basics.IO;
using System.Collections.Generic;
namespace Microsoft.DataTransfer.Basics.Files.Source.LocalFile
{
sealed class LocalFileSourceStreamProvidersFactory : LocalFileStreamProvidersFactoryBase, ISourceStreamPro... |
Plugins.InCharacter/InCharacterModule.cs | alexnoddings/Elvet | 0 | 7058061 | <reponame>alexnoddings/Elvet<gh_stars>0
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Elvet.Core.Commands;
using Elvet.InCharacter.Data;
namespace Elvet.InCharacter
{
[Name("InCharacter")]
[Alias("ic")]
internal class InCharacterModule : ElvetModuleBase
{
... |
src/Libraries/Laser.Orchard.Commons/Services/CommonUtils.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7058063 | <reponame>INVA-Spa/Laser.Orchard.Platform
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Laser.Orchard.Commons.Services {
public class CommonUtils {
public string NormalizeFileName(string fileName, string defaultFileName, char replacementChar = '_') {
var norma... |
Lib/Tracking/BaseTrack.cs | vasily-mett/TrackConverter | 2 | 7058064 | <gh_stars>1-10
using GMap.NET;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.IO;
using TrackConverter.Lib.Exceptions;
using TrackConverter.Lib.Mathematic.Geodesy;
namespace TrackConverter.Lib.Tracking
{
/// <s... |
LbhNotificationsApi/V1/Gateways/Interfaces/INotifyGateway.cs | LBHackney-IT/lbh-notifications-api | 0 | 7058065 | <filename>LbhNotificationsApi/V1/Gateways/Interfaces/INotifyGateway.cs
using System.Threading.Tasks;
using LbhNotificationsApi.V1.Boundary.Requests;
namespace LbhNotificationsApi.V1.Gateways.Interfaces
{
public interface INotifyGateway
{
bool SendEmailNotification(EmailNotificationRequest request);
... |
BinPackingProblem/Logic.ObjectGenerator/ObjectSetProperties.cs | Ervie/PackingProblem | 0 | 7058066 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Logic.ObjectGenerator
{
/// <summary>
/// For generating 2D Objects
/// </summary>
public class ObjectSetProperties2D
{
public int ObjectAmount { get; set; }
... |
src/NSwag/Commands/Base/OutputCommandBase.cs | zjklee/NSwag | 0 | 7058067 | <filename>src/NSwag/Commands/Base/OutputCommandBase.cs
using System;
using System.ComponentModel;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using NConsole;
namespace NSwag.Commands.Base
{
public abstract class OutputCommandBase : IConsoleCommand
{
[Description("The ou... |
Benriya.Utils/Pagingation.cs | Benriya-Tech/BenriyaCore | 0 | 7058068 | <reponame>Benriya-Tech/BenriyaCore
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
namespace Benriya.Utils.P... |
ReqMake/ReqMake.cs | al2sara/ReqMake | 1 | 7058069 | <reponame>al2sara/ReqMake<filename>ReqMake/ReqMake.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ReqMake
{
public partial... |
SourceCode/Source/EnterpriseLibrary/Logging/Tests/Database.Configuration.Manageability/Wmi/FormattedDatabaseTraceListenerSettingFixture.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7058070 | <filename>SourceCode/Source/EnterpriseLibrary/Logging/Tests/Database.Configuration.Manageability/Wmi/FormattedDatabaseTraceListenerSettingFixture.cs
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
****************************... |
src/ViewModels/TyreCompoundListItem.cs | testpossessed/acc-setup-manager | 1 | 7058071 | using System;
namespace ACCSetupManager.ViewModels
{
public class TyreCompoundListItem
{
public string Text { get; set; }
public int Value { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.