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/edgemodules/CameraModule/TrafficCameraSimulatorModule/Program.cs | SamVanhoutte/real-time-traffic-iot | 2 | 7034140 | <reponame>SamVanhoutte/real-time-traffic-iot
using System;
using System.Runtime.Loader;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using NLog;
using TrafficCameraEventGenerator;
using TrafficCameraEventGenerator.Configuration;
using TrafficCameraEventGenerator... |
backend/Labelix-Backend/Labelix.WebAPI/Controllers/AIModelConfigController.cs | Labelix/Labelix | 0 | 7034141 | using Labelix.Transfer.Persistence;
using Labelix.WebApi.Controllers;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using Labelix.Logic;
using Microsoft.AspNetCore.Authorization;
using Contract = Labelix.Contracts.Persistence.IAIModelConfig;
using Mo... |
ControleDeEstoque/DAL/DALCliente.cs | RodrigoHironaka/Controle-de-Estoque | 0 | 7034143 | <reponame>RodrigoHironaka/Controle-de-Estoque<filename>ControleDeEstoque/DAL/DALCliente.cs
using Modelo;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class DALCliente
{... |
MailReporter/Repos/JobExecutionRepo.cs | crossvertise/nightwatchman | 0 | 7034144 | using DomainModel;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Repos
{
public class JobExecutionRepo : AMongoRepo<JobExecution>, IJobExecutionRepo
{
protected override Func<JobExecution, string>... |
workers/unity/Assets/Fps/Scripts/GameLogic/Session/TrackPlayerSystem.cs | atreat/gdk-for-unity-fps-starter-project | 0 | 7034145 | using System.Collections.Generic;
using Improbable.Gdk.Core;
using Improbable.Gdk.Core.Commands;
using Improbable.Gdk.Session;
using Improbable.Worker.CInterop;
using Improbable.Worker.CInterop.Query;
using Unity.Entities;
using UnityEngine;
using EntityQuery = Improbable.Worker.CInterop.Query.EntityQuery;
namespace F... |
Veil/Src/Veil/Compiler/MemberLocator.cs | unic/NitroNet | 18 | 7034146 | <filename>Veil/Src/Veil/Compiler/MemberLocator.cs
using System;
using System.Linq;
using System.Reflection;
namespace Veil.Compiler
{
public class MemberLocator : IMemberLocator
{
public static readonly IMemberLocator Default = new MemberLocator();
protected MemberLocator()
{
}... |
BadgeScan/Services/ServiceProxy.cs | mazloumi/BadgeScan | 2 | 7034147 | <gh_stars>1-10
using Newtonsoft.Json;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Xamarin.Forms;
using System;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Collections.Generic;
using System.Diagnostics;
namespace BadgeScan
... |
Assets/AssetStore/HEROIC FANTASY CREATURES FULL PACK VOL3/AssetConfigurator/Editor/AssetConfigurator.cs | brewmanandi/fb-xr-hackathong | 0 | 7034148 | <reponame>brewmanandi/fb-xr-hackathong
using UnityEditor;
using UnityEngine;
namespace AssetConfigurator
{
public class AssetConfigurator
{
[MenuItem("GameObject/Asset Configurator/Create Preview Controller", false, 0)]
public static void CreateAssetPreviewController()
{
... |
src/framework/BlazingOrchard.DisplayManagement/Services/ShapeTable.cs | BlazingOrchard/Prototype | 68 | 7034149 | <filename>src/framework/BlazingOrchard.DisplayManagement/Services/ShapeTable.cs<gh_stars>10-100
using System.Collections.Generic;
using BlazingOrchard.DisplayManagement.Models;
namespace BlazingOrchard.DisplayManagement.Services
{
public class ShapeTable
{
public ShapeTable(ICollection<ShapeBinding> s... |
NtObjectManager/Cmdlets/Object/RemoveNtFileReparsePointCmdlet.cs | killvxk/sandbox-attacksurface-analysis-tools | 0 | 7034150 | <reponame>killvxk/sandbox-attacksurface-analysis-tools<filename>NtObjectManager/Cmdlets/Object/RemoveNtFileReparsePointCmdlet.cs
// Copyright 2016 Google Inc. 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... |
src/EpTabletopApp/Services/NPCService.cs | EclipsePhaseTools/EPTableTopApp | 0 | 7034151 | using EPTabletopApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EPTabletopApp.Services
{
public class NPCService
{
private readonly EPDataService EPData;
public NPCService(EPDataService dataService)
{
E... |
CMS.Model/Model/AuthTokenContent.cs | mehmetakbudak/CMS | 4 | 7034152 | <reponame>mehmetakbudak/CMS
using CMS.Model.Enum;
using System.Threading;
namespace CMS.Model.Model
{
public class AuthTokenContent
{
public int UserId { get; set; }
public UserType UserType { get; set; }
private static readonly AsyncLocal<AuthTokenContent> _current = new AsyncLocal<... |
Cross.DataVault/Cross.DataVault/Cross.DataVault.iOS/Renderer/EditorView.cs | TheArchitect123/MiniVault---XamarinForms | 0 | 7034153 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Foundation;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(Xamarin.Forms.Editor), typeof(Cross.DataVault.iOS.EditorView))]
name... |
BotCustomer/Services/ExceptionEvents.cs | TomasKireilis/StellarGlobeShop | 1 | 7034154 | <filename>BotCustomer/Services/ExceptionEvents.cs
using Microsoft.Extensions.Logging;
namespace BotCustomer.Services
{
public enum LoggerEventType
{
GraphQLClient = 0,
GraphQLClientQuery = 1
}
public static class ExceptionEvents
{
public static EventId GenerateEventId(Logg... |
api/src/FavoDeMel.Infra.Dapper/Finders/ProdutoFinder.cs | dgoangelo/Ewave-FavoDeMel-Senior | 0 | 7034155 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper;
using FavoDeMel.Domain.Entities.Dto;
using FavoDeMel.Infra.Application.Interface;
using FavoDeMel.Infra.Application.Interface.Finders;
using FavoDeMel.Infra.Dapper.Abstractions;
using FavoDeMel.Infra.Dapper.ExtensionsMethods;
... |
sdk/dotnet/LabServices/Latest/GetEnvironmentSetting.cs | pulumi/pulumi-azure-nextgen | 31 | 7034156 | <reponame>pulumi/pulumi-azure-nextgen<gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tas... |
BinarySerializer.Test/Issues/Issue147/Parent.cs | lOlbas/BinarySerializer | 246 | 7034157 | using System.Collections.Generic;
namespace BinarySerialization.Test.Issues.Issue147
{
class Parent
{
#pragma warning disable CS0649
[FieldOrder(1)] public ClassA config;
#pragma warning restore CS0649
[FieldOrder(2)]
[FieldCount("config.count", RelativeSourceMode = RelativeSourceMode... |
analyzer/libs/z3/src/api/dotnet/ASTMap.cs | oslab-swrc/juxta | 23 | 7034158 | <reponame>oslab-swrc/juxta
/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
ASTMap.cs
Abstract:
Z3 Managed API: AST Maps
Author:
<NAME> (cwinter) 2012-03-21
Notes:
--*/
using System;
using System.Diagnostics.Contracts;
namespace Microsoft.Z3
{
/// <summary>
/// Map from AST to A... |
src/Splat.ApplicationInsights/ApplicationInsightsFeatureUsageTracking.cs | DHGMS-Solutions/splatapplicationinsights | 0 | 7034159 | namespace Splat.ApplicationInsights
{
using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
public class ApplicationInsightsFeatureUsageTracking : IFeatureUsageTrackingSession<Guid>
{
private readonly TelemetryClient _telemetry;
... |
samples/Manual/Program/DemoReentrantHandler.cs | HIPERCUBE/Akka.Interfaced | 46 | 7034160 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Akka.Interfaced;
using Akka.Actor;
namespace Manual
{
public class DemoReentrantHandler
{
private ActorSystem _system;
public DemoReentrantHandler(ActorSystem system, string[] args)
{
_syst... |
hisystems/Interpreter/Functions/Function.cs | fredericaltorres/JSonQueryRunTime | 0 | 7034162 | /* _________________________________________________
(c) Hi-Integrity Systems 2012. All rights reserved.
www.hisystems.com.au - <NAME>
github.com/hisystems/Interpreter
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may... |
UmbracoFormsDemo/Views/Partials/Forms/Themes/default/Fieldtypes/FieldType.Gender.cshtml | sussexrick/UmbracoFormsDemo | 0 | 7034163 | <reponame>sussexrick/UmbracoFormsDemo<filename>UmbracoFormsDemo/Views/Partials/Forms/Themes/default/Fieldtypes/FieldType.Gender.cshtml
@model Umbraco.Forms.Mvc.Models.FieldViewModel
@using Umbraco.Forms.Mvc
@using Umbraco.Forms.Core.Extensions
@{
var className = Html.GetFormFieldClass(Model.FieldTypeName).ToHtmlStr... |
NoobCompiler/NoobCompiler/AST/Declarations/VariableDeclaration.cs | Arsslensoft/NoobCompiler | 0 | 7034164 | using System;
using System.Collections.Generic;
using System.Text;
using NCAsm;
using NoobCompiler.Contexts;
namespace NoobCompiler.AST.Declarations
{
public class VariableDeclaration : Declaration
{
public MemberSpec Variable;
public string Name { get; set; }
public override INode DoRes... |
ViewDataViewer/Views/Shared/_KoSvgViewDataView.cshtml | simonlaszcz/vd-view | 2 | 7034165 | <reponame>simonlaszcz/vd-view
<svg xmlns="http://www.w3.org/2000/svg" class="svg-viewdata-view" preserveAspectRatio="xMinYMin" viewBox="0 0 600 500" data-bind="attr: {viewBox: SVG.ViewBox}, style: {'font-size': SVG.FontSize}, css: {revealed: IsRevealed, 'show-grid': ShowGrid, 'enable-flash': EnableFlash}">
<!-- ko... |
Assets/Scripts/ProgressSceneLoader.cs | nitesh-97/XRDiwali | 0 | 7034166 | using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class ProgressSceneLoader : MonoBehaviour
{
[SerializeField]
private Text progressText;
[SerializeField]
private Slider slider;
private AsyncOperation operation;
private Canvas canvas;
private void Aw... |
Valheim.SpawnThat/Spawners/SpawnerSpawnSystem/Conditions/IConditionOnSpawn.cs | ASharpPen/Valheim.SpawnThat | 11 | 7034167 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Valheim.SpawnThat.Configuration.ConfigTypes;
namespace Valheim.SpawnThat.Spawners.SpawnerSpawnSystem.Conditions
{
public interface IConditionOnSpawn
{
bool ShouldFilter(SpawnCondit... |
sdk/dotnet/Inputs/GetServiceKafkaMirrormakerUserConfigArgs.cs | pulumi/pulumi-aiven | 7 | 7034168 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/Configuation/Attributes/SitecoreAttributeConfigurationLoaderFixture.cs | FlorisBriolas/Glass.Mapper | 96 | 7034169 |
using System.Linq;
using Glass.Mapper.Pipelines.ConfigurationResolver.Tasks.OnDemandResolver;
using Glass.Mapper.Sc.Configuration;
using Glass.Mapper.Sc.Configuration.Attributes;
using NUnit.Framework;
using Sitecore.Data;
namespace Glass.Mapper.Sc.FakeDb.Configuation.Attributes
{
[TestFixture]
p... |
FilterBuilder/FilterBuilder.xaml.cs | arnovb-github/CmcScriptNet.WPF | 1 | 7034170 | using CmcScriptNet.FilterBuilder.Models;
using FilterBuilder.Helpers;
using System.Windows;
namespace CmcScriptNet.FilterBuilder
{
/// <summary>
/// Interaction logic for FilterBuilderWindow.xaml
/// </summary>
public partial class FilterBuilderWindow : Window
{
public FilterBuilderWindow(... |
Assets/Packages/XGUI/Components/Elements/Texts/TextFieldGUI.cs | XJINE/Unity_XJINEsInstallationProjectSample | 12 | 7034171 | <reponame>XJINE/Unity_XJINEsInstallationProjectSample
using UnityEngine;
namespace XGUI
{
public abstract class TextFieldGUI<T> : ElementGUI<T>
{
#region Property
public virtual float Width { get; set; }
private static GUIStyle _fieldStyle;
protected virtual GUIStyle FieldSty... |
Sources/SymDiff/source/rvt.cs | aheroine/SIR-use | 24 | 7034172 | <reponame>aheroine/SIR-use
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace DECOMPOSE_CS
{
public static class Options
{
public const bool Refine = false; // when equivalence check fai... |
SettingsReader/Converters/CamelCaseTypeNameConverter.cs | yarblade/SettingsReader2 | 0 | 7034173 | using System;
namespace SettingsReader.Converters
{
internal class CamelCaseTypeNameConverter : ITypeNameConverter
{
#region Implementation of ITypeNameConverter
public string Convert(Type type)
{
return type.Name.Substring(0, 1).ToLowerInvariant() + type.Name.Substring(1);
}
#endregion
}
}
|
src/LightWiki.Wiki/Features/Workspaces/Responses/Models/WorkspacePersonalAccessRuleModel.cs | Tarikan/LightWiki | 0 | 7034174 | <filename>src/LightWiki.Wiki/Features/Workspaces/Responses/Models/WorkspacePersonalAccessRuleModel.cs
using LightWiki.Domain.Enums;
namespace LightWiki.Features.Workspaces.Responses.Models;
public class WorkspacePersonalAccessRuleModel
{
public int UserId { get; set; }
public int WorkspaceId { get; set; }
... |
Pizza/DAIsPizza/DAISPizza.Server/Views/Shared/_Layout.cshtml | l3kov9/CSharpAdvanced | 0 | 7034175 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DAI's Pizza</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@RenderSection("headerScripts",... |
src/Externals/google-api-dotnet-client/Src/GoogleApis.Tools.CodeGen/Generator/SchemaGenerator.cs | Dmiri/Xamarin.google-apis | 40 | 7034176 | <gh_stars>10-100
/*
Copyright 2010 Google 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 writi... |
TDLib.Api/Objects/NetworkStatisticsEntryFile.cs | Behnam-Emamian/tdsharp | 0 | 7034177 | using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// AUTOGENERATED: DO NOT EDIT!
/// </summary>
public partial class TdApi
{
public partial class NetworkStatisticsEntry : Object
{
public class NetworkStatisticsEntryFile : NetworkStatisticsEntry
... |
18312215_M.Hendro_Junawarko_Searching/binarySearch.Designer.cs | muhammadhendro/Desktop_Sorting_and_Searching_Algorithm_GUI_Form | 0 | 7034178 | <filename>18312215_M.Hendro_Junawarko_Searching/binarySearch.Designer.cs
namespace Sorting
{
partial class frm_binary
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Cle... |
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/LinqSQLTranslationBaselineTests.cs | ayanMSFT/azure-cosmos-dotnet-v3 | 522 | 7034180 | <gh_stars>100-1000
//-----------------------------------------------------------------------
// <copyright file="LinqAttributeContractTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------------------------------... |
BlazeSnes.Core.Test/Common/RegisterTest.cs | kamiyaowl/blaze-snes | 2 | 7034181 | <gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using BlazeSnes.Core.Common;
using BlazeSnes.Core.Cpu;
using Xunit;
using Xunit.Sdk;
namespace BlazeSnes.Core.Test.Common {
public class RegisterTest {
class SampleRegister : Register<byte> { }
/// <summary>
/// 書いた値がそのまま読み... |
Cookies/CookieManager.cs | EnergeticApps/Energetic.Clients.BlazorWasm | 0 | 7034182 | using Energetic.Clients.Cookies;
using Microsoft.JSInterop;
using System;
using System.Threading.Tasks;
namespace Energetic.Clients.BlazorWasm.Cookies
{
/// <summary>
/// A cookie manager for Blazor WebAssembly apps.
/// </summary>
/// <remarks>The current implementation requires a javascript to be p... |
aspnet-core/src/Yun.Application/Authorization/Accounts/IAccountAppService.cs | zhaohejing/pan.yun | 0 | 7034183 | using System.Threading.Tasks;
using Abp.Application.Services;
using Yun.Authorization.Accounts.Dto;
namespace Yun.Authorization.Accounts
{
public interface IAccountAppService : IApplicationService
{
Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput input);
Task<RegisterOu... |
Scripts/Autopilot/Aerodynamics/AeroDrawIndicators.cs | zrisher/ARMS | 17 | 7034184 | <gh_stars>10-100
using System;
using System.Text;
using Sandbox.Graphics;
using Sandbox.Graphics.GUI;
using VRageMath;
using System.Reflection;
using Sandbox.Game.Gui;
using VRage.Game;
using VRage.Game.Gui;
using VRage.Utils;
using VRage.Game.ModAPI;
namespace Rynchodon.Autopilot.Aerodynamics
{
/// <summary>
/// D... |
02. Encapsulation Exe/Problem 3. Shopping Spree/StartUp.cs | GeorgenaGeorgieva/OOP-CSharp | 0 | 7034185 | <gh_stars>0
namespace ShoppingSpree
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main(string[] args)
{
List<Person> people = new List<Person>();
List<Product> products = new List<Product>... |
BookLovers.Ratings.Infrastructure/Dtos/RatingsDto.cs | kamilk08/BookLoversApi | 0 | 7034186 | namespace BookLovers.Ratings.Infrastructure.Dtos
{
public class RatingsDto
{
public int ObjectId { get; set; }
public int RatingsCount { get; set; }
public double Average { get; set; }
}
} |
Test/ClassLibraryCommon/Blob/Protocol/BlobTestUtils.cs | veena-udayabhanu/azure-storage-net | 5 | 7034187 | <filename>Test/ClassLibraryCommon/Blob/Protocol/BlobTestUtils.cs
// -----------------------------------------------------------------------------------------
// <copyright file="BlobTestUtils.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (t... |
demos/Generic/ConvexDecompositionDemo/Wavefront.cs | yoshinoToylogic/bulletsharp | 0 | 7034188 | using System.Collections.Generic;
using System.Globalization;
using System.IO;
using BulletSharp;
namespace ConvexDecompositionDemo
{
class WavefrontObj
{
//Vector2 ToVector2(string f0, string f1)
//{
// return new Vector2(float.Parse(f0, CultureInfo.InvariantCulture),
... |
SoRaVAC/Helpers/DeviceWatcherHelper.cs | AleronWen/SoRaVAC | 1 | 7034189 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
using Windows.UI.Core;
namespace SoRaVAC.Helpers
{
internal class DeviceWatcherHelper
{
... |
DataHelper/Data/ScheduleDataSource.cs | CDUTSE/OpenHelloCDUTWP | 0 | 7034190 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.UI.Xaml;
using 你好理工.Common;
using 你好理工.DataH... |
Assets/Scripts/AIController/AINode.cs | XINCGer/FURIOUS_MOTORSPORT | 30 | 7034191 | <reponame>XINCGer/FURIOUS_MOTORSPORT<filename>Assets/Scripts/AIController/AINode.cs
using UnityEngine;
using System.Collections;
public class AINode : MonoBehaviour
{
public Transform nextNode;
public Transform previousNode;
public NodeSetting nodeSetting;
[HideInInspector]
public Color GizmosC... |
ProgrammingFundamentalsWithC#/ProjectsAndSolutions/6ex-ObjectsAndClasses/07.OrderByAge/Program.cs | LyubomirRashkov/Software-University-SoftUni | 0 | 7034192 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _07.OrderByAge
{
public class Person
{
public string Name { get; set; }
public string Id { get; set; }
public int Age { get; set; }
public override string ToString()
{
return $"{... |
Code/Rendering/Texture.cs | DoctorLogiq/terrascape | 0 | 7034193 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using OpenTK.Graphics.OpenGL4;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using Terrascape.Debugging;
using Terrascape.Exceptions;
using Terrascape.Regi... |
Frontend/GaMR/Assets/Scripts/Model Import/ModelLoadSettings.cs | rwth-acis/GaMR | 11 | 7034194 | <filename>Frontend/GaMR/Assets/Scripts/Model Import/ModelLoadSettings.cs
using HoloToolkit.Unity;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ModelLoadSettings : Singleton<ModelLoadSettings>
{
public GameObject boundingBox;
public Shader shader;
}
|
src/Styles.Color.Shared/Gradients/Gradient.cs | ClintFrancis/Styles.Color | 0 | 7034195 | <gh_stars>0
using System;
using Styles.Drawing;
namespace Styles.Color
{
// CSS Gradients
// https://www.w3schools.com/css/css3_gradients.asp
public enum GradientType
{
None,
Linear,
Radial,
Ellipse,
Multi,
Custom
}
[Flags]
public enum Grad... |
src/main/NWN/API/Events/Native/BarterEvents/OnBarterEnd.cs | Chimerik/NWN.Managed | 0 | 7034196 | using System;
using System.Collections.Generic;
using Anvil.Internal;
using NWN.Native.API;
using NWN.Services;
namespace NWN.API.Events
{
public sealed class OnBarterEnd : IEvent
{
public NwPlayer Initiator { get; private init; }
public NwPlayer Target { get; private init; }
public IReadOnlyList<NwI... |
src/Coldairarrow.Api/Controllers/BaseInfo/BaseInfo_ColorController.cs | whj998013/FactoryMangeServer | 0 | 7034197 | using Coldairarrow.Business.BaseInfo;
using Coldairarrow.Entity.BaseInfo;
using Coldairarrow.Util;
using Microsoft.AspNetCore.Mvc;
using NSwag.Annotations;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Coldairarrow.Api.Controllers.BaseInfo
{
[Route("/BaseInfo/[controller]/[action]")]
... |
MonoGameHtml/Source/Html/Exceptions/MacroException.cs | TobySalusky/MonoGameHtml | 7 | 7034198 | <gh_stars>1-10
using System;
namespace MonoGameHtml.Exceptions {
public class MacroException : Exception {
public MacroException(string message) : base(message) { }
}
} |
src/Dsp.Data/Entities/WorkOrderPriorityChange.cs | deltasig/sphinx | 0 | 7034199 | namespace Dsp.Data.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public class WorkOrderPriorityChange
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int WorkOrderPriorityChangeId { get;... |
src/Lucene.Net.Tests/Search/MultiCollectorTest.cs | whizkidwwe1217/lucenenet | 1,659 | 7034200 | <reponame>whizkidwwe1217/lucenenet
using NUnit.Framework;
using System;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Search
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* thi... |
PierresTracker/obj/Debug/netcoreapp2.2/Razor/Views/Orders/Show.g.cshtml.cs | Pugsly99/PierresTracker | 0 | 7034201 | <reponame>Pugsly99/PierresTracker<filename>PierresTracker/obj/Debug/netcoreapp2.2/Razor/Views/Orders/Show.g.cshtml.cs
#pragma checksum "C:\Users\Ryland\Desktop\PierresTracker.Solution\PierresTracker\Views\Orders\Show.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c700d7ce3726869e0c28d2e7c75b6530595bfe6d"
// <auto-ge... |
tests/AtlasConnectivity.Tests/ConnectivityTests.cs | ManuelKugelmann/mongo-csharp-driver | 0 | 7034202 | <reponame>ManuelKugelmann/mongo-csharp-driver
/* 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... |
Source/Assembly-CSharp/SteamStatsAchievements.cs | Shadowrabbit/BigBiaDecompilation | 1 | 7034203 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Steamworks;
using UnityEngine;
public class SteamStatsAchievements : MonoBehaviour
{
private GameController GameController
{
get
{
return GameController.getInstance();
}
}
private void Start()
{
if (!SteamManager.Initialized)
{
... |
Application/Reporting/ReportingConfigurationControl.Designer.cs | bartoszkp/dotrl | 5 | 7034204 | namespace Application.Reporting
{
partial class ReportingConfigurationControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... |
src/identity.dynamo/NoopNormalizer.cs | cmsd2/IdentityDynamo | 0 | 7034205 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace ElCamino.AspNet.Identity.Dynamo
{
public class NoopNormalizer : ILookupNormalizer
{
public string Normalize(string key)
{
... |
Nue/Nue.Core/RunSettings.cs | docascode/nue | 10 | 7034206 | <reponame>docascode/nue
using System;
using System.Collections.Generic;
using System.Text;
namespace Nue.Core
{
public class RunSettings
{
public const string NUGET_DEFAULT_FEED = "https://api.nuget.org/v3/index.json";
public readonly string TFM;
public readonly string Feed;
... |
src/ChilliSource.Cloud.Web.MVC/Library/JsonResponseDto.cs | BlueChilli/ChilliSource.Cloud.Web.MVC | 1 | 7034207 | <filename>src/ChilliSource.Cloud.Web.MVC/Library/JsonResponseDto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ChilliSource.Cloud.Web;
namespace ChilliSource.Cloud.Web.MVC
{
/// <summary>
/// Defines a template for json responses,... |
Microsoft.Research/Contracts/System.Drawing/System.Drawing.Rectangle.cs | jeroen-mostert/CodeContracts | 778 | 7034208 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
MovieApplication/Ticket.cs | tanapattara/WinForm_MovieApplication | 0 | 7034209 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MovieApplication
{
public class Ticket
{
string moviceName;
string time;
string seat;
public Ticket(string name, string time, string seat) {
... |
arelv1/App.xaml.cs | Difegue/AREL-UWP | 1 | 7034210 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Coll... |
src/Blazored.Localisation/BlazorApplicationBuilderExtensions.cs | Franklin89/Localisation | 0 | 7034211 | <filename>src/Blazored.Localisation/BlazorApplicationBuilderExtensions.cs
using Microsoft.AspNetCore.Components.Builder;
using Microsoft.JSInterop;
using System.Globalization;
namespace Blazored.Localisation
{
public static class UseBrowserLocalisationExtension
{
public static void UseBlazoredL... |
src/Payments.Mvc/Views/Account/Index.cshtml | ucdavis/payments | 0 | 7034212 | @model Payments.Mvc.Models.AccountViewModels.EditProfileViewModel
@{
ViewData["Title"] = "My Profile";
}
<div class="card">
<div class="card-header card-header-primary d-flex justify-content-between align-items-start">
<h1>@ViewBag.Title</h1>
<a asp-action="Edit" class="btn"><i class="far fa-... |
Manager/Manager/Interfaces/IWorkerNodeRepository.cs | Teleopti/Stardust | 0 | 7034213 | using System;
using System.Collections.Generic;
using Stardust.Manager.Models;
namespace Stardust.Manager.Interfaces
{
public interface IWorkerNodeRepository
{
void AddWorkerNode(WorkerNode workerNode);
void RegisterHeartbeat(string nodeUri, bool updateStatus);
List<string> CheckNodesAreAlive(TimeSpan timeSp... |
src/WeihanLi.Common/Aspect/FluentAspects.cs | WeihanLi/WeihanLi.Common | 201 | 7034214 | <filename>src/WeihanLi.Common/Aspect/FluentAspects.cs
using System;
namespace WeihanLi.Common.Aspect
{
public static class FluentAspects
{
public static readonly FluentAspectOptions AspectOptions;
static FluentAspects()
{
AspectOptions = new FluentAspectOptions();
... |
Cave.Extensions/TypeExtension.cs | CaveSystems/cave-extensions | 0 | 7034215 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Cave
{
/// <summary>Gets extensions for the <see cref="Type" /> class.</summary>
public static class TypeExtension
{
#if NETSTANDARD1... |
TileSharp/Symbolizers/PolygonSymbolizer.cs | Smartrak/TileSharp | 4 | 7034216 | <reponame>Smartrak/TileSharp
using System.Drawing;
namespace TileSharp.Symbolizers
{
public class PolygonSymbolizer : Symbolizer
{
public readonly Color FillColor;
public readonly Color? LineColor;
public readonly int? LineWidth;
public PolygonSymbolizer(Color fillColor, Color? lineColor = null, int? lineW... |
Project/Project/Controlers/InsertControler.cs | rdurliova/HotelReservation | 2 | 7034217 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project.Controlers
{
public class InsertControler
{
private static HotelReservationContext context = new HotelReservationContext();
private static ReadControler read = ... |
FeedClient/FrmCustomRss.Designer.cs | joni89/FeedClient | 0 | 7034218 | namespace FeedClient
{
partial class FrmCustomRss
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
SpecFlow.PrivateSteps.SampleProject.Shared/PrivateAndPublicSteps.feature.cs | gasparnagy/Sample_SpecFlow.PrivateSteps | 0 | 7034219 | <filename>SpecFlow.PrivateSteps.SampleProject.Shared/PrivateAndPublicSteps.feature.cs
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:2.1.0.0
// SpecFlow Generato... |
src/libraries/Faze.Core/Faze.Core/Streamers/EnumerableStreamer.cs | b-faze/Faze | 0 | 7034220 | <reponame>b-faze/Faze
using Faze.Abstractions.Core;
using System.Collections.Generic;
using System.IO;
namespace Faze.Core.Streamers
{
internal class EnumerableStreamer : IStreamer
{
private readonly IEnumerable<IStreamer> streamers;
public EnumerableStreamer(IEnumerable<IStreamer> streamers)... |
Engine/Source/Programs/UnrealBuildTool/Platform/TVOS/TVOSToolChain.cs | windystrife/UnrealEngine_NVIDIAGameWork | 1 | 7034221 | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Diagnostics;
using System.Security.AccessControl;
using System.Xml;
using System.Text;
using Ionic.Zip;
using Ionic.Zlib;
using Tools.... |
src/ASF.Core/Internal/Results/Result.cs | ASF-Framework/ASF | 18 | 7034222 | <reponame>ASF-Framework/ASF
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace System
{
/// <summary>
/// 结果对象
/// </summary>
public class Result
{
public Result() { }
public Result(string message, int status)
{
this... |
BattleSystem.Core/Items/Results/RemoveItemResult.cs | phrasmotica/BattleSystem | 0 | 7034223 | <filename>BattleSystem.Core/Items/Results/RemoveItemResult.cs<gh_stars>0
namespace BattleSystem.Core.Items.Results
{
/// <summary>
/// Represents the result of removing an item from a character.
/// </summary>
public class RemoveItemResult
{
/// <summary>
/// Gets or sets whether th... |
Application/AccebrateController.cs | Nick0108/Exhibition | 0 | 7034224 | /* Create by @LinziDong
* Create time: 2018.07.24
* Discrition: 这是挂载在油门UI下的一个脚本,主要用于控制是否踩着油门
* 通过外部的EventTrigger的OnPointUp和OnMouseDown来判断用户是否正在按着油门键
* //TODO@Zidong 这种通过拖动脚本到外部EventTrigger的实现方式真的很low很烂,但是由于项目时间紧张,先这么处理,未来一定要将其优化掉!!
*/
using System.Collections;
using System.Collections.Gene... |
Escape Room/Assets/Code/Enums/LerpType.cs | Chi-Time/Escape_Room_DAC614 | 0 | 7034225 | <reponame>Chi-Time/Escape_Room_DAC614
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
enum LerpType
{
EaseOut,
EaseIn,
Exponential,
Logarithmic,
SmoothStep,
SmootherStep
}
|
Converter/Model/Order.cs | AJEETX/convert2xml | 1 | 7034226 | using System.Collections.Generic;
namespace Converter.Model
{
public class PurchaseOrder
{
public string CustomerPo { get; set; }
public string Supplier { get; set; }
public string Origin { get; set; }
public string Destination { get; set; }
public string CargoReady { g... |
Core/Processes/Events/GetMonsterInfo.cs | apprime/Game | 0 | 7034227 | using Data.DataProviders.Players;
using Data.Models.Entities;
using Data.Models.Entities.Humans;
using Data.Models.Entities.Monsters;
using Data.Models.EventResolution;
using Data.Repositories;
using Newtonsoft.Json;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyIn... |
src/Core/Core/Validation/InputObjectRequiredFieldsVisitor.cs | dmeenhuis/hotchocolate | 1 | 7034228 |
using System.Collections.Generic;
using HotChocolate.Language;
using HotChocolate.Types;
namespace HotChocolate.Validation
{
internal sealed class InputObjectRequiredFieldsVisitor
: InputObjectFieldVisitorBase
{
private readonly HashSet<ObjectValueNode> _visited =
new HashSet<Obje... |
src/Core/Silk.NET.Core/Contexts/DefaultNativeContext.cs | storm32600/Silk.NET | 0 | 7034229 | // This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Silk.NET.Core.Loader;
namespace Silk.NET.Core.Contexts
{
/// <summary>
/// A native context that uses an <see cref="UnmanagedLibrary" />... |
src/Services/Airline.Flight/src/Flight/Data/Configurations/AircraftConfiguration.cs | xpertdev/Airline-Microservices | 0 | 7034230 | using Flight.Aircrafts.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Flight.Data.Configurations;
public class AircraftConfiguration : IEntityTypeConfiguration<Aircraft>
{
public void Configure(EntityTypeBuilder<Aircraft> builder)
{
builde... |
winPass11-guided-install/Form1.cs | project-winpass11/guided-installer-precleanup | 0 | 7034231 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace winPass11_guided_inst... |
src/Anemonis.Extensions.RequestCompression.PerfTests/TestStubs/RequestCompressionEncodingContextPool.cs | alexanderkozlenko/extensions-request-compression | 4 | 7034232 | <reponame>alexanderkozlenko/extensions-request-compression<filename>src/Anemonis.Extensions.RequestCompression.PerfTests/TestStubs/RequestCompressionEncodingContextPool.cs
using Microsoft.Extensions.ObjectPool;
namespace Anemonis.Extensions.RequestCompression.PerfTests.TestStubs;
internal static class RequestCompres... |
CodeWars/7kyu/GeneticAlgorithmSeries4.cs | a-kozhanov/codewars_csharp | 11 | 7034233 | <filename>CodeWars/7kyu/GeneticAlgorithmSeries4.cs
/*
https://www.codewars.com/kata/567b468357ed7411be00004a/csharp
7 kyu
Genetic Algorithm Series - #4 Get population and fitnesses
In a genetic algorithm, a population is a collection of candidates that may evolve toward a better solution.
We determine how close a c... |
WebService/Monitoring/PaginatedData.cs | AGiorgetti/AngularConf2016 | 0 | 7034234 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace WebApplication.Monitoring
{
/// <summary>
/// A DTO to return some paginated data
/// </summary>
/// <typeparam name="T"></typeparam>
public class PaginatedData<T>
{
/// <summary>
/// total number... |
SRDebugger/Internal/SRDebuggerUtil.cs | SinsofSloth/RF5-global-metadata | 1 | 7034235 | public static class SRDebuggerUtil // TypeDefIndex: 5660
{
// Properties
public static bool IsMobilePlatform { get; }
// Methods
// RVA: 0x152FFA0 Offset: 0x15300A1 VA: 0x152FFA0
public static bool get_IsMobilePlatform() { }
// RVA: 0x152FFE0 Offset: 0x15300E1 VA: 0x152FFE0
public static bool EnsureEventSyste... |
Puppy.Web/SEO/OpenGraph/Enums/OpenGraphTargetGender.cs | stssoftware/Puppy | 17 | 7034236 | <reponame>stssoftware/Puppy
namespace Puppy.Web.SEO.OpenGraph.Enums
{
/// <summary>
/// The gender being targeted.
/// </summary>
public enum OpenGraphTargetGender
{
/// <summary>
/// The male gender.
/// </summary>
Male,
/// <summary>
/// ... |
linux-distro/package/nuxleus/Source/Apps/Samples/AwsSdb_LoadGeonamesDataFile/Program.cs | mdavid/nuxleus | 1 | 7034237 | /*
* This software is derived from samples provided by Amazon Web Services.
* The original copyright notice for this sample code follows.
**************************************************************************
* This software code is made available "AS IS" without warranties of any
* kind. You may copy, ... |
SuperSimpleBlobStore.Client/BlobStoreResponse.cs | richardprice/SuperSimpleBlobStore | 2 | 7034239 | <reponame>richardprice/SuperSimpleBlobStore
using System;
namespace SuperSimpleBlobStore.Client
{
public class BlobStoreResponse
{
public Guid BlobIdentity { get; set; }
public Guid VersionIdentity { get; set; }
}
}
|
CIMOB_IPS/Models/EnumGender.cs | TheSevenDev/ESW---Projecto | 0 | 7034240 | <reponame>TheSevenDev/ESW---Projecto<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CIMOB_IPS.Models
{
public enum EnumGender
{
Masculino, Feminino
}
}
|
IronJS/Runtime/Builtins/String_prototype_slice.cs | dtdimi/IronJS | 1 | 7034241 | <gh_stars>1-10
using System;
using IronJS.Runtime.Js;
using IronJS.Runtime.Utils;
namespace IronJS.Runtime.Builtins
{
class String_prototype_slice : NativeFunction
{
public String_prototype_slice(Context context)
: base(context)
{
SetOwnProperty("length", 0.0D);
... |
Assets/Scripts/Pathfinding/Grid/IGrid.cs | FabianKramm/JumpPointSearch | 0 | 7034243 | <filename>Assets/Scripts/Pathfinding/Grid/IGrid.cs
namespace Pathfinding
{
public interface IGrid
{
Position GetSize();
CellType GetWeight(int x, int y);
void SetWeight(int x, int y, int weight);
bool IsWalkable(int x, int y);
}
} |
MediaManager/Platforms/Android/Player/PlaybackPreparer.cs | adambarath/XamarinMediaManager | 0 | 7034244 | <filename>MediaManager/Platforms/Android/Player/PlaybackPreparer.cs
using System;
using System.Linq;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.Media.Session;
using Com.Google.Android.Exoplayer2;
using Com.Google.Android.Exoplayer2.Ext.Mediasession;
using Com.Google.Android.Exoplayer2.Source;
us... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.