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 |
|---|---|---|---|---|
generator/Schema/IEC61970/Informative/InfWork/ICompatibleUnit.cs | georghinkel/ttc2017smartGrids | 5 | 7047380 | //------------------------------------------------------------------------------
// <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/CodeGenerator/Classes/Field.cs | kane-armstrong/rest-api-from-sql | 2 | 7047381 | <reponame>kane-armstrong/rest-api-from-sql
using System;
using System.Collections.Generic;
using System.Linq;
namespace CodeGenerator.Classes
{
public class Field
{
private static readonly string[] AllowedModifiers =
{
"const",
"new",
"readonly",
... |
WWTExplorer3d/Web References/CloudCommunitiesAPI/Reference.cs | Carifio24/wwt-windows-client | 188 | 7047382 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
src/HASS.Agent/Controls/Service/ServiceConnect.cs | LAB02-Research/HASS.Agent | 94 | 7047383 | <filename>src/HASS.Agent/Controls/Service/ServiceConnect.cs
using HASS.Agent.Forms.Service;
using HASS.Agent.Functions;
using HASS.Agent.Managers;
using HASS.Agent.Properties;
using HASS.Agent.Resources.Localization;
using HASS.Agent.Service;
using HASS.Agent.Settings;
using Serilog;
namespace HASS.Agent.Con... |
test/Eris.Packets.Test/PacketReaderTests/CollectReadActionsReadUInt16Tests.cs | wazowsk1/eris-packets | 0 | 7047384 | <gh_stars>0
using FluentAssertions;
using Xunit;
namespace Eris.Packets.Test.PacketReaderTests
{
public class CollectReadActionsReadUInt16Tests
{
private readonly byte[] _data = new byte[] { 1, 2, 3, 4 };
[Fact]
public void Collect_ReadUInt16_Should_Have_One_Action()
{
... |
src/Gy.QySin.GtkSharp/Models/ConfiguradorDeWidgets.cs | gy-soft/Gy.QySin | 0 | 7047386 | using Gtk;
namespace Gy.QySin.GtkSharp.Models
{
static class ConfiguradorDeWidgets
{
public static void ConfigurarTreeVentaDetalles(TreeView treeView)
{
var cantidadRenderer = new CellRendererSpin()
{
Editable = true,
Adjustment = new Cant... |
src/EsentInteropTests/ColumnValueTests.cs | Ollon/ManagedEsent | 0 | 7047387 | //-----------------------------------------------------------------------
// <copyright file="ColumnValueTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
//-----------------------------------------------------------------------
namespace InteropApiTests
{
using... |
Source/CultOfCthulhu/NewSystems/Cult/Seed/IncidentWorker_CultSeed.cs | emipa606/CallofCthulhuCults | 0 | 7047388 | <reponame>emipa606/CallofCthulhuCults<gh_stars>0
using RimWorld;
using Verse;
namespace CultOfCthulhu
{
internal class IncidentWorker_CultSeed : IncidentWorker
{
protected override bool CanFireNowSub(IncidentParms parms)
{
var map = (Map) parms.target;
var tracker = Get... |
test/MvcTemplate.Tests/Unit/Web/MvcApplicationTests.cs | fredatgithub/MVC5.Template | 0 | 7047389 | using LightInject.Mvc;
using MvcTemplate.Components.Mvc;
using MvcTemplate.Components.Security;
using MvcTemplate.Controllers;
using MvcTemplate.Tests.Objects;
using MvcTemplate.Web;
using NSubstitute;
using System;
using System.Linq;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Optimization;
using... |
More.Net.Windows.Presentation/Controls/SlideoutControl.xaml.cs | fallfromgrace/More.Net.Windows.Presentation | 0 | 7047390 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using ... |
MobaProtocol.Data/MoveToTarget.cs | moto2002/mobahero_src | 4 | 7047391 | <filename>MobaProtocol.Data/MoveToTarget.cs
using ProtoBuf;
using System;
namespace MobaProtocol.Data
{
[ProtoContract]
public class MoveToTarget
{
[ProtoMember(1)]
public short _unitId
{
get;
set;
}
public int unitId
{
get
{
return (int)this._unitId;
}
set
... |
Liquid.NET/src/Filters/Strings/CamelCaseFilter.cs | mikebridge/Liquid.NET | 61 | 7047392 | using System;
using System.Linq;
using Liquid.NET.Constants;
using Liquid.NET.Utils;
namespace Liquid.NET.Filters.Strings
{
/// <summary>
/// https://docs.shopify.com/themes/liquid-documentation/filters/string-filters#camelcase
///
/// this is Pascal Case, not Camel Case.
/// </summary... |
src/main/Plugins/StorePlugins/CentralSsl/CentralSslArguments.cs | sherif-elmetainy/win-acme | 3 | 7047393 | <reponame>sherif-elmetainy/win-acme
namespace PKISharp.WACS.Plugins.StorePlugins
{
class CentralSslArguments
{
public bool KeepExisting { get; set; }
public string CentralSslStore { get; set; }
public string PfxPassword { get; set; }
}
}
|
Generator/BaseGenerator.cs | giladfrid009/SimpleSIMD | 62 | 7047394 | global using System.Linq;
using System.Collections.Generic;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
namespace Generator
{
public abstract class BaseGenerator : ISourceGenerator
{
public string AttributeName { get; }
... |
Havit.Data/Trace/DbCommandTraceData.cs | havit/HavitFramework | 23 | 7047395 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Havit.Data.Trace
{
/// <summary>
/// Trace data for DbCommand.
/// </summary>
public class DbCommandTraceData
{
/// <summary>
/// C... |
src/Model.PreBuild/Program.cs | zerfl/raid-toolkit-sdk | 0 | 7047397 | using Raid.Model;
using System;
using System.IO;
using System.Reflection;
[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")]
namespace Model.PreBuild
{
class Program
{
static void Main(string[] args)
{
using ModelAssemblyResolver resolver = new();
Assembly asm = AppDomain.CurrentDomain... |
06_Problem/Program.cs | HoseinAsgari/ProjectEuler | 1 | 7047398 | <filename>06_Problem/Program.cs
namespace _6_Problem;
public static class Program
{
static void Main()
{
List<long> rangeOfNumber = GetRange(1, 100);
long squareOfSum = GetSquareOfSum(rangeOfNumber);
long sumOfSquare = GetSumOfSquare(rangeOfNumber);
long difference = Absolute... |
Assets/Scripts/Controllers/PlayerController.cs | sarahbroome/Solar-System-Simulator | 0 | 7047399 | <reponame>sarahbroome/Solar-System-Simulator
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : GravityObject {
public LayerMask walkableMask;
public float maxAcceleration;
public Transform feet;
public float walkSpeed = 8;
public float ... |
src/Platformus.Domain.Backend/Areas/Backend/ViewModels/Members/CreateOrEdit/CreateOrEditViewModelMapper.cs | 5118234/Platformus | 0 | 7047400 | <reponame>5118234/Platformus<filename>src/Platformus.Domain.Backend/Areas/Backend/ViewModels/Members/CreateOrEdit/CreateOrEditViewModelMapper.cs
// Copyright © 2015 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Platfo... |
Godsend/Services/IImageService.cs | 0legKot/godsend | 9 | 7047401 | <filename>Godsend/Services/IImageService.cs
// <copyright file="ImageController.cs" company="Godsend Team">
// Copyright (c) Godsend Team. All rights reserved.
// </copyright>
namespace Godsend
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Secur... |
samples/BlazorSample/BlazorSample.Client/Pages/Counter.cshtml | bcwhims/ReduxForBlazor | 0 | 7047402 | @page "/counter"
@using ReduxForBlazor
@inherits ReduxForBlazorComponent<SampleClientState>
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button onclick="@IncrementCount">Click me</button>
@functions {
int currentCount = 0;
void IncrementCount()
{
Dispatch(ActionCreators.GetIncrementAction());
}
prot... |
Playground.Validation.Fluent/FluentValidationValidatorFactory.cs | carlos-vicente/Playgrounf | 2 | 7047403 | <reponame>carlos-vicente/Playgrounf<filename>Playground.Validation.Fluent/FluentValidationValidatorFactory.cs
using System;
using Playground.Core.Validation;
namespace Playground.Validation.Fluent
{
public class FluentValidationValidatorFactory : IValidatorFactory
{
private readonly FluentValidation.I... |
AMDColorTweaks/ViewModel/GamutViewModel.cs | dantmnf/AMDColorTweaks | 3 | 7047404 | <reponame>dantmnf/AMDColorTweaks
using AMDColorTweaks.ADL;
using PropertyChanged;
using System;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace AMDColorTweaks.ViewModel
{
internal partial class GamutViewMo... |
TypedWorkflowTests/BasicTest.cs | bopohaa/TypedWorkflow | 0 | 7047405 | <gh_stars>0
using NUnit.Framework;
using System.Linq;
using System.Threading.Tasks;
using TypedWorkflow;
using TypedWorkflowTests.Common;
using TypedWorkflowTests.Components;
using TypedWorkflowTests.Components.Composite;
namespace TypedWorkflowTests
{
public class BasicTest
{
private const int ITER... |
ColorBot/Settings.cs | nallar/Iris_Color_Bot | 0 | 7047406 | <reponame>nallar/Iris_Color_Bot
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace ColorBot
{
public class Settings
{
public const string DefaultPath = "app/settings.json";
public string Token { get; set; } = "SET TOKEN HERE";
public long Cli... |
reference-architecture/OrderService/Configuration/OrderDatabaseSettings.cs | jesmith026/EventDriven.CQRS.Mediatr | 0 | 7047407 | using System.Diagnostics.CodeAnalysis;
namespace OrderService.Configuration
{
[ExcludeFromCodeCoverage]
public class OrderDatabaseSettings
{
public string OrdersCollectionName { get; set; }
public string ConnectionString { get; set; }
public string DatabaseName { get; set; }
}
} |
MultidimensionalArrays/MultidimensionalArrays/BombsEXERCISE/Program.cs | Monna9505/CSharp-Advanced | 0 | 7047408 | using System;
using System.Linq;
namespace Bombs
{
class StartUp
{
static void Main(string[] args)
{
int dimension = int.Parse(Console.ReadLine());
int[][] myMatrix = new int[dimension][];
for (int i = 0; i < dimension; i++)
{
in... |
Modules/IO/Content.cs | Kaliumhexacyanoferrat/GenHTTP | 63 | 7047409 | using GenHTTP.Api.Content.IO;
using GenHTTP.Api.Infrastructure;
using GenHTTP.Modules.IO.Providers;
namespace GenHTTP.Modules.IO
{
/// <summary>
/// Creates a handler that will generate a response from the content
/// of the given resource.
/// </summary>
public static class Content
... |
src/PreTrip/Views/Shared/Cadastro/_CadastroEmpresaPartialView.cshtml | AssisrMatheus/PreTrip | 0 | 7047410 | @model PreTrip.Model.Classes.Empresa
@Html.Partial("~/Views/Shared/Validacao/_ValidacaoBasica.cshtml");
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">
<i class="material-icons" style="font-size: 16px">label</i>
</div>
... |
Mac/Platform/Services/Documents/Markdown/Renderers/HeadingRenderer.cs | QotoQot/Octospace | 10 | 7047411 | using Core.Logging;
using CoreGraphics;
using Foundation;
using Markdig.Syntax;
using System;
using System.Collections.Generic;
namespace Mac.Platform.Services.Documents.Markdown.Renderers
{
public class HeadingRenderer : StringAttributeObjectRenderer<HeadingBlock>
{
public HeadingRenderer(StringAttri... |
Chat_With_SignalR/Simple_Chat/Hubs/ChatHub.cs | narekye/SignalR_2 | 4 | 7047412 | namespace Simple_Chat.Hubs
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Models;
public class ChatHub : Hub
{
private static List<User> Users = new List<User>();
public void Send(string name, stri... |
Code/System.Web.Optimization/IBundleBuilder.cs | TrevorDArcyEvans/EllieWare | 0 | 7047413 | <filename>Code/System.Web.Optimization/IBundleBuilder.cs
// Copyright (c) Microsoft Corporation, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace System.Web.Optimization {
/// <sum... |
Accord.NET projects/Accord.Statistics/Links/CauchitLinkFunction.cs | kpandya3/WakeUpWithKinect | 2 | 7047414 | // Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publis... |
src/EncompassRest/Loans/ClosingCost.cs | Oxymoron290/EncompassRest | 3 | 7047415 | <filename>src/EncompassRest/Loans/ClosingCost.cs
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using EncompassRest.Loans.Enums;
using EncompassRest.Schema;
namespace EncompassRest.Loans
{
/// <summary>
/// ClosingCost
/// </summary>
public sealed partial class ClosingCost : D... |
WPFSKillTree/Model/Items/Mods/JsonNpcMaster.cs | l0g0sys/PoESkillTree | 0 | 7047416 | <filename>WPFSKillTree/Model/Items/Mods/JsonNpcMaster.cs
using Newtonsoft.Json;
namespace POESKillTree.Model.Items.Mods
{
// The classes used to deserialize RePoE's npc_master
public class JsonNpcMaster
{
[JsonProperty("signature_mod")]
public JsonSignatureMod SignatureMod { get;... |
src/CodeMaze.Data/Entities/PostTagEntity.cs | codemazenet/codemaze.net | 0 | 7047417 | <filename>src/CodeMaze.Data/Entities/PostTagEntity.cs
using System;
namespace CodeMaze.Data.Entities
{
public class PostTagEntity
{
public Guid PostId { get; set; }
public int TagId { get; set; }
public virtual PostEntity Post { get; set; }
public virtual TagEntity Tag { get; ... |
ASPNETCoreWebAPI/Models/RefreshToken.cs | CuriousDrive/CodingInterviewPreparation | 9 | 7047418 | <gh_stars>1-10
using System;
using System.Collections.Generic;
#nullable disable
namespace ASPNETCoreWebAPI.Models
{
public partial class RefreshToken
{
public int TokenId { get; set; }
public int UserId { get; set; }
public string Token { get; set; }
public DateTime ExpiryDat... |
YaminabeBlazor/YaminabeBlazor.Web.Client.Stub/Services/ProductMaintenanceSettingApiService.cs | kzlabo/YaminabeBlazor | 0 | 7047419 | /*
* Copyright 2020 kzlabo
*
* 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 i... |
src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkSuccessResponseMessage.cs | WangDrama/WeiXinMPSDK | 7,871 | 7047420 | using Senparc.NeuChar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Senparc.Weixin.Work.Entities
{
public class WorkSuccessResponseMessage : WorkResponseMessageBase
{
public override ResponseMsgType MsgType
{
... |
SRC/JerryPlat.Web/Areas/Mob/Controllers/QuestionController.cs | JerryPCN/Jerry-Project-Template | 1 | 7047421 | <filename>SRC/JerryPlat.Web/Areas/Mob/Controllers/QuestionController.cs
using JerryPlat.BLL.CommonManage;
using JerryPlat.Models.Dto;
using JerryPlat.Utils.Models;
using JerryPlat.Web.Areas.Base;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace JerryPlat.Web.Areas.Mob.Co... |
SourceAFIS.Cli/Utils/Caching/DataIdentifier.cs | robertvazan/sourceafis-cli-net | 0 | 7047422 | // Part of SourceAFIS CLI for .NET: https://sourceafis.machinezoo.com/cli
namespace SourceAFIS.Cli.Utils.Caching
{
interface DataIdentifier
{
string Path { get; }
}
}
|
sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerAuthenticateCognitoConfigArgs.cs | AaronFriel/pulumi-aws-native | 29 | 7047424 | // *** 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.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... |
Assets/VR-Academy/SampleScripts/SampleNoteObject_Mix.cs | GONBEEEproject/VR-Academy-rhythmgame | 0 | 7047425 | <reponame>GONBEEEproject/VR-Academy-rhythmgame
using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SampleNoteObject_Mix : MonoBehaviour
{
public void Launch(Vector3 from, Vector3 to, float time)
{
//初期位置に持っていって
transform.position = fr... |
src/Patterns/8. Proxy/DesignPattern.ProxyClient/UserProxy.cs | ZShijun/DesignPattern | 17 | 7047426 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace DesignPattern.ProxyClient
{
public class UserProxy : IUserProxy
{
public string GetUserById(int id)
{
using (var client = new HttpClient())
{
... |
Neos.IdentityServer 2.0/Neos.IdentityServer.MutltiFactor.Data/Neos.IdentityServer.MultiFactor.ActiveDirectory.cs | anorstrom/adfsmfa | 0 | 7047427 | //******************************************************************************************************************************************************************************************//
// Copyright (c) 2017 Neos-Sdi (http://www.neos-sdi.com) ... |
ValveQuery/GameServer/DataObjects/LogPlayerInfo.cs | Deathreus/ValveQuery | 3 | 7047428 | using System;
namespace ValveQuery.GameServer
{
/// <summary>
/// Contains information of a player.
/// </summary>
[Serializable]
public class LogPlayerInfo
{
/// <summary>
/// Name of player.
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// UId of player(Steam ID).
/// <... |
src/app/board/BoardTheme.cs | Sopel97/chess_pos_db_gui | 1 | 7047429 | using chess_pos_db_gui.src.util;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace chess_pos_db_gui.src.app.board
{
public class BoardTheme
{
public enum RimSide
{
Lef... |
API/TripPlannerSLN/TripPlannerAPI/Startup.cs | PacktPublishing/Enterprise-Web-Applications-in-Angular | 7 | 7047430 | <reponame>PacktPublishing/Enterprise-Web-Applications-in-Angular<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.A... |
src/Automata.Z3/ValueTerm.cs | michkot/Automata | 64 | 7047431 | <reponame>michkot/Automata
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Automata;
using Microsoft.Automata.Z3.Internal;
using Microsoft.Z3;
//using SP = System.Tuple<int, int>;
namespace Microsoft.Automata.Z3
{
/// <summary>
/// Represents a concrete Z3 value term.
/// V... |
Swifter.Core/Reflection/RWNameCache.cs | jianglinlong/Swifter.Json | 1 | 7047432 | using Swifter.Tools;
namespace Swifter.Reflection
{
internal sealed class RWNameCache<T> : BaseCache<string, T>
{
readonly XBindingFlags flags;
public RWNameCache(XBindingFlags flags) : base(0)
{
this.flags = flags;
}
protected override int ComputeHashCode... |
edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.MqttBrokerAdapter/authentication/AuthAgentProtocolHead.cs | dmolokanov/iotedge | 1,365 | 7047433 | <filename>edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.MqttBrokerAdapter/authentication/AuthAgentProtocolHead.cs<gh_stars>1000+
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Hub.MqttBrokerAdapter
{
using System;
using System.Threading;
using System.Threading.T... |
Smart_Garden_UWP/SmarT_Garden_UWP_Models/Models/Sensor.cs | pxlit-projects/entmob2016_11 | 0 | 7047435 | <reponame>pxlit-projects/entmob2016_11
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Smart_Garden_UWP_Models
{
public class Sensor
{
public int Id { get; set; }
public double Temp { get; set; }
public dou... |
test-project/Assets/Generated/Source/improbable/testschema/TypeB.cs | nasakib/gdk-for-unity | 1 | 7047436 | <reponame>nasakib/gdk-for-unity
// =====================================================
// DO NOT EDIT - this file is automatically regenerated.
// =====================================================
using System.Linq;
using Improbable.Gdk.Core;
using UnityEngine;
namespace Improbable.TestSchema
{
[global::Sys... |
Blazor_Foundation_6_Lib/Components/Containers/Reveal.razor.cs | OpenCodeDev/OpenCodeDev.Blazor.Foundation | 1 | 7047437 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
using OpenCodeDev.Blazor.Foundation.Extensions;
namespace OpenCodeDev.Blazor.Foundation.Compo... |
Glav.CognitiveServices.FluentApi.Face/Domain/LargePersonGroupPerson/LargePersonGroupPersonCreateAnalysisContext.cs | glav/CognitiveServicesFluentApi | 4 | 7047438 | using Glav.CognitiveServices.FluentApi.Core.Contracts;
using Glav.CognitiveServices.FluentApi.Core.Configuration;
using Glav.CognitiveServices.FluentApi.Core.ScoreEvaluation;
using Glav.CognitiveServices.FluentApi.Core.Communication;
using System.Collections.Generic;
using System.Linq;
namespace Glav.CognitiveSer... |
samples/Audit.cs | marcelov2/InetdevFx | 0 | 7047439 | namespace Security
{
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Inetdev.Data;
using Inetdev.Context;
using Inetdev.Multitenancy;
using Jasbis.Security.I18n;
... |
02 Cloud-Labs/02 NetBackend/Start/Server/MyEvents.Server/Controllers/SessionController.cs | cheahengsoon/Dev-Days-HOL | 41 | 7047440 | using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.Azure.Mobile.Server;
using MyEvents.Server.DataObjects;
using MyEvents.Server.Models;
namespace MyEvents.Server.Controllers
{
public class SessionController : Tab... |
Framework/Atf.Gui/Applications/IHierarchicalInsertionContext.cs | jethac/ATF | 821 | 7047441 | <filename>Framework/Atf.Gui/Applications/IHierarchicalInsertionContext.cs
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
namespace Sce.Atf.Applications
{
/// <summary>
/// Interface for contexts that can insert new objects (e.g., via drag and drop) under
/// a specific ... |
Sources/AR/Assets/GoogleARCore/Examples/AugmentedFaces/Scripts/AR_ConfirmBtn.cs | suguys/WEB_AI-based-3D-and-AR-Fitting-Fitter_ARmyFitter | 3 | 7047442 | <filename>Sources/AR/Assets/GoogleARCore/Examples/AugmentedFaces/Scripts/AR_ConfirmBtn.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class AR_ConfirmBtn : MonoBehaviour
{
public GameObject RecomInput_value;
pub... |
src/MASA.Blazor/Components/Breadcrumbs/MBreadcrumbsItem.cs | jessicaqu1/MASA.Blazor | 1 | 7047443 | <filename>src/MASA.Blazor/Components/Breadcrumbs/MBreadcrumbsItem.cs<gh_stars>1-10
using BlazorComponent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace MASA.Blazor
{
public class MBreadcrumbsItem... |
EStation/Views/Hr/AddEmploy.xaml.cs | HalidCisse/eStation | 2 | 7047444 | using System;
using System.Security;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using eLib;
using eStationCore.Model.Hr.Entity;
using eStationCore.Model.Hr.Enums;
using FirstFloor.ModernUI.Windows.Controls;
namespace eStation.Views.Hr
{
/// <summ... |
Project_Anvil/Assets/_scripts/Utility/AISpawner.cs | DizzyIzzy/Anvil | 1 | 7047445 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AISpawner : MonoBehaviour {
ObjectPooler objectPooler;
public GameObject spawningParent;
public float x = 50; // x size or the area to spawn the units
public float z = 50; // z size of the area ... |
src/PropertyManager/PropertyManager/PropertyManager.UWP/Views/GroupsView.xaml.cs | coatsy/xplat-graph | 4 | 7047446 | <reponame>coatsy/xplat-graph
using Windows.UI.Core;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using MvvmCross.WindowsUWP.Views;
using PropertyManager.Models;
using PropertyManager.ViewModels;
namespace PropertyManager.UWP.Views
{
public sealed partial class GroupsView : MvxWindowsPage
{
... |
src/BinarySerializer.Klonoa.KH/FILE/Animation/AnimationSprite.cs | BinarySerializer/BinarySerializer.Klonoa | 1 | 7047447 | using BinarySerializer.Nintendo.GBA;
namespace BinarySerializer.Klonoa.KH
{
public class AnimationSprite : BinarySerializable
{
public sbyte XPos { get; set; }
public sbyte YPos { get; set; }
public OBJ_ATTR ObjAttr { get; set; }
public byte PaletteMode { get; set; }
pu... |
LibSource/mpir/mpir.net/mpir.net-tests/HugeIntTests/Bitwise.cs | ekzyis/CrypTool-2 | 12 | 7047448 | /*
Copyright 2014 <NAME>
This file is part of the MPIR Library.
The MPIR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.
Th... |
WordFinder/WordFinder/SearchManager.cs | Attracted/FunProjects | 0 | 7047449 | <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.Windows.Forms;
using System.IO;
namespace WordFinder
{
public class SearchManager
{
public SearchManager()
{
}
public void F... |
Assets/Scripts/BarProgress.cs | wmcheung/magic-wheels | 0 | 7047450 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BarProgress : MonoBehaviour {
public int bars;
public void buildProgressBar() {
// var counter = 0;
// var barsContainer = GameObject.FindGameObjectsWithTag ("BarProgress");
var bar_1 = GameO... |
src/MvcSiteMapProvider/MvcSiteMapProvider/MvcSiteMapNode.cs | marufbd/MvcSiteMapProvider | 1 | 7047451 | <filename>src/MvcSiteMapProvider/MvcSiteMapProvider/MvcSiteMapNode.cs
#region Using directives
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Web;
using System.Web.Routing;
using MvcSiteMapProvider.Exte... |
Library/ExternalTaskHandler.cs | chrishaland/camunda-external-task | 0 | 7047452 | <filename>Library/ExternalTaskHandler.cs
namespace Haland.CamundaExternalTask;
internal interface IExternalTaskHandler
{
/// <summary>
/// The external tasks topic name
/// </summary>
public string Topic { get; }
/// <summary>
/// List of variables that should be received if they are accessib... |
UnityProject/Delight/Assets/Delight/Source/DelightManager.cs | dungeon2567/Delight | 0 | 7047453 | <reponame>dungeon2567/Delight
#region Using Statements
using System;
using System.Reflection;
using UnityEngine;
#if DELIGHT_MODULE_PLAYFAB
using PlayFab;
#endif
#endregion
namespace Delight
{
/// <summary>
/// Global manager that performs initialization and updates for Delight.
/// </summary>
public ... |
Assets/Scripts/Enemies/UfoShot.cs | asderfghj/Super-Dino-Rocket-Turbo | 0 | 7047454 | <reponame>asderfghj/Super-Dino-Rocket-Turbo
using UnityEngine;
using System.Collections;
public class UfoShot : MonoBehaviour {
// Update is called once per frame
void Update ()
{
transform.Translate(0.2f, 0f, 0f, Space.Self);
if (transform.position.x > 30 || transform.position.x < -30
|| transform.posit... |
ThinkingHome.Migrator/Providers/TransformationProvider.cs | eatskolnikov/migrator | 25 | 7047455 | <filename>ThinkingHome.Migrator/Providers/TransformationProvider.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Logging;
using ThinkingHome.Migrator.Framework;
using ThinkingHome.Migrator.Framework.Extensions;... |
UnityEngineX/PlayerPrefsX.cs | Unity-X/UnityEngine-X | 0 | 7047456 | using System;
using System.Collections.ObjectModel;
using UnityEngine;
public static class PlayerPrefsX
{
public static readonly ReadOnlyCollection<Type> SupportedValueTypes = Array.AsReadOnly(new Type[]
{
typeof(short),
typeof(ushort),
typeof(int),
typeof(uint),
typeof... |
GestionaleTecnoimpianti/GestionaleTecnoimpianti/windows/furgoni/FormFurgoni.xaml.cs | manuandru/Basi_Di_Dati_2021 | 0 | 7047457 | <filename>GestionaleTecnoimpianti/GestionaleTecnoimpianti/windows/furgoni/FormFurgoni.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Document... |
SomosLaBola/Geometries/CylinderPrimitive.cs | MaxBurnit/2021-1C-K3051-SomosLaBola | 0 | 7047458 | <gh_stars>0
#region File Description
//-----------------------------------------------------------------------------
// CylinderPrimitive.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------... |
DemoService/TestServiceHandlers.cs | Ultz/SimpleServer | 0 | 7047459 | // TestServiceHandlers.cs - DemoService
//
// Copyright (C) 2018 Ultz Limited
//
// This file is part of SimpleServer.
//
// SimpleServer is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either ver... |
Boilerplate.Models/RoleModel.cs | lvlkoo/AspNetCoreBoilerPlate | 2 | 7047460 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Boilerplate.Models
{
public class RoleModel : IModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public List<string> Permissions { get; set; }
}
}
|
Apartment.cs | Sadikk/SweetHome | 2 | 7047461 | <filename>Apartment.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace SweetHome
{
public class Apartment : INotifyPropertyChanged
{
private string _price;
... |
brawltools/BrawlLib/SSBB/ResourceNodes/RSAR/File Types/RSTMNode.cs | Birdthulu/Legacy-Costume-Manager | 1 | 7047462 | <gh_stars>1-10
using System;
using BrawlLib.SSBBTypes;
using BrawlLib.Wii.Audio;
using System.Audio;
using System.ComponentModel;
using System.IO;
using BrawlLib.IO;
using System.Linq;
namespace BrawlLib.SSBB.ResourceNodes
{
public unsafe class RSTMNode : RSARFileNode, IAudioSource
{
internal RSTMHead... |
NActiviti/Sys.Bpm.Engine/Engine/impl/bpmn/parser/handler/StartEventParseHandler.cs | zhangzihan/nactivity | 62 | 7047463 | using System;
/* 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 writing, softw... |
SkyEditor.RomEditor.Rtdx/Domain/Rtdx/Structures/Rank.cs | theCapypara/SkyEditor.RomEditor.Rtdx | 6 | 7047464 | <reponame>theCapypara/SkyEditor.RomEditor.Rtdx<filename>SkyEditor.RomEditor.Rtdx/Domain/Rtdx/Structures/Rank.cs
using SkyEditor.IO.Binary;
using System.Collections.Generic;
using System.Text;
using SkyEditor.RomEditor.Domain.Rtdx.Constants;
using SkyEditor.RomEditor.Domain.Common.Structures;
namespace SkyEditor.RomEdi... |
Ivony.Configuration/Ivony.Configurations/ConfigurationValue.cs | Ivony/Ivony.Configuration | 1 | 7047465 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.Dynamic;
using System.Linq.Expressions;
namespace Ivony.Configurations
{
/// <summary>
/// 定义配置值
/// </summary>
public abstract class ConfigurationValue... |
FutbolPlay/FutbolPlay/Services/ReservationService.cs | Fiive-Studio/sports-play-mobile | 0 | 7047466 | <filename>FutbolPlay/FutbolPlay/Services/ReservationService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FutbolPlay.Services
{
public class ReservationService
{
public static bool HasChanges { get; set; }
... |
Assets/Scripts/InstantVelocity.cs | kdo70/Zombie-Runner-Inverted | 0 | 7047467 | <reponame>kdo70/Zombie-Runner-Inverted
using UnityEngine;
using System.Collections;
public class InstantVelocity : MonoBehaviour {
public Vector2 velocity = Vector2.zero;
private Rigidbody2D body2d;
void Awake(){
body2d = GetComponent<Rigidbody2D> ();
}
public void SetVelocity(float xSpeed, float ySpeed) {
... |
src/Trakx.Utils/Extensions/DbContextExtensions.cs | trakx/dotnet-utils | 0 | 7047468 | using Microsoft.EntityFrameworkCore;
using Serilog;
using System.Linq;
namespace Trakx.Utils.Extensions
{
public static class DbContextExtensions
{
public static void LogMigrations(this DbContext context, ILogger logger)
{
var migrationList = context.Database.GetMigrations().ToList... |
SudokuValidator/SudokuValidator/SudokuSquareValidator.cs | Wolftrot/Sudoku | 0 | 7047469 |
namespace SudokuValidator
{
class SudokuSquareValidator
{
int[,] SquareBoard;
int counter;
private Sudoku sdk;
public SudokuSquareValidator(Sudoku sdk)
{
this.sdk = sdk;
}
/// <summary>
/// Check if a square in the su... |
Assets/UniSpline/Scripts/Bezier.cs | adrenak/UniSpline | 9 | 7047470 | <reponame>adrenak/UniSpline
using UnityEngine;
namespace UniSpline {
[System.Serializable]
public class Bezier {
public Vector3 startPos;
public Vector3 endPos;
public Vector3 startTan;
public Vector3 endTan;
public Bezier(Vector3 startPos, Vector3 startTan, ... |
01.C Sharp part 1/05.ConditionalStatements/MultiplicationSign/04.MultiplicationSign.cs | enchev-93/Telerik-Academy | 0 | 7047472 | <gh_stars>0
//Problem 4. Multiplication Sign
//Write a program that shows the sign (+, - or 0) of the product
//of three real numbers, without calculating it.
//Use a sequence of if operators.
//Examples:
//a b c result
//5 2 2 +
//-2 -2 1 +
//-2 4 3 -
//0 -2.5 4 0
//-... |
SkillEditor/Assets/SkillEditor/Proto/StringID.proto.cs | jesenzhang/Unity-SkillEditor | 53 | 7047473 | <reponame>jesenzhang/Unity-SkillEditor
//------------------------------------------------------------------------------
// <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>
//---... |
Alipay.AopSdk.Core/Response/KoubeiContentCommentReplyCreateResponse.cs | gaojunhuang/Alipay.AopSdk.Core | 708 | 7047474 | using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// KoubeiContentCommentReplyCreateResponse.
/// </summary>
public class KoubeiContentCommentReplyCreateResponse : AopResponse
{
/// <summary>
/// 口碑评价id,即入参中的comment_id,后续可用于回复内容的增删改查
/// </summary>
[JsonProperty("commen... |
Samples/Samples/Samples/Particles/09-Bounce/BounceSample.cs | Drul1337/DigitalRune | 234 | 7047475 | <gh_stars>100-1000
using DigitalRune.Diagnostics;
using DigitalRune.Graphics.SceneGraph;
using Microsoft.Xna.Framework;
namespace Samples.Particles
{
[Sample(SampleCategory.Particles,
"This sample shows how to create a bouncing particles using a custom effector.",
"Particles get stretched in motion directi... |
C#/CategorizeNewMember.cs | mallorysmith64/codewars-solutions | 1 | 7047476 | // Language: C#
// Level: 7kyu
// Name of Problem: Categorize New Member
// Instructions: The Western Suburbs Croquet Club has two categories of membership, Senior and Open. They would like your help with an application form that will tell prospective members which category they will be placed.
// To be a senior, a me... |
src/Orchard.Web/Modules/CloudBust.Application/Models/ParameterRecord.cs | doticca/Orchard.CloudBust | 1 | 7047477 | <reponame>doticca/Orchard.CloudBust
using System;
using System.Runtime.Serialization;
using System.Web.Security;
using Orchard.ContentManagement.Records;
using Orchard.Data.Conventions;
using System.Collections.Generic;
namespace CloudBust.Application.Models
{
public class ParameterRecord
{
public Para... |
LNF.Impl/Repository/Ordering/TrackingCheckpoint.cs | lurienanofab/lnf | 1 | 7047478 | <reponame>lurienanofab/lnf
using LNF.DataAccess;
using LNF.Ordering;
using System;
namespace LNF.Impl.Repository.Ordering
{
/// <summary>
/// A checkpoint used for tracking an IOF
/// </summary>
public class TrackingCheckpoint : ITrackingCheckpoint, IDataItem
{
/// <summary>
/// The... |
zohoprojects/util/ZohoHttpClient.cs | zoho/projects-dotnet-wrappers | 1 | 7047479 | // ***********************************************************************
// Assembly : zohoprojects
// Author : hari-2197
// Created : 06-19-2014
//
// Last Modified By : hari-2197
// Last Modified On : 06-18-2014
// ***********************************************************************
/... |
OPSMBackend/Models/Dto/OtherTestDto.cs | shrungBhatt/PathologyLabServer | 0 | 7047481 | <reponame>shrungBhatt/PathologyLabServer
using OPSMBackend.DataEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OPSMBackend.Models.Dto
{
public class OtherTestDto
{
public int Id { get; set; }
public int TestGroupId { get; set... |
src/CoolStore.Modules.Catalog/Data/Configurations/CategoryConfiguration.cs | thangchung/coolstore-moduliths | 12 | 7047482 | <filename>src/CoolStore.Modules.Catalog/Data/Configurations/CategoryConfiguration.cs<gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CoolStore.Modules.Catalog.Data.Configurations
{
public class CategoryConfiguration : IEntityTypeConfiguration<D... |
Teacher/Teacher.Website/Feature/Interview/Question/Update/Command.cs | PiotrWandycz/Teacher | 1 | 7047483 | <gh_stars>1-10
using MediatR;
namespace Teacher.Website.Feature.Interview.Question.Update
{
public class Command : IRequest
{
public ViewModel.QuestionInputModel Question { get; set; }
}
} |
src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs | Anomalous-Software/Lucene.NET | 0 | 7047484 | <reponame>Anomalous-Software/Lucene.NET<gh_stars>0
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you un... |
Assets/UnityWebSocket/Scripts/Editor/Server_WebSocketSharp.cs | sdonline13/UnityWebSocket | 0 | 7047485 | using System.Collections.Generic;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using UnityEditor;
using UnityEngine;
using WebSocketSharp.Server;
namespace UnityWebSocket.Editor
{
internal class Server_WebSocketSharp : EditorWindow
{
sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.