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 |
|---|---|---|---|---|
ToBank/MainForm.Designer.cs | hectorgastaminza/2Bank | 0 | 7060207 | /*
* Created by SharpDevelop.
* User: Familia
* Date: 14/05/2016
* Time: 21:54
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace App
{
partial class MainForm
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
... |
src/EthClient.Test/EthHexTest.cs | TrekDev/EthClient.NET | 3 | 7060208 | using Eth.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Numerics;
using System.Linq;
namespace EthClient.Test
{
[TestClass]
public class EthHexTest
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void ShouldThrowO... |
CodeHub.Android/Activities/Application/NewAcountActivity.cs | gitter-badger/CodeHub | 1 | 7060210 | using Android.App;
using Android.OS;
using CodeHub.Core.ViewModels.Accounts;
using ReactiveUI;
namespace CodeHub.Android.Activities.Application
{
[Activity(Label = "NewAcountActivity")]
public class NewAcountActivity : ReactiveActivity<NewAccountViewModel>
{
protected override void OnCreate(Bundle ... |
NV.Shopify.Models/Orders/LineItem.cs | nassero/shopify-net | 0 | 7060211 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NV.Shopify.Models.Orders
{
public class LineItem
{
public bool Custom { get; set; }
public int FulfillmentQuantity { get; set; }
public string FulfillmentService { get; set; }
public ... |
Samples/Tutorial02_TinyECSIntegrationWithUnity3D/Assets/Scripts/Systems/SpawnSystem.cs | bnoazx005/TinyECS | 22 | 7060212 | <reponame>bnoazx005/TinyECS<gh_stars>10-100
using System.Collections.Generic;
using TinyECS.Impls;
using TinyECS.Interfaces;
using UnityEngine;
/// <summary>
/// This class is a type of a reactive system.
/// Reactive systems are executed when something within world's context has changed
/// and this update passes sy... |
dotdock/Program.cs | AsynkronIT/dotdock | 18 | 7060213 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using CommandLine;
using net.r_eg.MvsSln;
namespace dotdock
{
internal partial class Program
{
private static void Main(string[] args)
{
Parser.Default.ParseArguments<Options>(arg... |
Client/Assets/ZX/cs/RL/ABT.cs | findstr/SomeGame | 0 | 7060214 | <reponame>findstr/SomeGame
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using UnityEngine;
namespace ZX
{
using bundle_map_t = Dictionary<string, BundleInfo>;
class BundleInfo {
... |
src/bits.test/units/t_lsbx.cs | 0xCM/z0 | 0 | 7060215 | <filename>src/bits.test/units/t_lsbx.cs
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.Compi... |
src/main/Runtime/Internal/Frame.cs | sci4me/Neo-old | 0 | 7060217 | using Neo.Bytecode;
namespace Neo.Runtime.Internal {
public struct Frame {
public Frame(string chunkName, string procedureName, int callSiteLine) {
ChunkName = chunkName;
ProcedureName = procedureName;
CallSiteLine = callSiteLine;
}
public string ChunkN... |
DesktopReload/Widget/Music/SoundVolumeWidget.cs | bouldeterre/DesktopReload | 0 | 7060218 | using System.Linq;
using NAudio.CoreAudioApi;
using Enums;
namespace DesktopReload.Widget.Music
{
public class SoundVolumeWidget : BasicWidget
{
MMDeviceEnumerator enumerator = new MMDeviceEnumerator();
private MMDeviceCollection collection;
public SoundVolumeWidget()
{
... |
LSNr/ReaderRules/ReaderBase.cs | Paramecium13/LSN | 9 | 7060219 | <filename>LSNr/ReaderRules/ReaderBase.cs
using LsnCore.Utilities;
using System.Collections.Generic;
namespace LSNr
{
public abstract class ReaderBase
{
private readonly ISlice<Token> Tokens;
/// <summary>
/// The index of the current token.
/// </summary>
private int TokenIndex;
/// <summary>
///
... |
Apollo11/Apollo11/Models/Candlestick.cs | mikekruithof22/Apollo11- | 0 | 7060220 | using Apollo11.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Apollo11.Models
{
[JsonConverter(typeof(CandlestickConverter))]
public class Candlestick
{
public long OpenTime { get; set; }
public double Open { get; set; }
... |
Simple File Renamer/Simple File Renamer.cs | ezzak/Simple-File-Renamer | 0 | 7060221 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace File_Renamer {
public partial class FileRenamer ... |
src/Shepherd/Program.cs | Silvenga/Shepherd | 0 | 7060222 | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Lamar.Microsoft.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Shepherd
{
public c... |
Compiler/Translator/Emitter.Lua/Blocks/TypeofBlock.cs | yanghuan/bridge.lua | 231 | 7060223 | <filename>Compiler/Translator/Emitter.Lua/Blocks/TypeofBlock.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bridge.Contract;
using ICSharpCode.NRefactory.CSharp;
namespace Bridge.Translator.Lua {
public sealed class TypeofBlock : AbstractEmitterBlock {
publ... |
frm_ledgroupsetup.cs | icebahamut/SharpLNP | 0 | 7060224 | <reponame>icebahamut/SharpLNP<gh_stars>0
/*
Copyright (c) 2017 icebahamut (<EMAIL>bahamut[at]hotmail[dot]com)
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 ... |
Assets/CommonCoreModules/World/ObjectActions/UnityEventSpecial.cs | XCVG/glow_public | 6 | 7060225 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace CommonCore.ObjectActions
{
//simple bridge necessary for a few edge cases
public class UnityEventSpecial : ActionSpecial
{
public UnityEvent Event;
... |
Assets/Plugins/TextMesh Pro/Editor/TMP_ColorGradientAssetMenu.cs | felipepedroso/IATK | 1 | 7060226 | // Copyright (C) 2014 - 2016 <NAME> - All Rights Reserved
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using UnityEditor;
using UnityEngine;
using System.IO;
using Syste... |
Runtime/Scripts/Component/XILComponent.cs | yomunsam/TinaX.XComponent.ILRuntime | 0 | 7060227 | <filename>Runtime/Scripts/Component/XILComponent.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using TinaX.XILRuntime;
using System;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime;
using ILRuntime.CLR.TypeSystem;
namespace TinaX.XComponent
{
[AddCompon... |
IBoxUsbModemTest/IBox.Modem.IRZ/Shell/GprsProviderEx.cs | dgordienko/IBoxUsbModemTest | 0 | 7060228 | using System;
using System.IO;
namespace IBox.Modem.IRZ.Shell
{
public static class GprsProviderEx
{
private const string LinuxBridgePath = "/etc/ppp/peers/";
public static string ProviderName(this GprsProvider self)
{
switch (self)
{
case GprsP... |
StateCache/AutoCacheState.cs | mbreckon/StateCache | 0 | 7060229 | using System;
namespace StateCache
{
internal class AutoCacheState<T> : IDisposable
{
readonly StateCache<T> cache;
readonly T statefulObject;
public AutoCacheState(StateCache<T> cache, T statefulObject)
{
this.cache = cache;
this.statefulObject = statefulObject;
... |
oracle2/oracle2/Program.cs | oskarbukovsky/repos | 0 | 7060230 | <reponame>oskarbukovsky/repos<filename>oracle2/oracle2/Program.cs
// This is an automatically generated code sample.
// To make this code sample work in your Oracle Cloud tenancy,
// please replace the values for any parameters whose current values do not fit
// your use case (such as resource IDs, strings containin... |
src/Core/Leelite.Core/Aspects/ValidationAspect.cs | liduopie/LeeliteCore | 2 | 7060231 | <filename>src/Core/Leelite.Core/Aspects/ValidationAspect.cs<gh_stars>1-10
using System;
using System.Reflection;
using AspectInjector.Broker;
using FluentValidation;
using FluentValidation.Results;
using Leelite.Commons.Host;
using Leelite.Core.Validation;
using Microsoft.Extensions.DependencyInjection;
using Micr... |
Dataphor/Client/Server/LocalProcess.cs | johanduf/Dataphor | 57 | 7060232 | <reponame>johanduf/Dataphor<gh_stars>10-100
/*
Dataphor
© Copyright 2000-2009 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESPINLOCK
#define LOGFILECACHEEVENTS
using System;
using System.Diagnostics;
using Syst... |
Patterns/Matcher.cs | JTOne123/PatternMatching | 22 | 7060233 | <filename>Patterns/Matcher.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Patterns
{
/// <summary>
/// Pattern matcher with void return type
/// </summary>
/// <typeparam name="T">Matcher argument type... |
src/Innovator.Client/Aml/ServerException.cs | gratinierer/Innovator.Client | 26 | 7060234 | <gh_stars>10-100
using System;
#if SERIALIZATION
using System.Runtime.Serialization;
#endif
using System.Xml;
namespace Innovator.Client
{
/// <summary>
/// Represents an exception that was returned from the server as a SOAP fault.
/// </summary>
/// <remarks>
/// To create a new instance of this class, use ... |
src/services/MOP.Notification.Worker/Data/Model/EmailTemplateModel.cs | AdsHan/core-microservices-outbox-pattern | 0 | 7060235 | using System;
namespace MOP.Notification.Worker.Data.Model
{
public class EmailTemplateModel
{
public Guid Id { get; set; }
public string Subject { get; set; }
public string Content { get; set; }
public string Event { get; set; }
}
} |
Server/CAFF-server/DTOs/CommentDTO.cs | arpadfodor/SW-Sec-Homework | 0 | 7060237 | using System;
namespace CAFF_server.DTOs
{
public class CommentDTO
{
public string Id { get; set; }
public string Name { get; set; }
public string Text { get; set; }
public DateTime Timestamp { get; set; }
}
}
|
SolidJson.OpenApi/V3/IOperation.cs | aarrgard/solidjson | 1 | 7060238 | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace SolidJson.OpenApi.V3
{
/// <summary>
///
/// </summary>
/// <a href="https://swagger.io/specification/#parameterObject">see</a>
public interface IOperation
{
/// <summary>
/// A list of tags for AP... |
src/API/IInferenceRequestStore.cs | igobypenn/clara-dicom-adapter | 0 | 7060239 | /*
* Apache License, Version 2.0
* Copyright 2019-2020 NVIDIA Corporation
*
* 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
*
* Unle... |
src/RoboLynx.Umbraco.QRCodeGenerator.Core/QRCodeSources/QRCodeSourcesCollectionBuilder.cs | proxicode/RoboLynx.Umbraco.QRCodeGenerator | 1 | 7060240 | using Umbraco.Core.Composing;
namespace RoboLynx.Umbraco.QRCodeGenerator.QRCodeSources
{
public class QRCodeSourcesCollectionBuilder : LazyCollectionBuilderBase<QRCodeSourcesCollectionBuilder, QRCodeSourcesCollection, IQRCodeSource>
{
protected override Lifetime CollectionLifetime => Lifetime.Scope;
... |
src/Veil.Tests/Compiler/WriteLiteralTests.cs | csainty/Veil | 14 | 7060241 | using Veil.Parser;
using Veil.Parser.Nodes;
using Xunit;
namespace Veil.Compiler
{
public class WriteLiteralTests : CompilerTestBase
{
[InlineData("Hello World", "Hello World")]
[Theory]
public void Should_output_literal(string literal, string expectedResult)
{
var ... |
_no_namespace/MobileAuthenticatedStream.--ProcessAuthentication--d__47.cs | SinsofSloth/RF5-global-metadata | 1 | 7060242 | [CompilerGeneratedAttribute] // RVA: 0xBBCF0 Offset: 0xBBDF1 VA: 0xBBCF0
private struct MobileAuthenticatedStream.<ProcessAuthentication>d__47 : IAsyncStateMachine // TypeDefIndex: 1717
{
// Fields
public int <>1__state; // 0x0
public AsyncTaskMethodBuilder <>t__builder; // 0x8
public bool serverMode; // 0x20
publ... |
src/AElf.Management/Services/LighthouseService.cs | quangdo3112/AElf | 1 | 7060243 | <reponame>quangdo3112/AElf
using System.Collections.Generic;
using System.Threading.Tasks;
using AElf.Management.Helper;
using AElf.Management.Interfaces;
using AElf.Management.Models;
using k8s;
namespace AElf.Management.Services
{
public class LighthouseService : ILighthouseService
{
public async Ta... |
brainKiller/Modules/MusicModule.cs | goldentg/Discord.NET-template-bot | 1 | 7060244 | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using brainKiller.Common;
using Discord;
using Discord.Commands;
using Victoria;
using Victoria.Enums;
namespace brainKiller.M... |
Kino.Toolkit.Wpf/Kino.Toolkit.Wpf/Common/WindowNotifications.cs | WertherHu/Kino.Toolkit.Wpf | 248 | 7060245 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kino.Toolkit.Wpf
{
/// <summary>
/// Window Notifications
/// </summary>
public class WindowNotifications
{
/// <summary>
/// Sent to a window when its nonc... |
AnagramSolver/AnagramHelper.cs | javiermolinar/AnagramSolver | 0 | 7060246 | using System;
using System.Collections.Generic;
using System.Linq;
namespace AnagramSolver
{
public static class AnagramHelper
{
internal static HashSet<string> GetAnagrams(Dictionary<char, byte> phraseIndex, IEnumerable<string> wordList)
{
var anagramsPermutation = new HashSet<st... |
src/Blazor.FlexGrid/State/IStateCache.cs | yuxuantangD/FlexGrid | 198 | 7060247 | namespace Blazor.FlexGrid.State
{
internal interface IStateCache
{
int Count { get; }
void SetStateValue<T>(string key, T value);
bool TryGetStateValue<T>(string key, out T value);
void RemoveStateValue(string key);
}
}
|
WuxingogoRuntime/Attribute/XAttribute.cs | ClassWarhammer/WuxingogoExtention | 1 | 7060248 | // XATTRIBUTE
//
// Author:
// ${wuxingogo} <<EMAIL>>
//
// Copyright (c) 2015 wuxingogo
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// -----------------------------------------------------------------... |
src/sdk/PnP.Core/Model/SharePoint/Core/Public/Enums/RecycleBinItemState.cs | s-KaiNet/pnpcore | 160 | 7060249 | <reponame>s-KaiNet/pnpcore
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Specifies the Recycle Bin stage of the Recycle Bin item.
/// </summary>
public enum RecycleBinItemState
{
/// <summary>
/// The stage of the Recycle Bin item is not specified. The value = 0.
/... |
PixelFlutServer/PixelFlutServer.Tests/PixelFlutHandlerTests.cs | patagonaa/pixelflut-server-dotnet | 1 | 7060250 | using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using NUnit.Framework;
using PixelFlutServer.Mjpeg;
using PixelFlutServer.Mjpeg.PixelFlut;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;... |
sdk/src/Services/Translate/Generated/Model/TranslateTextRequest.cs | slope-taylor/aws-sdk-net | 1 | 7060251 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
Application/Application.Engineering/EngineeringView.xaml.cs | athulrajts/Resusables | 0 | 7060252 | using System.Windows.Controls;
using KEI.Infrastructure.Prism;
using Application.UI;
using System.Windows.Shapes;
using System.Windows.Media;
using System.Windows.Media.Animation;
using Application.Engineering.Layout;
using System;
using System.Threading.Tasks;
using Prism.Events;
using System.Windows;
using System.Co... |
Unity/BaoGang/Assets/Scripts/Keefor/IRegistServer.cs | mbyase/AR | 1 | 7060253 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
*Create By Keefor On 12/26/2017
*/
public interface IRegistServer
{
/// <summary>
/// 注册独立监听事件
/// </summary>
void AddSelfEvent();
// void FirstRequest();
}
|
HairSalon/Views/Shared/_Layout.cshtml | johnwhittenstudio/HairSalon.Solution | 0 | 7060254 | <reponame>johnwhittenstudio/HairSalon.Solution<gh_stars>0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Eau Claire's</title>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
<link rel="styleshe... |
Examples/CSharp/Load-Save-Convert/ReadVisioDiagram.cs | aliahmedaspose/Aspose.Diagram-for-.NET | 18 | 7060255 | using Aspose.Diagram;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Aspose.Diagram.Examples.CSharp.Load_Save_Convert
{
public class ReadVisioDiagram
{
public static void Run()
{
// ExStart:ReadVisioDiagram
... |
src/SharpGeoApi.Core/MetadataProvider.cs | bertt/SharpGeoApi | 1 | 7060256 | namespace SharpGeoApi.Core
{
public class MetadataProvider
{
public string Name { get; set; }
public string Url { get; set; }
}
}
|
Assets/Prefabs/RetroController/Editor/Utils/EditorUtils.cs | chills-hub/CryptDivers | 0 | 7060257 | using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace vnc.Editor.Utils
{
public static class EditorUtils {
public static void SetIcon(Object obj, string resourceTexture)
{
var ty = typeof(EditorGUIUtility);
Texture2D texture = Resources.Load<Texture2D>(r... |
src/iotDataStation/IotDataStation.Common/DataModel/NodeItem.cs | charless072/IotDataStation | 1 | 7060258 | <reponame>charless072/IotDataStation<filename>src/iotDataStation/IotDataStation.Common/DataModel/NodeItem.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Xml;
using IotDataStation.Common.Util;
using Newtonsoft.Json.Linq;
using NLog;
n... |
Tests.CodeUtopia/Domain/TodoListItem.cs | andrewgunn/codeutopia | 0 | 7060259 | <reponame>andrewgunn/codeutopia
using System;
using CodeUtopia.Domain;
namespace Tests.CodeUtopia.Domain
{
public class TodoListItem : Entity
{
public TodoListItem(Guid todoListId,
IVersionNumberProvider versionNumberProvider,
Guid todoListItemId... |
Legacy.Core/Core/Map/Grid.cs | Albeoris/MMXLegacy | 10 | 7060260 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Serialization;
using Legacy.Core.Api;
using Legacy.Core.Configuration;
using Legacy.Core.Entities;
using Legacy.Core.Entities.InteractiveObjects;
using Legacy.Core.EventManagement;
using Legacy.Core.PartyManagemen... |
src/TempusHub.Web/ViewModels/PlayerResponse.cs | TheRealHona/TempusHub | 7 | 7060262 | <gh_stars>1-10
using TempusApi.Models.Activity;
namespace TempusHub.Web.ViewModels;
public class PlayerResponse : PlayerInfo
{
public string RealName { get; set; }
} |
Unified/SimpleSample/SimpleSample/Shared/ViewModels/Abstract/BindableBase.cs | guru-rajN/barcodescanner-sdk-xamarin-samples | 0 | 7060263 | <filename>Unified/SimpleSample/SimpleSample/Shared/ViewModels/Abstract/BindableBase.cs
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace SimpleSample.ViewModels.Abstract
{
public abstract class BindableBase:INotifyPropertyChanged
{
public event PropertyChangedEventHandler P... |
src/DotnetSpider.Broker/Data/Entity.cs | jeffrey987/DotnetSpider | 1 | 7060264 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
namespace DotnetSpider.Broker.Data
{
public interface IEntity<TPrimary>
{
TPrimary Id { get; set; }
}
public interface IEntity : IEntity<int>
{
}
/// <summary>
/// Basic implementation of IEntity interface.
/// An ent... |
tests/FluentUtils.EnumExtensions.UnitTests/EnumExtensionFacts.cs | wpei-infotrack/Draekien.FluentUtils | 1 | 7060265 | using FluentAssertions;
using Xunit;
namespace FluentUtils.EnumExtensions.UnitTests;
public class EnumExtensionFacts
{
[Fact]
public void GivenNoNameAndNoDescription_WhenGettingDisplayName_ThenReturnEnumValueAsString()
{
// Arrange
const ExampleEnum exampleEnum = ExampleEnum.Val... |
Pacman/Pacman/SliderBar.cs | Santiago-G/Pacman | 0 | 7060266 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
using MonoGame.Extended;
using Microsoft.Xna.Framework.Content;
namespace Pacman
{
public class SliderBar : Sprite
{
public Rectangle Hitbox;
public int Bar... |
projects/LockSample/source/LockSample.App/ListWorker.cs | brian-dot-net/writeasync | 7 | 7060267 | <gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="ListWorker.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace LockSample
{
using... |
WTalk/Utils/FileCache.cs | madagaga/Wtalk | 25 | 7060268 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace WTalk.Core.Utils
{
public class FileCache
{
string _cacheToken;
Dictionary<string, string> _cachedFiles;
HttpCli... |
DICOMcloud.DataAccess.Database/SqlDeleteStatments.DeleteSeries.cs | iberisoft/DICOMcloud | 178 | 7060269 | <gh_stars>100-1000
using DICOMcloud.DataAccess.Database.Schema;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DICOMcloud.DataAccess.Database
{
public partial class SqlDeleteStatments
{
public string GetDeleteSeriesCommandT... |
RiotGamesApi/Interfaces/IApiUrl.cs | msx752/RiotGamesApi | 3 | 7060270 | using System;
using System.Collections.Generic;
using RiotGamesApi.Libraries.Lol.Enums;
using RiotGamesApi.Libraries.Lol.Models;
using RiotGamesApi.Models;
namespace RiotGamesApi.Interfaces
{
public interface IApiUrl
{
List<LolApiMethod> ApiMethods { get; set; }
LolApiName ApiName { get; set; ... |
profiler/build/TinyGet/TinyGet/Config/AppArguments.cs | theletterf/signalfx-dotnet-tracing | 13 | 7060271 | using System;
using System.Collections.Specialized;
using System.Net.Http;
namespace TinyGet.Config
{
internal class AppArguments : IAppArguments
{
public int Loop { get; private set; }
public int Threads { get; private set; }
public String Srv { get; private set; }
public S... |
OpenDMS.Storage/Providers/CouchDB/Database.cs | xingh/opendms-dot-net | 0 | 7060272 | using System;
using OpenDMS.Storage.Security;
using OpenDMS.Storage.Security.Authorization;
namespace OpenDMS.Storage.Providers.CouchDB
{
public class Database : IDatabase
{
#region Constructors (1)
public Database(IServer server, string dbName)
{
Server = serv... |
Dialogs/LuisDialog.cs | DouglasMoody/LUIS-QnA-AdaptiveCard-BotAuth | 0 | 7060273 | using System;
using System.Configuration;
using System.IO;
using System.Threading.Tasks;
using System.Web;
using AdaptiveCards;
using ChatterBot.Utility;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis;
using Microsoft.Bot.Builder.Luis.Models;
using Microsoft.Bot.Connector;
using Newtonsoft.Json;... |
Assets/Scripts/NewBark/Support/Physics/TriggerListener2D.cs | monsutapoketto/retrostiled | 92 | 7060274 | <filename>Assets/Scripts/NewBark/Support/Physics/TriggerListener2D.cs
using NewBark.Attributes;
using UnityEngine;
using UnityEngine.Events;
namespace NewBark.Support.Physics
{
public class TriggerListener2D : MonoBehaviour
{
[Tag] public string tagFilter;
public UnityEvent onEnter;
pub... |
App1/SMFReader.cs | mmitti/midi_pi | 0 | 7060275 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Midi;
namespace App1
{
public class SMFReader
{
private byte[] SMFByte;
public async Task<SMF> Read(String path) {
... |
src/Soloplan.WhatsON/NotificationConfigurationItemAttribute.cs | lorokl2/whatsONUpdater | 0 | 7060276 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NotificationConfigurationItemAttribute.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// </copyright>
// -------------------------------------... |
Memento/CarMemento.cs | ricardas98/Patterns | 0 | 7060277 | <filename>Memento/CarMemento.cs
/**
* @(#) CarMemento.cs
*/
namespace Memento
{
public class CarMemento : Memento
{
Car originator;
int power;
string color;
public CarMemento(Car car, int power, string color)
{
this.originator = car;
this.power = power;
this.color = color;
}
public... |
Handlers/Events/FamilleCreeeDatabaseHandler.cs | hybrid-technologies-solutions/geneao-video | 0 | 7060278 | <reponame>hybrid-technologies-solutions/geneao-video<filename>Handlers/Events/FamilleCreeeDatabaseHandler.cs
using CQELight.Abstractions.DDD;
using CQELight.Abstractions.Events.Interfaces;
using CQELight.Abstractions.IoC.Interfaces;
using Geneao.Data.Models;
using Geneao.Data.Repositories;
using Geneao.Events;
using S... |
Assets/Scripts/Door.cs | Dedicatus/PhaseShifter | 0 | 7060279 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Door : MonoBehaviour
{
[SerializeField] private GameObject[] keyPrefabs;
[SerializeField] private Transform[] spawnPoints;
private GameObject[] myKeys;
private Player playerScript;
private AudioController a... |
tests/Mailjet.SimpleClient.Tests/ConfigurationFixture.cs | moklas/mailjet-simple-client | 1 | 7060280 | <filename>tests/Mailjet.SimpleClient.Tests/ConfigurationFixture.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Mailjet.SimpleClient.Core.Interfaces;
using Mailjet.SimpleClient.Core.Models.Options;
using Newtonsoft.Json.Linq;
namespace Mailjet.SimpleClient.Te... |
PipeTally/PipeTallyMobile/PipeTallyMobile/Models/Measurement.cs | glmblue/Johnny-Cache | 2 | 7060281 | <gh_stars>1-10
using SQLite;
namespace PipeTallyMobile.Models
{
public class Measurement
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public int MeasureBatchID { get; set; }
public int Order { get; set; }
public double FullLength { get; set; }
publ... |
Second_semester/Homework_11/PhoneBook(usingMongoDB)/PhoneBook(usingMongoDB)/PhoneBook.cs | AlbertMukhammadiev/UniversityHomeworks | 0 | 7060282 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Bson.Serialization.Attributes;
namespace PhoneBookNamespace
{
/// <summary>
/// class, that represents a telephone record
... |
Assets/UIController/MenuUI/MapIcon.cs | arturnista/wsgame_unity | 0 | 7060285 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent (typeof(Button))]
public class MapIcon : MonoBehaviour {
public string mapName;
private MenuUIController menuUIController;
private Button button;
private Image mapBackground;
void Awake () {
... |
src/NForum/CQS/Commands/Categories/CreateCategoryCommandHandler.cs | steentottrup/NForum | 27 | 7060286 | <gh_stars>10-100
using CreativeMinds.CQS.Commands;
using NForum.Core.Dtos;
using NForum.Datastores;
using NForum.Domain;
using NForum.Infrastructure;
using System;
namespace NForum.CQS.Commands.Categories {
public class CreateCategoryCommandHandler : CommandWithStatusHandler<CreateCategoryCommand> {
protected rea... |
Input/InputLogger.cs | ryanvanrooyen/Entity | 0 | 7060287 |
using UnityEngine;
namespace Entity
{
public class InputLogger : MonoBehaviour
{
public void Update()
{
for (int i = 0; i < 20; i++)
{
if (Input.GetKeyUp("joystick button " + i))
Debug.Log("Pressed: joystick button " + i);
}
for (int i = 1; i < 8; i++)
{
var value = Input.GetAxis("A... |
Testbed/Testbed/Game1.cs | jmoral4/MonogameScreenTools | 3 | 7060288 | <filename>Testbed/Testbed/Game1.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Jmx.Monogame.ScreenTools;
namespace Testbed
{
/// <summary>
/// This is the main type for your game.
/// </summary>
public class Game1 : Game
{
... |
Assets/GameAssets/Scripts/MazeUI/ImageHandling/ImageLoader.cs | rtkelly13/ProceduralGeneration3DMazes | 6 | 7060289 | <filename>Assets/GameAssets/Scripts/MazeUI/ImageHandling/ImageLoader.cs
using UnityEngine;
namespace Assets.GameAssets.Scripts.MazeUI.ImageHandling
{
public class ImageLoader
{
public ResourceRequest LoadSprite(string name)
{
return Resources.LoadAsync<Sprite>(name);
}
... |
coders/curso_c_sharp/CursoCSharpCoder/ClassesMetodos/Membros.cs | flaviogf/Cursos | 2 | 7060290 | using static System.Console;
namespace CursoCSharpCoder.ClassesMetodos
{
public class Membros
{
[Exercicio(numero: 22, nome: "Membros")]
public static void Executa()
{
var pessoa = new Pessoa();
pessoa.Nome = "João";
pessoa.Idade = 60;
WriteLine(pessoa.Apresenta());
}
}
}
|
Assets/Scripts/0_Infrastructure/CodeTemplates/DataStoreInterfaceTemplate.cs | nmxi/RepulserEngine | 14 | 7060291 | namespace ProjectBlue.CodeGenerator
{
public class DataStoreInterfaceTemplate : CodeTemplateBase
{
public override string FolderPath => "Data/Repository/DataStoreInterfaces/";
public override string FileName => $"I{className}DataStore.cs";
public DataStoreInterfaceTemplate(string nam... |
src/Golden2048/Golden2048.Wpf/Util/Fireworks.cs | aldinei-sampaio/Golden2048 | 0 | 7060292 | using System.Collections.Generic;
using System.Timers;
namespace Golden2048.Wpf
{
using System;
using System.ComponentModel;
public class Fireworks
{
private readonly Timer timer = new Timer(50);
public List<FireworkItem> Items { get; }
public Fireworks(double center)
... |
src/SharpLearning.InputOutput.Test/Csv/CsvWriterTest.cs | JamesChCh2/SharpLearning | 344 | 7060293 | using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.InputOutput.Csv;
namespace SharpLearning.InputOutput.Test.Csv
{
/// <summary>
/// Summary description for CsvWriterTest
/// </summary>
[TestClass]
public class CsvWriterTest
{
[TestMethod]
... |
KSPRuntime/KSPVessel/KSPVesselModule.ModuleEngine.cs | untoldwind/KontrolSystem | 0 | 7060294 | <gh_stars>0
using KontrolSystem.TO2.Binding;
namespace KontrolSystem.KSP.Runtime.KSPVessel {
public partial class KSPVesselModule {
[KSClass("Engine")]
public class ModuleEngineAdapter : PartModuleAdapter {
private readonly ModuleEngines moduleEngines;
public ModuleEngineAd... |
MoPlus.ViewModel/IDiagramWorkspaceViewModel.cs | moplus/modelorientedplus | 5 | 7060295 | <reponame>moplus/modelorientedplus
/*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 <NAME>, Intelligent Coding Solutions, LLC
This program is free software: y... |
Nodejs/Product/Analysis/JavaScript/context.cs | Weflac/nodejstools | 1 | 7060296 | <reponame>Weflac/nodejstools
// context.cs
//
// Copyright 2010 Microsoft Corporation
//
// 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/LICE... |
FileExtensions.cs | gravejester/Communary.FileExtensions | 10 | 7060297 | <filename>FileExtensions.cs
using Microsoft.Win32.SafeHandles;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace Communary
{
internal se... |
src/NQuery.Authoring.Wpf/TreeViewExtensions.cs | dallmair/nquery-vnext | 63 | 7060298 | <filename>src/NQuery.Authoring.Wpf/TreeViewExtensions.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace NQuery.Authoring.Wpf
{
internal static class TreeViewExtensions
{
private seal... |
Sociatis/Views/House/DisplayTemplates/HouseBaseFurnitureViewModel.cshtml | blendiahmetaj1/eSupremacy | 0 | 7060299 | <gh_stars>0
@model Sociatis.Models.Houses.HouseBaseFurnitureViewModel
<div class="furniture">
<div class="row">
<div class="large-6 column">
<h4>@Model.Name Q@(Model.Quality)</h4>
<div class="maintaince">
Decay:
<span>@Model.MaintainceCost %</span>
... |
LogAlert/Service1.cs | sbyrne255/LogAlert | 0 | 7060300 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Timers;
using System.Reflection;
using System.IO;
using System.Collections;
using System.Net.Mail;
using ... |
Unity/Assets/Generated/Extensions/Systems/Reactor2.cs | outerminds/Entia.Unity | 9 | 7060301 | <reponame>outerminds/Entia.Unity
namespace Systems
{
using Entia.Queryables;
using Entia.Unity;
[global::Entia.Unity.Generation.GeneratedAttribute(Type = typeof(global::Systems.Reactor2), Link = "Assets/Scripts/TestSystems.cs", Path = new string[] { "Systems", "Reactor2" })]
public static class Reactor2Extensions
... |
YahtzeeSim/Hand.cs | BenMiller3/Yahtzee_Strategy_Simulator | 0 | 7060302 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YahtzeeSim
{
public class Hand
{
public static List<int> currentDice = new List<int> { };
private int totalDice = 5;
private static Random rnd;
... |
puckweb/Areas/puck/Views/Shared/EditorTemplates/PuckTags.cshtml | toby2nice/puck-core | 1 | 7060303 | @using puck.core.Models.EditorSettings
@inject I_Puck_Repository repo;
@model List<string>
@{
var settings = this.PuckEditorSettings<PuckTagsEditorSettings>()
?? new puck.core.Models.EditorSettings.PuckTagsEditorSettings()
{
Category = "",
};
var guid = Guid.NewGuid();
var tagsDictio... |
src/Services/Sportify.Services/SportsService.cs | dobroslav-atanasov/Sportify | 2 | 7060304 | namespace Sportify.Services
{
using System.Collections.Generic;
using System.Linq;
using Data;
using Data.Models;
using Data.ViewModels.Sports;
using global::AutoMapper;
using Interfaces;
using Microsoft.AspNetCore.Identity;
public class SportsService : BaseService, ISportsService... |
Legacy/MtgInventory/Scryfall/ScryfallApiServices/ScryfallApiCallStatistic.cs | Sigurdur42/MtgInventory | 0 | 7060305 | using System;
namespace ScryfallApiServices
{
public class ScryfallApiCallStatistic : IScryfallApiCallStatistic
{
public Guid Id { get; set; }
public DateTime Today { get; set; } = DateTime.Now.Date;
public int ScryfallCountToday { get; set; }
public int ScryfallCountTotal { g... |
test/SlowTests/Issues/RavenDB_7043.cs | ryanheath/ravendb | 1 | 7060306 | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading;
using FastTests;
using Raven.Client.Documents.Indexes;
using Raven.Client.Documents.Operations.Indexes;
using Raven.Client.Exceptions;
using Raven.Tests.Core.Utils.Entities;
using Xunit;
namespace SlowTests.Issues
{
public class R... |
api/usivity.services/Clients/Email/EmailClient.cs | modethirteen/Usivity | 0 | 7060307 | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using AE.Net.Mail;
using log4net;
using MindTouch;
using MindTouch.Dream;
using Usivity.Entities;
using Usivity.Entities.Connections;
using Usivity.Entities.Types;
using Usivity.Util;
namespace Usivity.... |
ExperimentalTools/SimpleLogger.cs | dzimchuk/experimental-tools | 20 | 7060308 | using System;
using System.IO;
namespace ExperimentalTools
{
public static class SimpleLogger
{
private const string fileName = @"";
public static void WriteLine(string content, bool writeToDebug = false)
{
if (!string.IsNullOrWhiteSpace(fileName))
{
... |
sdk/dotnet/Glue/Outputs/TriggerCondition.cs | AaronFriel/pulumi-aws-native | 29 | 7060309 | // *** 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... |
AtCoderTemplate/Program.cs | TeruMiyake/CSharp-CompetitiveProgramming | 0 | 7060310 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization; // CultureInfo
using System.IO; // input.txt/output.txt IO 用
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text; // StringBuilder
using LibraryForDotnetCore.Basics; // MyUtil
using LibraryForDotnetCore.MyST... |
CustomTranslatorCLI/SDK/Models/TextTranslatorDALProjectCredit.cs | AndyCW/Azure-Custom-Translator-CLI | 2 | 7060311 | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace CustomTranslator.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class TextTranslatorDALP... |
Development/AzRAdmin/Libraries/AzR.Utilities/Helpers/MailClient.cs | ashiquzzaman/azr-admin | 2 | 7060312 | <gh_stars>1-10
using System.Collections.Generic;
using System.Configuration;
using System.Net;
using System.Net.Configuration;
using System.Net.Mail;
using System.Threading.Tasks;
namespace AzR.Utilities.Helpers
{
public class MailClient
{
public static string Sender = ConfigurationManager.AppSettin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.