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 |
|---|---|---|---|---|
nbs-grpc2s-lib/pb/RpcGossipMessage.cs | NBSChain/gonbs-rpc-test | 0 | 7028891 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpcGossipMessage.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global... |
02CSharp/DotNet_Domain/EventBusDemo/EventBusDemo/Demos/Fishing/FishingEventHandler.cs | shenhx/DotNetAll | 3 | 7028892 | <filename>02CSharp/DotNet_Domain/EventBusDemo/EventBusDemo/Demos/Fishing/FishingEventHandler.cs
using EventBusDemo.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventBusDemo.Demos.Fishing
{
public class FishingEventHandler : IEv... |
documents/amazon-rekognition-developer-guide/code_examples/dotnet_examples/image/net-celebrity-info.cs | siagholami/aws-documentation | 5 | 7028893 | <gh_stars>1-10
//Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//PDX-License-Identifier: MIT-0 (For details, see https://github.com/awsdocs/amazon-rekognition-developer-guide/blob/master/LICENSE-SAMPLECODE.)
using System;
using Amazon.Rekognition;
using Amazon.Rekognition.Model;
public cla... |
FirebaseStandard/FirebaseStandard/Storage/FirebaseMetaData.cs | Nullstr1ng/FirebaseStandard | 2 | 7028894 | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace FirebaseStandard.Storage
{
/// <summary>
/// Full list of meta data available here: https://firebase.google.com/docs/storage/web/file-metadata
/// </summary>
public class FirebaseMetaData... |
src/Ors.Framework/Data/DataService.cs | tianzhiyuan/Spellet | 1 | 7028895 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Ors.Core;
using Ors.Core.Components;
us... |
CBreeze/UncommonSense.CBreeze.Core/TableRelationCondition.cs | mprise-indigo/UncommonSense.CBreeze | 6 | 7028896 | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace UncommonSense.CBreeze.Core
{
public class TableRelationCondition
{
public TableRelationCondition(string fieldName, SimpleTableFilterType type, string value)
{
FieldName = fieldName... |
dsis/src/Scheme.Impl.Tests/src/Actions/Console/DumpInvocationCountAction.cs | jonnyzzz/phd-project | 1 | 7028897 | <filename>dsis/src/Scheme.Impl.Tests/src/Actions/Console/DumpInvocationCountAction.cs
using System.Collections.Generic;
using DSIS.Scheme.Ctx;
using DSIS.Scheme.Impl.Actions.Files;
namespace DSIS.Scheme.Impl.Actions.Console
{
public class DumpInvocationCountAction : ActionBase
{
private int myCount = 0... |
SerpoServer/Security/Identity.cs | eliashak00/SerpoServer | 2 | 7028898 | // ################################################
// ##@project SerpoCMS.Core
// ##@filename Identity.cs
// ##@author <NAME>
// ##@license MIT - License(see license.txt)
// ################################################
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claim... |
KinaUnaWeb/Views/Home/Index.da.cshtml | KinaUna/KinaUnaCom | 1 | 7028899 | <gh_stars>1-10
@model KinaUnaWeb.Models.HomeViewModels.HomeFeedViewModel
@{
ViewData["Title"] = "Home";
}
<div class="container">
<div class="row">
<div class="col-10 col-md-8" style="margin-bottom: 10px; float: left; padding-left: 25px;">
<H4>
<img src="~/images/KinaUnaLogo... |
WEMServices/Common/ErrorMessages.Designer.cs | Infosys/Script-Control-Center | 0 | 7028900 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
TennisSchemaApplicatie/EnterNameDialog.Designer.cs | JaspervdGraaf/TennisRosterApplication | 0 | 7028901 | namespace TennisSchemaApplicatie
{
partial class EnterNameDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed ... |
ViewModels/CreateStrings.cs | deash14/RunTime | 0 | 7028902 | <filename>ViewModels/CreateStrings.cs
using System;
using Model;
namespace ViewModels
{
public static class CreateStrings
{
public static string ConvertTimeToString(int hours, int minutes, double seconds)
{
string time = string.Empty;
if (hours > 0)
{
... |
Assets/Editor/VMEObjectActionEditor.cs | HelrenPDM/VR_VME | 0 | 7028903 | using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(VMEObjectAction))]
public class VMEObjectActionEditor : Editor {
public VMEObjectAction _target;
void OnEnable()
{
_target = (VMEObjectAction)target;
}
public override void OnInspectorGUI()
{
serializedObject.Update();
... |
MSTest.FullFramework/GeneralSyntaxExamples/SyntaxExamples.cs | elizabethcrich/UnitTestingBootcamp | 1 | 7028904 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MSTest.FullFramework
{
[TestClass]
public class SyntaxExamples
{
/*
* The "ClassInitialize" method is called once per TestClass
* before any tests or TestInitialize methods are run. This
* method... |
dl-api-csharp/Doublelives.Domain/Users/Dto/CurrentUserDto.cs | lzw5399/dl-admin | 5 | 7028905 | using Doublelives.Shared.Enum;
using System;
using System.Collections.Generic;
using System.Text;
namespace Doublelives.Domain.Users.Dto
{
public class CurrentUserDto
{
public int Id { get; set; }
public Role Role { get; set; }
public string Email { get; set; }
public string... |
CK.MQTT.Client.Abstractions/MqttEndpointDisconnected.cs | signature-opensource/CK-MQTT-OLD | 0 | 7028906 | <reponame>signature-opensource/CK-MQTT-OLD
namespace CK.MQTT
{
/// <summary>
/// Reason of an MQTT Client or Server disconnection
/// </summary>
public enum DisconnectedReason
{
/// <summary>
/// Disconnected by the remote host
/// </summary>
/// <remarks>
/// T... |
Matriz_hecha/idejfFDC-PR/identifejforms/Form1.cs | AriAlanPR/LexicExample | 0 | 7028907 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace identifejforms
{
public partial class identif : Form
{
public iden... |
src/Amqp/Akka.Streams.Amqp.RabbitMq/IncomingMessage.cs | ericphan/Alpakka | 56 | 7028908 | using Akka.IO;
using RabbitMQ.Client;
namespace Akka.Streams.Amqp.RabbitMq
{
public sealed class IncomingMessage
{
public IncomingMessage(ByteString bytes, Envelope envelope, IBasicProperties properties)
{
Bytes = bytes;
Envelope = envelope;
Properties = pro... |
Exam OOP Basic/Exam OOP Basic/Core/Engine.cs | vasilchavdarov/SoftUniHomework | 0 | 7028909 | <reponame>vasilchavdarov/SoftUniHomework<filename>Exam OOP Basic/Exam OOP Basic/Core/Engine.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Engine
{
private DraftManager manager;
private bool isRunning;
public... |
tools/scale-testing/Common/Samples.cs | daemel/dicom-server | 0 | 7028910 | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
TankLib/STU/Types/STU_7686C692.cs | Mike111177/OWLib | 1 | 7028911 | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x7686C692)]
public class STU_7686C692 : STUInstance {
[STUFieldAttribute(0xCEC2CE1B)]
public teString m_CEC2CE1B;
[STUFieldAttribute(0x17BB822A, ReaderType = typ... |
Source/UnitTests/ManagedIrbis/IrbisSearchQueryTest.cs | fossabot/ManagedIrbis | 0 | 7028912 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ManagedIrbis;
namespace UnitTests.ManagedIrbis
{
[TestClass]
public class IrbisSearchQueryTest
{
private void _TestQuery
(
string text,
string expected
)
{
... |
projects/hello-world-with-cookies/src/Program.cs | aydey/dotnetcore2 | 4 | 7028913 | <filename>projects/hello-world-with-cookies/src/Program.cs<gh_stars>1-10
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace HelloWorldWithCookies
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
... |
src/Nest/CommonAbstractions/Fields/FieldValues.cs | RossLieberman/NEST | 0 | 7028914 | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonConverter(typeof(FieldValuesJsonConverter))]
public class ... |
Source/AiryCore.Identity.NHibernate/Helper/AsyncHelper.cs | mlintell/Alaunis.AspNetCore.Identity.NHibernate | 0 | 7028915 | <reponame>mlintell/Alaunis.AspNetCore.Identity.NHibernate
namespace AiryCore.Helper
{
using System;
using System.Threading.Tasks;
internal static class AsyncHelper
{
public static Task<TResult> FromCanceled<TResult>()
{
var tcs = new TaskCompletionSource<TResult>();
... |
.Src/Extend/System.Char/Char.ToUpper.cs | DaveSenn/PortableExtensions | 38 | 7028916 | #region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="char" />.
/// </summary>
public static partial class CharEx
{
/// <summary>
/// Converts the val... |
src/api/LMSEntities/Helpers/ResponseHandler.cs | lawrencefej/LibraryManagementAPI | 0 | 7028917 | <gh_stars>0
using System.Collections.Generic;
namespace LMSEntities.Helpers
{
public class ResponseHandler
{
public int Id { get; set; }
public List<string> Errors { get; set; } = new List<string>();
public string Message { get; protected set; }
public object Result { get; s... |
PlatformAssemblies/PAF.UWP/Manufacturing/XamarinManufacturingUtilsInstance.cs | Platform-Agile-Software/PAF-Community | 0 | 7028918 | <reponame>Platform-Agile-Software/PAF-Community
//@#$&+
//
//The MIT X11 License
//
//Copyright (c) 2010 -2015 Icucom Corporation
//
//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 wi... |
Node/O10.Node.Network/Exceptions/CommunicationServiceNotSupportedException.cs | muaddibco/O10city | 1 | 7028919 | using System;
using O10.Network.Properties;
namespace O10.Network.Exceptions
{
[Serializable]
public class CommunicationServiceNotSupportedException : Exception
{
public CommunicationServiceNotSupportedException() { }
public CommunicationServiceNotSupportedException(string name) : base(st... |
Assets/Scripts/Spikes.cs | fontinixxl/AstroPortal | 2 | 7028920 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spikes : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D other)
{
if (other.tag == "Player" )
{
other.GetComponent<PlayerController2D>().ChangeHealth(-1);
}
}
}
|
NinjaVsZombie/Unity Prototype/Assets/PauseScreen.cs | Cabrra/SPG-Project | 0 | 7028921 | <reponame>Cabrra/SPG-Project
using UnityEngine;
using System.Collections;
public class PauseScreen : MonoBehaviour
{
public static PauseScreen Instance;
public GUISkin myskin;
private Rect windowRect;
public bool isPaused = false;
public bool miniMap = false;
public bool xboxCont = false;
public bool keyboa... |
Runtime/HiraVariables/DeclaredGenerics/Listeners/IntListenerComponent.cs | herohiralal/HiraTools | 32 | 7028922 | using UnityEngine.Events;
namespace UnityEngine.Internal
{
[AddComponentMenu("HiraTools/ScriptableObject Variables/Listeners/Int Listener")]
public class IntListenerComponent : ScriptableObjectVariableListenerComponent<int>
{
[SerializeField] private IntVariable variable = null;
[SerializeF... |
Sources/Engine/NeoAxis.Stubs/System.Windows.Forms/System.Windows.Forms/Cursors.cs | intensifier/NeoAxisEngine | 0 | 7028923 | namespace System.Windows.Forms
{
public sealed class Cursors
{
public static Cursor AppStarting
{
get
{
throw null;
}
}
public static Cursor Arrow
{
get
{
throw null;
}
}
public static Cursor Cross
{
get
{
throw null;
}
}
public static Cursor Default
{
... |
Azylee.Utils/Azylee.YeahWeb/SocketUtils/TcpUtils/TcpDataConverter.cs | a5550452/Fork | 492 | 7028924 | <reponame>a5550452/Fork<gh_stars>100-1000
using Azylee.Core.WindowsUtils.ConsoleUtils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Azylee.YeahWeb.SocketUtils.TcpUtils
{
public static class TcpDataConverter
{
const int HeadLength = 4 + 4 + 4;
... |
Source/PrimerLibrary/Interop/Windows/Gdi32/Methods/GetStockObject.cs | Shkyrockett/Primer | 0 | 7028925 | <filename>Source/PrimerLibrary/Interop/Windows/Gdi32/Methods/GetStockObject.cs
// <copyright file="GetStockObject.cs" company="Shkyrockett" >
// Copyright © 2020 - 2021 Shkyrockett. All rights reserved.
// </copyright>
// <author id="shkyrockett">Shkyrockett</author>
// <license>
// Licensed under the MIT Lice... |
TelegramBotApi/TelegramBotApi/FileManaging/InputFile.cs | devnulli/TelegramBotApi.NET | 2 | 7028926 | using System;
namespace nerderies.TelegramBotApi
{
public class InputFile
{
#region public types
public enum FileDescriptionMode
{
RealFile,
ReferencedFile
}
#endregion
#region private members
private readonly string _fileIdOr... |
Panosen.Compling.LL1.MSTest/TestSampleRule2.cs | panosen/panosen-compling | 0 | 7028927 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Panosen.Compling.Rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panosen.Compling.LL1.MSTest
{
[TestClass]
public class TestSampleRule2
{
[TestMethod]
... |
SysProcessViewModel/Product/ProNameVM.cs | tuoxieyz/fashionDRP | 2 | 7028928 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kernel;
using ViewModelBasic;
using SysProcessModel;
namespace SysProcessViewModel
{
public class ProNameVM : EditSynchronousVM<ProName>
{
public ProNameVM():base(VMGlobal.SysProcessQuery.LinqOP)
{
... |
src/BoboBrowse.Net/BoboBrowse.Net/Facets/Data/PredefinedTermListFactory.cs | JTOne123/BoboBrowse.Net | 0 | 7028929 | //* Bobo Browse Engine - High performance faceted/parametric search implementation
//* that handles various types of semi-structured data. Originally written in Java.
//*
//* Ported and adapted for C# by <NAME>, <NAME>, and zhengchun.
//*
//* Copyright (C) 2005-2015 <NAME>
//*
//* Licensed under the Apache License, ... |
PacmanWinForms/Classes/PacmanGame.cs | Obrelix/Pacman | 7 | 7028930 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Drawing;
using System.Windows.Forms;
using System.Media;
using System.IO;
using System.Security.Cryptography;
public delegate void PlaySample(bool repeat);
namespace PacmanWinForms
{
public class PacmanG... |
DrasticMedia.Core/Library/NewMediaItemErrorEventArgs.cs | drasticactions/DrasticMedia | 3 | 7028931 | <filename>DrasticMedia.Core/Library/NewMediaItemErrorEventArgs.cs
// <copyright file="NewMediaItemErrorEventArgs.cs" company="Drastic Actions">
// Copyright (c) Drastic Actions. All rights reserved.
// </copyright>
namespace DrasticMedia.Core.Library
{
/// <summary>
/// New Media Item Error Event Args.
//... |
externals/aliyun/src/ServiceCenterBase.cs | Zongsoft/Zongsoft.Framework | 1 | 7028932 | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(<NAME>) <<EMAIL>>
*... |
SimSpace/Assets/Centro de lanzamiento/TestLevel/scripts/crate.cs | oswaldo-musician/SIMSPACE | 0 | 7028933 | <reponame>oswaldo-musician/SIMSPACE<filename>SimSpace/Assets/Centro de lanzamiento/TestLevel/scripts/crate.cs
using UnityEngine;
using System.Collections;
public class crate : MonoBehaviour {
public float hitpoints = 100f;
public Transform spawnobject;
public float radius = 3.0f;
public float power = 100.0f;
// ... |
Nez.Portable/AI/UtilityAI/Considerations/ThresholdConsideration.cs | emlstudio/Nez | 1,618 | 7028934 | using System.Collections.Generic;
namespace Nez.AI.UtilityAI
{
/// <summary>
/// Scores by summing child Appraisals until a child scores below the threshold
/// </summary>
public class ThresholdConsideration<T> : IConsideration<T>
{
public float Threshold;
public IAction<T> Action { get; set; }
List<IAp... |
MIN/MINWire.cs | MvRens/min.NET | 0 | 7028935 | namespace MIN
{
/// <summary>
/// Constants for the values sent over the MIN transport.
/// </summary>
public static class MINWire
{
#pragma warning disable 1591
public const byte Ack = 0xff;
public const byte Reset = 0xfe;
public const byte HeaderByte = 0xaa;
... |
Desarrollo/SimuRails/Views/Abms/TrazaAbm/TrazasListForm.cs | sfederella/simurails-project | 3 | 7028936 | <reponame>sfederella/simurails-project
using NHibernate.Linq;
using SimuRails.DB;
using SimuRails.Models;
using SimuRails.Sharing;
using SimuRails.Views.Abms.FormacionAbm;
using SimuRails.Views.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace SimuRa... |
cds/orgsvc/C#/ShareRecordUsingAccessTeam/ShareRecordUsingAccessTeam/SampleMethods.cs | SrinathPegaCRM/PowerApps-Samples | 714 | 7028937 | using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Tooling.Connector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PowerApps.Samples
{
public partial class SampleProgram
{
// Define the IDs ne... |
src/BotHelper.cs | ElementoLab/pmkb-hackfest | 4 | 7028938 | using System;
using System.Net.Http;
namespace Pmkb.Bot
{
public class BotHelper
{
private Settings _settings;
public string SpeechKey => _settings.MicrosoftSpeechApiKey;
public string CrisEndpointId => _settings.CrisEndpointId;
public string AppInsightsInstrumentationKey => _... |
Itminus.InDirectLine.Core/Services/IDirectLineConnections/Core/WebSocketDirectLineConnection.cs | newbienewbie/InDirectLine | 15 | 7028939 | <reponame>newbienewbie/InDirectLine<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
namespace Itminus.InDirectLine.Core.Services.IDirectLineConnections
{
public class WebSocketDirectLineConnection... |
tests/CheckTemplatesCore/Startup.cs | deining/ServiceStack | 1 | 7028940 | <reponame>deining/ServiceStack
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using Funq;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Exten... |
Source/Libs/AM.Win32/Source/User32/AnimateWindowFlags.cs | amironov73/ManagedIrbis5 | 0 | 7028941 | <gh_stars>0
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable Field... |
src/Zonkey.Mocks.Fx/MockDbCommand.cs | kellybirr/zonkey | 3 | 7028942 | using System;
using System.Data;
using System.Data.Common;
namespace Zonkey.Mocks
{
/// <summary>
/// A mock of a DbCommand class for unit testing
/// </summary>
public class MockDbCommand : DbCommand
{
protected internal MockDbCommand()
{
}
... |
XamChatLabelDecorator/ChatStringSection.cs | AlisuTech/XamChatLabelDecorator | 1 | 7028943 | using System;
using System.Collections.Generic;
using System.Text;
namespace XamChatLabelDecorator
{
internal class ChatStringSection
{
public ChatStringSection()
{
DecorationSections = new List<DecorationSection>();
}
public string ActualText { get; set; }
... |
src/Runtime/Runtime/Windows.UI.Xaml.Controls.Primitives/WORKINPROGRESS/LayoutInformation.cs | bstoinev/OpenSilver | 0 | 7028944 | #if WORKINPROGRESS
using System;
using System.Windows;
#if MIGRATION
using System.Windows.Media;
using System.Windows.Threading;
#else
using Windows.Foundation;
using Windows.UI.Core;
using Windows.UI.Xaml.Media;
#endif
#if MIGRATION
namespace System.Windows.Controls.Primitives
#else
namespace Windows.UI.Xaml.Control... |
src/Prism.Forms.Extended/PrismApplication.cs | dansiegel/Prism.Container.Extensions | 114 | 7028946 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Prism.Container.Extensions.Internals;
using Prism.Events;
using Prism.Forms.Extended.ViewModels;
usi... |
Assets/FarAlone/Scripts/UI/UIManager.cs | InjectorGames/Reborn | 1 | 7028947 | <reponame>InjectorGames/Reborn<gh_stars>1-10
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
using UnityEngine;
public class UIManager : MonoBehaviour
{
GameObject[] pauseObjects;
// Start is called before the first frame update
void Start()
{
Time.t... |
src/ZendeskApi_v2/Requests/HelpCenter/Comments.cs | vbo-softserve/ZendeskApi_v2 | 0 | 7028948 | #if ASYNC
using System.Threading.Tasks;
#endif
using System.Collections.Generic;
using ZendeskApi_v2.Models.HelpCenter.Comments;
namespace ZendeskApi_v2.Requests.HelpCenter
{
public interface IComments : ICore
{
#if SYNC
GroupCommentResponse GetCommentsForArticle(long? articleId, int? perPage = null, int? page =... |
Sledge.Editor/Actions/IAction.cs | tohateam/SledgeEditorRu | 1 | 7028949 | using System;
using System.Collections.Generic;
using System.Text;
using Sledge.Editor.Documents;
namespace Sledge.Editor.Actions
{
public interface IAction : IDisposable
{
bool SkipInStack { get; }
bool ModifiesState { get; }
void Reverse(Document document);
void Perform(Docum... |
src/Qtfy.Net/Numerics/Random/RandomNumberEngines/ThreeFry4X64.cs | QuantifEye/Qtfy.Net | 0 | 7028950 | // <copyright file="ThreeFry4X64.cs" company="QuantifEye">
// Copyright (c) QuantifEye. All rights reserved.
// Licensed under the Apache 2.0 license.
// See LICENSE.txt file in the project root for full license information.
// </copyright>
namespace Qtfy.Net.Numerics.Random.RandomNumberEngines
{
/// <summary>
... |
PersonaEditor/ApplicationSettings/BackgroundDefault.Designer.cs | hanakomisa/PersonaEditor | 29 | 7028951 | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... |
Assets/Tests/Runtime/Host/NetworkServerTest.cs | dragonslaya84/MirrorNG | 2 | 7028952 | <reponame>dragonslaya84/MirrorNG
using System;
using Cysharp.Threading.Tasks;
using NUnit.Framework;
using UnityEngine;
using Object = UnityEngine.Object;
namespace Mirror.Tests.Host
{
[TestFixture]
public class NetworkServerTest : HostSetup<MockComponent>
{
[Test]
public void MaxConnectio... |
SHFB/Source/VSIX_VS2017/Templates/Projects/SyntaxGeneratorCS/AssemblyInfo.cs | Mu-L/SHFB | 0 | 7028953 | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
// General assembly information
[assembly: AssemblyCopyright(AssemblyInfo.Copyright)]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
// Resources contained within the as... |
src/Plugin.Fingerprint.Android/CrossFingerprint.Android.cs | alvynfash/xamarin-fingerprint | 1 | 7028954 | using System;
using Android.App;
using Android.Hardware.Fingerprints;
using Java.Lang;
using Plugin.Fingerprint.Dialog;
namespace Plugin.Fingerprint
{
public partial class CrossFingerprint
{
private static Func<Activity> _activityResolver;
private static Type _dialogFragmentType;
publ... |
KendoScript/Kendo/UI/MaskedTextBox.cs | bendyline/Facer | 0 | 7028955 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using jQueryApi;
namespace Kendo.UI
{
[Imported]
[IgnoreNamespace]
[ScriptName("Object")]
public class MaskedTextBox : Widget
{
public MaskedTextBoxOptions Options;
public ... |
Corporate.MyFilmes.Schedule.Api/Consumers/NewFilme/NewFilmeMessage.cs | thiagoadoq/MyFilmes | 0 | 7028956 | using EasyNetQ;
namespace Corporate.MyFilmes.Schedule.Api.Consumers.NewFilme
{
[Queue(nameof(NewFilmeMessage))]
public class NewFilmeMessage
{
public decimal Preco { get; set; }
public string? Titulo { get; set; }
public string? Nome { get; set; }
public string? UrlImagem {... |
code/Luval.Data/Attributes/TableNameAttribute.cs | marinoscar/luval-data | 0 | 7028957 | using Luval.Data.Sql;
using System;
using System.Collections.Generic;
using System.Text;
namespace Luval.Data.Attributes
{
/// <summary>
/// Specifies the name of a table for an entity
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class TableNameAttribute : Attribute
{
... |
src/DnDTracker.Web/Objects/LogObject.cs | itsmistad/DnDTracker | 14 | 7028958 | <reponame>itsmistad/DnDTracker
using Amazon.DynamoDBv2.DataModel;
using DnDTracker.Web.Persisters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace DnDTracker.Web.Objects
{
public class LogObject : AbstractObject
{
[Dyn... |
src/AspNetCore.Base/Controllers/Api/ApiControllerBase.cs | davidikin45/DigitalNomadDaveAspNetCore2 | 4 | 7028959 | using AspNetCore.Base.ActionResults;
using AspNetCore.Base.Email;
using AspNetCore.Base.Extensions;
using AspNetCore.Base.MultiTenancy;
using AspNetCore.Base.Settings;
using AspNetCore.Base.Validation;
using AspNetCore.Mvc.MvcAsApi.Factories;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCor... |
src/Core/src/Layouts/AbsoluteLayoutManager.cs | vladboss61/maui | 1 | 7028960 | using System;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Layouts
{
public class AbsoluteLayoutManager : LayoutManager
{
public IAbsoluteLayout AbsoluteLayout { get; }
const double AutoSize = -1;
public AbsoluteLayoutManager(IAbsoluteLayout absoluteLayout) : base(absoluteLayout)
{
AbsoluteL... |
SlipeServer.Server/PacketHandling/Handlers/SyncMiddleware/MaxRangeSyncHandlerMiddleware.cs | correaAlex/Slipe-Server | 0 | 7028961 | using SlipeServer.Server.Elements;
using SlipeServer.Server.Repositories;
using System.Collections.Generic;
using System.Linq;
namespace SlipeServer.Server.PacketHandling.Handlers.Middleware;
public class MaxRangeSyncHandlerMiddleware<TData> : ISyncHandlerMiddleware<TData>
{
private readonly IElementRepository e... |
Addiscode.SudokuGenerator/BoardPresetDifficulty_9X9.cs | AddisCodeDev/SudokuSolver | 0 | 7028962 | using System.Collections.Generic;
using Addiscode.SudokuGenerator.Models;
namespace Addiscode.SudokuGenerator
{
public class BoardPresetDifficulty_9X9
{
public static DifficultySetting DifficultySetting = new DifficultySetting
{
DifficultySituations = new List<DifficultySi... |
34.OOP-Advanced-TravelExam/Travel/Entities/Items/CellPhone.cs | nikolayvutov/CSharp | 0 | 7028963 | <filename>34.OOP-Advanced-TravelExam/Travel/Entities/Items/CellPhone.cs<gh_stars>0
namespace Travel.Entities.Items
{
public class CellPhone : Item
{
private const int value = 700;
public CellPhone()
: base(value)
{
}
}
} |
Texxtoor/Solution/Texxtoor.Portal/Areas/AuthorPortal/Views/Team/Teams/_AddTeamButton.cshtml | joergkrause/texxtoor | 0 | 7028964 | <filename>Texxtoor/Solution/Texxtoor.Portal/Areas/AuthorPortal/Views/Team/Teams/_AddTeamButton.cshtml
@Create.FormButtonOnClick("addBtn", "ui.addElement()", ViewResources.Action_Team_CreateTeam, BtStyle.ButtonPrimary, (ViewData["MinScore"] != null))
@if (ViewData["MinScore"] != null) {
@Html.Partial("LayoutPartials/... |
Source/Eto/Forms/UITimer.cs | M1C/Eto | 2 | 7028965 | using System;
namespace Eto.Forms
{
public interface IUITimer : IWidget
{
double Interval { get; set; }
void Start();
void Stop();
}
public class UITimer : Widget, IUITimer
{
IUITimer inner;
public static double DefaultInterval = 1.0; // 1 second
public event EventHandler<EventArgs> Elapsed;
... |
src/NodaTime.Web/Helpers/NodaHtmlHelpers.cs | DanCarterGMSL/nodatime.org | 16 | 7028966 | <gh_stars>10-100
// Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Google.Protobuf.WellKnownTypes;
using Microsoft.AspNetCore.Mvc.Rendering;
using NodaTime.Text;
namespace NodaTime.Web.Helpers
{
... |
Gentings/Data/Migrations/MigrationBuilder.cs | Mozlite/Gentings | 0 | 7028967 | using Gentings.Data.Migrations.Builders;
using Gentings.Data.Migrations.Operations;
using Gentings.Extensions;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Gentings.Data.Migrations
{
/// <summary>
/// 迁移构建实例。
/// </summary>
public class MigrationBuilder
... |
VirtualEconomyFramework/VEconomy/Controllers/VEDriversLiteController.cs | fyziktom/VirtualEconomyFramework | 18 | 7028968 | <reponame>fyziktom/VirtualEconomyFramework
using log4net;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using VEconomy.Common;
using VEDrivers.Com... |
Src/IronPython/Hosting/PythonService.cs | btddg28/ironpython | 2 | 7028969 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... |
src/Thinktecture.Net.Http.Abstractions/Net/Http/IHttpResponseMessage.cs | PawelGerr/Tooling.Test | 0 | 7028970 | using System;
using System.Net;
using System.Net.Http;
using Thinktecture.Net.Http.Headers;
namespace Thinktecture.Net.Http
{
/// <summary>Represents a HTTP response message including the status code and data.</summary>
public interface IHttpResponseMessage : IAbstraction<HttpResponseMessage>, IDisposable
{
/// ... |
Assets/Board Game Assets/Scripts/Board Game/Tooltip/TextMeshTooltip.cs | TrampaAleksa/Space-Board-Game | 0 | 7028971 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TextMeshTooltip : MonoBehaviour, ITooltipAction
{
public TextMeshPro tooltipTextComponent;
protected Animator tooltipAnimator;
public TooltipAnimationType defaultAnimationType;
private... |
common/src/Microsoft.Azure.IIoT.Abstractions/src/Storage/IGraphQueryClient.cs | garolion/Industrial-IoT | 1 | 7028972 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
EmpowerBusiness/usp_RPT_PercentOfUnderwritingIssues_Result.cs | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | 0 | 7028973 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
src/SharpBrick.PoweredUp/Enums/DuploColorTag.cs | KeyDecoder/powered-up | 60 | 7028974 | namespace SharpBrick.PoweredUp
{
public enum DuploColorTag : sbyte
{
None = -1,
Water = 3, // blue
Redirect = 5, // green
Sound = 7, // yellow
Stop = 9, // red
Light = 10, // white
}
} |
WebUniversidade/ListaPaginada.cs | silvioantonio/web-universidade | 0 | 7028975 | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebUniversidade
{
public class ListaPaginada<T> : List<T>
{
public int IndicePagina { get; private set; }
public int TotalPaginas { get; p... |
src/Cimbalino.Phone.Toolkit (WP71)/Services/ISavePhoneNumberService.cs | Cimbalino/Cimbalino-Phone-Toolkit | 12 | 7028976 | // ****************************************************************************
// <copyright file="ISavePhoneNumberService.cs" company="<NAME>">
// Copyright © <NAME> 2011
// </copyright>
// ****************************************************************************
// <author><NAME></author>
// <email><EMAIL></emai... |
src/Mono.Android/Test/Xamarin.Android.Net/HttpClientIntegrationTests.cs | radekdoulik/xamarin-android | 0 | 7028977 | <filename>src/Mono.Android/Test/Xamarin.Android.Net/HttpClientIntegrationTests.cs
//
// HttpClientIntegrationTests.cs
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2011 Xamarin Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software a... |
src/NuGet.Core/NuGet.Common/PathUtil/INuGetPathContext.cs | Thomas06000/NuGet.Client | 1 | 7028978 | <gh_stars>1-10
using System.Collections.Generic;
namespace NuGet.Common
{
/// <summary>
/// Common NuGet paths. These values may be overridden in NuGet.Config or by
/// environment variables, resolving the paths here requires NuGet.Configuration.
/// </summary>
public interface INuGetPathContext
... |
Source/MindKeeper.Api/Controllers/AccountController.cs | vashov/mindkeeper-api | 0 | 7028979 | <filename>Source/MindKeeper.Api/Controllers/AccountController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MindKeeper.Api.Core.Routing;
using MindKeeper.Shared.Wrappers;
using MindKeeper.Api.Services.Users;
using MindKeeper.Shared.Models.ApiMode... |
CefSharp.AspNetCore.Mvc.Example.Wpf/Controllers/HomeController.cs | mattkol/Chromium.AspNetCore.Bridge | 1 | 7028980 | <gh_stars>1-10
using CefSharp.AspNetCore.Mvc.Example.Wpf.Models;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace CefSharp.AspNetCore.Mvc.Example.Wpf.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
... |
Assets/Meteor/CoClass.cs | maoa3/meteor_original_ios | 0 | 7028981 | using System;
using System.Collections.Generic;
using ProtoBuf;
namespace CoClass
{
[ProtoContract]
//[ProtoInclude(200, typeof(RegData))]
//[ProtoInclude(201, typeof(UserInfo))]
//[ProtoInclude(202, typeof(SimpleMessage))]
//[ProtoInclude(203, typeof(ChatAck))]
//[ProtoInclude(204, typeof(Res... |
Src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedImplementationMethod.cs | sperling/cskarp | 6 | 7028982 | <filename>Src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedImplementationMethod.cs
// Copyright (c) Microsoft Open Technologies, 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;
using... |
src/CAESAR.ConsoleApp/Program.cs | artfuldev/CAESAR | 2 | 7028983 | <filename>src/CAESAR.ConsoleApp/Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using CAESAR.Chess;
using CAESAR.Chess.Games;
using CAESAR.Chess.Games.Exceptions;
using CAESAR.Chess.Moves;
using CAESAR.Chess.Moves.Notations;
using CAESAR.Chess.... |
Blocks/Core/NoteTypes.ascx.cs | CapitalCityVineyard/rock | 0 | 7028984 | // <copyright>
// Copyright by the Spark Development Network
//
// Licensed under the Rock Community License (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.rockrms.com/license
//
// Unless required by applicable law or ag... |
src/SFA.DAS.AdminService.Web/Views/CertificateAmend/Date.cshtml | jack-cloud-platform/das-admin-service | 0 | 7028985 | @model SFA.DAS.AdminService.Web.ViewModels.CertificateDateViewModel
@{
ViewBag.Title = (!ViewData.ModelState.IsValid ? "Error: " : "") + "Apprenticeship achievement date";
Layout = "_Layout";
}
@if (Model.FromApproval)
{
<a class="govuk-back-link" asp-controller="CertificateAmend" asp-action="Check" asp-r... |
taskt/Core/Automation/Commands_cn/ImageRecognitionCommand_cn.cs | Stanley29/Iron_Man | 0 | 7028986 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using System.Drawing;
using System.Windows.Forms;
using taskt.UI.Forms;
using taskt.UI.CustomControls;
using taskt.Properties;
using taskt.Core.Automation.Commands;
namespace taskt.Core.Automation.Commands_c... |
Projects/Method Exercises/Primes in Given Range/Program.cs | vasilchavdarov/SoftUniHomework | 0 | 7028987 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Primes_in_Given_Range
{
class Program
{
static void Main(string[] args)
{
int starNumb = int.Parse(Console.ReadLine());
int endNumb = int.Parse(... |
runtime/ishtar.vm/runtime/transit/TransitObject.cs | 0xF6/wave_lang | 7 | 7028988 | <reponame>0xF6/wave_lang<filename>runtime/ishtar.vm/runtime/transit/TransitObject.cs<gh_stars>1-10
namespace ishtar
{
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using vein.runtime;
public unsafe class TransitObject<T> where T : TransitObject<T>
{
public TransitObject(Q... |
Models/Trait.cs | zdennisz/QTLbyRegression | 1 | 7028989 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace QTLProject
{
public class Trait
{
public int Id { get; set; }//id in the System
public string NameFull { get; set; }
public string NameShort { get; set; }
}
}
|
samples/snippets/csharp/VS_Snippets_CFX/s_duplexclients/cs/client.cs | BaruaSourav/docs | 3,294 | 7028990 | <reponame>BaruaSourav/docs
// <snippet1>
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
// Define class that implements the callback interface of duplex
// contract.
public class CallbackHandler : ICalculatorDuplexCallback
{
public void Result(double result)
{
Console.WriteLine("... |
FurkanProject/Areas/Admin/Controllers/ProductsController.cs | IFurkanCakmak/E-commerce-Website | 0 | 7028991 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using FurkanProject.Core.Model;
using FurkanProject.Core.Model.Entity;
namespace FurkanProject.Areas.Admin.Controllers
{
public clas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.