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 |
|---|---|---|---|---|
src/SociallyDistant/Editor/AssetRegistry.cs | redteam-os/redteam-frontend | 1 | 7057133 | <reponame>redteam-os/redteam-frontend
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using SociallyDistant.Utilities;
using Thundershock.Core.Debugging;
using Thundershock.IO;
namespace SociallyDistant.... |
src/Micser.App.Infrastructure/Converter/MessageBoxButtonToVisibilityConverter.cs | loreggia/micser | 4 | 7057134 | <reponame>loreggia/micser
using System;
using System.Globalization;
using System.Windows;
namespace Micser.App.Infrastructure.Converter
{
public enum MessageBoxButtonType
{
Ok,
Yes,
No,
Cancel
}
public class MessageBoxButtonToVisibilityConverter : ConverterExtension
... |
Assets/Assorted and Deprecated/Weight.cs | Apelsin/CVRLabSJSU | 0 | 7057135 | <reponame>Apelsin/CVRLabSJSU
using UnityEngine;
namespace CVRLabSJSU
{
public class Weight : MonoBehaviour
{
public TextMesh weightText;
private string displayString;
private float weight;
// Use this for initialization
private void Start()
{
}
... |
src/TTY.GMP.Jobs/StatisticsStockGoodsJob.cs | chenjian8541/gmp | 5 | 7057136 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Quartz;
using TTY.GMP.IBusiness;
using TTY.GMP.IOC;
using TTY.GMP.LOG;
using TTY.GMP.Utility;
using System.Linq;
using TTY.GMP.Entity.Database;
namespace TTY.GMP.Jobs
{
/// <summary>
/// 定时更新商品库存
/// </s... |
Source/NSprakIDE/Controls/Source/Elements/ExecutionHighlighting.cs | Seti-0/NSprak | 0 | 7057137 | using System;
using System.Collections.Generic;
using System.Text;
using ICSharpCode.AvalonEdit.Rendering;
using NSprak.Expressions;
namespace NSprakIDE.Controls.Source
{
public class ExecutionHighlighting : IColorizerElement<Expression>
{
public bool CanApply(Expression item) => false;
pub... |
Recrutment.Api/Recrutment.Api/Data/Migrations/20211218162755_Interview.cs | pirocorp/Bootcamp | 0 | 7057138 | <filename>Recrutment.Api/Recrutment.Api/Data/Migrations/20211218162755_Interview.cs
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Recrutment.Api.Migrations
{
public partial class Interview : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
Assets/FacialRecognitionDemo/Scripts/Views/FaceOutline.cs | mediumTaj/unity-sdk-demo-vr-training | 0 | 7057139 | <filename>Assets/FacialRecognitionDemo/Scripts/Views/FaceOutline.cs<gh_stars>0
/**
* Copyright 2015 IBM Corp. 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.
* You may obtain a copy of the License at
*
* ht... |
Spotify.NetStandard.Sdk/Spotify.NetStandard.Sdk/Extensions/RequestExtensions.cs | RoguePlanetoid/Spotify-NetStandard-Sdk | 1 | 7057140 | <gh_stars>1-10
namespace Spotify.NetStandard.Sdk
{
/// <summary>
/// Request Extension Methods
/// </summary>
public static class RequestExtensions
{
/// <summary>
/// All
/// </summary>
/// <param name="searchTypeRequest">SearchTypeRequest</param>
/// <retur... |
SrvFileClnt/Form1.cs | phuccoder/Network-Program | 2 | 7057141 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace SrvFileClnt
{
public partial class Form1 : Form
{
... |
Assets/scripts/InspectorControl.cs | KevinMKinney/Escape-Room | 1 | 7057142 | <reponame>KevinMKinney/Escape-Room
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InspectorControl : MonoBehaviour
{
// attributes:
Item inspectedItem;
Vector3 originalScale;
Vector3 currentScale;
int scaleFactor;
// Start is called before the first... |
Nesteo.Server.IntegrationTests/WebApiTests/NestingBoxesControllerTests.cs | Nesteo/Nesteo-Server | 2 | 7057143 | <reponame>Nesteo/Nesteo-Server
using System.Threading.Tasks;
using Nesteo.Server.Models;
using Xunit;
namespace Nesteo.Server.IntegrationTests.WebApiTests
{
public class NestingBoxesControllerTests : CrudControllerTestsBase<NestingBox>
{
public NestingBoxesControllerTests(NesteoWebApplicationFactory<St... |
src/web.oidc.client.implicit/Startup.cs | linianhui/ids3.demo | 203 | 7057144 | using ClientSite;
using ClientSite.Oidc;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(Startup))]
namespace ClientSite
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.UseOidcAuthentication();
}
}
} |
Blog.Data/Abstract/IStoryRepository.cs | RodionChachura/simple-blog-back | 41 | 7057145 | <filename>Blog.Data/Abstract/IStoryRepository.cs
using Blog.Model;
namespace Blog.Data.Abstract
{
public interface IStoryRepository: IEntityBaseRepository<Story>
{
bool IsOwner(string storyId, string userId);
bool IsInvited(string storyId, string userId);
}
} |
MonoDevelop.DBinding/Highlighting/DSyntaxMode.cs | gitter-badger/Mono-D | 0 | 7057146 | using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Mono.TextEditor;
using Mono.TextEditor.Highlighting;
using System.IO;
using System;
using MonoDevelop.Ide.Gui;
using MonoDevelop.Core;
using System.Threading;
using D_Parser.Refactoring;
using D_Parser.Dom;
using D_Parser.Misc;
using D_Parser... |
src/AddIns/Misc/TextTemplating/Test/Src/TextTemplatingVariableLocationTests.cs | dongdapeng110/SharpDevelopTest | 11 | 7057147 | <filename>src/AddIns/Misc/TextTemplating/Test/Src/TextTemplatingVariableLocationTests.cs
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.TextT... |
BZFlag.Networking.Common/Messages/BZFS/Flags/MsgGrabFlag.cs | JeffM2501/LibBZFlag | 2 | 7057148 | using BZFlag.Data.Flags;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BZFlag.Data.Utils;
using BZFlag.LinearMath;
namespace BZFlag.Networking.Messages.BZFS.Flags
{
public class MsgGrabFlag : NetworkMessage
{
public int PlayerID = -1;
public FlagUp... |
SourceBase/Presentation/PresentationApp/Touch/Custom Forms/frmImmunisationTouch.ascx.designer.cs | uon-coehm/IQCare | 0 | 7057149 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
VisualRust.Test.Integration/Fake/FakeIVsRegisterProjectTypes.cs | dlsteuer/VisualRust | 0 | 7057150 | <filename>VisualRust.Test.Integration/Fake/FakeIVsRegisterProjectTypes.cs
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisualRust.Test.Integration.Fake
{
class... |
Scripts/Engines/Factions/Core/Town.cs | greeduomacro/vivre-uo | 0 | 7057151 | using System;
using System.Collections;
using Server;
using Server.Targeting;
using Server.Mobiles;
using Server.Commands;
using System.Collections.Generic;
namespace Server.Factions
{
[CustomEnum( new string[]{ "Britain", "Magincia", "Minoc", "Moonglow", "Skara Brae", "Trinsic", "Vesper", "Yew" } )]
public abstract... |
YCQL/Exceptions/DBNotSupportedException.cs | alt22247/YCQL | 1 | 7057152 | <gh_stars>1-10
/*
* Copyright © 2015 by <NAME>
* All rights reserved
*/
using Ycql.DbHelpers;
using Ycql.Resources;
namespace Ycql.Exceptions
{
/// <summary>
/// The exception that is thrown when YCQL is not able to fully translate the object into Sql statement for specified database or database version
/// </... |
zum/Events/Chat/ChannelJoinEvent.cs | infernalfire72/zum | 2 | 7057153 | using zum.Objects;
namespace zum.Events
{
public static class ChannelJoinEvent
{
public static void Handle(Player p, byte[] Data)
{
string Channel = Tools.Ext.ReadStringFast(Data, 0); // this is usually in ANSI Encoding
if (Channel == null || !Channel.StartsWith("#")) r... |
src/logging/src/Assimalign.Extensions.Logging.EventLog/EventLog.cs | Assimalign-LLC/asal-dotnet-extensions | 0 | 7057154 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace Assimalign.Extensions.Logging.EventLog
{
[DefaultEventAttribute("EntryWritten")]
public class EventLog : Component, ISupportInitialize
{
public... |
UrlShortener.Common/ServiceCollectionExtensions.cs | jeff-varszegi/urlshortener | 0 | 7057155 | <filename>UrlShortener.Common/ServiceCollectionExtensions.cs<gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using UrlShortener.Common.Caching;
using UrlShortener.Common.Caching.Caches;
namespace UrlShortener.Common
{
/// <summary>Provides project-specific DI registrations</summary>
public... |
unity/ark_unity/Assets/Scripts/Ball.cs | rampart5555/ark | 0 | 7057156 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour {
public Vector2 m_speed;
public AudioClip m_brickHit;
void Start ()
{
Rigidbody2D rb=gameObject.GetComponent<Rigidbody2D>();
rb.velocity = m_speed;
}
// Upda... |
src/Typography.Font/StyleClass.cs | n-stuff/window-system | 1 | 7057157 | <filename>src/Typography.Font/StyleClass.cs
namespace NStuff.Typography.Font
{
/// <summary>
/// Lists the font styles.
/// </summary>
public enum StyleClass : short
{
/// <summary>
/// A normal font.
/// </summary>
Normal,
/// <summary>
/// An itali... |
CSharp/Property/InitDefault.cs | piovezan/SOpt | 148 | 7057158 | <filename>CSharp/Property/InitDefault.cs
class Exemplo {
public int valor { get; set; } = 1;
}
//No fundo é o mesmo que
internal class Exemplo {
private int valor;
public int Valor {
get { return valor; }
set { valor = value; }
}
public Exemplo() {
valor = 1;
}
}
.clas... |
IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Repository/IExceptionType.cs | NMFCode/NMF | 35 | 7057159 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
src/Okta.Sdk/Generated/IIdentityProvider.Generated.cs | phi1ipp/okta-sdk-dotnet | 115 | 7057160 | // <copyright file="IIdentityProvider.Generated.cs" company="Okta, Inc">
// Copyright (c) 2014 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
// This file was automatically generated. Don't modif... |
src/NLT.ExampleUI/Form1.cs | RichoM/NLT | 0 | 7057161 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using NaturalLanguageTranslator;
using System.Globalization;
namespace NLT_UI
{
public ... |
src/a-d/Cmf/Cmf.Models.cs | TaylorNT3/Stock.Indicators | 1 | 7057162 | <filename>src/a-d/Cmf/Cmf.Models.cs
namespace Skender.Stock.Indicators;
[Serializable]
public class CmfResult : ResultBase
{
public double MoneyFlowMultiplier { get; set; }
public double MoneyFlowVolume { get; set; }
public double? Cmf { get; set; }
}
|
Shared/src/Game/Tests/MapTest.cs | jacobmilligan/MidnightBlue | 2 | 7057163 | //
// SimplexTest.cs
// Midnight Blue
//
// --------------------------------------------------------------
//
// Created by <NAME> on 11/10/2016.
// Copyright (c) <NAME> All rights reserved
//
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics... |
JobOfferBackend.Doman.Security/Entities/Account.cs | diegofox2/jobofferbackend | 16 | 7057165 | <reponame>diegofox2/jobofferbackend<filename>JobOfferBackend.Doman.Security/Entities/Account.cs<gh_stars>10-100
using JobOfferBackend.Domain.Common;
using JobOfferBackend.Domain.Security.Constants;
namespace JobOfferBackend.Doman.Security.Entities
{
public class Account : BaseEntity<Account>
{
public ... |
CefNet/Generated/Native/Types/cef_context_menu_handler_t.cs | RhubarbVR/CefNet | 92 | 7057166 | <reponame>RhubarbVR/CefNet
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// ---------------------... |
Assets/LoadScript.cs | nbence08/StarShotter | 0 | 7057167 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LoadScript : MonoBehaviour
{
public Text mainText;
// Start is called before the first frame update
void Start()
{
if(SceneTransitionInfo... |
src/go-src-converted/cmd/fix/fix_byNameStructOf(slice(fix)).cs | rgwood/go2cs | 249 | 7057168 | <gh_stars>100-1000
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 05:44:57 UTC
// </auto-generate... |
TimetableApp/TimetableApp.Shared/UI/ContextMenuStrip.cs | AzureAms/TimetableApp.Uno | 4 | 7057169 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace TimetableApp.UI
{
public class ContextMenuStrip : MenuFlyout
{
public new ToolStripItemCollection Items { ... |
src/SFA.DAS.CourseDelivery.Data.UnitTests/Repository/NationalAchievementRateOverallRepository/WhenAddingMultipleItems.cs | uk-gov-mirror/SkillsFundingAgency.das-coursedelivery-api | 0 | 7057170 | <filename>src/SFA.DAS.CourseDelivery.Data.UnitTests/Repository/NationalAchievementRateOverallRepository/WhenAddingMultipleItems.cs
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.CourseDelivery.Domain.Entities;
using SFA.DAS.Courses... |
Sdl.Community.GroupShareKit/Models/Response/ReportingServicePredefinedProjects.cs | Mihael-Harangus/groupsharekit.net | 11 | 7057171 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sdl.Community.GroupShareKit.Models.Response
{
public class ReportingServicePredefinedProjects
{
public string ProjectName { get; set; }
public DateTime? CreatedAt { ge... |
src/Banking.WPF/Stores/ClientStore.cs | t-rolfin/Banking_IntShip | 0 | 7057172 | <reponame>t-rolfin/Banking_IntShip<filename>src/Banking.WPF/Stores/ClientStore.cs
using Banking.WPF.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Banking.WPF.Stores
{
public class ClientStore
{
private Client _curr... |
LucyLib.Test/Lucy.Plugin.Parser/PlainTextTest.cs | yurivital/lucy | 2 | 7057173 | <filename>LucyLib.Test/Lucy.Plugin.Parser/PlainTextTest.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Lucy.Plugin.Parsers;
using Lucy.Extensibility;
using System.Collections.Generic;
using System.Linq;
using Lucy.Core;
using System.IO;
namespace Lucy.Test.Lucy.Plugin.Parser
{
[TestCla... |
src/DotNettyRPC/ServiceTypeConfig.cs | wuzhou98/DotNettyRPC | 1 | 7057174 | <reponame>wuzhou98/DotNettyRPC
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using System.Xml.XPath;
namespace Coldairarrow.DotNettyRPC
{
/// <summary>
/// 解析XML格式化配置文件
/// </summary>
public class ServiceTypesConfig
{
/// <s... |
AssetTools.NET/Standard/AssetsFileFormat/AssetsFileExtra.cs | raphydaphy/AssetsTools.NET | 1 | 7057175 | <reponame>raphydaphy/AssetsTools.NET
using System.Collections.Generic;
namespace AssetsTools.NET
{
public class AssetsFileExtra
{
public static bool HasName(uint type)
{
if (type > 0x122)
return false;
if (type == 0x122)
return true;
... |
src/clogutils/CLogTypeNotFoundException.cs | microsoft/CLOG | 18 | 7057176 | /*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Abstract:
Describes the error which occurs should a type not be found (for example "%hello" is provided in a trace, but doesnt exist in configuration
--*/
using System;
namespace clogutils
{
public class CLogTypeNotFoundExce... |
edge-hub/src/Microsoft.Azure.Devices.Routing.Core/query/types/QueryValue.cs | DaveEM/iotedge | 0 | 7057177 | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Routing.Core.Query.Types
{
using System;
using System.Diagnostics;
using System.Globalization;
using Newtonsoft.Json.Linq;
public class QueryValue : IComparable, IComparable<QueryValue>
{
publ... |
Shamisen/Synthesis/PseudoMonauralSignalSourceBase.cs | MineCake147E/MonoAudio | 5 | 7057178 | <reponame>MineCake147E/MonoAudio
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using Shamisen.Mathematics;
using static System.Runtime.InteropServices.MemoryMarshal;
namespace Shamisen.Synthesis
{
#pragma warning disable S3881 // "ID... |
src/EgonsoftHU.Extensions.Bcl/System/Reflection/AssemblyExtensions.cs | gcsizmadia/EgonsoftHU.Extensions.Bcl | 1 | 7057179 | <gh_stars>1-10
// Copyright © 2022 <NAME>
// This code is licensed under MIT license (see LICENSE for details)
using System;
using System.Reflection;
namespace EgonsoftHU.Extensions.Bcl
{
/// <summary>
/// This class contains extension methods that are available for <see cref="Assembly"/> type.
/// </sum... |
src/SOCSeafood/Controllers/HomeController.cs | NaruzaL/SOCSeafood | 0 | 7057181 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SOCSeafood.Models;
using Microsoft.AspNetCore.Identity;
using SOCSeafood.ViewModels;
namespace SOCSeafood.Controllers
{
public class HomeController : Controller
{
publ... |
src/NuGet.Indexing/PackageJson.cs | zhhyu/NuGet.Services.Metadata | 1 | 7057182 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using NuGetGallery;
using GalleryPackageDependency = NuGetGallery.PackageDe... |
src/ecl.Unicode/Cldr/Doc/CldrLoader.Properties.cs | panost/ecl.Unicode | 0 | 7057183 | <reponame>panost/ecl.Unicode
using System;
using System.Collections.Generic;
using System.Text;
using static ecl.Unicode.Ucd.UcdLoader;
using System.Xml;
using System.Globalization;
using System.Runtime.InteropServices.ComTypes;
using System.IO;
namespace ecl.Unicode.Cldr.Doc;
partial class CldrLoader {
ScriptM... |
Interfaces and Abstraction/Interfaces and Abstraction Exercise Problems/P07_Military_Elite/IO/ConsoleReader.cs | danstoyanov/CSharp-OOP | 2 | 7057184 | using System;
using P07_Military_Elite.Core.IO.Contracts;
namespace P07_Military_Elite.IO
{
public class ConsoleReader : IReader
{
public string ReadLine()
{
return Console.ReadLine();
}
}
}
|
Git/Controllers/RepositoriesController.cs | mertolbekirov/MyWebServer | 0 | 7057185 | <filename>Git/Controllers/RepositoriesController.cs
using CarShop.Services;
using Git.Data;
using Git.Data.Models;
using Git.ViewModels.Repositories;
using MyWebServer.Controllers;
using MyWebServer.Http;
using System;
using System.Linq;
namespace Git.Controllers
{
using static DataConstants;
public class Rep... |
VSSolutionTemplates/templates/JumpStreetMobile/JumpStreetMobile/ViewModel/TodoListViewModel.cs | VSSolutionTemplates/JumpStreetMobile | 1 | 7057186 | <filename>VSSolutionTemplates/templates/JumpStreetMobile/JumpStreetMobile/ViewModel/TodoListViewModel.cs
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using JumpStreetMobile.Messages;
using JumpStreetMobile.Model;
using Microsoft.WindowsAzure.MobileServices.Sync;
using... |
external/open-zwave/openzwave-1.3.982/dotnet/examples/OZWForm/src/ValuePanelButton.cs | PascalPiche/OpenHomeMation | 1 | 7057187 | <reponame>PascalPiche/OpenHomeMation<filename>external/open-zwave/openzwave-1.3.982/dotnet/examples/OZWForm/src/ValuePanelButton.cs
using System;
using System.Collections.Generic;
using System.Text;
using OpenZWaveDotNet;
namespace OZWForm
{
public class ValuePanelButton: ValuePanel
{
private System.W... |
Assets/Scenes/cos.cs | hobogalaxy/AI-creatures | 10 | 7057188 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cos : MonoBehaviour {
// The target marker.
public Transform target;
public Transform handle;
// Angular speed in radians per sec.
float speed = 5f;
void Update()
{
Vector3 direction = ha... |
Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs | yrooban/UIAutomation | 0 | 7057189 | <reponame>yrooban/UIAutomation<gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.Dynamics365.UIAutomation.Browser;
using OpenQA.Selenium;
using System;
namespace Microsoft.Dynamics365.UIAutomation.Api.UCI
{
public class QuickCreate : Element... |
src/AudioAnalysisTools/LongDurationSpectrograms/Zooming/SpectrogramZoomingConfig.cs | MazenImadJaber/audio-analysis | 0 | 7057190 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SpectrogramZoomingConfig.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (for... |
Assembly-CSharp/BuildingDestructionScript.cs | larryeedwards/openyan | 1 | 7057191 | <reponame>larryeedwards/openyan
using System;
using UnityEngine;
// Token: 0x0200034C RID: 844
public class BuildingDestructionScript : MonoBehaviour
{
// Token: 0x06001797 RID: 6039 RVA: 0x000BAD38 File Offset: 0x000B9138
private void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
this.Phase++;
this.... |
CookieTypes/ICookieType.cs | EtchUK/Etch.OrchardCore.CivicCookieControl | 0 | 7057192 | <gh_stars>0
using Newtonsoft.Json.Linq;
using OrchardCore.ContentManagement;
namespace Etch.OrchardCore.CivicCookieControl.Cookies
{
public interface ICookieType
{
string ContentType { get; }
JToken ToJson(ContentItem contentItem);
}
}
|
Assets/Plugins/Socket/Newtonsoft.Json/Serialization/MemoryTraceWriter.cs | Rocher0724/quobject_unity_socket | 96 | 7057193 | <filename>Assets/Plugins/Socket/Newtonsoft.Json/Serialization/MemoryTraceWriter.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
namespace Socket.Newtonsoft.Json.Serialization {
public class MemoryTraceWriter : ITraceWriter
{
private re... |
VNTextPatch.Shared/Util/ProportionalWordWrapper.cs | xenei/VNTranslationTools | 41 | 7057194 | using System;
using System.Collections.Generic;
using System.Configuration;
namespace VNTextPatch.Shared.Util
{
internal class ProportionalWordWrapper : WordWrapper, IDisposable
{
public static readonly ProportionalWordWrapper Default =
new ProportionalWordWrapper(
Configur... |
Src/ApiGateways/ApiGateways.Api/Extensions/OcelotExtension.cs | RezaJenabi/Ecommerce | 2 | 7057195 | using IdentityServer4.AccessTokenValidation;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using Sys... |
src/AElf.Management/ManagementOptions.cs | quangdo3112/AElf | 1 | 7057196 | <reponame>quangdo3112/AElf
using System.Collections.Generic;
namespace AElf.Management
{
public class ManagementOptions
{
public string DeployType { get; set; }
public int MonitoringInterval { get; set; }
public Dictionary<string, ServiceUrl> ServiceUrls { get; set; }
}
pub... |
Samples/Samples/Samples/Graphics/Misc/01-WeightedBlendedOITSample/WeightedBlendedOITSample.cs | Drul1337/DigitalRune | 234 | 7057197 | <filename>Samples/Samples/Samples/Graphics/Misc/01-WeightedBlendedOITSample/WeightedBlendedOITSample.cs
using DigitalRune.Geometry;
using DigitalRune.Graphics.SceneGraph;
using DigitalRune.Linq;
using DigitalRune.Mathematics.Algebra;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Sampl... |
Html5/Events/ProgressEvent.cs | fabriciomurta/BridgeUnified | 3 | 7057198 | using Bridge;
namespace Bridge.Html5
{
/// <summary>
/// The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link&... |
morphology/Legacy/TreeDictionaries/link_list_t.cs | zamgi/lingvo--PosTagger_ru | 7 | 7057199 | using System;
using System.Collections;
using System.Collections.Generic;
namespace lingvo.morphology
{
/// <summary>
///
/// </summary>
internal sealed class link_list_t< T > : IEnumerable< T >
where T : struct
{
public link_list_t()
{
}
public link_list_t... |
Assets/4DVFXProject/RoyAndMao/Script/Playable/MidiFloatPlayableBehaviour.cs | supertask/4DVFXProject | 5 | 7057200 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VFX;
using UnityEngine.Rendering;
using UnityEngine.Playables;
using Klak.Motion;
using Cinema.PostProcessing;
namespace VFXProject4D
{
// A behaviour that is attached to a playable
public class MidiFloatPlayab... |
src/Plethora.Data/SqlClient/SqlExceptionTester.cs | mikebarker/Plethora.NET | 2 | 7057202 | using System;
using System.Data.SqlClient;
namespace Plethora.Data.SqlClient
{
public class SqlExceptionTester : IExceptionTester
{
public static Random random = new Random();
public bool TestForRetry(Exception exception, out TimeSpan waitTime)
{
waitTime = Time... |
Hospital_ERP_VS13-WCF_WF/AH.APMS/frmApmsTest/Form1.Designer.cs | atiq-shumon/DotNetProjects | 0 | 7057203 | <reponame>atiq-shumon/DotNetProjects<filename>Hospital_ERP_VS13-WCF_WF/AH.APMS/frmApmsTest/Form1.Designer.cs<gh_stars>0
namespace frmApmsTest
{
partial class frmApms
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer component... |
src/ProductScanner.Backend/ProductScanner.Gateway/Events/ImagePreprocessingResultEventEntry.cs | konraddysput/ProductScanner | 5 | 7057204 | using System.Collections.Generic;
namespace ProductScanner.Gateway.Events
{
public class ImagePreprocessingResultEventEntry
{
public int Id { get; set; }
public Dictionary<string, string> Data { get; set; }
public List<string> Types { get; set; }
}
}
|
KinectTest2/KinectTest2/SkeletonModules/HeadTrackingModule.cs | mnivet/cen-info-kinect | 0 | 7057205 | namespace KinectTest2.SkeletonModules
{
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using Microsoft.Kinect;
public class HeadTrackingModule : ISkeletonModule
{
private readonly Ellipse ... |
src/DSharp.CodeAnalysis.Test/ScriptIgnoreGenericArgumentsAttributeMissingRuleTests.cs | strofimo/dsharp | 0 | 7057206 | using DSharp.CodeAnalysis;
using DSharp.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace DSharp.Test
{
// 1. Check for Attribute usages and test ... |
Nfc/iOS/Nfc.cs | spyd-co/Xamarinme | 3 | 7057207 | <reponame>spyd-co/Xamarinme
using CoreFoundation;
using CoreNFC;
using Foundation;
using NdefLibrary.Ndef;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
//https://forums.xamarin.com/discussion/17077... |
Reality.Gateway/Startup.cs | gspalato/reality | 1 | 7057208 | using Hangfire;
using Hangfire.Mongo;
using Hangfire.Mongo.Migration.Strategies;
using Hangfire.Mongo.Migration.Strategies.Backup;
using Reality.Common.Configurations;
using Reality.Common.Data;
using Reality.Gateway.Configurations;
using System.Reflection;
namespace Reality.Gateway
{
public class Startup
{
... |
partner-adapter-codes/unity/unity-sampleapp/UnityInMobiPluginProject/Assets/InMobiAds/Editor/ThirdParty/xcodeapi/PBXProject.cs | InMobi/sdk-partners-code | 0 | 7057209 | using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System;
using InMobiAds.Editor.ThirdParty.xcodeapi.PBX;
namespace InMobiAds.Editor.ThirdParty.xcodeapi
{
using PBX;
using PBXBuildFileSection = KnownSectionBase<PBXBuildFile>;
using P... |
UMI3D-Browser-Desktop/Assets/UMI3D SDK/ClientDevelopmentKit/Core/Dependencies/AsImpL/Scripts/MathUtil/MathData/Triangle.cs | Gfi-Innovation/UMI3D-Desktop-Browser | 176 | 7057210 | namespace AsImpL.MathUtil
{
/// <summary>
/// Triangle data structure.
/// </summary>
/// <seealso cref="Vertex"/>
public class Triangle
{
public Vertex v1;
public Vertex v2;
public Vertex v3;
public Triangle(Vertex v1, Vertex v2, Vertex v3)
{
... |
GameLogic/PathFinding/GraphSearch.cs | HLSW/DeltaEngine | 81 | 7057211 | <reponame>HLSW/DeltaEngine
using System;
using System.Collections.Generic;
namespace DeltaEngine.GameLogic.PathFinding
{
/// <summary>
/// Base class for path finding, currently only AStarSearch is supported and used.
/// </summary>
public abstract class GraphSearch
{
public abstract bool Search(Grap... |
src/EdFi.SampleDataGenerator.Core/Serialization/CsvHelper/EducationOrganization/EducationOrganizationIdentificationSystemDescriptorReferenceTypeCsvClassMap.cs | jamessmckay/Ed-Fi-SampleDataGenerator | 1 | 7057212 | using CsvHelper.Configuration;
using EdFi.SampleDataGenerator.Core.Entities;
namespace EdFi.SampleDataGenerator.Core.Serialization.CsvHelper.EducationOrganization
{
public sealed class EducationOrganizationIdentificationSystemDescriptorReferenceTypeCsvClassMap : CsvClassMap<EducationOrganizationIdentificationSyste... |
Elide/Elide.CodeEditor/Infrastructure/IReferenceResolver.cs | vorov2/ela | 18 | 7057213 | using System;
using Elide.Core;
namespace Elide.CodeEditor.Infrastructure
{
public interface IReferenceResolver<out T> where T : IReference
{
ICompiledUnit Resolve(IReference reference, params ExtendedOption[] options);
IApp App { get; set; }
}
}
|
src/SGS/SGS/Components/Sprites/SpriteSheet.cs | vitormoura/game-sgs_lab | 0 | 7057214 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using SGS.Components.Scenes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGS.Components.Sprites
{
public class SpriteSheet... |
Route4MeSDKLibrary/DataTypes/SetGpsResponse.cs | dameeks/route4me-csharp-sdk | 7 | 7057215 | <filename>Route4MeSDKLibrary/DataTypes/SetGpsResponse.cs
using System.Runtime.Serialization;
namespace Route4MeSDK.DataTypes
{
/// <summary>
/// Response for the GPS setting request.
/// </summary>
[DataContract]
public sealed class SetGpsResponse
{
/// <summary>
/// Status of ... |
Dtos/CurrenciesReadDto.cs | jasantaella15/ExchangeRatesApi | 0 | 7057216 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ExchangeRateApi.Dtos
{
public class CurrenciesReadDto
{
public List<string> Currencies { get; set; }
}
} |
GifDirectEditor/GifWrapperCtrls/GifPartLwzImageCtrl.cs | TheNeoBurn/GifWrapper | 0 | 7057218 | <reponame>TheNeoBurn/GifWrapper<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace BjSTools.IO.GifWrapperCtrls {
public partial class GifPartLwzImageC... |
src/Data/Migrations/IdentityServer/PersistedGrants/PersistedGrantDbContextModelSnapshot.cs | Bastille-ID/Bastille.Id.Core | 0 | 7057219 | // <auto-generated/>
/*
* Bastille.ID Identity Server
* (c) Copyright Talegen, LLC.
*
* 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
* Un... |
Core/Orders/IOrderFlowFeedConsumer.cs | LykkeCity/MarketPlace | 1 | 7057220 | <gh_stars>1-10
using System.Threading.Tasks;
namespace Core.Orders
{
public enum BookOrderType
{
Bid,
Ask
}
public class LimitOrderBookItem
{
public double Volume { get; set; }
public double Rate { get; set; }
public BookOrderType Type { get; set; }
}
... |
Editor/Models/RSI/RsiItem.cs | metalgearsloth/RSIEdit | 0 | 7057221 | using Importer.RSI;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
namespace Editor.Models.RSI
{
public class RsiItem
{
public RsiItem(Rsi? rsi = null)
{
Rsi = rsi ?? new Rsi();
}
public Rsi Rsi { get; }
public RsiSize Size => Rsi.Siz... |
MsSql/FilesManager.cs | paranoid-software/ephemeral | 0 | 7057222 | <gh_stars>0
using System.IO;
namespace paranoid.software.ephemeral.MsSql
{
public interface IFilesManager
{
string ReadAllText(string filePath);
}
public class FilesManager: IFilesManager
{
public string ReadAllText(string filePath)
{
return File.ReadAllText(filePath);
}
}
} |
src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/JavaScriptString.cs | benjamin-bader/corefx | 0 | 7057223 | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Globalization;
using System.Text;
namespace System.Runtime.Serialization.Js... |
Assets/Scripts/AIBehaviour.cs | onildoaguiar/hackathon-digit-gaming-challenge | 1 | 7057224 | using UnityEngine;
public class AIBehaviour : MonoBehaviour
{
private PlatformerCharacter2D character;
const int right = 1;
const int left = -1;
private int moveDirection = right;
// Use this for initialization
void Start()
{
character = FindObjectOfType<PlatformerCharacter2D>();... |
Source/AndroidManager/ConfigLoader.cs | mortend/fuse-studio | 324 | 7057225 | using Newtonsoft.Json;
using Outracks.IO;
using Uno.Configuration;
namespace Outracks.AndroidManager
{
public class ConfigLoader
{
readonly IFileSystem _fs;
readonly AbsoluteFilePath _configPath;
public ConfigLoader(IFileSystem fs)
{
_fs = fs;
_configPath = AbsoluteFilePath.Parse(UnoConfig.Current.Ge... |
DacII/WinForms/DbSync/FrmBackup.Designer.cs | cschen1205/myob-accounting-plugin | 0 | 7057226 | namespace DacII.WinForms.DbSync
{
partial class FrmBackup
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
backend/Reusable/CRUD/Entities/Role.cs | JFigue27/MRO-Generated | 0 | 7057227 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Reusable
{
[Table("Role")]
public class Role : BaseEntity
{
public Role()
{
///Start:Generated:Constructor<<<
///End:Generated... |
Python/Product/PythonTools/PythonTools/LanguageServerClient/CustomCancellationStrategy.cs | techkey/PTVS | 404 | 7057228 | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... |
Kroeg.ActivityPub/ClientToServer/UpdateDeleteActivityHandler.cs | Cosmic-Chimps/timon-activity-pub | 1 | 7057229 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Kroeg.ActivityStreams;
using Kroeg.EntityStore.Models;
using Kroeg.EntityStore.Store;
using Kroeg.Services;
using Kroeg.EntityStore.Services;
namespace Kroeg.ActivityPub.ClientToServer
... |
tests/MongoDB.Bson.TestHelpers/JsonDrivenTests/JsonDrivenHelper.cs | rccampbe/mongo-csharp-driver | 2,208 | 7057230 | /* Copyright 2018-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
BlocksHero/Core/Board.cs | LeoDT/BlocksHero | 0 | 7057231 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using BlocksHero.Tiles;
namespace BlocksHero.Core
{
public class Board
{
public BoardType Type { get; private set; }
public Guid Id { get; private set; }
public TileGroup TileGroup { get; set; }
p... |
Commands/Branding/SetMinimalDownloadStrategy.cs | DeanGross/PnP-PowerShell | 1 | 7057232 | using System;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
using Resources = OfficeDevPnP.PowerShell.Commands.Properties.Resources;
namespace OfficeDevPnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Set, "SPOMinimalDownloadStrategy")]
... |
Assets/ZenToolset/Singleton/Scripts/Singleton.cs | Nichii/ZenToolset | 2 | 7057233 | <filename>Assets/ZenToolset/Singleton/Scripts/Singleton.cs
using UnityEngine;
namespace ZenToolset
{
/// <summary>
/// Makes sure there's only one instance of this script running at the same time. Inherit from this script to create a new singleton
/// </summary>
/// <typeparam name="T"></typeparam>
... |
UnitOfWork/UnitOfWork.Repository.EF/ModelDB.Context.cs | VukTheBeast/UnitOfWork | 0 | 7057234 | <filename>UnitOfWork/UnitOfWork.Repository.EF/ModelDB.Context.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual ch... |
Server/MothershipWCFService/Logic/CommDigest.cs | maurolaurent/Mothership | 0 | 7057235 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MothershipLibrary;
using MothershipLibrary.DataModels;
namespace MothershipWCFService.Logic
{
public class CommDigest
{
internal static bool EstablishCommunication(stri... |
MVCDashboard.MVC.UI/Controllers/ReleaseController.cs | jonathanody/MVCDashboard | 0 | 7057236 | <filename>MVCDashboard.MVC.UI/Controllers/ReleaseController.cs
using System;
using System.Web.Mvc;
using MVCDashboard.Domain.Abstract;
using MVCDashboard.Domain.Entities;
using MVCDashboard.UI.MVC.Models;
using MVCDashboard.UI.MVC.ActionFilters;
using MVCDashboard.UI.MVC.Helpers.ExtensionMethods;
using StructureMap;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.