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 |
|---|---|---|---|---|
Web-BTL-Backend/Models/ClientDataReturn/PostInformation.cs | FCBTruong/Web-BTL-Backend | 0 | 7051828 | <gh_stars>0
using System.Collections.Generic;
using Web_BTL_Backend.Models.Data;
namespace Web_BTL_Backend.Models.ClientDataReturn
{
public class PostInformation
{
public Posts post { set; get; }
public Users owner { set; get; }
public Motelrooms motelInfor { set; get; }
public... |
Examples/ISO7816-4/Mifare1kTest/Program.cs | dmercer-google/pcsc-sharp | 0 | 7051829 | <gh_stars>0
using System;
using System.Collections.Generic;
using PCSC;
using PCSC.Iso7816;
namespace Mifare1kTest {
public class Program {
private static readonly byte[] DATA_TO_WRITE = {
0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
... |
docs/DryIoc.Docs/UsingInTestsWithMockingLibrary.cs | bitwreckage/DryIoc | 736 | 7051831 | /*md
<!--Auto-generated from .cs file, the edits here will be lost! -->
# Auto-mocking with a mocking library
- [Auto-mocking with a mocking library](#auto-mocking-with-a-mocking-library)
- [Auto-mocking with NSubstitute](#auto-mocking-with-nsubstitute)
- [Auto-mocking with Moq](#auto-mocking-with-moq)
For exa... |
Assets/UnityPrototypingTools/Editor/UnityEditorScreenshot.cs | waterspamer/CameraTrackingRecorder | 0 | 7051832 | <filename>Assets/UnityPrototypingTools/Editor/UnityEditorScreenshot.cs
using System.IO;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace Antilatency.UnityPrototypingTools {
public static class UnityEditorScreenshot {
[MenuItem("Antilatency/Take Unity Editor window screenshot %#k... |
tests/AupDotNetTests/ExEdit/LayerTest.cs | karoterra/AupDotNet | 10 | 7051833 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using Karoterra.AupDotNet;
using Karoterra.AupDotNet.ExEdit;
namespace AupDotNetTests.ExEdit
{
[TestClass]
public class LayerTest
{
[DataTe... |
src/SentryOne.UnitTestGenerator.Core.Tests/UnitTestGeneratorTests.cs | kaqq/unittestgenerator | 0 | 7051834 | <reponame>kaqq/unittestgenerator
namespace SentryOne.UnitTestGenerator.Core.Tests
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.SqlClient;
using System.Drawing;
using System.Globalization;
using System.IO;
... |
Client/Common/O10.Client.DataLayer/DataContext.cs | muaddibco/O10city | 1 | 7051835 | <gh_stars>1-10
using Microsoft.EntityFrameworkCore;
using O10.Client.DataLayer.ElectionCommittee;
using O10.Client.DataLayer.Model;
using O10.Client.DataLayer.Model.ConsentManagement;
using O10.Client.DataLayer.Model.Inherence;
using O10.Client.DataLayer.Model.Scenarios;
using O10.Client.DataLayer.Model.ServiceProvide... |
Exceptions/ConfigurationNotFoundException.cs | jorgemk85/OneData | 1 | 7051836 | using System;
namespace OneData.Exceptions
{
public class ConfigurationNotFoundException : Exception
{
const string errorMessage = "No se encontro la configuracion requerida dentro del archivo de configuracion de la aplicacion.";
public ConfigurationNotFoundException(string setting) : base(st... |
src/Plugin.Iconize/Platform/Android/PlatformExtensions.cs | stepkillah/Iconize | 0 | 7051837 | using System;
using System.Collections.Generic;
using Android.Content;
using Android.Graphics;
using Android.Graphics.Drawables;
using Android.Support.V7.Widget;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
namespace Plugin.Iconize
{
/// <summary>
/// Defines the <see cref="... |
src/UnoApp/UnoDecompile/Uno.UI/Uno.UI/__LinkerHints.cs | ljcollins25/Codeground | 0 | 7051838 | <filename>src/UnoApp/UnoDecompile/Uno.UI/Uno.UI/__LinkerHints.cs
namespace Uno.UI;
internal class __LinkerHints
{
internal static bool Is_Uno_UI_Controls_ManagedItemsStackPanel_Available => true;
internal static bool Is_Uno_UI_Xaml_Controls_SystemFocusVisual_Available => true;
internal static bool Is_Uno_UI_Xaml_... |
Source/Fs.Processes/JobObjects/JobOptions.cs | williamb1024/fs-processes | 8 | 7051839 | using System;
using System.Collections.Generic;
using System.Text;
namespace Fs.Processes.JobObjects
{
/// <summary>
/// A set of values that control how a <see cref="JobObject"/> operates.
/// </summary>
[Flags]
public enum JobOptions
{
/// <summary>
/// A place holder used wh... |
RemindMe/Forms/Old forms/Form1.Designer.cs | Stefangansevles/RemindMe | 49 | 7051840 | <reponame>Stefangansevles/RemindMe<gh_stars>10-100
namespace RemindMe
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being ... |
Workers/Resgrid.Workers.Framework/Backend/Guardian/GuardianQueue.cs | dotnetshop/Resgrid-Core | 74 | 7051841 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Resgrid.Framework;
using Resgrid.Model;
using Resgrid.Model.Services;
namespace Resgrid.Workers.Framework.Backend
{
public class GuardianQueue : IQueue<GuardianQueueItem>
{
private static... |
PrismaWEB/Views/Usuarios/Details.cshtml | LeonardoVanelli/PrismaWeb | 0 | 7051842 | <filename>PrismaWEB/Views/Usuarios/Details.cshtml
@model PrismaWEB.Models.Pessoas
@{
ViewBag.Title = "Details";
}
<div class="form-row">
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="form-group col-md-12">
<div class="col-md-offset-2">
<a href="@Url.Act... |
src/dev/impl/DevToys/Views/Tools/Text/StringEscapeUnescape/StringEscapeUnescapeToolPage.xaml.cs | Regenhardt/DevToys | 9,271 | 7051843 | #nullable enable
using DevToys.Api.Core.Navigation;
using DevToys.Helpers;
using DevToys.Shared.Core;
using DevToys.ViewModels.Tools.StringEscapeUnescape;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at https://go.microsoft.com... |
CrawlIT/CrawlIT.Shared/Utility/Extension.cs | igotinfected/crawlIT | 0 | 7051844 | <gh_stars>0
using Microsoft.Xna.Framework;
using MonoGame.Extended;
using MonoGame.Extended.Tiled;
namespace CrawlIT.Shared
{
/// <summary>
/// <para>
/// Extension class that holds extension methods.
/// </para>
/// <para>
/// For example: <see cref="ToPoint"/>, adds a <see cref="Size2"/> -... |
hackerrank/c#/OneWeekPreparation/PlusMinus.cs | viacheslave/algo | 0 | 7051845 | using System.IO;
namespace HackerRank.TimeConversion;
class Result
{
/*
* Complete the 'timeConversion' function below.
*
* The function is expected to return a STRING.
* The function accepts STRING s as parameter.
*/
public static string timeConversion(string s)
{
var hrs ... |
GlobalAssemblyInfo.cs | FubarDevelopment/restsharp.portable | 110 | 7051846 | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Fubar Development Junker, RestSharp.Portable community and others")]
[assembl... |
BellaCode.Mvvm/Behaviors/EnterKeyUpdatesSourceBehavior.cs | GeoffCox/MVVM | 2 | 7051847 | namespace BellaCode.Mvvm.Behaviors
{
using System.Diagnostics.CodeAnalysis;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Interactivity;
/// <summary>
/// Updates the binding source of a TextBox when the enter key (without modifi... |
Easy/Easy/Views/Resume/Index.cshtml | EdneySilva/Easycomtec | 0 | 7051848 | <filename>Easy/Easy/Views/Resume/Index.cshtml<gh_stars>0
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<div ng-app="app" ng-form="frmResume" ng-controller="customersCtrl">
<alert id="alert" name="alert"></alert>
<table clas... |
src/TPSReader/TPSDataReader.cs | syntaxc/tps-data-reader | 0 | 7051849 | /*
* Copyright 2014 C.Chenier
* Special thanks to E.Hooijmeijer for his work on tps-to-csv ( http://ctrl-alt-dev.nl/Projects/TPS-to-CSV/TPS-to-CSV.html )
*
* 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 ... |
SqlConnectionFix/SqlDataReaderWithHierarchyId.cs | geoFlux/SqlConnectionWithHierarchyId | 0 | 7051850 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.SqlServer.Types;
namespace GeoFlux.SqlConnectionFix
{
public c... |
source/AdventureWorks.Bikes/src/AdventureWorks.Bikes.Infrastructure.SearchService/Initializer/SearchServiceDataInitializer.cs | lalaithan/developer-immersion-data | 82 | 7051851 | using Microsoft.Extensions.Configuration;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace AdventureWorks.Bikes.Infrastructure.SearchService.Initializer
{
public class SearchServiceDataInitializer
{
private readonly strin... |
Kooboo.CMS/Kooboo.CMS.Sites/Membership/NullMembershipAuthentication.cs | syberside/CMS | 288 | 7051852 | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
namespace Kooboo.CMS.Sites.Membership
{
public... |
LeavinsSoftware.Collection.Program/ViewModels/ItemGameViewModel.cs | dustinleavins/LeavinsSoftware.CIB | 0 | 7051853 | <reponame>dustinleavins/LeavinsSoftware.CIB
// Copyright (c) 2013, 2014 <NAME>
// See the file 'LICENSE.txt' for copying permission.
using KSMVVM.WPF;
using KSMVVM.WPF.ViewModel;
using LeavinsSoftware.Collection.Models;
using LeavinsSoftware.Collection.Persistence;
using System;
using System.Collections;
using System.... |
src/TrayKit/Models/Settings/Settings.cs | SvenHarenburg/TrayKit | 6 | 7051855 | <reponame>SvenHarenburg/TrayKit<filename>src/TrayKit/Models/Settings/Settings.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrayKit.Models.Settings
{
internal class Settings
{
public TrayKitSettings TrayKitSettings { get; set; ... |
port-redirector/RedirectorInstaller.cs | orrollo/port-redirector | 1 | 7051856 | <reponame>orrollo/port-redirector
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
namespace port_redirector
{
[RunInstaller(true)]
public class RedirectorInstaller : Installer
{
public RedirectorInstaller()
{
var processInstaller = new ServiceProcessInstaller();... |
RelhaxLegacy/RelicModManager/LegacyComponents/CRCCheck.Designer.cs | Arkhorse/RelhaxModpack | 19 | 7051857 | <gh_stars>10-100
namespace RelhaxModpack
{
partial class CRCCheck
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
ArduinoRCRobot/MainWindow.xaml.cs | Obrelix/ArduinoRCRobot | 1 | 7051858 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Window... |
Garland.Data/Lodestone/LodestoneIconScraper.cs | CatStarwind/GarlandTools | 0 | 7051859 | <reponame>CatStarwind/GarlandTools
using Garland.Data.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SaintCoinach.Xiv;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;... |
OOPExams/MyTunesShop-Skeleton/MyTunesShop/SalesInfo.cs | AYankova/CSharp | 0 | 7051860 | <reponame>AYankova/CSharp
namespace MyTunesShop
{
using System;
public class SalesInfo
{
public SalesInfo()
{
this.Supplies = 0;
this.QuantitySold = 0;
}
public int Supplies { get; private set; }
public int QuantitySold { get; private set; ... |
EnsoPlus/Entities/WorkItems/KeyValue.cs | F4CIO/EnsoPlus | 2 | 7051861 | using System;
using System.Collections.Generic;
using System.Text;
namespace EnsoPlus.Entities
{
class KeyValue<KeyType, ValueType> :IWorkItem
{
public IWorkItemsProvider provider;
public KeyType key;
public ValueType value;
#region IWorkItem Members
public IWorkItems... |
src/Areas/Procurement/Controllers/SCManagementsController.cs | PMU-EDU/BEP | 0 | 7051862 | <filename>src/Areas/Procurement/Controllers/SCManagementsController.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 BES.Areas.Procurement.Models;
usin... |
src/EntityGraphQL/Compiler/GqlNodes/GraphQLMutationField.cs | ahmedalejo/EntityGraphQL | 212 | 7051863 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using EntityGraphQL.Schema;
namespace EntityGraphQL.Compiler
{
public class GraphQLMutationField : BaseGraphQLQueryField
{
private readonly MutationType mutationType = null;
private read... |
Lego.Ev3.Framework/Button.cs | mvanderelsen/Lego.Ev3.Framework | 4 | 7051864 | using Lego.Ev3.Framework.Firmware;
namespace Lego.Ev3.Framework
{
/// <summary>
/// LEGO® MINDSTORMS® EV3 Brick Button
/// </summary>
public sealed class Button
{
/// <summary>
/// Gets the type of the Button
/// </summary>
public ButtonType Type { get; }
... |
SW.Infolink.Web/Pages/Login.cshtml.cs | simplify9/Infolink | 5 | 7051865 | <reponame>simplify9/Infolink<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Micro... |
XlsxStream/Worksheet.cs | stewart-r/XlsxStream | 0 | 7051866 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Xml;
namespace XlsxStream
{
public class Worksheet:IDisposable
{
Stream wsEntryStream;
XmlWriter xmlWriter;
bool isInitialised;
WorksheetSettings settings;
... |
src/MethodBoundaryAspect.Fody.UnitTests.TestAssembly.NetFramework/ClassWithGenericMethod.cs | rualmar/MethodBoundaryAspect.Fody | 141 | 7051868 | <reponame>rualmar/MethodBoundaryAspect.Fody<gh_stars>100-1000
using MethodBoundaryAspect.Fody.UnitTests.TestAssembly.NetFramework.Aspects;
namespace MethodBoundaryAspect.Fody.UnitTests.TestAssembly.NetFramework
{
public class ClassWithGenericMethod
{
[SetInstanceValueAspect]
public void DoIt<T... |
Coding/LeetCode/Easy/String/FreqAlphabetsSol.cs | sumitc91/coding | 0 | 7051869 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace LeetCode.AskGif.Easy.String
{
class FreqAlphabetsSol
{
public void execute()
{
var res = FreqAlphabets("10#11#12");
}
public string FreqAlphabets(string s)
{
... |
Assets/Scripts/Enemy.cs | lielfr/CoronaScape | 0 | 7051870 | <gh_stars>0
using UnityEngine;
using UnityEngine.AI;
using System.Collections;
public class Enemy : MonoBehaviour
{
[SerializeField]
private float dangerRadius = 500.0f;
private Transform target;
private NavMeshAgent agent;
public GameObject player;
private bool freezeMovement = false;
p... |
src/ZWave.Tests/AssertExtensions.cs | dfederm/ZWave.NET | 0 | 7051871 | <gh_stars>0
using System.Reflection;
namespace ZWave.Tests;
internal static class AssertExtensions
{
public static void ConstructorValidatesNull<T>(this Assert _, params object[] parameters)
{
// Get the correct constructor. Note that we can't use the GetConstructor method since
// out parame... |
technologies/RenderStack.Geometry/Operations/Sqrt3GeometryOperation.cs | tksuoran/renderstack_net | 2 | 7051872 | //#define DEBUG_CHECK
using System.Collections.Generic;
using System.Linq;
namespace RenderStack.Geometry
{
public class Sqrt3GeometryOperation : GeometryOperation
{
// Sqrt(3): Replace edges with two triangles
// For each corner in the old polygon, add one triangle
... |
src/Extensions.Statiq.DocumentReferences/Model/IDocumentReferenceVisitor.cs | ap0llo/statiq-extensions | 0 | 7051873 | <filename>src/Extensions.Statiq.DocumentReferences/Model/IDocumentReferenceVisitor.cs
namespace Grynwald.Extensions.Statiq.DocumentReferences.Model
{
public interface IDocumentReferenceVisitor
{
void Visit(FullyQualifiedDocumentReference reference);
void Visit(SameNameDocumentReference referen... |
Database/Migrations/DatabaseContextModelSnapshot.cs | KojimaKumiko/LogParser | 2 | 7051874 | <reponame>KojimaKumiko/LogParser
// <auto-generated />
using System;
using Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Database.Migrations
{
[DbContext(typeof(DatabaseContext))]
partia... |
Homework1/4/Program.cs | morskibg/Programming_Fundamentals-Homeworks | 0 | 7051875 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4
{
class Program
{
static void Main(string[] args)
{
string name = Console.ReadLine();
int volume = int.Parse(Console.ReadLine());... |
Source/Mosa.FileSystem/FAT/FatFileLocation.cs | Kintaro/MOSA-Project | 0 | 7051876 | <filename>Source/Mosa.FileSystem/FAT/FatFileLocation.cs
// Copyright (c) MOSA Project. Licensed under the New BSD License.
namespace Mosa.FileSystem.FAT
{
/// <summary>
///
/// </summary>
public class FatFileLocation
{
/// <summary>
///
/// </summary>
public bool Valid;
/// <summary>
///
/// </summ... |
WalletWasabi.Fluent/Views/CreateWallet/ConfirmRecoveryWordsView.axaml.cs | mayankchhabra/WalletWasabi | 0 | 7051877 | using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using WalletWasabi.Fluent.ViewModels.CreateWallet;
namespace WalletWasabi.Fluent.Views.CreateWallet
{
public class ConfirmRecoveryWordsView : ReactiveUserControl<ConfirmRecoveryWordsViewModel>
{
public ConfirmRecoveryWordsView()
{
InitializeComponent();
... |
App_Code/BLL/Ep229FeedBackBLL.cs | moxi255/shop | 0 | 7051878 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Ep229FeedBackBLL 的摘要说明
/// </summary>
/// Category业务逻辑实现类
public class Ep229FeedBackBLL: IEp229FeedBackBLL
{
private Ep229FeedBackDAL FeedBackDAL = new Ep229FeedBackDAL();
//增加一条反馈记录
publi... |
ConsoleInputOutput/10.FibonacciNumbers/FibonacciNumbers.cs | danisio/CSharp1-Homeworks | 0 | 7051879 | <reponame>danisio/CSharp1-Homeworks<filename>ConsoleInputOutput/10.FibonacciNumbers/FibonacciNumbers.cs
/* Problem 10. Fibonacci Numbers
Write a program that reads a number `n` and prints on the console the first `n` members of the Fibonacci sequence (at a single line, separated by comma and space - `, `) : `0, 1, 1, ... |
src/Frapid.Web/Areas/Frapid.Reports/Engine/Model/Report.cs | towhidulmannanuae/frapid | 2 | 7051880 | <filename>src/Frapid.Web/Areas/Frapid.Reports/Engine/Model/Report.cs
using System.Collections.Generic;
namespace Frapid.Reports.Engine.Model
{
public sealed class Report
{
public bool HasHeader { get; set; }
public string Tenant { get; set; }
public string Path { get; set; }
pu... |
TestApp/Program.cs | RainwayApp/warden | 354 | 7051881 | using System;
using Warden.Core;
using Warden.Monitor;
namespace TestApp
{
internal class Program
{
private static void Main(string[] args)
{
var process = WardenProcess.GetCurrentProcess();
Console.WriteLine(process.Info);
SystemProcessMonitor.Start(new Mo... |
Legacy/doLittle.Web.Specs/Services/for_RestServiceMethodInvoker/when_invoking_with_a_float_as_an_escaped_string_parameter.cs | TomasEkeli/AspNetCore | 0 | 7051882 | <gh_stars>0
using System.Globalization;
using Machine.Specifications;
using It = Machine.Specifications.It;
namespace Dolittle.Web.Specs.Services.for_RestServiceMethodInvoker
{
public class when_invoking_with_a_float_as_an_escaped_string_parameter : given.a_rest_service_method_invoker_and_a_service_call_for_float... |
Rubeus/lib/krb_structures/EncTicketPart.cs | johseg/Rubeus | 10 | 7051884 | using System;
using Asn1;
using System.Text;
using System.Collections.Generic;
namespace Rubeus
{
public class EncTicketPart
{
//EncTicketPart::= [APPLICATION 3] SEQUENCE {
// flags[0] TicketFlags,
// key[1] EncryptionKey,
// crealm[2] Realm,
// cname[3] Princip... |
src/Evol.TMovie.ConsoleApp/TMovieConsoleAppModule.cs | supernebula/evol-core | 13 | 7051885 | <reponame>supernebula/evol-core
using Evol.Configuration.Modules;
using Evol.TMovie.Data;
using Evol.TMovie.Domain;
namespace Evol.TMovie.ConsoleApp
{
[DependOn(typeof(TMovieDataModule), typeof(TMovieDomainModule))]
public class TMovieConsoleAppModule : AppModule
{
public override void Initailize(... |
GWSClient/Utils/ClientUtilities.cs | uwwebservices/GWSClient | 0 | 7051887 | using System;
using System.Net;
using System.Linq;
namespace UW.Web.Services.GWSClient.Utils
{
static class ClientUtilities
{
private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
/// <summary>
/// Convert a UNIX timestamp (ms) into a local Date... |
src/TreasureUIViewModel.cs | moto2002/tianqi_src | 5 | 7051888 | using Foundation.Core;
using GameData;
using Package;
using System;
using System.Collections.Generic;
using UnityEngine;
public class TreasureUIViewModel : ViewModelBase
{
public class Names
{
public const string Attr_BtnOKText = "BtnOKText";
public const string Attr_ConsumeIcon = "ConsumeIcon";
public const... |
DigitalPlatform.OPAC.Server/SessionInfo.cs | jasonliaocn/dp2 | 95 | 7051889 | // #define USE_SESSION_CHANNEL
using System;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Diagnostics;
using System.Collections;
using DigitalPlatform.IO;
using DigitalPlatform.Text;
using DigitalPlatform.Xml;
using DigitalPlatform.LibraryClient;
using DigitalPlatform.LibraryClie... |
UniversalPackageExplorer/UPack/UniversalPackageManifest.cs | Inedo/UniversalPackageExplorer | 7 | 7051890 | <gh_stars>1-10
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Semver;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using UniversalPackageExplorer.Collections;
namespace UniversalPackageExplorer.UPack
{
[JsonObject]
public sealed class UniversalPacka... |
AdvancedNetToolsSolution/AntWeb/Views/Spread/Index.cshtml | ytodorov/AntServices | 1 | 7051891 | <reponame>ytodorov/AntServices<filename>AdvancedNetToolsSolution/AntWeb/Views/Spread/Index.cshtml
@{
ViewBag.Title = "Spread processing";
ViewBag.MetaDescription = "Create, import and export XLSX, CSV and TXT spreadsheet documents, and export them to PDF.";
ViewBag.OgImage = "https://toolsfornet.com/ima... |
Lists-More Exercises/More Exercises-Lists/02.Integer Insertion/02.Integer Insertion.cs | anedyalkov/CSharp-Programming-Fundamentals | 0 | 7051892 | <filename>Lists-More Exercises/More Exercises-Lists/02.Integer Insertion/02.Integer Insertion.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.Integer_Insertion
{
public class Program
{
public static void Main()
... |
Assets/Source/Components/LivesComponent.cs | DavidNightinga1e/Asteroids_1979 | 0 | 7051893 | <reponame>DavidNightinga1e/Asteroids_1979
using System;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class LivesComponent : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI textMeshPro;
[SerializeField] private List<Image> lives;
... |
QLCore/PricingEngines/Barrier/McBarrierEngine.cs | tournierjc/QLCore | 1 | 7051894 | <filename>QLCore/PricingEngines/Barrier/McBarrierEngine.cs
/*
Copyright (C) 2020 <NAME> (<EMAIL>)
This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore
QLCore is free software: you can redistribute it and/or modify it
under the terms of the QLCore and QLNet license. You should have ... |
src/IBE.WindowsClient/Controls/VerseGridControl.cs | krzysztof-radzimski/InterlinearBibleEditor | 0 | 7051895 | <gh_stars>0
/*=====================================================================================
Interlinear Bible Editor
.NET Windows Forms Interlinear Bible wysiwyg desktop editor project.
MIT License
https://github.com/krzysztof-radzimski/InterlinearBibleEditor/blob/main/LICENSE
Autor: 2009-2021 ... |
Assets/Scripts/LetterManager.cs | solron/MatrixRainCode | 0 | 7051896 | using UnityEngine;
public class LetterManager : MonoBehaviour
{
public GameObject newLetter; // GameObject to spawn
public Sprite[] characters; // Letters to select from
private SpriteRenderer rend; // Get the sprite renderer so we can change letter
float letterHeight;
float spawnHei... |
Assets/Scripts/Teleport.cs | M4DG4MER/CellGrow | 0 | 7051898 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Teleport : MonoBehaviour
{
public Teleport GoTo;
private Transform mtr;
public AudioSource source;
public ParticleSystem fx;
public GameObject NewAreaText;
private void Awake()
{
mtr = tr... |
Dessert.UnitTests/Recording/RecorderTests.cs | saboco/Dessert | 1 | 7051899 | //
// RecorderTests.cs
//
// Author(s):
// <NAME> <<EMAIL>>
//
// Copyright (c) 2012-2016 <NAME> <<EMAIL>>
//
// 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 restrictio... |
sample/Sample/DrawerLayout/DrawerSample1.xaml.cs | yourina/Tizen.TV.UIControls | 0 | 7051900 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Sample.DrawerLayout
{
public class MenuItemsView : Tizen.TV.UIControls.Forms.RecycleItemsView
{
public MenuItemsView()
{... |
Release/Silverlight4/Source/Controls.Testing.DataVisualization.Toolkit/Collections/LeftLeaningRedBlackTreeTest.cs | incoplex/SilverlightToolkit | 38 | 7051901 | <filename>Release/Silverlight4/Source/Controls.Testing.DataVisualization.Toolkit/Collections/LeftLeaningRedBlackTreeTest.cs
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other... |
Assets/SpaceInvaders/Configuration/LevelProvider.cs | rafaelhrasko/ReactiveInvaders | 0 | 7051902 | using SpaceInvaders.Game;
using UnityEngine;
namespace SpaceInvaders.Configuration
{
[CreateAssetMenu(menuName = "Scriptable Object/Levels Provider")]
public class LevelProvider: ScriptableObject, ILevelProvider
{
public SerializableLevelConfiguration[] _levels;
public LevelConfig... |
TypescriptGen.Test/TsDirTests.cs | originalmoose/TypescriptGen | 0 | 7051903 | using System;
using System.IO;
using TypescriptGen.FileTypes;
using Xunit;
namespace TypescriptGen.Test
{
public class TsDirTests
{
private TsDir CreateTestingTree()
{
var currentDir = TsDir.Create(Directory.GetCurrentDirectory());
currentDir
... |
DesktopEdge/Models/UIModel.cs | actieve/desktop-edge-win | 6 | 7051904 |
namespace ZitiDesktopEdge.Models
{
static class UIModel {
static public bool HideOnLostFocus { get; set; } = true;
}
}
|
GenderPayGap.WebUI/ExternalServices/NotifyEmail.cs | uk-gov-mirror/cabinetoffice.gender-pay-gap | 2 | 7051905 | using System.Collections.Generic;
namespace GenderPayGap.WebUI.ExternalServices
{
public class NotifyEmail
{
public string EmailAddress { get; set; }
public string TemplateId { get; set; }
public Dictionary<string, dynamic> Personalisation { get; set; } = null;
}
}
|
Assets/Scripts/Player/TargetIndicator.cs | elliotjb/Blue-King-s-Game-Jam- | 0 | 7051906 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TargetIndicator : MonoBehaviour
{
// MOVEMENT VARIABLES
public Transform target;
[SerializeField] Vector3 direction;
[SerializeField] float angle;
// PLAYER VARIABLES
public Play... |
PlutoModUnity/Assets/Scripts/assembly_valheim/TombStone.cs | DrewKestell/JotunnModStub | 1 | 7051907 | <filename>PlutoModUnity/Assets/Scripts/assembly_valheim/TombStone.cs
using System;
using UnityEngine;
using UnityEngine.UI;
public class TombStone : MonoBehaviour, Hoverable, Interactable
{
private static float m_updateDt = 2f;
public string m_text = "$piece_tombstone";
public GameObject m_floater;
public Text ... |
src/OTA-Library/GuestType.cs | Franklin89/OTA-Library | 8 | 7051908 | <gh_stars>1-10
using System.Collections.Generic;
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System... |
Phoebe/Data/Json/Converters/ReportJsonConverter.cs | monday8am/mobile | 0 | 7051909 | <gh_stars>0
using System;
using System.Collections.Generic;
using Toggl.Phoebe.Data.DataObjects;
using Toggl.Phoebe.Data.Models;
namespace Toggl.Phoebe.Data.Json.Converters
{
public sealed class ReportJsonConverter
{
private const string Tag = "ReportJsonConverter";
private static readonly Dat... |
src/Sudoku.Solving.Old/Solving/Manual/Symmetry/GspStepSearcher.cs | XiaoXin1900/Sudoku | 12 | 7051910 | <gh_stars>10-100
namespace Sudoku.Solving.Manual.Symmetry;
/// <summary>
/// Encapsulates a <b>Gurth's symmetrical placement</b> (GSP) technique searcher.
/// </summary>
[DirectSearcher, IsOptionsFixed]
public sealed partial class GspStepSearcher : SymmetryStepSearcher
{
/// <summary>
/// Indicates the searcher pro... |
Tester_ZYH.NET_V/Demo/Events_Demo.aspx.cs | yuhengzhou/ZYH.NET | 1 | 7051911 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Tester_ZYH.NET_V.Demo
{
public partial class Events_Demo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
src/Oko.Logic.Contract/Dto/CameraDefinition.cs | bastlirna/oko | 0 | 7051912 | namespace Oko.Logic.Contract.Dto
{
public class CameraDefinition
{
public string Name { get; set; }
public string Description { get; set; }
public string Zone { get; set; }
public string Room { get; set; }
}
} |
EZNEW/Data/IBulkInsertOptions.cs | Jafic/EZNEW | 15 | 7051913 | using System;
using System.Collections.Generic;
using System.Text;
namespace EZNEW.Data
{
/// <summary>
/// Bulk insert options
/// </summary>
public interface IBulkInsertOptions { }
}
|
src/Web/Views/Account/Lockout.cshtml | skolbin-ssi/Dynamics-365-Fraud-Protection-Samples | 11 | 7051914 | @*
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
*@
@{
ViewData["Title"] = "Locked out";
}
<header>
<h2 class="text-danger">@ViewData["Title"]</h2>
<p class="text-danger">This account has been locked out, please try again later.</p>
</header>
|
Scripting/Members/FunctionExecutableOperation.cs | MicroWorldwide/BGC_Tools | 59 | 7051915 | using System;
namespace BGC.Scripting
{
public class FunctionExecutableOperation : IExecutable
{
private readonly Action<RuntimeContext> operation;
public FunctionExecutableOperation(
Action<RuntimeContext> operation)
{
this.operation = operation;
}
... |
Source/Sceelix.Designer/GUI/Controls/NumericSpinControl.cs | sceelix/Sceelix | 70 | 7051916 | <reponame>sceelix/Sceelix
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using DigitalRune.Game;
using DigitalRune.Game.UI;
using DigitalRune.Game.UI.Controls;
using DigitalRune.Mathematics.Algebra;
using Microsoft.Xna.Framework;
using Newtonsoft.Json.Schema;
using Sceelix.Conversion;
... |
10. Regular - Expressions - Regex/12.RegexExercise/4.Weather/Program.cs | BorisLechev/Programming-Fundamentals | 0 | 7051917 | <reponame>BorisLechev/Programming-Fundamentals<filename>10. Regular - Expressions - Regex/12.RegexExercise/4.Weather/Program.cs
namespace _4.Weather
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class Weather
{
public... |
MxWeiXinPF.DAL/ucard/wx_ucard_score.cs | herrylau/wwzkushop | 0 | 7051919 | using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using MxWeiXinPF.DBUtility;//Please add references
namespace MxWeiXinPF.DAL
{
/// <summary>
/// 数据访问类:wx_ucard_score
/// </summary>
public partial class wx_ucard_score
{
public wx_ucard_score()
{}
#region BasicMethod
/// <s... |
CrmWebResourcesUpdater/Commands/UpdaterOptions.cs | pagex/DynamicsCrmUpdater | 3 | 7051920 | using System;
using System.ComponentModel.Design;
using Microsoft.VisualStudio.Shell;
using CrmWebResourcesUpdater.Common;
using CrmWebResourcesUpdater.Services.Helpers;
using CrmWebResourcesUpdater.Services;
namespace CrmWebResourcesUpdater
{
/// <summary>
/// Command handler
/// </summary>
internal ... |
src/Settings/AccountSettingsPanel.cs | armingerten/toggloutlook | 7 | 7051921 | using System;
using System.Windows.Forms;
using Toggl.Api.DataObjects;
using TogglOutlookPlugIn.Services;
namespace TogglOutlookPlugIn.Settings
{
public partial class AccountSettingsPanel : UserControl
{
public AccountSettingsPanel()
{
this.InitializeComponent();
... |
src/Codeworx.Identity.Primitives/Validation/UriAbsoluteAttribute.cs | steffibreuer/identity | 0 | 7051922 | using System;
using System.ComponentModel.DataAnnotations;
namespace Codeworx.Identity.Validation
{
public class UriAbsoluteAttribute : ValidationAttribute
{
protected override ValidationResult IsValid(object value, ValidationContext validationContext)
{
var validationResult = new ... |
Source/UnitTests/ManagedIrbis/Fields/PartInfoTest.cs | fossabot/ManagedIrbis | 0 | 7051923 | <reponame>fossabot/ManagedIrbis
using AM.Json;
using AM.Runtime;
using AM.Xml;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Fields;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Fields
{
[TestClass]
public class PartInfoTest
{
privat... |
nEkis.Automation.Layout/Framework/Configuration/LayoutConfig.cs | nekiscz/nEkis.Automation.Layout | 0 | 7051924 | using System.Configuration;
namespace nEkis.Automation.Layout.Configuration
{
class LayoutConfig : ConfigurationSection
{
private static LayoutConfig _layoutConfig = (LayoutConfig)ConfigurationManager.GetSection("layoutSettings");
public static LayoutConfig Settings { get { return _layo... |
src/RTGS.Bank.Simulator/Health/BankPartnersHealthCheck.cs | RTGS-OpenSource/cbs-simulator | 0 | 7051925 | <filename>src/RTGS.Bank.Simulator/Health/BankPartnersHealthCheck.cs
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using RTGS.Bank.Simulator.Services;
namespace RTGS.Bank.Simulator.Health;
public class BankPartnersHealthCheck : IHealthCheck
{
private reado... |
customer_inquiry.Domain/Enums/CurrencyCode.cs | havenko/technical_assigment_customer_inquiry | 0 | 7051926 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace customer_inquiry.Domain.Enums
{
public enum CurrencyCode
{
USD,
EUR,
JPY,
GBP,
AUD,
CAD,
CHF,
CNY,
THB,
... |
Clueless/Assets/Scripts/Generated/Network.cs | sabneet95/game-development | 0 | 7051927 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Network.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.... |
src/Jasper/Configuration/IListenerConfiguration.cs | ryandanthony/jasper | 0 | 7051928 | using System;
using System.Threading.Tasks.Dataflow;
namespace Jasper.Configuration
{
public interface IListenerConfiguration<T>
{
/// <summary>
/// Specify the maximum number of threads that this worker queue
/// can use at one time
/// </summary>
/// <param na... |
src/TcpListenerTrigger/Trigger/TcpListenerTriggerExtensionConfigProvider.cs | thinktecture/gab-ffm-2019 | 0 | 7051929 | using Microsoft.Azure.WebJobs.Host.Config;
namespace TcpListenerTrigger
{
public class TcpListenerTriggerExtensionConfigProvider : IExtensionConfigProvider
{
public void Initialize(ExtensionConfigContext context)
{
context.AddBindingRule<TcpListenerTriggerAttribute>().BindToTrigger... |
src/Cosmos.Extensions.Reflection.Enhanced/Cosmos/Reflection/PropertyPath.cs | cosmos-stack/cosmos-prowess | 0 | 7051930 | using System.Diagnostics;
namespace Cosmos.Reflection;
/// <summary>
/// Property path <br />
/// 属性路径
/// </summary>
public class PropertyPath
{
internal PropertyPath() : this(null) { }
internal PropertyPath(PropertyPath root)
{
if (root is null)
{
_path = new Queue<Property... |
Mechanism.AvaloniaUI.Controls/Controls/ToolStrip/AddToToolStripBehavior.cs | Splitwirez/Mechanism-for-Avalonia | 84 | 7051931 | using Avalonia;
using Avalonia.Controls.Primitives;
using Avalonia.Xaml.Interactivity;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Avalonia.Layout;
using Avalonia.Input;
using Avalonia.Controls.Shapes;
using Avalonia.Media;
using Avalonia.Controls;
using Avalonia.Controls.Presenters... |
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Contracts/Client/ISaveChangesResponseCalculator.cs | Sreejithpin/odata.net | 629 | 7051932 | //---------------------------------------------------------------------
// <copyright file="ISaveChangesResponseCalculator.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------... |
Assets/Scripts/CalibrationAssessment.cs | JFrit/CBVRGame | 0 | 7051933 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using ScriptableObjects;
using ScriptableObjects.Variables;
using UnityEngine;
using UXF;
using UnityEngine.UI;
using UnityEngine.Windows.WebCam;
[ExecuteInEditMode]
public class CalibrationAssessment : MonoBehaviour
{
p... |
Tools/GraphicsMagick.NET.FileGenerator/Code/AnyCPU/ExceptionGenerator.cs | dlemstra/GraphicsMagick.NET | 35 | 7051934 | <filename>Tools/GraphicsMagick.NET.FileGenerator/Code/AnyCPU/ExceptionGenerator.cs<gh_stars>10-100
//=================================================================================================
// Copyright 2014-2015 <NAME> <https://graphicsmagick.codeplex.com/>
//
// Licensed under the ImageMagick License (th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.