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 |
|---|---|---|---|---|
Source/ChocolateyGui/Commands/CommandExecutionManager.cs | vickyjnv/ChocolateyGUI | 2 | 7056912 | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Chocolatey" file="CommandExecutionManager.cs">
// Copyright 2014 - Present <NAME>, the maintainers of Chocolatey, and RealDimensions Software, LLC
// </copyrig... |
src/AccessTokenManagement/AccessTokenManagementDefaults.cs | milanc/IdentityModel.AspNetCore | 256 | 7056913 | // Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace IdentityModel.AspNetCore.AccessTokenManagement
{
/// <summary>
/// Default values
/// </summary>
public static class AccessTokenM... |
Fraction.cs | hotRODNIK/Simple-Algorithims | 0 | 7056914 | /* Programmer Name: hotRODNIK
* Class Name: Fraction
* Program Description: This class provides all the necessary tools to work with fractions
* Instance Variables List:
* numerator - int which holds the fraction's numerator
* denominator - int which holds the fraction's denominator
*/
using System;
p... |
scr/hrmApp/hrmApp.Web/Validators/EmployeeDTOValidator.cs | gasparekferenc/hrmApp.N-Layer.MVC | 0 | 7056915 | <gh_stars>0
using FluentValidation;
using hrmApp.Web.DTO;
namespace hrmApp.Web.Validators
{
public class EmployeeDTOValidator : AbstractValidator<EmployeeDTO>
{
public EmployeeDTOValidator()
{
RuleFor(x => x.SurName)
.NotEmpty().WithMessage("Kötelező!")
... |
src/Uno.Core.Extensions.Compatibility/Funcs.cs | nventive/Uno.Core | 22 | 7056916 | <filename>src/Uno.Core.Extensions.Compatibility/Funcs.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Uno.Extensions;
using Uno.Extensions.ValueType;
namespace Uno.Core
{
public static class Funcs<T>
{
public static reado... |
src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Views/Account/Register.cshtml | lkurzyniec/DevAdventCalendar | 0 | 7056918 | <filename>src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Views/Account/Register.cshtml
@using DevAdventCalendarCompetition.Services
@model RegisterViewModel
@inject IdentityService IdentityService
@{
ViewData["Title"] = "Rejestracja";
}
<div class="breadcrumb_area mb-30">
<div class="containe... |
src/BoboBrowse.Net/BoboBrowse.Net.Tests/FacetNotValuesTest.cs | JTOne123/BoboBrowse.Net | 0 | 7056919 | <gh_stars>0
//* Bobo Browse Engine - High performance faceted/parametric search implementation
//* that handles various types of semi-structured data. Originally written in Java.
//*
//* Ported and adapted for C# by <NAME>.
//*
//* Copyright (C) 2005-2015 <NAME>
//*
//* Licensed under the Apache License, Version 2.... |
src/Prototypes/OtherProjects/Web.Common/Validators/Common.cs | BugsUK/FindApprenticeship | 2 | 7056920 | namespace SFA.Apprenticeships.Web.Common.Validators
{
using System;
using ViewModels;
public class Common
{
public static bool BeValidDate(DateViewModel instance)
{
return BeValidDate(instance, null);
}
public static bool BeValidDate(DateViewModel instance,... |
src/DependencyResolution/UnityServiceLocator.cs | matthidinger/OnionArchitecture | 0 | 7056922 | using System;
using System.Collections.Generic;
using Core;
using Microsoft.Practices.Unity;
namespace DependencyResolution
{
public class UnityServiceLocator : IServiceLocator
{
private readonly IUnityContainer _container;
public UnityServiceLocator(IUnityContainer container)
... |
Project/RuleMate_Project/Assets/Scripts/InGame_Scripts/GameManager.cs | hhj3258/Capston_Design | 4 | 7056923 | using Photon.Pun;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameManager : MonoBehaviourPunCallbacks
{
// 싱글톤
public static GameManager Instance
{
get
{
if (instance == null) instance = FindObjectOfType<GameManager>();
r... |
EZNEW.Web/Utility/HttpResponseExtensions.cs | TripsCoder/EZNEW.Web | 1 | 7056924 | <gh_stars>1-10
using EZNEW.Framework.Serialize;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace EZNEW.Web.Utility
{
/// <summary>
/// http response extensions
/// </summary>
public static class HttpResponseExte... |
Sorting Algorithms/Sorting Algorithms/QuickSortClass.cs | NikolayTsvetin/Data-Structures-and-Algorithms | 3 | 7056925 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sorting_Algorithms
{
public static class QuickSortClass
{
public static T[] QuickSort<T>(this T[] array)
where T : IComparable<T>
{
if (array.Le... |
main/SS/Util/CellAddress.cs | lucadecamillis/npoi | 1,012 | 7056926 | <reponame>lucadecamillis/npoi
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
T... |
LightweightIocContainer/GenericMethodCaller.cs | SimonG96/LightweightIocContainer | 4 | 7056927 | <reponame>SimonG96/LightweightIocContainer
// Author: <NAME>
// Created: 2020-09-18
// Copyright(c) 2020 SimonG. All Rights Reserved.
using System;
using System.Reflection;
using LightweightIocContainer.Exceptions;
namespace LightweightIocContainer
{
/// <summary>
/// Helper class to call a generic method wi... |
sem2/Infrastructure/Services/EmailService.cs | artemgur/sem2 | 0 | 7056928 | using System;
using System.Threading.Tasks;
using Authorization.Models;
using MailKit.Net.Smtp;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MimeKit;
using sem2;
namespace Authorization.Services
{
public class EmailService : IEmailSender
{
private EmailSettings _settin... |
_no_namespace/WebHeaderCollection.RfcChar.cs | SinsofSloth/RF5-global-metadata | 1 | 7056929 | private enum WebHeaderCollection.RfcChar // TypeDefIndex: 1903
{
// Fields
public byte value__; // 0x0
public const WebHeaderCollection.RfcChar High = 0;
public const WebHeaderCollection.RfcChar Reg = 1;
public const WebHeaderCollection.RfcChar Ctl = 2;
public const WebHeaderCollection.RfcChar CR = 3;
public con... |
Scripts/UI/Main/SignUpWindow.cs | Armiki/Gamla.io-SDK | 0 | 7056930 | using System;
using System.Collections;
using DG.Tweening;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Gamla.UI
{
[Serializable]
public class SugnUpPages
{
public int order;
public Image progress;
public GameObject page;
public Animat... |
Devoluciones/Devoluciones/Views/AsignacionMatriculaPage.xaml.cs | sortega7/SixtoXamarin-ProductReturns | 1 | 7056931 | <gh_stars>1-10
using Devoluciones.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Devoluciones.Views
{
[XamlCompilation(XamlCompilationOptions... |
Classes/VDFParser.cs | beeradmoore/psxprev | 100 | 7056932 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using OpenTK;
namespace PSXPrev.Classes
{
public class VDFParser
{
private long _offset;
private readonly Action<Animation, long> _entityAddedAction;
public VDFParser(Action<Animation, long> entityAdded)... |
Interfaces/IAnimator.cs | HebaruSan/AT_Utils | 8 | 7056933 | using System.Linq;
namespace AT_Utils
{
public enum AnimatorState
{
Closed,
Closing,
Opened,
Opening,
}
public interface IAnimator
{
string GetAnimatorID();
AnimatorState GetAnimatorState();
void Open();
void Close();
}
publi... |
LuduStack.Application/Interfaces/Common/IBaseAppServiceCommon.cs | DJJones66/ludustack-code | 0 | 7056934 | <reponame>DJJones66/ludustack-code<gh_stars>0
using AutoMapper;
using LuduStack.Domain.Interfaces;
using LuduStack.Domain.Interfaces.Infrastructure;
using LuduStack.Domain.Interfaces.Services;
namespace LuduStack.Application.Interfaces
{
public interface IBaseAppServiceCommon
{
IMapper Mapper { get; }... |
Microsoft.Azure.Cosmos/src/Query/Core/Pipeline/CrossPartition/Parallel/QueryPartitionRangePageAsyncEnumerator.cs | ORuban/azure-cosmos-dotnet-v3 | 0 | 7056935 | <reponame>ORuban/azure-cosmos-dotnet-v3
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Query.Core.Pipeline.CrossPartition.Parallel
{
using... |
AluminiumCallouts/AluminiumCallouts/util/VersionState.cs | Izibane/AluminiumCallouts | 0 | 7056936 | <reponame>Izibane/AluminiumCallouts<filename>AluminiumCallouts/AluminiumCallouts/util/VersionState.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AluminiumCallouts
{
public enum VersionState
{
DEVELOPMENT, BETA, ALPHA, ... |
src/JK.Common.Tests/TypeHelpers/DecimalHelperTests.cs | knight0323/codelibrary | 1 | 7056937 | using JK.Common.TypeHelpers;
namespace JK.Common.Tests.TypeHelpers
{
public class DecimalHelperTests
{
[Theory]
[InlineData(0, 1.0)]
[InlineData(0.1, 1.1)]
[InlineData(0.25, 1.25)]
public void GetDecimalPart_Theories(decimal expected, decimal value)
{
... |
ExtentReports/GherkinKeyword.cs | fean/extentreports-csharp | 0 | 7056939 | using AventStack.ExtentReports.Core;
using AventStack.ExtentReports.Gherkin;
using AventStack.ExtentReports.Gherkin.Model;
using System;
using System.Linq;
using System.Reflection;
namespace AventStack.ExtentReports
{
public class GherkinKeyword
{
public IGherkinFormatterModel Model { get; private se... |
Scp/ScpControl/BusDevice.cs | MWisBest/WiitarThing | 36 | 7056941 | using System;
using System.ComponentModel;
using System.Collections.Generic;
namespace ScpControl
{
public partial class BusDevice : ScpDevice
{
public const String SCP_BUS_CLASS_GUID = "{F679F562-3164-42CE-A4DB-E7DDBE723909}";
public const Int32 ReportSize = 28;
public const Int32... |
Smart.Resolver/Resolver/Bindings/Binding.cs | usausa/Smart-Net-Resolver | 6 | 7056942 | <reponame>usausa/Smart-Net-Resolver<filename>Smart.Resolver/Resolver/Bindings/Binding.cs
namespace Smart.Resolver.Bindings
{
using System;
using Smart.Resolver.Parameters;
using Smart.Resolver.Providers;
using Smart.Resolver.Scopes;
public sealed class Binding
{
private static readonly... |
main/Boku/SimWorld/Chassis/VehicleChassis.cs | chrisphillips/KoduGameLab | 11 | 7056943 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using System.Diagnostics;
using Boku.Audio;
using Boku.Base;
using Boku.Common;
using Boku.Common.ParticleSystem;
using Boku.SimWorld;
using Bok... |
Neurotoxin.Godspeed/Neurotoxin.Godspeed.Core/Io/DirectoryStructure.cs | mercenaryntx/godspeed | 6 | 7056944 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Xml;
using Neurotoxin.Godspeed.Core.Extensions;
namespace Neurotoxin.Godspeed.Core.Io
{
public static class DirectoryStructure
{
private stati... |
src/Mawosoft.Extensions.BenchmarkDotNet/ApiCompat/BenchmarkReportWrapper.cs | mawosoft/Mawosoft.Extensions.BenchmarkDotNet | 0 | 7056945 | // Copyright (c) 2021-2022 <NAME>, Mawosoft.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.Results;
namespace Mawosoft.Extensions.BenchmarkDotNet.... |
InferenceLibs/Inference.Tests/Parser/LALR1Parser_Fixture.cs | tom-weatherhead/inference | 0 | 7056946 | using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using Inference.Domain;
using Inference.Parser;
using NUnit.Framework;
namespace Inference.Tests.Parser
{
[TestFixture]
public class LALR1Parser_Fixture
{
private readonly ITokenizer tokenizer;
... |
src/Threading/OnPrimaryThread.cs | Arlodotexe/OwlCore | 13 | 7056947 | <filename>src/Threading/OnPrimaryThread.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using CommunityToolkit.Diagnostics;
// ReSharper disable once CheckNamespace
namespace OwlCore
{
/// <summary>
/// Helpers related to Threading.
/// </summary>
public static partial class Thr... |
5.OOPAdvanced/02_Generics/Exercise_02_CustomList/CommandInterpreter.cs | Brankovanov/SoftUniCourses | 1 | 7056948 | <reponame>Brankovanov/SoftUniCourses<gh_stars>1-10
using System;
using System.Linq;
namespace Exercise_02_CustomList
{
public class CommandInterpreter
{
public void Interpret(string input, GenericList<string> newGenericList,Sorter sorter)
{
if (input.StartsWith("Add"))
... |
Exercises/06. Arrays-Exercises/07. MaxSequenceOfIncreasingElements/MaxSequenceOfIncreasingElements.cs | KristiyanSevov/SoftUni-Programming-Fundamentals | 3 | 7056949 | <filename>Exercises/06. Arrays-Exercises/07. MaxSequenceOfIncreasingElements/MaxSequenceOfIncreasingElements.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _07.MaxSequenceOfIncreasingElements
{
class MaxSequenceOfIncreasingElements
... |
src/mobile/LightWallet/ViewModels/MainMenuPageViewModel.cs | buypolarbear/lightwallet | 7 | 7056950 | <reponame>buypolarbear/lightwallet<filename>src/mobile/LightWallet/ViewModels/MainMenuPageViewModel.cs
using System;
using Prism.Mvvm;
using Prism.Commands;
using Prism.Navigation;
using Etherify.LightWallet.Base.ViewModels;
using Etherify.LightWallet.Views;
using Xamarin.Forms;
using Prism.Services;
namespace Etheri... |
Assets/Scripts/Utilities/InGameConsole.cs | Xeais/Smarty-Cars | 1 | 7056951 | <filename>Assets/Scripts/Utilities/InGameConsole.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using UnityEngine;
/// <summary>
/// A basic container for log details
/// </summary>
struct Log
{
public int Count {get; set;}
public string Me... |
CH10/CH10_DataAccessBenchmarks/Data/EntityFrameworkCoreData.cs | PacktPublishing/High-Performance-Programming-in-CSharp--and-.NET | 6 | 7056952 | using CH10_DataAccessBenchmarks.Models;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using System.Linq;
using Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal;
namespace CH10_DataAccessBenchmarks.Data
{
public class EntityFrameworkCoreData : ... |
Utils/DMXrecorder/Common/IO/BaseFileWriter.cs | HakanL/animatroller | 8 | 7056953 | using System;
using System.Linq;
using System.IO;
namespace Animatroller.Common.IO
{
public abstract class BaseFileWriter : IFileWriter, IDisposable
{
protected FileStream fileStream;
public BaseFileWriter(string fileName)
{
this.fileStream = File.Create(fileName);
... |
Curve/Curve/Lexing/ITokenList.cs | binaryfs/CurveLang | 0 | 7056954 | using System.Collections.Generic;
namespace Curve.Lexing
{
public interface ITokenList : IEnumerable<Token>
{
int Count
{
get;
}
Token this[int index]
{
get;
}
}
}
|
Source/Krypton Toolkit Suite Extended/Componentisation/IO Components/Classes/IconExtractor.cs | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.461 | 43 | 7056955 | <reponame>Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.461<gh_stars>10-100
using System;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
namespace IOComponents.Classes
{
/// <summary>
/// <a href="https://stackoverflow.com/questions/42910628/is-there-a-way-to-get-the-windows-def... |
src/TheCallCenter/Hubs/CallCenterHub.cs | dcvieira/SignalRByExample | 0 | 7056957 | <gh_stars>0
using Microsoft.AspNetCore.SignalR;
using System.Threading.Tasks;
using TheCallCenter.Data.Entities;
namespace TheCallCenter.Hubs
{
public class CallCenterHub : Hub<ICallCenterHub>
{
public static readonly string CallCenterGroup = "CallCenters";
public async Task NewCallReceive(Cal... |
Assets/Scripts/Mailbox.cs | SheaRembold/SparkleKitty | 1 | 7056958 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Mailbox : MonoBehaviour
{
[SerializeField]
Transform letterPosition;
public Outline flagOutline;
public void ShowLetter()
{
MailboxManager.Instance.ShowLetter(letterPosition);
}
... |
GraphSynthSourceFiles/GraphSynth/Windows/WindowsManager.xaml.cs | micampbell/GraphSynth | 10 | 7056959 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml;
using GraphSynt... |
LearningCSharp.Cmd/Series3/Delegates/StaffManager.cs | Smartware/learningcsharp | 1 | 7056960 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningCSharp.Cmd.Series3.Delegates
{
public class StaffManager
{
public static void FilterStaff(String name)
{
Console.WriteLine($"Searching for '{name}' ... |
Tests/RandomUser.Domain.Tests/NameTests.cs | josh-asi/random-user | 0 | 7056961 | using RandomUser.Domain.User;
using RandomUser.Domain.User.ValueObjects;
using Xunit;
namespace RandomUser.Domain.Tests
{
public class NameTests
{
[Fact]
public void Name_Should_Have_Correct_Title()
{
Name name = new Name(Title.MR, "John", "Doe");
string expect... |
src/ModernUIForWPFSample.Navigation (MVVM)/ViewModel/ResourcesViewModel.cs | saramgsilva/ModernUISamples | 29 | 7056962 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResourcesViewModel.cs" company="saramgsilva">
// Copyright (c) 2014 saramgsilva. All rights reserved.
// </copyright>
// <summary>
// The resources view model.
// </summary>
/... |
Lime/Source/Widgets/Theme/ThemedComboBox.cs | game-forest/Citrus | 14 | 7056963 | #if !ANDROID && !iOS
using System;
namespace Lime
{
[YuzuDontGenerateDeserializer]
public class ThemedComboBox : ComboBox
{
public override bool IsNotDecorated() => false;
public ThemedComboBox()
{
MinSize = Theme.Metrics.DefaultButtonSize;
MaxHeight = Theme.Metrics.DefaultButtonSize.Y;
CompoundPres... |
Source/VFECore/VFECore/Projectiles/TeslaProjectile.cs | AndroidQuazar/VanillaFactionsExpanded-Core | 2 | 7056964 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.Sound;
namespace VFEMech
{
public class TeslaChainingProps : DefModExtension
{
public bool addFire;
public float bo... |
WolfLive.Api/Models/Group.cs | calico-crusade/WolfLive.Api | 5 | 7056965 | using Newtonsoft.Json;
namespace WolfLive.Api.Models
{
public class Group : IdHash
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("reputation")]
public double Reputa... |
src/Services/Models/Style.cs | toddmillernyc/bluetapecrew | 1 | 7056966 | <reponame>toddmillernyc/bluetapecrew<gh_stars>1-10
using System.Collections.Generic;
namespace Services.Models
{
public class Style
{
public int Id { get; set; }
public int ProductId { get; set; }
public int SizeId { get; set; }
public int ColorId { get; set; }
public d... |
Unity/Assets/Scripts/ReadCSV.cs | amin10/musity | 0 | 7056967 | // Get the latest webcam shot from outside "Friday's" in Times Square
using UnityEngine;
using System.Collections;
using System.Text.RegularExpressions;
using System.Collections.Generic;
public class ReadCSV : MonoBehaviour {
public Dictionary<string, Color> instruments = new Dictionary<string, Color>();
List<str... |
RePacker/Generator/Generators/RePackerGenerator.cs | Refsa/RePacker | 1 | 7056968 | <reponame>Refsa/RePacker
using System;
using System.Reflection;
using System.Reflection.Emit;
using RePacker.Utils;
namespace RePacker.Builder
{
internal class RePackerGenerator : IGenerator
{
public GeneratorType GeneratorType => GeneratorType.RePacker;
public Type ForType => null;
st... |
src/TelegramBot/Services/HttpScheduleClient.cs | nikitakaralyus/WhereIsTheBus | 0 | 7056969 | using WhereIsTheBus.TelegramBot.Extensions;
namespace WhereIsTheBus.TelegramBot.Services;
internal sealed class HttpScheduleClient : IScheduleClient
{
private readonly HttpClient _httpClient;
private readonly IConfiguration _configuration;
private readonly ILogger<HttpScheduleClient> _logger;
public ... |
Source/GameOfDrones.API/Views/Shared/_Layout.cshtml | yoliva/game-of-drones | 0 | 7056970 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<link href="~/Content/select.css" rel="stylesheet" />
<link href="~/Conte... |
Assets/Scripts/Utils.cs | vt5491/SphereOut | 0 | 7056971 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Utils : MonoBehaviour
{
public static void DrawLine(Vector3 start, Vector3 end, Color color, float duration = 0.2f)
{
GameObject myLine = new GameObject();
myLine.transform.position = start;
myL... |
app/BackgroundWorker.Hangfire.Demo.ConsoleApp/DemoConsoleAppHostedService.cs | liangshiw/Lsw.Abp.BackgroundWorkers.Hangfire | 9 | 7056972 | <filename>app/BackgroundWorker.Hangfire.Demo.ConsoleApp/DemoConsoleAppHostedService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
using Volo.Abp;
using Volo.Abp.BackgroundWorkers;
namespace Back... |
C#2/TextFilesHW/04.CompareTextFilesLineByLine/04.CompareTextFilesLineByLine.cs | hackohackob/TelerikAcademy | 0 | 7056973 | <reponame>hackohackob/TelerikAcademy<gh_stars>0
using System;
using System.IO;
//Write a program that compares two text files line by line and prints the number of lines that are the same and the number of lines that are different. Assume the files have equal number of lines.
class CompareTextFilesLineByLine
{
s... |
rw_structured_buffer.cs | studentutu/Unity3D-CG-programming | 1,031 | 7056974 | // https://github.com/przemyslawzaworski
// Set plane position (Y=0.0)
// Collider is generated from vertex shader, using RWStructuredBuffer to transfer data.
using UnityEngine;
public class rw_structured_buffer : MonoBehaviour
{
public Material material;
public GameObject plane;
ComputeBuffer compute_... |
Ejemplos ImageCampus/IPVJ/Sobrecarga/Program.cs | sk8avp/IntroduccionALaProgramacionDeVideojuegos | 0 | 7056975 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sobrecarga
{
class Program
{
class Calculadora
{
public void MostrarSuma(int Num1, int Num2)
{
Console.WriteLine(Num1 + Num2);... |
stakx.WIC.Interop/Interfaces/IWICPalette.cs | PlumpMath/stakx.WIC | 0 | 7056976 | using System;
using System.Runtime.InteropServices;
namespace stakx.WIC.Interop
{
[ComImport]
[Guid(IID.IWICPalette)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IWICPalette
{
void InitializePredefined(
[In] WICBitmapPaletteType ePaletteType,
... |
Assets/UdpData/Scripts/Utils/OpenInFileBrowser.cs | foodge/UdpData-Unity | 33 | 7056978 | /*
* Author is https://github.com/a3geek
* this script is useful!
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
using System.IO;
using System.Diagnostics;
using Debug = UnityEngine.Debug;
namespace FileUtility
{
public static class OpenInF... |
src/Libra.Common/LibraDefined.cs | night-moon-studio/Libra | 15 | 7056979 | public class LibraDefined
{
public const string ROUTE = "LibraRoute";
public const string DOMAIN = "LibraDomain";
public const string DEFAULT_DOMAIN = "default";
}
|
Assets/PopSignMain/Scripts/Bubbles/SmoothMove.cs | rahulon12/PopSign | 1 | 7056980 | <reponame>rahulon12/PopSign
using UnityEngine;
using System.Collections;
public class SmoothMove : MonoBehaviour {
public Vector3 targetPos;
// Use this for initialization
void Start () {
transform.parent.SetParent( GameObject.Find( "-Meshes" ).transform );
/*
if( GamePlay.Instance.Game... |
SharemundoBulgaria/SharemundoBulgaria/Areas/Administration/ViewModels/Dashboard/ViewModels/DashboardBaseModel.cs | indieza/Sharemundo.bg | 1 | 7056981 | namespace SharemundoBulgaria.Areas.Administration.ViewModels.Dashboard.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SharemundoBulgaria.Areas.Administration.ViewModels.Dashboard.InputModels;
public class DashboardBaseModel
... |
Web/Access2Justice.Api/BusinessLogic/A2JAuthorBusinessLogic.cs | asaperski-gloriumtech/LegalNavigator | 13 | 7056983 | <gh_stars>10-100
using Access2Justice.Shared.Extensions;
using Access2Justice.Shared.Interfaces;
using Access2Justice.Shared.Interfaces.A2JAuthor;
using Access2Justice.Shared.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Access2Justice.Api.BusinessLog... |
src/WebJobs.Extensions.NotificationHubs/NotificationHubAttribute.cs | david-driscoll/azure-webjobs-sdk-extensions | 0 | 7056984 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.NotificationHubs;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Extensions.NotificationHubs;
namespace ... |
src/Strategy/StrategyBasic/Core/CoffeeContext.cs | timscriv/caffeinated-patterns-and-principles | 0 | 7056985 | <gh_stars>0
using System;
namespace StrategyBasic.Core
{
public class CoffeeContext : ICoffeeContext
{
private ICoffeeStrategy _coffeeStrategy;
public Beverage Brew()
{
//In real-world scenario this method would probably not match up and shared logic
... |
BEPUikPlugin/DebugDraw/BEPUikDebugInterface.cs | AnomalousMedical/Engine | 0 | 7056986 | <reponame>AnomalousMedical/Engine<gh_stars>0
using Engine;
using Engine.ObjectManagement;
using Engine.Renderer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BEPUikPlugin
{
public enum DebugDrawMode : int
{
N... |
Libraries/SAEditorCommon/Lantern/PLFile.cs | sonicretro/sa_tools | 53 | 7056987 | <filename>Libraries/SAEditorCommon/Lantern/PLFile.cs
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace SAModel.SAEditorCommon
{
public class PLPalette
{
public Color[,] Colors = new Color[256, 2];
public PLPalette() { }
public PLPalette(byte[... |
UnitTests.Palladium.Engine/Protocol.Tests.cs | akoimeexx/Palladium | 0 | 7056988 | <reponame>akoimeexx/Palladium<filename>UnitTests.Palladium.Engine/Protocol.Tests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.Palladium.Engine {
using Protocol = com.akoimeexx.network.palladium.protocol;
[TestClass]
public class ProtocolTests {
[TestMet... |
PubSubHub.Tests/Models/PubSubMessageTest.cs | frobzig/PubSubHub | 0 | 7056989 | using System;
using System.Diagnostics.CodeAnalysis;
using System.Dynamic;
using System.Net.Http.Headers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using PubSubHub.Models;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace PubSubHub.Tests
{
[Exclud... |
source/CsQuery/EquationParser/IEquation.cs | yanglr/CsQuery | 791 | 7056990 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsQuery.EquationParser.Implementation;
namespace CsQuery.EquationParser
{
/// <summary>
/// Interface for an equation.
/// </summary>
public interface IEquation : IOperand, IVariableContainer
{
///... |
src/ICU4N/Text/MessagePatternUtil.cs | rclabo/ICU4N | 15 | 7056991 | using ICU4N.Support.Collections;
using J2N.Collections;
using J2N.Collections.Generic.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ICU4N.Text
{
/// <summary>
/// Utilities for working with a <see cref="MessagePattern"/>.
/// Intended for use i... |
src/Player.cs | hexahepta/QuizScoreBoard | 0 | 7056992 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.ComponentModel;
namespace QuizScoreBoard.src
{
public class Player : INotifyPropertyChanged
{
private readonly String name;
pri... |
Assets/Scripts/Controllers/MinimapController.cs | NoFaceGoose/Tales-of-Syrinx | 3 | 7056993 | <gh_stars>1-10
using UnityEngine;
public class MinimapController : MonoBehaviour
{
public Transform player;
void LateUpdate()
{
Vector3 newPosition = player.position;
// code below allow cam only move on axis x
newPosition.y = transform.position.y;
newPosition.z = transfor... |
Vulcan.Core.Auth.ProviderBase/AuthenticationProviderManager.cs | SachiraChin/Vulcan | 0 | 7056994 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Owin.Security.OAuth;
using Vulcan.Core.Auth.Models;
using Vulcan.Core.Utilities;
namespace Vulcan.Core.Auth
{
public class AuthenticationProviderManager
{
private static readonly Dictionary<string, IAuthentic... |
Rafy/Rafy/Utils/Serialization/SerializationHelper.cs | zgynhqf/trunk | 0 | 7056996 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Xml;
using System.IO;
using Rafy;
namespace Rafy
{
public static class SerializationHelper
{
public static string XmlSerialize(object graph)
{
var ... |
Accounting/Core/Definitions/ReportingMethodManager.cs | cschen1205/myob-accounting-plugin | 0 | 7056997 | <reponame>cschen1205/myob-accounting-plugin
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using Accounting.Db;
using Accounting.Db.Elements;
namespace Accounting.Core.Definitions
{
public class ReportingMethodManager : EntityManager<ReportingMethod... |
Online_Store/Commands/UserCommands/UserLoginCommand.cs | Indeavr/Online-Store | 0 | 7056998 | using Bytes2you.Validation;
using Online_Store.Core.Factories;
using Online_Store.Core.Providers;
using Online_Store.Core.Services.User;
using Online_Store.Data;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Online_Store.Commands.UserCommands
{
public class UserLoginCommand : Comman... |
src/Libraries/Migo/Migo.TaskCore/AsyncCommandQueue/AsyncCommandQueue.cs | dineshkummarc/banshee | 1 | 7056999 | <reponame>dineshkummarc/banshee
/***************************************************************************
* AsyncCommandQueue_.cs
*
* Copyright (C) 2007 <NAME>
* Written by <NAME> <<EMAIL>>
****************************************************************************/
/* THIS FILE IS LICENSED UNDER THE MIT ... |
1.2/Source/DDLib/FW/HostileResponse/HostileResponseOption.cs | Aether-Guild/Dragons-Descent | 1 | 7057001 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Verse;
namespace DD
{
public class HostileResponseOption
{
public HostilityResponseType type;
public string label;
public string description;
... |
src/indicator/VROC.cs | ccxt-net/ccxt.collector | 1 | 7057002 | using System.Collections.Generic;
namespace CCXT.Collector.Indicator
{
/// <summary>
/// Volume Rate of Change (VROC)
/// </summary>
public class VROC : IndicatorCalculatorBase<SingleDoubleSerie>
{
protected override List<Ohlcv> OhlcList
{
get; set;
}
p... |
KutuphaneOtomasyonu/OgrKitapIslemleri.Designer.cs | Huseyinarkin/KutuphaneOtomasyonu | 0 | 7057003 |
namespace KutuphaneOtomasyonu
{
partial class OgrKitapIslemleri
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
Dnn.AdminExperience/Extensions/Content/Dnn.PersonaBar.Extensions/Services/SqlConsoleController.cs | aelibyary/Dnn.Platform | 4 | 7057004 | <reponame>aelibyary/Dnn.Platform
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... |
GameConfig/Protocol/XmlProtocolParser.cs | srxqds/ByteCode | 0 | 7057005 | /*----------------------------------------------------------------
// Copyright (C) 2015 广州,Lucky Game
//
// 模块名:
// 创建者:D.S.Qiu
// 修改者列表:
// 创建日期:February 24 2016
// 模块描述:
//----------------------------------------------------------------*/
using System.IO;
using System.Text;
using UnityEditor;
using Byt... |
Assets/Scripts/Commented/PlanetHighlight.cs | enersesian/open-house-demo | 0 | 7057006 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlanetHighlight : MonoBehaviour {
[SerializeField]
GameObject planet;
[SerializeField]
Text planetName;
[SerializeField]
Canvas canvas;
[SerializeField]
Vector3 text... |
WinRTByExample81/TileExplorer/Common/TileToExampleConverter.cs | JeremyLikness/WinRTExamples | 3 | 7057007 | <filename>WinRTByExample81/TileExplorer/Common/TileToExampleConverter.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TileToExampleConverter.cs" company="<NAME>">
// Copyright (c) <NAME>
// </copyright>
// <summary>
/... |
TrumpetHero/Assets/Scripts/Game Management/ScoreCounter.cs | Heathage/TrumpetHero | 0 | 7057008 | <reponame>Heathage/TrumpetHero<filename>TrumpetHero/Assets/Scripts/Game Management/ScoreCounter.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
// --------------------------------------------------------------------------------------------------------... |
PlayMe.Common/Model/Playlist.cs | Jono120/PlayMe | 25 | 7057009 | <reponame>Jono120/PlayMe
using System.Collections.Generic;
namespace PlayMe.Common.Model
{
public class Playlist:PlayMeObject
{
public string Description { get; set; }
public IEnumerable<Track> Tracks { get; set; }
}
}
|
FilterExo/Core/PreProcess/Strategies/FuncEvaluationStrategy.cs | NeverSinkDev/FilterPolishZ | 16 | 7057010 | <filename>FilterExo/Core/PreProcess/Strategies/FuncEvaluationStrategy.cs
using FilterExo.Core.PreProcess.Commands;
using FilterExo.Core.Process;
using FilterExo.Core.Structure;
using FilterExo.Model;
using FilterPolishUtil.Extensions;
using FilterPolishUtil.Model;
using System;
using System.Collections.Generic;
using ... |
Project/Test/AddIns/CSharp/Analyzers/CSharpAnalyzersTest/TestData/AccessModifiers/AccessModifiersMissing.cs | sarvex/StyleCop | 0 | 7057011 | <reponame>sarvex/StyleCop
using System;
using System.Collections.Generic;
using System.Text;
namespace CSharpAnalyzersTest.TestData
{
#region Missing Access Modifiers
delegate void TopLevelDelegateMissingAccessModifier();
enum TopLevelEnumMissingAccessModifier
{
}
class ClassMi... |
tests/OpenSleigh.Transport.Kafka.Tests/Unit/GuidDeserializerTests.cs | sergegommers/OpenSleigh | 204 | 7057012 | <gh_stars>100-1000
using System;
using FluentAssertions;
using Xunit;
namespace OpenSleigh.Transport.Kafka.Tests.Unit
{
public class GuidDeserializerTests
{
[Fact]
public void Deserialize_should_return_valid_instance()
{
var expectedGuid = Guid.NewGuid();
var d... |
src/Mappers/TypeMapper/TypeMapper.cs | edwardmeng/Wheatech.ObjectMapper | 15 | 7057013 | <filename>src/Mappers/TypeMapper/TypeMapper.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
#if !NET35
using System.Collections.Concurrent;
#endif
namespace PowerMapper
{
internal class TypeMapper<TSource, TTarget> : ITypeMapper<T... |
src/API/ViewModels/CommentViewModel.cs | YuraMishin/BooksProjec | 0 | 7057014 | using System;
using System.Linq.Expressions;
using Domain;
namespace API.ViewModels
{
/// <summary>
/// Class CommentViewModel
/// </summary>
public static class CommentViewModel
{
/// <summary>
/// Func
/// </summary>
public static readonly Func<Comment, object> Create = Projection.Compile()... |
Assets/Scripts/InputManager.cs | rarora7777/MagicalHands | 12 | 7057015 | //////////////////////////////////////////////////////////////////////////////////////
/// InputManager is a pseudo-static class. That is, while it is not a syntactically
/// static class, it should be treated as a semantically static class.
/// InputManager interfaces with the Oculus VR API and provides low-level inp... |
src/SFA.DAS.EAS.Web/ViewModels/ManageApprenticeships/ChangeStatusChoiceViewModel.cs | SkillsFundingAgency/das-employercommitments | 2 | 7057016 | <reponame>SkillsFundingAgency/das-employercommitments<filename>src/SFA.DAS.EAS.Web/ViewModels/ManageApprenticeships/ChangeStatusChoiceViewModel.cs<gh_stars>1-10
namespace SFA.DAS.EmployerCommitments.Web.ViewModels.ManageApprenticeships
{
public sealed class ChangeStatusChoiceViewModel
{
public bool IsC... |
TypeVisualiser/Model/Persistence/TypeVisualiserLayoutFile.cs | Benrnz/TypeVisualiser | 1 | 7057017 | <filename>TypeVisualiser/Model/Persistence/TypeVisualiserLayoutFile.cs
using System;
using System.Xml.Serialization;
namespace TypeVisualiser.Model.Persistence
{
[Serializable]
[XmlRoot(ElementName = "VisualisableTypeDiagramFile", Namespace = "http://typevisualiser.rees.biz/v1_5")]
public class Typ... |
SSBHLib/Formats/SkelBoneEntry.cs | Jerr-z/please | 0 | 7057018 | namespace SSBHLib.Formats
{
public class SkelBoneEntry : SsbhFile
{
public string Name { get; set; }
public short Id { get; set; }
public short ParentId { get; set; }
public int Type { get; set; }
}
}
|
Serialazation3/Serialazation3/Program.cs | 2002-feb24-net/tyler-code | 0 | 7057019 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace Serialazation3
{
class Program
{
static async Task Main(string[] args)
{
string filePath = "data7.json";
List<... |
tests/NerdStore.Catalog.Domain.Tests/Models/CategoryTests.cs | washingtonalmeida/NerdStore | 5 | 7057020 | <gh_stars>1-10
using NerdStore.Catalog.Domain.Models;
using NerdStore.Core.DomainObjects;
using Xunit;
namespace NerdStore.Catalog.Domain.Tests.Models
{
public class CategoryTests
{
[Theory]
[InlineData("")]
[InlineData(null)]
public void Instantiate_Category_With_EmptyOrNull_N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.