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/Ocelot.OrleansHttpGateway/Requester/Interface/IGrainFactoryProxy.cs | ishowfun/Ocelot.OrleansHttpGateway | 33 | 7039284 | <filename>src/Ocelot.OrleansHttpGateway/Requester/Interface/IGrainFactoryProxy.cs
using Orleans;
using System;
using System.Collections.Generic;
using System.Text;
namespace Ocelot.OrleansHttpGateway.Requester
{
public interface IGrainFactoryProxy : IGrainFactory
{
}
}
|
Assets/Sprites/2D Cartoon Missiles/Scripts/MissileMove.cs | SikanaAli/Deserter-2D-Project-Files | 0 | 7039285 | <reponame>SikanaAli/Deserter-2D-Project-Files
using UnityEngine;
using System.Collections;
public class MissileMove : MonoBehaviour
{
void Start()
{
transform.GetChild(0).GetComponent<ParticleEmitter>().emit = true;
}
void FixedUpdate()
{
transform.Translate(0, 0.1f, 0);
t... |
src/HotChocolate/Language/src/Language.Utf8/DocumentHashProviderBase.cs | inmark92/hotchocolate | 3 | 7039286 | <reponame>inmark92/hotchocolate
using System;
using System.Buffers;
namespace HotChocolate.Language;
public abstract class DocumentHashProviderBase
: IDocumentHashProvider
{
internal DocumentHashProviderBase(HashFormat format)
{
Format = format;
}
public abstract string Name { get; }
... |
Source/Frameworks/HashLib/HashLib/Hash.cs | vrenken/EtAlii.Ubigia | 2 | 7039287 | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;
// ReSharper disable all
#pragma warning disable CA2208 // External file, for now no need to cleanup.
namespace HashLib
{
internal abstract class Hash : IHash
{
public static int BUFFER_SIZE = 64 ... |
src/CsGoRound.cs | wischi-chr/csgotvsux | 0 | 7039289 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace csgotvsux
{
public class CsGoRound
{
public bool IsWarmup { get; private set; }
public int StartTick { get; private set; }
public int EndTick { get; private set; }
public IEnumerable... |
libshade.server.nierian-api/NierianKey.cs | miyu/libalby | 1 | 7039291 | using System.Security.Cryptography.X509Certificates;
using Shade.Server.Accounts;
namespace Shade.Server.Nierians
{
public interface NierianKey
{
string ShardId { get; }
uint AccountId { get; }
uint NierianId { get; }
}
} |
DocMAH/Adapters/IDebugger.cs | Milyli/DocMAH | 6 | 7039293 | using System;
using System.Collections.Generic;
using System.Linq;
namespace DocMAH.Adapters
{
public interface IDebugger
{
bool IsAttached { get; }
}
}
|
TTCMS.Web/Areas/TT_Admin/Controllers/HomeController.cs | thuongaptech/TTCMS | 0 | 7039294 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TTCMS.Areas.TT_Admin.CustomAttributes;
namespace TTCMS.Web.Areas.TT_Admin.Controllers
{
public class HomeController : BaseController
{
// GET: TT_Admin/Home
[AuthorizeUser(FunctionI... |
Source/Microsoft.Teams.Apps.Celebration/Helpers/ConnectorClientFactory.cs | gssoares/onboarding | 19 | 7039295 | // <copyright file="ConnectorClientFactory.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Celebration.Helpers
{
using System;
using System.Collections.Concurrent;
using Microsoft.Bot.Connector;
/// <summary>
/// Factory for... |
UNITY/LoadSceneAtLaunch/LaunchSpecificSceneShortcut.cs | XanTiuM-Dev/kiwi-dev | 6 | 7039296 | <filename>UNITY/LoadSceneAtLaunch/LaunchSpecificSceneShortcut.cs
using UnityEditor;
using UnityEditor.SceneManagement;
[InitializeOnLoad]
public static class LaunchSpecificSceneShortcut
{
private string defaultScenePath = "Assets/1_Scenes/Splash_Scene.unity" // SET YOUR SCENE PATH HERE
// click command-0 to go ... |
src/MvcRouteTester.AttributeRouting.Test/Controllers/WithAreaController.cs | AnthonySteele/MvcRouteTester | 63 | 7039297 | <gh_stars>10-100
using System.Web.Mvc;
namespace MvcRouteTester.AttributeRouting.Test.Controllers
{
[RouteArea("FooArea")]
public class WithAreaController : Controller
{
[Route("Index")]
public ActionResult Index()
{
return new EmptyResult();
}
}
}
|
src/Perpetuum/Services/Relay/ServerMessageType.cs | jeffmaley/PerpetuumServer | 46 | 7039298 | <gh_stars>10-100
namespace Perpetuum.Services.Relay
{
/// <summary>
/// Server message types
/// </summary>
public enum ServerMessageType
{
maintenance,
gameMaster,
deathMatch,
}
} |
src/Serialization/WeightComponent.cs | Hashuuro/Fusee | 0 | 7039300 | <gh_stars>0
using System.Collections.Generic;
using Fusee.Math.Core;
using ProtoBuf;
namespace Fusee.Serialization
{
/// <summary>
/// Defines a weight map. Basically a table with a row for each vertex and a column for each bone
/// controlling the geometry.
/// </summary>
[ProtoContract]
pub... |
Assets/Scripts/Monster/Behaviours/AttackBehaviour.cs | AshelCloud/Project-I | 0 | 7039301 | <filename>Assets/Scripts/Monster/Behaviours/AttackBehaviour.cs
using UnityEngine;
namespace Monster
{
public class AttackBehaviour : StateMachineBehaviour
{
public int AttackTrigger = 1;
[MinMaxRange(0f, 1f)]
public RangeFloat AttackActivation = new RangeFloat(0f, 1f);
privat... |
ProtoSDK/FileAccessService/Types.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7039302 | <gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Net;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService
{
///... |
src/Amg.Build.Tests/FileSystem/FileSystemExtensionsTests.cs | sidiandi/Amg.Build | 0 | 7039303 | using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Amg.Extensions;
using Amg.Build;
namespace Amg.FileSystem
{
[TestFixture]
public class FileSystemExtensionsTests : TestBase
{
... |
src/TikaOnDotNet.Tests/stream_text_extraction.cs | tdwright/tikaondotnet | 157 | 7039304 | using System;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
using org.apache.tika.io;
using TikaOnDotNet.TextExtraction;
using TikaOnDotNet.TextExtraction.Stream;
namespace TikaOnDotNet.Tests
{
[TestFixture]
public class stream_text_extraction
{
private StreamTextExtractor _cut;
... |
GininDev.Common.DataTools/Helpers/XmlHelper.cs | GininDev/ServicesInforCollector | 2 | 7039305 | <reponame>GininDev/ServicesInforCollector
using System.IO;
using System.Text.RegularExpressions;
namespace GininDev.Common.DataTools.Helpers
{
public class XmlHelper
{
public const string RecPath = "/Config/Properties[@name='Application']/Property[@name='Protocol_Transfer']";
public co... |
IM_PJ/Controllers/BankAccountController.cs | phanhoanganh9x/ANNsys | 0 | 7039306 | <filename>IM_PJ/Controllers/BankAccountController.cs<gh_stars>0
using IM_PJ.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI.WebControls;
namespace IM_PJ.Controllers
{
public class BankAccountController
{
public static List<ListItem> getDropDownList()
... |
PSO2emergencyGetter/myFunction.cs | Riunia/PSO2emergencyGetter | 0 | 7039307 | <reponame>Riunia/PSO2emergencyGetter<filename>PSO2emergencyGetter/myFunction.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace PSO2emergencyGetter
{
static class myFunction //クラスにするほどでもない関数群
{
static public long convertToUnixTime(Date... |
stubby/Properties/AssemblyInfo.cs | gwilson2151/stubby4net | 0 | 7039308 | <reponame>gwilson2151/stubby4net<gh_stars>0
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("stubby4net")]
[assembly: AssemblyDescription("A small server for stubbing external systems during development.")]
[assembly: AssemblyCompany("<NAME>... |
Assets/Plugins/com.unity.mathematics@0.0.12-preview.13/Unity.Mathematics/bool3x3.gen.cs | pCYSl5EDgo/Unity1Week_P1145141919 | 2 | 7039309 | <reponame>pCYSl5EDgo/Unity1Week_P1145141919
// GENERATED CODE
using System;
using System.Runtime.CompilerServices;
#pragma warning disable 0660, 0661
namespace Unity.Mathematics
{
[System.Serializable]
public partial struct bool3x3 : System.IEquatable<bool3x3>
{
public bool3 c0;
public boo... |
Views/Signature/Methods.cshtml | syncfusion/aspnet-mvc-ej1-demos | 3 | 7039310 | @section SampleHeading{
<span class="sampleName">Signature-Methods-ASP.NET MVC-SYNCFUSION</span>}
@section MetaTags{
<meta name="description" content="This example demonstrates how to dynamically customize the Syncfusion ASP.NET MVC Essential JS 1 Signature component.">
}
@section ControlsSection{
<div clas... |
ZM/Generator/Extentions/HeaderTemplate.cs | bombomby/zmeya-gen | 0 | 7039311 | using ZM.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZM.Generator
{
public partial class HeaderTemplate
{
public TemplateContext Context { get; set; }
public String GenerateIncludeStatement(String includ... |
Runtime/iShape/Geometry/Container/PathLayout.cs | iShapeUnity/iGeometry | 0 | 7039312 | <reponame>iShapeUnity/iGeometry<gh_stars>0
using UnityEngine;
namespace iShape.Geometry.Container {
[System.Serializable]
public struct PathLayout {
public int begin;
public int length;
[SerializeField]
private byte clockWise;
public bool isClockWise => this.cl... |
src/XFiler/Pages/DispatcherPage/ViewModels/BookmarksDispatcherPageModel.cs | VSS-DEV/X-Filer | 19 | 7039313 | namespace XFiler.DispatcherPage;
internal sealed class BookmarksDispatcherPageModel : BasePageModel
{
public IBookmarksManager BookmarksManager { get; }
public BookmarksDispatcherPageModel(IBookmarksManager bookmarksManager)
{
Init(typeof(BookmarksDispatcherPage), SpecialRoutes.BookmarksDispatche... |
src/Unitest.Sample/User.cs | FedorV/Unitest | 0 | 7039314 | using System.Collections.Generic;
namespace Unitest.Sample
{
public class User
{
public string Name { get; set; }
public IEnumerable<string> AccountNumbers { get; set; }
}
} |
build.cake | jzeferino/Xamarin.LinkedIn | 12 | 7039316 | <reponame>jzeferino/Xamarin.LinkedIn<filename>build.cake
#addin nuget:?package=Cake.SemVer&loaddependencies=true
// Enviroment
var isRunningBitrise = Bitrise.IsRunningOnBitrise;
var isRunningOnWindows = IsRunningOnWindows();
// Arguments.
var target = Argument("target", "Default");
var iOSOutputDirectory = "bin/iPhon... |
Cogs.ActiveQuery.Tests/ActiveEnumerableExtensions/ActiveConcat.cs | Epiforge/Cogs | 6 | 7039318 | <filename>Cogs.ActiveQuery.Tests/ActiveEnumerableExtensions/ActiveConcat.cs
namespace Cogs.ActiveQuery.Tests.ActiveEnumerableExtensions;
[TestClass]
public class ActiveConcat
{
[TestMethod]
public void DifferentSynchronizationContexts()
{
var invalidThrown = false;
var left = TestPerson.Cre... |
Source/Compiler/CodeAnalysis/Syntax/Expression/LiteralExpressionSyntax.cs | WaifuShork/Compiler | 0 | 7039319 | <gh_stars>0
using System.Collections.Generic;
namespace Compiler.CodeAnalysis.Syntax.Expression
{
//Just a literal expression, it has a token, and that's it!
internal sealed class LiteralExpressionSyntax : ExpressionSyntax
{
public LiteralExpressionSyntax(SyntaxToken literalToken)
: t... |
src/RhythmUI/RhythmUI/TitleBlocksUi.cs | bjkgdnorg/RhythmForDynamo | 48 | 7039320 | using System.Collections.Generic;
using System.Linq;
using Autodesk.Revit.DB;
using CoreNodeModels;
using DSRevitNodesUI;
using Dynamo.Graph.Nodes;
using Dynamo.Utilities;
using Newtonsoft.Json;
using ProtoCore.AST.AssociativeAST;
using RevitServices.Persistence;
namespace RhythmUI
{
[NodeName("Titleblock Types")... |
Sustainsys.Saml2/WebSSO/LogOutCommand.cs | phocassoftware/Saml2 | 1 | 7039321 | using System;
using Sustainsys.Saml2.Configuration;
using System.Security.Claims;
using System.Net;
using Sustainsys.Saml2.Saml2P;
using Sustainsys.Saml2.Exceptions;
using System.Globalization;
using System.Configuration;
using System.Linq;
using System.Security.Cryptography.Xml;
using Sustainsys.Saml2.Internal;
using... |
PlatformRacing3.Web/Responses/Procedures/DataAccessDeleteLevelResponse.cs | CoralCOasa/PlatformRacing3 | 0 | 7039322 | <reponame>CoralCOasa/PlatformRacing3
using System.Collections.Generic;
namespace PlatformRacing3.Web.Responses.Procedures
{
public class DataAccessDeleteLevelResponse : DataAccessDataResponse<bool>
{
public DataAccessDeleteLevelResponse()
{
this.Rows = new List<bool>(0);
}
... |
RailDataEngine.Services.MessageStorage/MovementMessageStorageService.cs | tomlane/RailDataEngine | 2 | 7039323 | using System;
using System.Linq;
using RailDataEngine.Domain.Gateway.TrainMovements;
using RailDataEngine.Domain.Services.MovementMessageStorageService;
namespace RailDataEngine.Services.MessageStorage
{
public class MovementMessageStorageService : IMovementMessageStorageService
{
private ITrainMoveme... |
etc/Old Unity Code/Scripts/Input/Pointers/ButtonMapper.cs | capnmidnight/Juniper | 9 | 7039324 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Juniper.Events;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Juniper.Input.Pointers
{
public class ButtonMapper<ButtonIDType>
where ButtonIDType : struct
{
public event Action<Interaction> InteractionNeeded;
... |
src/MongoDistributedCache.Tests/MongoCacheItemTests.cs | ericu109/MongoDistributedCache | 2 | 7039325 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using MongoDistributedCache.Tests.Fakes;
using Xunit;
namespace MongoDistributedCache.Tests
{
public class MongoC... |
MicroRPC.Core/ThreadSafeStackPool.cs | fengdingfeilong/MicroRPC | 2 | 7039326 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MicroRPC.Core
{
public class ThreadSafeStackPool<T>
{
private Stack<T> m_pool;
public ThreadSafeStackPool(int capacity)
{
... |
Test_Cadastro_Cliente_C_AJs/Cad_ClienteApp/Views/Home/Contact.cshtml | ViniciusFiorim/CAD_CLIENTE_C_ANGULARJS-TestForaJob | 0 | 7039327 | <gh_stars>0
@{
ViewBag.Title = "Contato";
}
<h2>@ViewBag.Title.</h2>
<address>
<NAME><br />
Criciuma, SC 88810-038<br />
<abbr title="Celular">Cel: </abbr>
(21) 9 6941 9988
</address>
<address>
<strong>Support:</strong><a href="mailto:<EMAIL>"> <EMAIL></a><br />
</address> |
build/table-of-contents.cake | nsubstitute/NSubstitute.Analyzers | 18 | 7039328 | <filename>build/table-of-contents.cake
public class TableOfContentsEntry {
public string CheckId { get; }
public string Category { get; }
public string Description { get; }
public FilePath FilePath { get; }
private static string CheckIdPattern = @"<td>CheckId<\/td>\s*<td>(?<value>[\w\s]+)<\... |
Z64Utils/Forms/DisasmSettingsForm.Designer.cs | skawo/Z64Utils | 15 | 7039329 | <reponame>skawo/Z64Utils
namespace Z64.Forms
{
partial class DisasmSettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... |
Source/VersOne.Epub/Internal/UrlParser.cs | twirpx/EpubReader | 0 | 7039330 | <reponame>twirpx/EpubReader
namespace VersOne.Epub.Internal {
internal class UrlParser {
public UrlParser(string url) {
if (url == null) {
Path = null;
Anchor = null;
} else {
int anchorCharIndex = url.IndexOf('#');
if... |
Assets/PlayMaker/Actions/UI/UiInputFieldSetSelectionColor.cs | artemistint/KoronaKiru | 3 | 7039331 | // (c) Copyright HutongGames, LLC 2010-2018. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.UI)]
[Tooltip("Sets the selection color of a UI InputField component. This is the color of the highlighter to show what characters are selected.")]
public c... |
DataStructuresAndAlgos/Graphs/NestedListWeightSumII.cs | manasa-konidena/DataStructuresAndAlgos | 0 | 7039332 | <filename>DataStructuresAndAlgos/Graphs/NestedListWeightSumII.cs
using DataStructuresAndAlgos.StringsAndArrays;
namespace DataStructuresAndAlgos.Graphs;
/// <summary>
/// TC :O(N) where N is the sum of number of integers + number of lists
/// SC : O(N) as well to have the stack space to put each of the number and lis... |
src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/FixLanguageIsoCodeLength.cs | craigs100/Umbraco-CMS | 2 | 7039333 | namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0
{
public class FixLanguageIsoCodeLength : MigrationBase
{
public FixLanguageIsoCodeLength(IMigrationContext context)
: base(context)
{ }
public override void Migrate()
{
// there is some confusion here wh... |
IngviltDataAccessLayer/Models/DataAccess/Sorting/BaseSortCriteria.cs | razan45/ingvilt-dal | 1 | 7039334 | using System.Collections.Generic;
namespace Ingvilt.Models.DataAccess.Sorting {
public abstract class BaseSortCriteria {
private bool Ascending;
private string GetAscendingString() {
return Ascending ? "" : "DESC";
}
public BaseSortCriteria(bool ascending) {
... |
TopGearApi/Models/BaseRequest.cs | cayodonatti/TopGearApi | 3 | 7039335 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace TopGearApi.Models
{
public class BaseRequest
{
[Required]
public string Token { get; set; }
}
} |
Assets/Scripts/EnclosureGenerator/GenerateEnclosureFromFile.cs | kbnealy/OpenMaze | 8 | 7039336 | using data;
using UnityEngine;
using wallSystem;
using Debug = UnityEngine.Debug;
using DS = data.DataSingleton;
using L = main.Loader;
public class GenerateEnclosureFromFile : MonoBehaviour
{
// Use this for initialization
private void Start()
{
var m = L.Get().CurrTrial.trialData.Map;
v... |
Microsoft.Phone.Controls.Toolkit/ApplicationBarSubmenu/FullScreenPopup.cs | Kinnara/WPToolkit | 22 | 7039337 | <reponame>Kinnara/WPToolkit
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using System.Windows.Navigation;
namespace Microsoft.Phone.Controls
{
internal cl... |
Toolshed.Audit/TableEntities/AuditActivityHistory.cs | tbasallo/toolshed.audit | 0 | 7039338 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Azure.Cosmos.Table;
namespace Toolshed.Audit
{
public class AuditActivityHistory : TableEntity
{
public AuditActivityHistory() { }
public AuditActivityHistory(DateTimeOffset activityOn, string userId... |
Music/SongInfo.cs | yaren-kasimoglu/Music | 1 | 7039339 | using System;
using System.Drawing;
using System.IO;
using System.Linq;
namespace Music
{
public class SongInfo
{
#region constructor
public static readonly Image ImageDefault = Properties.Resources.myMusic;
internal SongInfo(string filePath) { this.file = TagLib.File.Create(file... |
Assets/Scripts/PlayerMove.cs | Jose-Manuel-Hernandez-Malagon-98/VideoJuego2D | 1 | 7039340 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
public float runSpeed=2;
public float jumpSpeed = 5;
Rigidbody2D rb2D;
public bool betterJump = false;
public float fallMultiplier = 0.5f;
public float lowJumpMultiplier =... |
SDKs/Aspose.Slides-Cloud-SDK-for-.NET/slides.cs | mudassirfayyaz/Aspose.Slides-for-Cloud | 0 | 7039341 | <reponame>mudassirfayyaz/Aspose.Slides-for-Cloud
using System;
using System.Collections.Generic;
using System.Text;
using Com.Aspose.Slides.Api;
using Com.Aspose.Storage.Api;
using Com.Aspose.Slides.Model;
namespace AsposeSlides
{
class slides
{
public static void Main(String[] args)
{
... |
src/IRTaktiks/IRTaktiks/Components/Manager/TextureManager.cs | schalleneider/irtaktiks | 1 | 7039342 | <reponame>schalleneider/irtaktiks<gh_stars>1-10
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Fr... |
src/TagHelperWebApp/Views/Default/Index.cshtml | ichiroku11/dotnet-sample | 0 | 7039343 | <reponame>ichiroku11/dotnet-sample<filename>src/TagHelperWebApp/Views/Default/Index.cshtml<gh_stars>0
@using Microsoft.AspNetCore.Html
@using TagHelperWebApp.TagHelpers
@{
ViewBag.Title = "Index";
}
<div class="row mt-1">
<div class="col">
<h4>@nameof(IfTagHelper)</h4>
<span if="true">true</span>
<span... |
TfsEssentials2013/ViewModels/BranchDropDownViewModel.cs | ChristopherHaws/TfsEssentials2013 | 0 | 7039345 | <reponame>ChristopherHaws/TfsEssentials2013
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Input;
using Microsoft.TeamFoundation.Controls.WPF.TeamExplorer;
using Microsoft.TeamFoundation.MVVM;
using Spiral.TfsEssentials.Models;
using Spiral.TfsEssentials.Providers;
namespace Spira... |
Cedita.Payroll/Calculation/NationalInsurance/NationalInsurance2015.cs | kurt-hardy/Cedita.Payroll | 0 | 7039346 | <gh_stars>0
// Copyright (c) Cedita Ltd. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the solution root for license information.
using Cedita.Payroll.Abstractions;
using Cedita.Payroll.Configuration;
using System;
namespace Cedita.Payroll.Calculation.NationalInsurance
{
... |
Assets/Scripts/NodeManager.cs | Nisew/FarmingDefense | 0 | 7039347 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class NodeManager : MonoBehaviour
{
public static NodeManager instance;
Renderer rend;
public GameObject turret;
GameObject nodeTurret;
void Awake()
{
instance = this;... |
src/Configuration/src/EInfrastructure.Core.Configuration/Ioc/Plugs/Storage/Dto/Storage/ExpireResultDto.cs | Sky-nt/System.Extension.Core | 96 | 7039348 | <gh_stars>10-100
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Dto.Storage
{
/// <summary>
///
/// </summary>
public class ExpireResultDto: ... |
Shimterface.Tests/FieldShimTests.cs | IFYates/Shimterface | 2 | 7039349 | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Shimterface.Tests
{
[TestClass]
public class FieldShimTests
{
public interface IGetFieldTest
{
long LValue { get; }
string RValue { get; }
}
public interface ISetFieldTest
{
long LValue { set; }
string ... |
RaiseAndConsumeEventsExample/RaiseAndConsumeEventsExample/Counter.cs | ejrach/my-various-csharp-projects | 0 | 7039350 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RaiseAndConsumeEventsExample
{
class Counter
{
//Step 2:
//Define the event handler in the class which will raise the event.
//This will define the name of the ... |
VWG.Community.FormsTest/Helper/EChartsDataHelper.cs | paulusyeung/VWG.Community | 0 | 7039351 | <filename>VWG.Community.FormsTest/Helper/EChartsDataHelper.cs
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using VWG.Community.Forms.Helper;
using VWG.Community.Forms.Model.ECharts;
... |
pgscan/DependencyScanner.cs | jpeirson/pgscan | 0 | 7039352 | <reponame>jpeirson/pgscan<gh_stars>0
using System.Collections.Generic;
namespace Inedo.DependencyScan
{
public abstract class DependencyScanner
{
protected DependencyScanner()
{
}
public string SourcePath { get; set; }
public abstract IReadOnlyCollection<Project> Reso... |
APISpec/gen/src/HETSAPI/Controllers/EquipmentTypeController.cs | rstens/hets | 0 | 7039353 | /*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... |
src/Actions/Inform/Commands.cs | JeremyTHolland/WheelMUD | 0 | 7039355 | <gh_stars>0
//-----------------------------------------------------------------------------
// <copyright file="Commands.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// </cop... |
Assets/Until/Modules/GameMaster/Scripts/GameAffairIdentifier.cs | fullmoonhalf/until | 0 | 7039356 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using until.system;
namespace until.modules.gamemaster
{
public class GameAffairIdentifier : Identifier<GameAffairIdentifier>
{
#region Properties
public string Expression { get... |
Classes/Network/DownloadFromUrlStep.cs | RockTomate/Steps | 4 | 7039357 | using System;
using System.IO;
using System.Collections;
using UnityEngine.Networking;
using HardCodeLab.RockTomate.Core.Data;
using HardCodeLab.RockTomate.Core.Steps;
using HardCodeLab.RockTomate.Core.Logging;
using HardCodeLab.RockTomate.Core.Attributes;
namespace HardCodeLab.RockTomate.Steps
{
[StepDescription... |
aspnet-core/src/group5/Group5.SE347.L11_HelloWork.Application/Services/Skills/Dto/CreateSkillDto.cs | hahpuc/HelloWork-Website | 0 | 7039358 | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SE347.L11_HelloWork.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Group5.SE347.L11_HelloWork.Application.Services.Skills.Dto
{
[AutoMapTo(typeof(Skill))]
public... |
src/Core/Core/DependencyChain.cs | edespong/licence-inspector | 1 | 7039359 | <reponame>edespong/licence-inspector
using System.Collections.Generic;
using System.Diagnostics;
namespace LicenseInspector
{
[DebuggerDisplay("[DependencyChain] {Package.Id} ({Dependencies.Count})")]
public class DependencyChain<TPackage> where TPackage : AnalyzedPackage
{
public static readonly ... |
RuriLib/Models/Blocks/LoliCodeBlockDescriptor.cs | aa1961aa/OpenBullet2 | 565 | 7039360 | namespace RuriLib.Models.Blocks
{
public class LoliCodeBlockDescriptor : BlockDescriptor
{
public LoliCodeBlockDescriptor()
{
Id = "loliCode";
Name = "LoliCode";
Description = "This block can hold a LoliCode script";
Category = new BlockCategory
... |
Tools/Correspondence.Factual/AST/NativeTypeAtLine.cs | michaellperry/Correspondence | 0 | 7039361 | using System;
using Correspondence.Factual.AST;
namespace Correspondence.Factual.AST
{
public class NativeTypeAtLine
{
private readonly NativeType _nativeType;
private readonly int _lineNumber;
public NativeTypeAtLine(NativeType nativeType, int lineNumber)
{
_native... |
Client/Assets/Scripts/Filler.cs | nidaynere/easymoba | 56 | 7039362 | <reponame>nidaynere/easymoba
/*!
@author EasyMOBA <<EMAIL>>
@lastupdate 16 February 2018
*/
using UnityEngine;
using UnityEngine.UI;
public class Filler : MonoBehaviour
{
public Image _image;
public float speed = 5;
public float startingValue = 1f;
// Use this for initialization
void Awake ()
{
... |
src/CookBook.DAL.Web/Repositories/RecipeRepository.cs | jasho/wug-blazor-pwa | 0 | 7039363 | <reponame>jasho/wug-blazor-pwa
using CookBook.Models;
namespace CookBook.DAL.Web.Repositories
{
public class RecipeRepository : RepositoryBase<RecipeDetailModel>
{
public override string TableName { get; } = "recipes";
public RecipeRepository(LocalDb localDb)
: base(localDb)
... |
Cult.Toolkit/ComponentExtensions.cs | dotnet-toolbelt/Cult | 23 | 7039364 | using System.ComponentModel;
namespace Cult.Toolkit.ExtendedComponent
{
public static class ComponentExtensions
{
public static bool IsInDesignMode(this IComponent target)
{
var site = target.Site;
return site != null && site.DesignMode;
}
public static... |
EventEmitter.Semantic/SentimenClassifier.cs | Stelmashenko-A/EventEmitter | 0 | 7039366 | using System;
using System.Collections.Generic;
using System.Linq;
namespace EventEmitter.Semantic
{
public interface ISentimenClassifier
{
int Classify(string str);
}
public class SentimenClassifier : ISentimenClassifier
{
protected IEmoticonClassifier EmoticonClassifier { get; s... |
src/AspNetCore.EventLog.PostgreSQL/Migrations/20190925203246_RemoveTransactionId.cs | dev-mich/AspNetCore.EventLog | 0 | 7039367 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace AspNetCore.EventLog.PostgreSQL.Migrations
{
public partial class RemoveTransactionId : Migration
{
private readonly string _schema;
public RemoveTransactionId(string schema)
{
_schema = schema;
... |
Generators.Core/StructuralSearch/Attributes/ExpressionPlaceholderAttribute.cs | dev-someuser/ReSharper.T4CodeGenerator | 0 | 7039368 | using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.Placeholders;
using JetBrains.ReSharper.Feature.Services.StructuralSearch;
namespace T4CodeGenerator.Generators.Core.StructuralSearch.Attributes
{
public class ExpressionPlaceholderAttribute : PlaceholderAttributeBase
{
public string E... |
docio/Views/Hyperlink.xaml.cs | MuthusamyPonraj/file-formats-wpf-demos | 1 | 7039369 | <reponame>MuthusamyPonraj/file-formats-wpf-demos<gh_stars>1-10
#region Copyright Syncfusion Inc. 2001 - 2020
//
// Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
//
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <... |
Geodesy/Geodesy/Properties/Angle.cs | MaksimPrudnikau/Geodesy | 0 | 7039370 | using System;
namespace Geodesy.Properties
{
public class Angle
{
public int Deg;
public uint Min;
public uint Sec;
public Angle(int deg, uint min, uint sec)
{
Deg = deg;
Min = min;
Sec = sec;
}
public Angle(double de... |
Inversion.Extensibility/Process/Behaviour/SetContextItemsBehaviour.cs | torquemaya/inversion-extensibility | 0 | 7039371 | <gh_stars>0
using System;
using System.Collections.Generic;
using Inversion.Extensibility.Extensions;
namespace Inversion.Process.Behaviour
{
public class SetContextItemsBehaviour : PrototypedBehaviour
{
public SetContextItemsBehaviour(string respondsTo) : base(respondsTo) {}
public SetContex... |
src/Test/Infra/QualityVault/QualityVaultUtilities/Execution/ExecutionGrouper.cs | kant2002/wpf-test | 25 | 7039372 | <filename>src/Test/Infra/QualityVault/QualityVaultUtilities/Execution/ExecutionGrouper.cs
// 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... |
src/Plainion.Prism/Interactivity/PopupWindowActionRegionAdapter.cs | ronin4net/Plainion.Prism | 1 | 7039373 | using System;
using System.Collections.Specialized;
using System.Windows;
using Prism.Interactivity;
using Prism.Regions;
namespace Plainion.Prism.Interactivity
{
/// <summary>
/// Allows defining regions on PopupWindowAction instances.
/// ATTENTION: make sure you configured "KeepAliveDelayedRe... |
test/UnitTests/Serialization/DasherizedResolverTests.cs | CoolGoose/JsonApiDotNetCore | 0 | 7039374 | <gh_stars>0
using JsonApiDotNetCore.Serialization;
using Newtonsoft.Json;
using Xunit;
namespace UnitTests.Serialization
{
public class DasherizedResolverTests
{
[Fact]
public void Resolver_Dasherizes_Property_Names()
{
// arrange
var obj = new
{
... |
src/BankScrapper.Nubank/DTOs/AuthorizationDTOs.cs | gmilani/aspnet-bank-scrapper | 2 | 7039375 | using Newtonsoft.Json;
using System;
namespace BankScrapper.Nubank.DTOs
{
[JsonObject(IsReference = false)]
public class AuthorizationLinksDTO
{
[JsonProperty("account")]
public LinkDTO Account { get; set; }
[JsonProperty("account_simple")]
public LinkDTO AccountSimple { g... |
demo/Demo.DataAccess.EFCore/Models/ConfigDictionary.cs | zzq424/Monica | 6 | 7039376 | <gh_stars>1-10
using System;
using System.Collections.Generic;
#nullable disable
namespace Demo.DataAccess.EFCore.Models
{
public partial class ConfigDictionary
{
public string DicKey { get; set; }
public string DicValue { get; set; }
}
}
|
Examples/CSharp/AsposePDF/Working-With-XML-XSLT/BreakfastMenuUsingXmlAndXslt.cs | Swisscard/Aspose.PDF-for-.NET | 117 | 7039377 | <filename>Examples/CSharp/AsposePDF/Working-With-XML-XSLT/BreakfastMenuUsingXmlAndXslt.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Pdf.Examples.CSharp.AsposePDF.Working_With_XML_XSLT
{
public class BreakfastMenuUsingXmlAndXslt
{
public stat... |
Main/Testing/Rxx.UnitTests/Interactive/TraceIdentityTests - System.Diagnostics.TraceSouce.cs | RxDave/Rxx | 100 | 7039378 | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rxx.UnitTests.Interactive
{
public partial class TraceIdentityTests : RxxTraceTests
{
[TestMethod, TestCategory("Trace"), TestCategory("Ix")]
public void IxTraceSourceIdentity()
{
var source... |
src/Helpers/Abstractions/Services/LocalizationService/LocalizationService.cs | panoukos41/Helpers | 0 | 7039379 | using System.Globalization;
namespace Panoukos41.Helpers.Services
{
/// <summary>
/// A service to change culture and see current culture info.
/// </summary>
public partial class LocalizationService : ILocalizationService
{
private static ILocalizationService @default;
/// <summa... |
Assets/Scripts/Level Generation/EdgeFilter.cs | atalantus/WFC-Unity-Example | 32 | 7039380 | namespace LevelGeneration
{
/// <summary>
/// Edge filter.
/// </summary>
public class EdgeFilter
{
/// <summary>
/// The edge type that gets filtered.
/// </summary>
private readonly Module.EdgeConnectionTypes _filterType;
/// <summary>
/// If the f... |
modules/report/src/main/java/com/opengamma/strata/report/trade/TradeReportTemplateIniLoader.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7039381 | <reponame>ckarcz/Strata.ConvertedToCSharp
using System;
using System.Collections.Generic;
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.report.trade
{
using IniFile = com.opengamma.strata.collec... |
Jobba.Core/HostedServices/JobbaHostedService.cs | firebend/jobba | 8 | 7039382 | <reponame>firebend/jobba
using System;
using System.Threading;
using System.Threading.Tasks;
using Jobba.Core.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Jobba.Core.HostedServices
{
public class JobbaHostedService : B... |
src/Common/Application/Dto/UserSummaryDto.cs | armanab/CleanArchitecture | 28 | 7039383 | using CleanApplication.Application.Common.Mappings;
using CleanApplication.Domain.Entities;
using System;
namespace CleanApplication.Application.Dto
{
public class UserSummaryDto : IMapFrom<ApplicationUser>
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public str... |
src/Orchard.Web/Modules/Time.Invoicing/Views/Chassis/Create.cshtml | pmillsaps/zone.timemfg.com | 0 | 7039384 | @model Time.Invoicing.EntityModels.PcInvoice.Chassis
@{
ViewBag.Title = "Create";
}
<h2>
Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>Chassis</legend>
@Html.Partial("_CreateOrEdit")
<di... |
UnityEngine/Events/UnityEvent.cs | SinsofSloth/RF5-global-metadata | 1 | 7039385 | <reponame>SinsofSloth/RF5-global-metadata
[Serializable]
public class UnityEvent : UnityEventBase // TypeDefIndex: 3107
{
// Fields
private object[] m_InvokeArray; // 0x28
// Methods
[RequiredByNativeCodeAttribute] // RVA: 0xD93C0 Offset: 0xD94C1 VA: 0xD93C0
// RVA: 0x2B091C0 Offset: 0x2B092C1 VA: 0x2B091C0
pub... |
src/Orchard.Web/Modules/Orchard.MediaLibrary/Drivers/ImagePartDriver.cs | hanjia2014/EnlightmentSwords | 2 | 7039386 | using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.MediaLibrary.Models;
namespace Orchard.MediaLibrary.Drivers {
public class ImagePartDriver : ContentPartDriver<ImagePart> {
protected override DriverResult Display(ImagePart part, string displayType, dynamic sh... |
src/EtsyApi/Responses/TaxonomyResponse.cs | nh43de/etsy-api-cs | 5 | 7039387 | using EtsyApi.Models;
namespace EtsyApi.Responses
{
public class TaxonomyResponse
{
public int count { get; set; }
public Taxonomy[] results { get; set; }
}
}
|
SentimentDetection.Research/Program.cs | Stelmashenko-A/EventEmitter | 0 | 7039389 | <reponame>Stelmashenko-A/EventEmitter
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EventEmitter.Semantic;
namespace SentimentDetection.Research
{
class Program
{
static void Main(string[] args)
{
... |
Clash SL Server/PacketProcessing/Commands/SellBuildingCommand.cs | skyprolk/Clash-Of-SL | 0 | 7039390 | /*
* Program : Clash Of SL Server
* Description : A C# Writted 'Clash of SL' Server Emulator !
*
* Authors: <NAME> <Founder at Sky Production>,
* And the Official DARK Developement Team
*
* Copyright (c) 2021 Sky Production
* All Rights Reserved.
*/
using System.IO;
using CSS.Helpers;
using CSS.L... |
src/MyX3DParser.Core.Tests/TransformCombinationsTest.cs | mgrman/MyX3DParser | 2 | 7039391 | using MyX3DParser.Generated;
using MyX3DParser.Generated.Model.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace MyX3DParser.Tests
{
public class TransformCombinationsTest
{
pu... |
CBreeze/UncommonSense.CBreeze.Parse/Parser.CodeLines.cs | mprise-indigo/UncommonSense.CBreeze | 6 | 7039392 | <gh_stars>1-10
using System;
using System.Linq;
namespace UncommonSense.CBreeze.Parse
{
public partial class Parser
{
internal void ParseCodeLines(Lines lines)
{
lines.LastLineTryMatch(Patterns.BlankLine);
lines.FirstLineTryMatch(Patterns.BeginCodeBlock);
li... |
DelphiForVisualStudio/VisualStudio.Delphi/Constants.cs | JackTrapper/Delphi-for-Visual-Studio | 1 | 7039393 | <filename>DelphiForVisualStudio/VisualStudio.Delphi/Constants.cs
/* This file is part of "Delphi For Visual Studio" project
* http://www.codeplex.com/Delphi4VisualStudio
* Copyright (c) 2006 <NAME>. All rights reserved.
* Created 2007/04/20 by <NAME> (Web: http://www.Jeremie.ca )
*
* LICENSE: LGPL
*
* This li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.