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 |
|---|---|---|---|---|
Zoo VR Explorer/Assets/Scripts/EchoObjects/Monkey.cs | echo3Dco/Unity-Oculus-echo3D-demo-VR-Zoo-Explorer | 3 | 7062433 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
using UnityEngine.XR.Interaction.Toolkit;
using UnityEngine.SceneManagement;
public class Monkey : MonoBehaviour
{
// Start is called before the first frame update
MeshCollider col;
private string audioNa... |
src/server/TableOfProcesses.WebApplication/Notifications/LongPollingInfrastructure.cs | pm2t29jf47/table-of-processes | 0 | 7062434 | <filename>src/server/TableOfProcesses.WebApplication/Notifications/LongPollingInfrastructure.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TableOfProcesses.WebApplication.Notifications
{
/// <summary>
/// Long-polling infrastructure
/// </summary>
publ... |
Tech-Module/02-Data_Types_Variables_EXERCISE/05/Program.cs | kovachevmartin/SoftUni | 0 | 7062435 | using System;
namespace _05
{
class Program
{
static void Main(string[] args)
{
double GBP = double.Parse(Console.ReadLine());
decimal USD = (decimal)GBP * 1.31M;
Console.WriteLine($"{USD:f3}");
}
}
}
|
CloniumTest/Assets/Scripts/FieldContrpller.cs | EvgenyOleshkevich/UnityClonium3d | 0 | 7062436 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FieldController
{
public GameObject originalTeleport;
public Color defaultColor;
public GameObject main;
public Field[] Fields { get; private set; }
public Field CurrentField { get; private set; }
} |
practices/recursive_extension_methods/Program.cs | bkalenderoglu/Patika_C_Sharp_101 | 0 | 7062437 | using System;
namespace recursive_extension_methods
{
class Program
{
static void Main(string[] args)
{
//Recursive
//3^4
//With for loop
int result = 1;
for (int i = 1; i < 5; i++)
{
result = result * 3;
... |
Twice/ViewModels/Validation/ValidationSetup.cs | TheSylence/Twice | 20 | 7062438 | <filename>Twice/ViewModels/Validation/ValidationSetup.cs
using System;
namespace Twice.ViewModels.Validation
{
internal class ValidationSetup<TProperty> : IValidationSetup<TProperty>
{
public ValidationSetup( IPropertyValidatorContainer propertyValidatorContainer, string propertyName, bool manual )
{
Propert... |
Unity/vr_arm_ctrl/Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/Messages/Nav/srv/GetPlanRequest.cs | BigMeatBaoZi/SDM5002 | 123 | 7062439 | //Do not edit! This file was generated by Unity-ROS MessageGeneration.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Unity.Robotics.ROSTCPConnector.MessageGeneration;
namespace RosMessageTypes.Nav
{
[Serializable]
public class GetPlanRequest : Message
{
... |
src/Synnduit/Mappings/MappingDataObject.cs | Synnduit/Synnduit.NET | 0 | 7062440 | using System;
namespace Synnduit.Mappings
{
/// <summary>
/// Encapsulates information related to the mapping of a single source system entity
/// to its destination system counterpart.
/// </summary>
internal class MappingDataObject
{
public MappingDataObject(
Guid mapping... |
VoicepackPacker/Program.cs | legoandmars/NickVoicepackPacker | 0 | 7062441 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Newtonsoft.Json;
using System.Reflection;
using Newtonsoft.Json.Serialization;
namespace VoicepackPacker
{
class Program
{
stati... |
src/Test.CompileTimeInject.ContainerGenerator/ServiceFactoryGeneratorTests.cs | git-custom-code/CompileTimeInject | 1 | 7062442 | <filename>src/Test.CompileTimeInject.ContainerGenerator/ServiceFactoryGeneratorTests.cs<gh_stars>1-10
namespace CustomCode.CompileTimeInject.ContainerGenerator.Tests
{
using Extensions;
using Microsoft.CodeAnalysis.CSharp;
using Syntax;
using Xunit;
/// <summary>
/// Automated tests for the <se... |
src/draco/tests/Core.Execution.UnitTests/AsyncExecutionProcessorTests.cs | timmyreilly/draco | 0 | 7062443 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Draco.Core.Execution.Interfaces;
using Draco.Core.Execution.Options;
using Draco.Core.Execution.Processors;
using Draco.Core.Interfaces;
using Draco.Core.Models;
using Draco.Core.Models.Enumerations;
using Draco.Core.Models.Extensions;
us... |
CIGA/Assets/Game/Const/AudioName.cs | ReadyGamerOne/GoodbyeJennifer | 0 | 7062444 | <gh_stars>0
namespace Game.Const
{
public static class AudioName
{
public static readonly string Dash = "Dash";
public static readonly string Fire = "Fire";
public static readonly string Fire_1 = "Fire_1";
public static readonly string Hit = "Hit";
public static readonl... |
ClientAndroid/Project/Configuration.cs | skynetfiles/Mass-RAT | 225 | 7062446 | using System;
namespace ClientAndroid.Project
{
public static class Configuration
{
public static string Host = "192.168.1.233";
public static int Port = 5505;
public static readonly string Id = Guid.NewGuid().ToString();
}
} |
ow.Framework/IO/File/World/WorldTable.cs | Kimjunseo319/OpenWorker | 9 | 7062447 | <reponame>Kimjunseo319/OpenWorker<filename>ow.Framework/IO/File/World/WorldTable.cs
using Microsoft.Extensions.Configuration;
using ow.Framework.Game.Datas.World.Table;
using System;
using System.IO;
using System.Xml;
namespace ow.Framework.IO.File.World
{
public sealed class WorldTable
{
private read... |
src/Succubus/Tests/Succubus.Bus.Tests/LoopbackFactory.cs | COCPORN/succubus | 5 | 7062448 | using Succubus.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Succubus.Backend.Loopback;
namespace Succubus.Bus.Tests
{
class LoopbackFactory : IFactory
{
public Core.Interfaces.IBus CreateBus(Action<IBusConfig... |
AntYecai/Http/AntHttpClient.cs | HungryAnt/AntYecaiLauncher | 2 | 7062449 | using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.Serialization.Json;
using System.Text;
namespace AntYecai.Http
{
public class AntHttpClient
{
private const String MediaTypeJson = "application/json";
private Uri _uri;
... |
ByTheCake/Controllers/AccoutController.cs | gogata258/SoftUniWebServer | 0 | 7062450 | namespace ByTheCake_App.Controllers
{
using Server.Abstractions;
using Server.HTTP;
using Server.HTTP.Contracts;
using Server.HTTP.Response;
using Services;
using Services.Contracts;
using ViewModel;
using ViewModel.Account;
public class AccoutController : ControllerBase
{
private const string RegisterVie... |
src/AspectCore.Extensions.Reflection/FieldReflector.Static.cs | nivalxer/AspectCore-Framework | 1,451 | 7062451 | using System;
using System.Reflection;
using System.Reflection.Emit;
using AspectCore.Extensions.Reflection.Emit;
namespace AspectCore.Extensions.Reflection
{
public partial class FieldReflector : MemberReflector<FieldInfo>
{
private class StaticFieldReflector : FieldReflector
{
pu... |
CsharpSketchUpAPI/EntitiesAddInstance.cs | stevensrmiller/CsharpSketchUpAPI | 5 | 7062452 | using System;
using System.Runtime.InteropServices;
namespace ExLumina.SketchUp.API
{
public static partial class SU
{
[DllImport(LIB, EntryPoint = "SUEntitiesAddInstance")]
static extern int SUEntitiesAddInstance(
IntPtr entitiesRef,
IntPtr instanceRef,
[Ma... |
AntRunner/Utility/LPAStarPath.cs | LoveDuckie/ant-frenzy | 0 | 7062453 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Windows.Data.Xml.Dom;
using Windows.Data.Xml.Xsl;
using Windows.Storage.Search;
using Windows.Storage;
using Wind... |
src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.cs | pavel-petrenko/azure-powershell | 0 | 7062454 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... |
Tomato.Process/IProcess.cs | mikeywashere/Tomato | 0 | 7062455 | using System;
using System.Linq;
using System.Collections.Generic;
namespace Tomato
{
public interface IProcess
{
bool RotateToStartWhenDone { get; set; }
bool StartNextStepAutomatically { get; set; }
bool OnLastStep();
IProcessStep Current();
void AddStep(IProcessS... |
MetroLog.NetFx/LoggingEnvironment.cs | DanieleScipioni/MetroLog | 47 | 7062456 | <filename>MetroLog.NetFx/LoggingEnvironment.cs<gh_stars>10-100
using MetroLog.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace MetroLog
{
/// <summary>
/// Holds the logging environment for .NET app... |
Assets/Scripts/Bridge/Cyber/Protobuf/map/proto/map_id.cs | ZhenshengLee/simulator | 9 | 7062457 | // This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: map_id.proto
#pragma warning disable 0612, 1591, 3021
namespace apollo.hdmap
{
[global::ProtoBuf.ProtoContract()]
public partial class Id : global::ProtoBuf.IExtens... |
src/main/Plugins/ValidationPlugins/Http/Sftp/SftpOptionsFactory.cs | sherif-elmetainy/win-acme | 3 | 7062458 | <gh_stars>1-10
using PKISharp.WACS.Clients.IIS;
using PKISharp.WACS.Configuration;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Http
{
/// <summary>
/// Sftp validation
/// </summary>
internal class SftpOptionsFactory : HttpValidati... |
src/TechnicalInterview.App/Tasks/RemoveDuplicatesFromArray.cs | LucasMoffitt/Common-Technical-Interview-Questions | 0 | 7062459 | <filename>src/TechnicalInterview.App/Tasks/RemoveDuplicatesFromArray.cs
using System;
using System.Linq;
namespace TechnicalInterview.App.Tasks
{
//Task:
/*
* Given an array of integers, check and remove any duplicates
/*Rules:
* Ensure you resize the array
*/
public static class Remo... |
src/AutoTestFramework/AbstractTestEngine.cs | Berkaroad/AutoTestFramework.Net | 1 | 7062460 | using AutoTestFramework.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutoTestFramework
{
/// <summary>
/// 测试引擎
/// </summary>
public abstract class AbstractTestEngine : ITestEngine
{
private Dictionary<string, System.Reflection.MethodInf... |
src/ServiceStack/Formats/HtmlFormat.cs | sbosell/ServiceStack | 0 | 7062461 | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using ServiceStack.Serialization;
using ServiceStack.Templates;
using ServiceStack.Web;
namespace ServiceStack.Formats
{
public class HtmlFormat : IPlugin
{
public static string TitleFormat
= @"{0} ... |
Source/VFECore/AnimalBehaviours/Comps/CompRegisterAlternateGraphic.cs | AndroidQuazar/VanillaFactionsExpanded-Core | 2 | 7062462 | using RimWorld;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Verse;
using UnityEngine;
using System.Linq;
using System.Collections;
using System.Reflection;
namespace AnimalBehaviours
{
public class CompRegisterAlternateGraphic : ThingComp
{
public Faction fac... |
AlgoTest/LeetCode/Valid Triangle Number/Valid Triangle Number.cs | sagasu/Algo-DataStructures | 0 | 7062463 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AlgoTest.LeetCode.Valid_Triangle_Number
{
[TestClass]
public class Valid_Triangle_Number
{
[TestMethod]
public void Test()
{
var ... |
MinecraftMappings.NET/Minecraft/Bedrock/Textures/Block/GrindstonePivot.cs | null511/MinecraftMappings.NET | 0 | 7062464 | using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Bedrock.Textures.Block
{
public class GrindstonePivot : BedrockBlockTexture
{
public GrindstonePivot() : base("Grindstone Pivot")
{
AddVersion("grindstone_pivot")
.MapsToJavaBlock... |
ex31TsukaairlineOO/Program.cs | CleAurora/CSharp | 0 | 7062466 | using System;
namespace ex31TsukaairlineOO
{
class Program
{
static void Main(string[] args)
{
bool sair = false;
Passageiro[] passageiros = new Passageiro[2];
int numPassageiros = 0;
System.Console.WriteLine("Seja bem vindo(a) à Tsukamoto Airli... |
SoluiNet.DevTools.Utils.TimeTracking/Entities/VersionHistory.cs | Kimiyou/SoluiNet.DevTools | 3 | 7062467 | // <copyright file="VersionHistory.cs" company="SoluiNet">
// Copyright (c) SoluiNet. All rights reserved.
// </copyright>
namespace SoluiNet.DevTools.Utils.TimeTracking.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
... |
runtime/CSharp/Antlr4.Tool/Codegen/Model/Decl/ContextRuleGetterDecl.cs | kaby76/antlr4cs | 321 | 7062468 | <filename>runtime/CSharp/Antlr4.Tool/Codegen/Model/Decl/ContextRuleGetterDecl.cs<gh_stars>100-1000
// Copyright (c) <NAME>, <NAME>. All Rights Reserved.
// Licensed under the BSD License. See LICENSE.txt in the project root for license information.
namespace Antlr4.Codegen.Model.Decl
{
/** {@code public XContext X... |
Source/ArcLogisticsApp/Pages/Home/License/ILoginViewHost.cs | ValueCreation/RoutePlanner | 17 | 7062469 | <reponame>ValueCreation/RoutePlanner
namespace ESRI.ArcLogistics.App.Pages
{
/// <summary>
/// Provides access to the object hosting login views.
/// </summary>
internal interface ILoginViewHost
{
/// <summary>
/// Gets or sets a value indicating if focus was set on a control for en... |
HandsOn_StoredProcedure/HandsOn_StoredProcedure/BookInfo.cs | Krishna143-cog/DotNETSamples | 0 | 7062470 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HandsOn_StoredProcedure
{
class BookInfo
{
public static void Main()
{
int choice;... |
src/STAIExtensions/STAIExtensions.Data.AzureDataExplorer.Tests/Fixtures/TestSerializationClass.cs | TrevorMare/STAIExtensions | 0 | 7062471 | using STAIExtensions.Data.AzureDataExplorer.Attributes;
namespace STAIExtensions.Data.AzureDataExplorer.Tests.Fixtures;
public class TestSerializationClass
{
public string TestColumnName { get; set; }
[DataContractField("AttrColumn", typeof(Data.AzureDataExplorer.Serialization.CustomDimensionSeriliazat... |
Skuratovich/src/ITnews/Htp.ITnews/Htp.ITnews.Infrastructure/MappingProfiles/RatingMappingProfile.cs | chertby/Course-M-ND2-33-19 | 0 | 7062472 | using System;
using AutoMapper;
using Htp.ITnews.Data.Contracts.Entities;
using Htp.ITnews.Domain.Contracts.ViewModels;
namespace Htp.ITnews.Infrastructure.MappingProfiles
{
public class RatingMappingProfile : Profile
{
public RatingMappingProfile()
{
MapRatingToRatingViewModel();
... |
Common/AllJoyn/ZigBeeAdapter/ZigBeeAdapterLib/AdapterSignal.cs | iotoi-project/winiot-app | 4 | 7062473 | // Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... |
Assets/Tiny Life Saver tools/Tools/_HedToolsTime/Runtime/FPSDisplay.cs | usernameHed/AssetStorePrimitives | 0 | 7062474 | <gh_stars>0
using System.Collections;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
namespace hedCommon.time
{
/// <summary>
/// Display fps in game
/// </summary>
[ExecuteInEditMode]
public class FPSDisplay : MonoBehaviour
{
FrequencyCoolDown FrequencyCoolDown = new FrequencyC... |
src/DbUp.Downgrade/Helpers/EmbeddedDowngradeScriptFinder.cs | StojanovicMilos/DbUp.Downgrade | 21 | 7062475 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using DbUp.Engine;
namespace DbUp.Downgrade.Helpers
{
/// <summary>
/// Comparing Scripts and DowngradeScripts embedded in assembly.
/// </summary>
public class EmbeddedDowng... |
Assets/Scripts/CameraFollowPlayer.cs | EscapeMechanism/Escape2 | 0 | 7062476 | using UnityEngine;
using System.Collections;
public class CameraFollowPlayer : MonoBehaviour {
public Transform player;
public float window_x = 20;
public float window_y = 20;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (player.position.x > t... |
Server/Services/Implementations/UserAuthenticationService.cs | GUSAR1T0/CarWashSystem | 1 | 7062477 | <reponame>GUSAR1T0/CarWashSystem
using System;
using System.Threading.Tasks;
using VXDesign.Store.CarWashSystem.Server.Core.Common;
using VXDesign.Store.CarWashSystem.Server.Core.Operation;
using VXDesign.Store.CarWashSystem.Server.DataStorage.Entities.Authentication;
using VXDesign.Store.CarWashSystem.Server.DataStor... |
Gorgon/Gorgon.Graphics.Core/Buffers/_Interfaces/IGorgonIndexBufferInfo.cs | Tape-Worm/Gorgon | 55 | 7062478 | #region MIT
//
// Gorgon.
// Copyright (C) 2018 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, m... |
TimeSpent.Data.Contracts/RepositoryInterfaces/ITimeEntryRepository.cs | saeidehv/TimeSpent | 0 | 7062479 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TimeSpent.Core.Contracts;
using TimeSpent.Business.Entities;
using TimeSpent.Business.Contracts;
namespace TimeSpent.Data.Contracts.RepositoryInterfaces
{
// custom operations just for TimeEnt... |
Assets/Microgames/FoodCut/Scripts/FoodCutSideScript.cs | waterbuddy16/NitoriWare | 0 | 7062480 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FoodCutSideScript : MonoBehaviour {
public float speed = 0.0f;
public float deceleration = 0.0f;
// Use this for initialization
void Start () {
}
void FixedUpdate()
{
if (speed > 0)
... |
eDriven/eDriven.Gui/Styles/Processing/StyleTable.cs | dkozar/edriven-gui | 42 | 7062481 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace eDriven.Gui.Styles
{
/// <summary>
/// Private
/// </summary>
public class StyleTable : Dictionary<string, object>, ICloneable
{
public override string ToString()
{
StringBuild... |
YU.WebUI/App.cs | yearlingvirus/YPT | 21 | 7062482 | using Microsoft.Owin.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YU.WebUI
{
public static class App
{
private static IDisposable Instance { get; set; }
/// <summary>
/// 开始
/// </summar... |
ThirdParty/LumiSoft/Net/Net/Dns/Client/HINFO_Record.cs | jeske/StepsDB-alpha | 5 | 7062483 | <filename>ThirdParty/LumiSoft/Net/Net/Dns/Client/HINFO_Record.cs
using System;
namespace LumiSoft.Net.Dns.Client
{
/// <summary>
/// HINFO record.
/// </summary>
public class HINFO_Record : DnsRecordBase
{
private string m_CPU = "";
private string m_OS = "";
/// <summary>
/// Default constructor.
/// ... |
sdk/src/Services/LookoutEquipment/Generated/Model/ListInferenceSchedulersRequest.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7062484 | <gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... |
src/BranchDiffer.VS/IGitBranchDifferPackage.cs | tommes/GitBranchDiffer | 6 | 7062485 | <filename>src/BranchDiffer.VS/IGitBranchDifferPackage.cs
using Microsoft.VisualStudio.Shell;
using System.Threading;
namespace BranchDiffer.VS
{
/// <summary>
/// Provides access to the implementation of VSPackage in startup project.
/// </summary>
public interface IGitBranchDifferPackage : IAsyncServ... |
HomeJok.Api/Middleware/ExceptionMiddleware.cs | WinterSir/HomeJok | 0 | 7062486 | <filename>HomeJok.Api/Middleware/ExceptionMiddleware.cs
using HomeJok.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeJo... |
src/Transports/MassTransit.Transports.Msmq/Management/OSHelperExtensions.cs | vincelee888/MassTransit | 1 | 7062487 | // Copyright 2007-2011 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 required b... |
ThirdParty/Unity-SemVer/SemVer.cs | lukemonaghan/halodi-unity-package-registry-manager | 42 | 7062488 | using System;
using UnityEngine;
namespace Artees.UnitySemVer
{
/// <summary>
/// A semantic version based on the <a href="https://semver.org/">Semantic Versioning 2.0.0</a> specification.
/// </summary>
[Serializable]
public class SemVer : IComparable<SemVer>, IEquatable<SemVer>
{
publ... |
Faraboom.Framework/UI/Bootstrap/TagHelpers/Figure/FigureImageTagHelper.cs | faraboom/framework | 0 | 7062489 | <filename>Faraboom.Framework/UI/Bootstrap/TagHelpers/Figure/FigureImageTagHelper.cs<gh_stars>0
namespace Faraboom.Framework.UI.Bootstrap.TagHelpers.Figure
{
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.Extensions.Options;
[DataAnnotation.Injectable]
... |
CCMS.DAL/Repositories/UpdatedTextRepositoryExtensions.cs | orlicekm/CodingConventionsManagementSystem | 8 | 7062490 | using System;
using System.Linq;
using CCMS.DAL.Entities;
using CCMS.DAL.Repositories.Base;
using Microsoft.EntityFrameworkCore;
namespace CCMS.DAL.Repositories
{
public static class UpdatedTextRepositoryExtensions
{
public static UpdatedTextEntity GetByIdExtended(this IRepository<UpdatedTextEntity> r... |
src/ToDoApp.AppServices/ReportAppService.cs | MikeGitIt/ToDoApp | 0 | 7062491 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ToDoApp.AppServices.Dtos;
using ToDoApp.AppServices.Extensions;
using ToDoApp.Domain.Entities;
using ToDoApp.Domain.Filters;
using ToDoApp.DomainServices.Interfaces;
namespace ToDoApp.AppServices
{
internal clas... |
src/HearThis/Utils/LinkLabelHelper.cs | sillsdev/HearThis | 5 | 7062492 | <filename>src/HearThis/Utils/LinkLabelHelper.cs<gh_stars>1-10
// --------------------------------------------------------------------------------------------
#region // Copyright (c) 2020, SIL International. All Rights Reserved.
// <copyright from='2015' to='2020' company='SIL International'>
// Copyright (c) 2020, SI... |
Program.cs | SilvK/CSharp | 0 | 7062493 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _10NFactorial
{
class Program
{//Write a method that multiplies a number represented as an array of digits by a given integer number. Write a program to calculat... |
Kwm/Kws/KwsStateMachine.cs | tmbx/kwm-ng | 0 | 7062494 | using kcslib;
using kwmlib;
using System;
using System.Diagnostics;
using System.Collections.Generic;
/* Notes about the workspace state machine:
*
* The primary role of the state machine is to transition between the various
* workspace tasks gracefully and to coordinate the delivery of notifications
* ... |
Maps/Maps/RequestProvider/IRequestProvider.cs | VictorLatriglia/Xamarin-forms-starter-kit | 2 | 7062495 | using System.Threading.Tasks;
namespace Maps.Services.RequestProvider
{
public interface IRequestProvider
{
/// <summary>
/// Generates a GET request to the URI with the specified token
/// </summary>
/// <typeparam name="TResult">Data type expected</typeparam>
/// <par... |
GMTK-2019 Project/Assets/_Scripts/_GAME/CCC/PlayerInput.cs | jamsforfun/GMTK-2019 | 1 | 7062496 | using UnityEngine;
using Sirenix.OdinInspector;
/// <summary>
/// InputPlayer Description
/// </summary>
[TypeInfoBox("Player input")]
public class PlayerInput : MonoBehaviour
{
[FoldoutGroup("Debug"), Tooltip("Move input"), ReadOnly]
public Vector2 MoveInput;
[FoldoutGroup("Debug"), Tooltip("Move input")... |
src/Lykke.Service.OAuth/Controllers/HomeController.cs | LykkeCity/OAuth | 1 | 7062497 | using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using System.Text;
namespace WebAuth.Controllers
{
public class HomeController : Controller
{
[Route("/")]
public IActionResult Index()
{
ViewBag.Version = Applic... |
oAuthTwitterWrapper/JsonTypes/TimeLine.cs | nickgamb/EITA | 0 | 7062498 | <reponame>nickgamb/EITA<gh_stars>0
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace OAuthTwitterWrapper.JsonTypes
{
public class TimeLine
{
[JsonProperty("created_at")]
public string CreatedAt { get; set; }
[JsonProperty("id")]
... |
Scripts/Runtime/Entities/AccessControl/DynamicBufferSharedWriteHandle.cs | decline-cookies/anvil-ecs-dots-core | 1 | 7062499 | <filename>Scripts/Runtime/Entities/AccessControl/DynamicBufferSharedWriteHandle.cs
using Anvil.CSharp.Core;
using Unity.Entities;
using Unity.Jobs;
namespace Anvil.Unity.DOTS.Entities
{
/// <summary>
/// A handle to allow for figuring out the dependency of scheduling a job that will shared write to a
/// <... |
src/Conreign.Core/Battle/BattleFleet.cs | smolyakoff/conreign | 17 | 7062500 | <gh_stars>10-100
using System;
namespace Conreign.Core.Battle
{
public class BattleFleet
{
public BattleFleet(int ships, double power)
{
if (ships <= 0)
{
throw new ArgumentOutOfRangeException(nameof(ships));
}
if (power <= 0 && po... |
src/RabbitMq/Services/Configuration/ConsumeQueueConfigurator.cs | Byndyusoft/Byndyusoft | 0 | 7062501 | <filename>src/RabbitMq/Services/Configuration/ConsumeQueueConfigurator.cs
using System;
using Byndyusoft.Net.RabbitMq.Abstractions;
using Byndyusoft.Net.RabbitMq.Models;
namespace Byndyusoft.Net.RabbitMq.Services.Configuration
{
/// <inheritdoc cref="IConsumeMiddlewareConfigurator<TMessage>"/>
internal ... |
SolBo/SolBo.Shared/Rules/Sequence/ClearOnStartupSequenceRule.cs | jarmatys/SolBo | 53 | 7062502 | <reponame>jarmatys/SolBo
using SolBo.Shared.Domain.Configs;
using SolBo.Shared.Domain.Statics;
using SolBo.Shared.Services;
using System;
namespace SolBo.Shared.Rules.Sequence
{
public class ClearOnStartupSequenceRule : ISequencedRule
{
public string SequenceName => "ClearOnStartup";
private r... |
Visual Studio Product Team/Official Visual Studio 2010 Samples for C# 4.0/[C#]-Official Visual Studio 2010 Samples for C# 4.0/LINQ to XML - Miscellaneous Samples/C#/Miscellaneous/Program.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7062503 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Globalization;
using System.ComponentModel;
using System.Text.RegularExpressions;
namespace Miscellaneous
{
class Program
{
static void Main(string[] args)
{
Li... |
Oblqo/Controls/SlideEventArgs.cs | fiftin/Oblqo | 6 | 7062504 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oblqo.Controls
{
public class SlideEventArgs
{
public SlideDirection Direction { get; }
public SlideEventArgs(SlideDirection direction)
{
Direction ... |
AdventOfCode2017.Day9.Test/PuzzleB/StreamProcessor.Test.cs | SeanECogan/advent-of-code-2017 | 1 | 7062505 | <reponame>SeanECogan/advent-of-code-2017
using AdventOfCode2017.Day9.PuzzleB;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCode2017.Day9.Test.PuzzleB
{
[TestClass]
public class StreamProcessorTest
{
[TestMethod]
public void CountGarbage_NoCharacters_Returns0()
... |
aspnet-core/src/TrieuMinhHa.Orenda.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DataSeedEbook.cs | trieuminhha1991/webreact | 0 | 7062506 | <filename>aspnet-core/src/TrieuMinhHa.Orenda.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DataSeedEbook.cs
using System.Linq;
using TrieuMinhHa.Orenda.Authorization.EbookRelationship;
namespace TrieuMinhHa.Orenda.EntityFrameworkCore.Seed.Host
{
class DataSeedEbook
{
private readonly OrendaDbConte... |
src/Rhino.Security.Mgmt.Model/UsersGroupFactory.cs | nexida/Rhino-Security-Administration | 2 | 7062507 | using Rhino.Security.Model;
namespace Rhino.Security.Mgmt.Model
{
public class UsersGroupFactory : Rhino.Security.Mgmt.Infrastructure.IFactory<UsersGroup>
{
public UsersGroup Create()
{
return new UsersGroup();
}
}
} |
Handlers/DiscountPartHandler.cs | MatteoPiovanelli-Laser/Nwazet.Commerce | 32 | 7062508 | using Nwazet.Commerce.Models;
using Orchard.ContentManagement.Handlers;
using Orchard.Data;
using Orchard.Environment.Extensions;
namespace Nwazet.Commerce.Handlers {
[OrchardFeature("Nwazet.Commerce")]
public class DiscountPartHandler : ContentHandler {
public DiscountPartHandler(IRepository<... |
IcReadCardServices/MifareOne.cs | huali20040714/PrintServices | 22 | 7062509 | <gh_stars>10-100
using System;
using System.Runtime.InteropServices;
namespace IcReadCardServices
{
public class MifareOne
{
//说明: 返回设备当前状态
[DllImport("mwrf32.dll", EntryPoint = "rf_request", SetLastError = true, CharSet = CharSet.Auto, ExactSpelling = false, CallingConvention = CallingCo... |
source/R5T.Code.VS.SolutionFile.Types/Code/Model/Extensions/ISolutionFileGlobalSectionExtensions.cs | MinexAutomation/R5T.Code.VS.SolutionFile.Types | 0 | 7062510 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace R5T.Code.VisualStudio.Model
{
public static class ISolutionFileGlobalSectionExtensions
{
public static bool HasGlobalSectionByName<T>(this IEnumerable<ISolutionFileGlobalSection> globalSections, string g... |
Unity/Data/EditRange.cs | trzr/CM3D2.EffekseerPlayer.Plugin | 3 | 7062511 |
namespace EffekseerPlayer.Unity.Data {
/// <summary>
/// 値範囲を扱うクラス.
///
/// Max, Min, SoftMax, SoftMinにより範囲を制御する.
/// SoftMax, SoftMinはスライダーなどの最大値、最小値とし
/// Max, Minは本来の範囲として使用される想定とする.
/// </summary>
public class EditRange {
public EditRange(int _decimal, float min, float max,... |
KilyCore.WEB/Views/Govt/AccountEdit.cshtml | EmilyEdna/KilyCore | 4 | 7062512 |
@{
ViewData["Title"] = "修改密码";
Layout = "~/Views/Shared/BaseView.cshtml";
}
@section script{
<script>
//配置
var options = {
Init: function () {
this.InitDom();
this.InitEvents();
},
//元素
InitDom: function () {
... |
src/CopyAsHtml/CopyAsHtml/CommandFilterFactory.cs | workgroupengineering/VS-PPT | 824 | 7062513 | <reponame>workgroupengineering/VS-PPT
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStu... |
src/Tests.SpatialLite.Gps/Geometries/GpxFixHelperTests.cs | ArsenyN/spatiallite-net | 0 | 7062514 | <reponame>ArsenyN/spatiallite-net<filename>src/Tests.SpatialLite.Gps/Geometries/GpxFixHelperTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpatialLite.Gps.Geometries;
using Xunit;
using Xunit.Extensions;
namespace Tests.Spati... |
src/RongCloudNetCore/Models/PushMessage.cs | JTOne123/RongCloudNetCore | 0 | 7062515 | <gh_stars>0
namespace RongCloudNetCore.Models
{
/// <summary>
/// 不落地 push 消息体
/// </summary>
public class PushMessage : BaseModel
{
public PushMessage(string[] platform, string fromuserid, TagObj audience, MsgObj message, Notification notification)
{
Platform = platform... |
AleRoe.HomematicIPApi/RequestUrl.cs | AleRoe/HomematicIPApi | 0 | 7062516 | <filename>AleRoe.HomematicIPApi/RequestUrl.cs
using System;
namespace AleRoe.HomematicIpApi
{
internal class RequestUri
{
public Uri Uri { get; }
public RequestUri(string value)
{
this.Uri = new Uri(value, UriKind.Relative);
}
public override string ToStri... |
Saleslogix.SData.Client.Test/Metadata/SDataSchemaTests.cs | Saleslogix/DotNetSDataClient | 11 | 7062517 | using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.XPath;
using NUnit.Framework;
using Saleslogix.SData.Client.Metadata;
#if !NET_2_0 && !NET_3_5
using System.Xml.Linq;
#endif
namespace Saleslogix.SData.Client.Test.Metadata
{
[TestFixture]
public class SDataSchemaTests
{
... |
Shamisen/Data/IDataSink.cs | MineCake147E/MonoAudio | 5 | 7062518 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Shamisen
{
/// <summary>
/// Defines a base infrastructure for writing data.
/// </summary>
/// <typeparam name="TSample">The type of writing data.</typeparam>
... |
Backend/CCBrainz/ComputerCraft/API/Events/InventoryUpdated.cs | folke13/CCremote | 0 | 7062519 | <reponame>folke13/CCremote
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CCBrainz.ComputerCraft.API.Events
{
public class InventoryUpdated
{
[JsonProperty("event")]
public string Event { get;... |
aspnet-core/src/Xn.Core/Models/KhNcc.cs | nguyen2504/XnBoiler | 0 | 7062521 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Domain.Entities;
using BaseEntity;
namespace Xn.Models
{
public class KhNcc:Entity
{
[Required]
public string Code { get; set; }
public string TenNv { get; set; }
... |
src/HealthCheck/HealthCheck/src/TimedHealthCheckResult.cs | Shalelol/Extensions | 0 | 7062522 | namespace ClickView.Extensions.HealthCheck
{
using System;
using System.Threading.Tasks;
public class TimedHealthCheckResult : HealthCheckResult
{
/// <summary>
/// The time it took the check to run
/// </summary>
public TimeSpan Timing { get; }
public TimedHea... |
Services/JobChart/Models/LineModel.cs | githabb/JobChart | 0 | 7062523 | namespace JobChart.Models
{
public class LineModel
{
public int Id { get; set; }
public decimal Value { get; set; }
}
}
|
LoginProvider.Data/InMemory/InMemoryRepository.cs | masbicudo/InterSiteLogin | 0 | 7062524 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using LoginProvider.Domain;
namespace LoginProvider.Data
{
public class InMemoryRepository<T> :
IRepository<T>
where T : class, IEntity
{
private static readonly List<T> Items = new List<T>();
publi... |
src/GitReleaseNotes/IssueTrackers/YouTrack/YouTrackApi.cs | JakeGinnivan/GitReleaseNotes | 37 | 7062525 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Xml.Linq;
namespace GitReleaseNotes.IssueTrackers.YouTrack
{
public sealed class YouTrackApi : IYouTrackApi
{
private stat... |
Win3muCore/Utils/PathMapper.cs | mediaexplorer74/win3mu | 0 | 7062526 | <reponame>mediaexplorer74/win3mu
/*
Win3mu - Windows 3 Emulator
Copyright (C) 2017 Topten Software.
Win3mu is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any... |
tracer/test/Datadog.Trace.Tests/ServerlessTests.cs | johnbley/dd-trace-dotnet | 0 | 7062527 | // <copyright file="ServerlessTests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
using Sy... |
BDSA2018.Lecture04/Program.cs | ondfisk/BDSA2018 | 0 | 7062530 | using System;
using System.Linq;
using System.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
namespace BDSA2018.Lecture04
{
class Program
{
static void Main(string[] args)
{
//var connectionString = @"Data Source=(localdb)\MSSQLLocalDB;Integrated Security=True;Connect Timeout... |
Source/Krypton Toolkit/Examples/Controls/Form1.Designer.cs | Krypton-Suite/Extended-Toolk | 6 | 7062531 |
namespace Controls
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... |
eWAY.Rapid/Enums/RequestMethod.cs | CareerHub/eway-rapid-net | 9 | 7062532 | namespace eWAY.Rapid.Enums
{
/// <summary>
/// Request Method
/// </summary>
public enum RequestMethod
{
///<summary>Process a standard payment</summary>
ProcessPayment,
///<summary>Create a token customer</summary>
CreateTokenCustomer,
///<summary>Update a t... |
Tests/Unit/pjsip4net.Tests/given_a_default_transport_configurator.cs | moljac/pjsip4net | 67 | 7062533 | using Moq;
using NUnit.Framework;
using pjsip4net.Configuration;
using pjsip4net.Core;
using pjsip4net.Interfaces;
using pjsip4net.Transport;
namespace pjsip4net.Tests
{
// ReSharper disable InconsistentNaming
[TestFixture]
public class given_a_default_transport_configurator :
given_a_comp... |
MakingStairsToTheLove/Assets/0 Scripts/AI/AI.cs | bellepron/Champy | 1 | 7062534 | // using System.Collections;
// using System.Collections.Generic;
// using UnityEngine;
// using UnityEngine.AI;
// using DG.Tweening;
// public class Soldier : MonoBehaviour, ILevelStartObserver
// {
// public NavMeshAgent agent;
// Animator anim;
// SoldierState currentState;
// // Player
// Tra... |
Service/Exceptions/FeatureDisabledException.cs | deba1/Diary-App-Core | 0 | 7062535 | using System;
namespace Application.Exceptions
{
public class FeatureDisabledException : Exception
{
public FeatureDisabledException() : base("Feature Disabled")
{
}
}
}
|
src/BCKFreightTMS.Common/Enums/VehicleTypeNames.cs | MMSlavov/BCKFreight | 1 | 7062536 | <reponame>MMSlavov/BCKFreight<filename>src/BCKFreightTMS.Common/Enums/VehicleTypeNames.cs<gh_stars>1-10
// <copyright file="VehicleTypeNames.cs" company="BCKFreightTMS">
// Copyright (c) BCKFreightTMS. All Rights Reserved.
// </copyright>
namespace BCKFreightTMS.Common.Enums
{
public enum VehicleTypeNames
{
... |
tests/Grimware.Common.UnitTests/Extensions/DictionaryExtensionsTests.cs | GrimGadget/Grimware.Common | 1 | 7062537 | <reponame>GrimGadget/Grimware.Common
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Grimware.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Grimware.Common.UnitTests.Extensions
{
[TestClass]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.