max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/Calendar.Plugin/Shared/Controls/SelectionEngines/SingleSelectionEngine.cs | wadebaird/Xamarin.Plugin.Calendar | 261 | 7067257 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using Xamarin.Plugin.Calendar.Controls.Interfaces;
using Xamarin.Plugin.Calendar.Models;
namespace Xamarin.Plugin.Calendar.Controls.SelectionEngines
{
internal class SingleSelectionEngine : ISelectionEngine
{... |
Assets/HeartRatePlugin/ExampleScenes/Visualize.cs | chibisova/GameDesign | 0 | 7067258 | <reponame>chibisova/GameDesign
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using TMPro;
public class Visualize : MonoBehaviour {
private const string TAG = "Visualize; ";
public enum VisualizationStyle{Heart,ECG,Impulse,Sine,Triangle};
private VisualizationStyle visualizati... |
Petshop/Petshop.Service/Interface/IPetServices.cs | renatoavila/Petshop | 0 | 7067259 | using Petshop.Domain.Entity;
using System;
using System.Collections.Generic;
namespace PetShop.Service.Interface
{
public interface IPetServices
{
Pet Get(Guid key);
Guid Insert(Pet pet);
Guid Update(Pet pet);
void Delete(Guid key);
List<Pet> GetAll();
}
} |
suite/MC/X86/address-size.s.cs | dyww2/capstone | 5,220 | 7067260 | # CS_ARCH_X86, CS_MODE_64, CS_OPT_SYNTAX_ATT
// 0x67,// 0xc6,0x06,0x00 = movb $0x0, (%esi)
// 0xc6,0x06,0x00 = movb $0x0, (%rsi)
// 0x67,// 0xc6,0x06,0x00 = movb $0x0, (%si)
// 0xc6,0x06,0x00 = movb $0x0, (%esi)
|
AGO.Core/Model/Dictionary/IHierarchicalDictionaryItemModel.cs | olegsmetanin/apinet-server | 1 | 7067261 | using System.Collections.Generic;
namespace AGO.Core.Model.Dictionary
{
public interface IHierarchicalDictionaryItemModel<T> : IDictionaryItemModel where T: IHierarchicalDictionaryItemModel<T>, IIdentifiedModel
{
string FullName { get; set; }
T Parent { get; }
ISet<T> Children { get; }
}
}
|
src/SFA.DAS.Assessor.Functions.UnitTests/Ilrs/Services/RefreshIlrsLearner/RefreshIlrsLearnerTestBase.cs | SkillsFundingAgency/das-assessor-functions | 1 | 7067262 | <reponame>SkillsFundingAgency/das-assessor-functions
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using SFA.DAS.Assessor.Functions.Domain.Ilrs.Services;
using SFA.DAS.Assessor.Functions.ExternalApis.Assessor;
using SFA.DAS.Assessor.Functions.ExternalApis.Assessor.Types;
using SFA.... |
TentacleSoftware.XmlRpc.Sample/Blog.cs | Spksh/TentacleSoftware.XmlRpc | 0 | 7067263 | using System.Collections.Generic;
using TentacleSoftware.XmlRpc.Core;
namespace TentacleSoftware.XmlRpc.Sample
{
public class Blog
{
[XmlRpcMember("blogid")]
public string BlogId { get; set; }
[XmlRpcMember("url")]
public string Url { get; set; }
[XmlRpcM... |
software/smart-tracker/Source/Server/RSSIForm.cs | konklone/tigerfid | 0 | 7067264 | using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using System.Data.Odbc;
using AWI.SmartTracker;
namespace CarTracker
{
/// <summary>
/// Summary description for RSSIForm.
/// </summary>
public class RSSIForm : Syst... |
Herbert Prototype/Assets/Scripts/Environmental Matters/Instructions and Camera/CameraMovement.cs | azh225/herbertprototype | 0 | 7067265 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMovement : MonoBehaviour {
public Transform target;
public float smoothSpeed = 0.6f;
public Vector3 offset;
// public static bool canMoveCamera;
//
// public enum Dir {left, right, up, down};
// public static D... |
src/Converters/BinarySectionTypeToBooleanConverter.cs | chwun/BinaryDataReaderApp | 0 | 7067266 | <gh_stars>0
using System;
using System.Globalization;
using System.Windows.Data;
using BinaryDataReaderApp.Models;
namespace BinaryDataReaderApp.Converters
{
public class BinarySectionTypeToBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo cultu... |
windows_phone/ParticleCollision/MainPage.xaml.cs | ufc-great/mpos | 8 | 7067267 | <reponame>ufc-great/mpos
/*******************************************************************************
* Copyright (C) 2014 <NAME>
*
* 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
*
... |
src/SplunkLogger/SplunkJSONEntry.cs | muleyprasad/SplunkLogger | 11 | 7067268 | <reponame>muleyprasad/SplunkLogger
namespace Splunk
{
/// <summary>
/// This class represents a HEC Json log entry.
/// </summary>
public class SplunkJSONEntry
{
/// <summary>
/// Text to be used at event.
/// </summary>
public string @event { get; private set; }
... |
Authantication_identity/Models/ProfilPasswordViewModel.cs | erkinakdeniz/Identity | 0 | 7067269 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Authantication_identity.Models
{
public class ProfilPasswordViewModel
{
public UserProfileViewModel userProfileViewModel { get; set; }
public ChangePassword changePassword { get; set; }
}
} |
test/Shared/UnitTests/ModelConfiguration/Conventions/Edm/Db/ForeignKeyIndexConventionTests.cs | mariloutb/EntityFramework-Classic | 1,209 | 7067270 | <reponame>mariloutb/EntityFramework-Classic<filename>test/Shared/UnitTests/ModelConfiguration/Conventions/Edm/Db/ForeignKeyIndexConventionTests.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.ModelConfi... |
src/Lucene.Net.Core/Util/Packed/MonotonicBlockPackedWriter.cs | SeanKilleen/lucenenet | 2 | 7067271 | using System;
using System.Diagnostics;
namespace Lucene.Net.Util.Packed
{
using Lucene.Net.Support;
/*
* 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... |
src/ESFA.DC.ILR.ValidationService.Rules.Tests/Learner/DateOfBirth/DateOfBirth_44RuleTests.cs | SkillsFundingAgency/DC-ILR-1819-ValidationService | 2 | 7067272 | using System;
using System.Collections.Generic;
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Data.External.FCS.Interface;
using ESFA.DC.ILR.ValidationService.Data.External.FCS.Model;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationServ... |
splicer-99885/src/Splicer/WindowsMedia/NativeMethods.cs | shurupin/OpenSource.Common | 9 | 7067273 | using System.Runtime.InteropServices;
namespace Splicer.WindowsMedia
{
public static class NativeMethods
{
[
DllImport("WMVCore.dll", EntryPoint = "WMCreateProfileManager", PreserveSig = false, SetLastError = true,
ExactSpelling = true)]
internal static extern IWMPro... |
CSharp-OOP/TelerikOOPExamPreparation/OOP-Exam-Prep/OOP-Exam-DocumentSystem/DocumentSystem-Solution/PDFDocument.cs | shopOFF/TelerikAcademyCourses | 0 | 7067274 | using System;
using System.Collections.Generic;
public class PDFDocument : EncryptableBinaryDocument
{
public int? PagesCount { get; set; }
public override void LoadProperty(string key, string value)
{
if (key == "pages")
{
this.PagesCount = Int32.Parse(value);
}
... |
test/Infuse.Test/TestData/IChat.cs | adityap/Infuse | 0 | 7067275 | using System;
using System.Collections.Generic;
using System.Text;
namespace Infuse.Test.TestData
{
interface IChat
{
string LastMessage { get; set; }
void Send(string msg);
string Receive();
}
}
|
src/ITCO.SboAddon.Framework/Extensions/BusinessPartnerExtensions.cs | andresramirez12/ITCO-SBO-Addon-Framework | 30 | 7067276 | namespace ITCO.SboAddon.Framework.Extensions
{
using System.Linq;
using Helpers;
using SAPbobsCOM;
using ITCO.SboAddon.Framework.Queries;
/// <summary>
/// Business Partner Extensions
/// </summary>
public static class BusinessPartnerExtensions
{
/// <summary>
/// S... |
Test1/APBD-TEST-1/APBD-TEST-1/Models/FireTruckAction.cs | a1mond/APBD | 0 | 7067277 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APBD_TEST_1.Models
{
public class FireTruckAction
{
public int IdFireTruckAction { get; set; }
public int IdFireTruck { get; set; }
public FireTruck FireTruck { get; set; }
... |
src/Kaponata.iOS.Tests/Lockdown/LockdownMessageTests.cs | kaponata-io/kaponata | 10 | 7067278 | // <copyright file="LockdownMessageTests.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using Kaponata.iOS.Lockdown;
using Xunit;
namespace Kaponata.iOS.Tests.Lockdown
{
/// <summary>
/// Tests the <see cref="LockdownMessage"/> class.
/// </summary>
pu... |
WinForms - SimpleCalculator/WinForms - SimpleCalculator/Form1.cs | dotmat3/Windows-desktop-apps-test | 0 | 7067279 | <reponame>dotmat3/Windows-desktop-apps-test
using System;
using System.Windows.Forms;
namespace TestProject {
/// <summary>
/// A basic calculator
/// </summary>
public partial class Form1 : Form {
#region Constructor
/// <summary>
/// Default constructor
/// </summar... |
Assets/Scripts/GUI/StaminaBar.cs | kgbier/kgbier-unity3d-cyril | 1 | 7067280 | <reponame>kgbier/kgbier-unity3d-cyril
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class StaminaBar : MonoBehaviour {
public Slider slider;
public PlayerCharacter pc;
// Update is called once per frame
void LateUpdate() {
slider.value = pc.Stamina;
}
}
|
04.DictionariesLambdaAndLINQ/AMinerTask/Program.cs | nikolayvutov/CSharp | 0 | 7067282 | <filename>04.DictionariesLambdaAndLINQ/AMinerTask/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace AMinerTask
{
class MainClass
{
public static void Main()
{
string input = Console.ReadLine();
Dictionary<string, int> dict = new Di... |
Assets/Plugins/xLayout/TypesConstructors/AnimationConstructors/PositionAnimationConstructor.cs | BAndysc/xLayout | 6 | 7067283 | <filename>Assets/Plugins/xLayout/TypesConstructors/AnimationConstructors/PositionAnimationConstructor.cs
using UnityEngine;
using xLayout.Animations;
using xLayout.Definitions;
namespace xLayout.TypesConstructors
{
[AnimationConstructor]
public class PositionAnimationConstructor : AnimationConstructor<Position... |
Source/RemoteSupport/Cards/CardConstants.cs | Pramoddeokar/remoteSupport | 48 | 7067284 | <filename>Source/RemoteSupport/Cards/CardConstants.cs
// <copyright file="CardConstants.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.RemoteSupport.Cards
{
/// <summary>
/// Constants used in bot and task module cards
/// </summary... |
NixxisSupControls/StdControls/CommonConverters.cs | Nixxis/ncs-client | 0 | 7067285 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using Nixxis.ClientV2;
using System.Windows;
using System.Windows.Media;
namespace Nixxis.Client.Supervisor
{
public class NixxisToggleImage : IValueConverter
{
public object Convert(object... |
src/ManageCourses.Api/Services/Email/Config/InviteTemplateEmailConfig.cs | DFE-Digital/manage-courses-api | 0 | 7067286 | <gh_stars>0
using Microsoft.Extensions.Configuration;
using GovUk.Education.ManageCourses.Api.Services.Email.Model;
namespace GovUk.Education.ManageCourses.Api.Services.Email.Config
{
public class InviteTemplateEmailConfig : TemplateEmailConfig<InviteEmailModel>, IInviteTemplateEmailConfig
{
public ove... |
AirportBackend/homework_5_bsa2018.Shared/DTOs/PlaneDTO.cs | oleksiitymchenko/Angular_homework | 0 | 7067287 | <reponame>oleksiitymchenko/Angular_homework
using System.ComponentModel.DataAnnotations;
namespace homework_5_bsa2018.Shared.DTOs
{
public class PlaneDTO
{
[Required]
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public int... |
Assets/Objects/Player/Scripts/States/SpindashPlayerState.cs | ShadowMasterX5/FreedomEngine | 49 | 7067288 | using UnityEngine;
public class SpindashPlayerState : PlayerState
{
private float power;
public override void Enter(Player player)
{
power = 0;
player.attacking = true;
player.ChangeBounds(1);
player.skin.ActiveBall(true);
player.PlayAudio(player.audios.spinDashCharge, 0.5f);
player.particles.spindash... |
KitDeInicioDos/Views/Partials/Bloques/ModuloNoticias.cshtml | ManiPeralta/KitDeInicio-Source | 0 | 7067290 | @inherits Umbraco.Web.Mvc.UmbracoViewPage
@inherits UmbracoViewPage<Umbraco.Core.Models.Blocks.BlockListItem<ModuloNoticias, ModuloNoticiasAjustes>>
@{
var contentModel = Model.Content as ModuloNoticias;
var contentSettings = Model.Settings as ModuloNoticiasAjustes;
var titulo = contentModel.Titulo;
... |
VueTicketCore/TicketCore.ViewModels/Knowledgebase/KnowledgebaseGridViewModel.cs | saineshwar/VueTicket | 7 | 7067291 | using System;
namespace TicketCore.ViewModels.Knowledgebase
{
public class KnowledgebaseGridViewModel
{
public long KnowledgebaseId { get; set; }
public string Subject { get; set; }
public string DepartmentName { get; set; }
public DateTime? CreateDate { get; set; }
pub... |
src/shared/Microsoft.Git.CredentialManager/ITransactionalValueStore.cs | Sebastianokunkelo/Git-Credential-Manager-Core | 0 | 7067292 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Git.CredentialManager
{
/// <summary>
/// Represents a simple key/value store that can accumulate changes before 'committing' them to a persistent
/// storage location, or be reloaded from tha... |
bundle/omnisharp-vim/omnisharp-roslyn/src/OmniSharp/Models/WorkspaceInformationResponse.cs | Jenkin0603/myvim | 0 | 7067293 | <reponame>Jenkin0603/myvim
using System;
using System.Collections.Generic;
using System.Linq;
using OmniSharp.AspNet5;
using OmniSharp.MSBuild;
namespace OmniSharp.Models
{
public class WorkspaceInformationResponse
{
public AspNet5WorkspaceInformation AspNet5 { get; set; }
public MsBuildWorksp... |
Dyalect/Parser/Model/DParameter.cs | vorov2/dyalect | 54 | 7067294 |
using System.Text;
namespace Dyalect.Parser.Model
{
public class DParameter : DNode
{
public DParameter(Location loc) : base(NodeType.Parameter, loc) { }
public string Name { get; set; } = null!;
public DNode? DefaultValue { get; set; }
public Qualident? TypeAnnotation { ge... |
Simptom.Server/Repositories/UserRepository.cs | billynieto/Simptom | 0 | 7067295 | <reponame>billynieto/Simptom
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using Simptom.Framework;
using Simptom.Framework.Models;
using Simptom.Framework.Repositories;
namespace Simptom.Server.Repositories
{
public class UserRe... |
Master/ASTRA.EMSG.Business/Services/PackageService/ImportResult.cs | astra-emsg/ASTRA.EMSG | 4 | 7067296 | <reponame>astra-emsg/ASTRA.EMSG<gh_stars>1-10
using ASTRA.EMSG.Business.Models;
using System.Collections.Generic;
using System;
using ASTRA.EMSG.Business.Models.GIS;
using ASTRA.EMSG.Common.DataTransferObjects;
using ASTRA.EMSG.Common;
namespace ASTRA.EMSG.Business.Services.PackageService
{
public class ImportResu... |
RPC/Commands/CloseCommand.cs | HeroesReplay/net-discord-rpc | 1 | 7067297 | <filename>RPC/Commands/CloseCommand.cs
using NetDiscordRpc.RPC.Payload;
using Newtonsoft.Json;
namespace NetDiscordRpc.RPC.Commands
{
internal class CloseCommand : ICommand
{
[JsonProperty("pid")]
public int PID { get; set; }
[JsonProperty("close_reason")]
public strin... |
Assets/barelyMusician/Core/Scripts/Instrument/Base/InstrumentFactory.cs | anokta/barelyMusicianLegacy | 0 | 7067298 | <filename>Assets/barelyMusician/Core/Scripts/Instrument/Base/InstrumentFactory.cs
// ----------------------------------------------------------------------
// Adaptive music composition engine implementation for interactive systems.
//
// Copyright 2014 <NAME>. All rights reserved.
//
// ------------------------... |
src/OpenGL/Abstractions/RenderBufferOpenGL.cs | Me222282/Zene | 0 | 7067299 | <gh_stars>0
namespace Zene.Graphics.Base.Extensions
{
[OpenGLSupport(3.0)]
public static unsafe class RenderBufferOpenGL
{
/// <summary>
/// Establish data storage, format and dimensions of a renderbuffer object's image.
/// </summary>
/// <param name="width">Specifies the w... |
CSharp/leetcodesln/LowestCommonAncestorOfDeepestLeaves.cs | user3301/TrialOfTheGrasses | 3 | 7067300 | <gh_stars>1-10
using leetcodesln.common;
using System.Collections.Generic;
namespace leetcodesln
{
public class LowestCommonAncestorOfDeepestLeaves
{
public TreeNode LcaDeepestLeaves(TreeNode root)
{
TreeNode ans = null;
var q = new Queue<NodeWDepth>();
var ... |
Z80EmulatorLib/Assembler/AssemblerInstructionInfo.cs | PendleCodeMonkey/Z80Emulator | 0 | 7067301 | <gh_stars>0
using System.Collections.Generic;
using static PendleCodeMonkey.Z80EmulatorLib.Assembler.AssemblerEnumerations;
namespace PendleCodeMonkey.Z80EmulatorLib.Assembler
{
/// <summary>
/// Implementation of the <see cref="AssemblerInstructionInfo"/> class.
/// </summary>
class AssemblerInstructionI... |
TransientREST/TodoREST/Resiliency/RetryWithExponentialBackoff.cs | ProbynData/IAB330GroupAssignment | 151 | 7067302 | using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading.Tasks;
namespace TodoREST
{
public sealed class RetryWithExponentialBackoff : IRetry
{
readonly int maxRetries;
readonly int delayMilliseconds;
readonly int maxDelayMilliseconds;
public Retry... |
MediaScribe/Model/SettingRepository.cs | jarrodwood/MediaScribe | 0 | 7067303 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SQLite;
using System.Runtime.Serialization.Json;
using System.IO;
using System.Configuration;
namespace JayDev.MediaScribe.Model
{
public class SettingRepository : RepositoryBase
{
priv... |
Common/Models/GrammarParseResult.cs | samvasta/gmcc | 0 | 7067304 | using System;
using System.Collections.Generic;
namespace Common.Models
{
public class GrammarParseResult
{
public enum BoolCombine
{
Or = 0,
And = 1,
}
public enum ArithCombine
{
Ignore = -1,
Add = 0,
Subtract... |
BetaLixT.Submissions.Common/Entities/Unstructured/UserConfiguration.cs | BetaLixT/BetaLixT.Submissions | 0 | 7067305 | <filename>BetaLixT.Submissions.Common/Entities/Unstructured/UserConfiguration.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace BetaLixT.Submissions.Common.Entities.Unstructured
{
public class UserConfiguration
{
public string Placeholder { get; set; }
}
}
|
SaleMTv1_new/DataAccessLayer/SaleMTObj/MASTER_EX_EXAMEYE.cs | quynhnvx8/Sale | 0 | 7067306 | using System;
using System.Collections.Generic;
using System.Data;
using StandardDAC;
using System.Data.SqlClient;
using StandardDAC.SqlClient;
using SaleMTDataAccessLayer.SaleMTDAL;
namespace SaleMTDataAccessLayer.SaleMTObj
{
public class MASTER_EX_EXAMEYE
{
#region members
string examEye_Code... |
Shared/Models/ReservedDay.cs | Frederikskaj2/Reservations | 0 | 7067307 | <reponame>Frederikskaj2/Reservations
using NodaTime;
namespace Frederikskaj2.Reservations.Shared
{
public class ReservedDay
{
public LocalDate Date { get; set; }
public int ResourceId { get; set; }
public bool IsMyReservation { get; set; }
}
} |
SSBHLib/IO/SSBHExporter.cs | Jerr-z/please | 0 | 7067308 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using SSBHLib.Formats.Materials;
namespace SSBHLib.IO
{
public class SsbhExporter : BinaryWriter
{
private class MaterialEntry
{
public object Object;
public Ma... |
labs/LoginApp/Form2.cs | philanderson888/2019-09-c-sharp-labs | 1 | 7067309 | <reponame>philanderson888/2019-09-c-sharp-labs
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 LoginApp
{
public partial class Form2 : For... |
Test/AdventureWorksFunctionalModel/Person/BusinessEntityAddress.cs | NakedObjectsGroup/NakedObjectsFramework | 207 | 7067310 | <gh_stars>100-1000
using System;
using NakedFunctions;
namespace AW.Types {
[Named("Address")]
public record BusinessEntityAddress : IHasRowGuid, IHasModifiedDate {
[Hidden]
public virtual int BusinessEntityID { get; init; }
[MemberOrder(3)]
#pragma warning disable 8618
public ... |
src/tests/graphql-aspnet-tests/Execution/ExecutionPlanTestData/InputArrayScalarController.cs | NET1211/aspnet-archive-tools | 22 | 7067311 | <reponame>NET1211/aspnet-archive-tools
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespa... |
NamespaceFixer/NamespaceAdjusterPackage.cs | ayhrgr/VsNamespaceFixer_For_VS2022 | 35 | 7067312 | <filename>NamespaceFixer/NamespaceAdjusterPackage.cs
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using NamespaceFixer.Core;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Threading;
namespace NamespaceFixer... |
src/WTG.Analyzers/Analyzers/Flags/FlagsHelper.cs | brian-reichle/WTG.Analyzers | 10 | 7067313 | <reponame>brian-reichle/WTG.Analyzers
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace WTG.Analyzers
{
static class FlagsHelper
{
public static bool IsNone(EnumMemberDeclarationSyntax member)
{
return member.Identifier.Text == "None";
}
public static long AvailableBitM... |
Modules/AppBrix.Backgammon/Game/ITurn.cs | MarinAtanasov/Backgammon | 0 | 7067314 | // Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
//
using AppBrix.Backgammon.Board;
using System.Collections.Generic;
namespace AppBrix.Backgammon.Game;
/// <summary>
/// Represents a turn during the game.
/// <... |
Assets/Scripts/UI/Easings/BounceButton.cs | Jason450/STM | 1 | 7067315 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BounceButton : MonoBehaviour
{
public float current;
public float start;
public float end;
public float desired;
public float delay;
bool active;
RectTransform transf;
private void Start()
... |
Unclazz.Commons.CLI/Option.cs | unclazz/Unclazz.Commons.CLI | 1 | 7067316 | <reponame>unclazz/Unclazz.Commons.CLI<filename>Unclazz.Commons.CLI/Option.cs
using System;
namespace Unclazz.Commons.CLI
{
/// <summary>
/// <see cref="IOption<T>"/>インターフェースのためのユーティリティです。
/// </summary>
public class Option
{
/// <summary>
/// 新しいビルダーを生成します。
/// </summary>
/// <param name="name">コマンド... |
build.cake | a-alexandrov/CakeExamples | 0 | 7067317 | #addin "nuget:?package=Cake.Sonar"
#addin "nuget:?package=Newtonsoft.Json"
#addin "nuget:?package=Cake.Git"
#tool "nuget:?package=MSBuild.SonarQube.Runner.Tool"
#tool "nuget:?package=OpenCover"
using Newtonsoft.Json;
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release")... |
frmMain.Designer.cs | StarkBotha/SQLLongRunningQueryMonitor | 0 | 7067318 |
namespace OZARKTool
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
doc/proxy/Stormpath.SDK.Abstractions/Properties/AssemblyInfo.cs | stormpath/stormpath-sdk-dotnet | 54 | 7067319 | using System.Reflection;
[assembly: AssemblyTitle("Stormpath.SDK.Abstractions")]
[assembly: AssemblyDescription("Abstractions for the Stormpath .NET SDK.")]
[assembly: AssemblyCompany("Stormpath, Inc.")]
[assembly: AssemblyCopyright("(c) 2016 Stormpath, Inc.")]
[assembly: AssemblyVersion("0.95.0")]
[assembly: Assembly... |
AttachToPlayer/Requi/UI/ReMenuToggle.cs | ImStellar/AttachToPlayer | 7 | 7067320 | <reponame>ImStellar/AttachToPlayer
using System;
using ReMod.Core.Unity;
using ReMod.Core.VRChat;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using VRC.UI.Elements.Controls;
namespace ReMod.Core.UI
{
public class ReMenuToggle : UiElement
{
private static GameObject _togglePrefab;
pri... |
PMTool16Bit_Core/src/PMTool16Bit.Application/Services/Project/Dto/ProjectMemberDto.cs | 1659012/PMTool16Bit | 0 | 7067321 | <gh_stars>0
using Abp.AutoMapper;
using PMTool16Bit.Authorization.Users;
using PMTool16Bit.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace PMTool16Bit.Services
{
[AutoMapFrom(typeof(ProjectMember))]
public class ProjectMe... |
1. Programming C#/3. Object-Oriented-Programming/07. Teamwork/NinjaRacer/NinjaRacer/Infrastructure/Constants/Movement.cs | KaloyanchoSt/Telerik-Academy-Homeworks | 0 | 7067322 | namespace NinjaRacer.Infrastructure.Constants
{
public class Movement
{
public const int CarSpeed = 20;
public const int Zero = 0;
public const string NegativeSpeed = "Speed can not be assigned negative.";
}
} |
Identity.cs | Kenttleton/TMI | 0 | 7067323 | using System;
using System.Collections.Generic;
using System.Text;
namespace TMI
{
public class Identity
{
private string _username { get; set; }
public string Username { get { return _username; } set { _username = value; } }
private string _token { get; set; }
public string To... |
src/Libs/SharpMap/SharpMap.UI.WPF/PropertyExtensions.cs | chumano/nextone | 0 | 7067324 | <filename>src/Libs/SharpMap/SharpMap.UI.WPF/PropertyExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeoAPI.Geometries;
namespace SharpMap.UI.WPF
{
public static class PropertyExtensions
{
public static double Get_X(this Coordinate coord)
... |
Public/Src/Tools/Execution.Analyzer/Analyzers.Core/XlgDebugger/JPath/JPathParser.cs | nayanshah/BuildXL | 0 | 7067325 | <reponame>nayanshah/BuildXL
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.7.2
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto... |
Nandaka.Tests/Util/RegisterExtensions.cs | Vlbager/Nandaka | 1 | 7067326 | using System;
using System.Reflection;
using Nandaka.Core.Registers;
using Nandaka.Model.Registers;
namespace Nandaka.Tests.Util
{
public static class RegisterExtensions
{
public static void ChangeLastUpdateTime(this IRegister register, DateTime updateTime)
{
Type type = register.G... |
Rafy/Rafy/Domain/ORM/Query/QueryNodeVisitor.cs | zgynhqf/trunk | 0 | 7067327 | /*******************************************************
*
* 作者:胡庆访
* 创建日期:20131212
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20131212 11:09
*
*******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using... |
src/Digillect.MVVM/Services/INavigationServiceContract.cs | Digillect/mvvm | 0 | 7067328 | <reponame>Digillect/mvvm
#region Copyright (c) 2011-2014 <NAME> and <NAME> (Actis® Wunderman)
// Copyright (c) 2011-2014 <NAME> and <NAME> (Actis® Wunderman).
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to ... |
Assets/Scripts/UI/HealButton.cs | Sumrix/DAZVillage | 0 | 7067329 | <filename>Assets/Scripts/UI/HealButton.cs
using UnityEngine;
using System.Linq;
namespace GameUI
{
[RequireComponent(typeof(Clickable))]
[RequireComponent(typeof(ItemView))]
public class HealButton :
MonoBehaviour,
IManagerWaiter
{
private InspectorItem _item;
private I... |
src/utility/Init.cs | TaskaRaine/Ore-Crystals | 1 | 7067330 | using Vintagestory.API.Common;
namespace OreCrystals
{
class Init: ModSystem
{
public override void Start(ICoreAPI api)
{
base.Start(api);
CrystalColour.InitColours();
CrystalColour.InitLights();
}
public override void Dispose()
{
... |
Assets/Scripts/Character/Attribute.cs | Vegedus/Respec-Hero | 0 | 7067331 | using UnityEngine;
using System.Collections;
using System;
[Serializable]
public class Attribute
{
public string name;
[Range(0, 10)]
public int source = 5;
//[Range(0, 10)]
public int effective;
[Range(-3.0f, 3.0f)]
public float modifier = 1.0f;
public float current;
public Attri... |
src/Orc.SupportPackage/Context/SupportPackageContext.cs | WildGums/Orc.SupportPackage | 5 | 7067332 | <reponame>WildGums/Orc.SupportPackage
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TemporaryFilesHelper.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// ---------------... |
private/cmdlets/models/NewClientAuthObject.cs | gmlp/PowerShell | 0 | 7067334 | <filename>private/cmdlets/models/NewClientAuthObject.cs
namespace Nutanix.Powershell.ModelCmdlets
{
using static Microsoft.Rest.ClientRuntime.Extensions;
/// <summary>Cmdlet to create an in-memory instance of the <see cref="ClientAuth" /> object.</summary>
[System.Management.Automation.Cmdlet(System.Managem... |
samples/CSharp/SolutionExplorer/ViewModels/DocumentPageViewModel.cs | Youssef1313/roslyn-sdk | 381 | 7067335 | <filename>samples/CSharp/SolutionExplorer/ViewModels/DocumentPageViewModel.cs
using System;
using System.Windows.Controls;
using MSBuildWorkspaceTester.Framework;
namespace MSBuildWorkspaceTester.ViewModels
{
internal class DocumentPageViewModel : PageViewModel<UserControl>
{
private readonly Document... |
RoverPDF/RoverPDFTest/Program.cs | eahs/RoverPDF | 0 | 7067336 | using RoverPDF;
using System.Diagnostics;
RoverDocument doc = new RoverDocument();
var filePath = "apptest.pdf";
for (int i = 0; i < 50; i++)
{
doc.AddDocument("./Images/runner.jpg", MimeTypes.Jpeg);
doc.AddDocument("./Images/headshot.jpg", MimeTypes.Jpeg);
doc.AddDocument("./Images/GoogleCertifiedEduca... |
WeakEventPerformanceTester/Program.cs | tom-englert/WeakEvents.Fody | 10 | 7067337 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using WeakEvents;
namespace WeakEventPerformanceTester
{
internal class EventTarget
{
public void OnEventHandler(object sender, EventArgs args)
{
// No-op
}
}
... |
CSharp/leetcodesln/VerifyingAnAlienDictionary.cs | user3301/TrialOfTheGrasses | 3 | 7067338 | namespace leetcodesln
{
public class VerifyingAnAlienDictionary
{
public bool IsAlienSorted(string[] words, string order)
{
var dict = new int[26];
for (int i = 0; i < order.Length; i++)
{
dict[order[i] - 'a'] = i;
}
f... |
Pharmacy.Data/PharmaciyDbContext.cs | dimitrovaElka/WinForms | 0 | 7067339 | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Pharmacy.Models;
namespace Pharmacy.Data
{
public class PharmaciyDbContext : DbContext
{
public DbSet<Drugstore> Pharmacies { get; set; }
public DbSet<GenericMedicament> GenericMedicaments { get; set; }
public DbSet<DrugMedicamen... |
ViewModel/WatcherVM.cs | stonelance/TimeTracker | 1 | 7067340 | <reponame>stonelance/TimeTracker
using System.ComponentModel;
using TimeTracker.Watchers;
namespace TimeTracker.ViewModel
{
public class WatcherVM : INotifyPropertyChanged
{
private BaseWatcher watcher;
public ActivityId Activity { get { return this.watcher.Activity; } }
public string... |
BittrexApi.NetCore/BittrexApi.NetCore/Entities/Enums.cs | mscheetz/BittrexApi.NetCore | 0 | 7067341 | using System;
using System.Collections.Generic;
using System.Text;
namespace BittrexApi.NetCore.Entities
{
public enum OrderType
{
BUY,
SELL,
BOTH
}
public enum Side
{
BUY,
SELL
}
}
|
MaxJuggle/UI/Title/TitleDecoItem.cs | marooncarl/marooncarl.github.io | 0 | 7067342 | // Programmer: <NAME>
// Date: 10/9/2017
//
// Starts animating a decorative item after a delay, and allows it to select a random sprite each time it starts its animation.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TitleDecoItem : MonoBehaviour {... |
MyMiddleware/Exceptions/UserOperationException.cs | Ran-snow/aspnetcorestudy | 4 | 7067343 | using System;
namespace MyMiddleware.Exceptions
{
/// <summary>
/// 用户自定义Exception
/// </summary>
public class UserOperationException : Exception
{
public UserOperationException() { }
public UserOperationException(string message) : base(message) { }
public UserOperationExce... |
h73.Elastic.Core/Data/MetaData.cs | henskjold73/h73.Elastic.Core | 1 | 7067344 | using System.Collections.Generic;
namespace h73.Elastic.Core.Data
{
public class MetaData<T> : Dictionary<string, object> where T : new()
{
public static implicit operator MetaData<T>(T obj)
{
var output = new MetaData<T>();
foreach (var piInfo in obj.GetType().GetPrope... |
InventoryManagement/src/InventoryManagement.API/Endpoints/Staff/Update.cs | rblackmore/IntelligentInventory | 0 | 7067345 | namespace InventoryManagement.API.Endpoints.Staff;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using Ardalis.GuardClauses;
using IntelligentInventory.SharedKernel.Interfaces;
using InventoryManagement.API.BaseEndpoints;
using InventoryManagement.Core.StaffAggregate;
using Inve... |
BolaoNet.Domain.Interfaces.Services/Boloes/IMensagemService.cs | Thoris/BolaoNet | 0 | 7067346 | <filename>BolaoNet.Domain.Interfaces.Services/Boloes/IMensagemService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BolaoNet.Domain.Interfaces.Services.Boloes
{
public interface IMensagemService
: Base.IGenericService<Entit... |
Assets/Scripts/Skills/onDragSkill.cs | DimChristodoulou/rpg-game | 0 | 7067347 | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
public class onDragSkill : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
// Start is called before the first frame update
void Start()
{
}
/... |
TwitchLeecher.Setup/TwitchLeecher.Setup.Gui/ViewModels/ErrorDlgVM.cs | Haukinger/TwitchLeecher | 2,815 | 7067348 | using TwitchLeecher.Setup.Gui.Services;
namespace TwitchLeecher.Setup.Gui.ViewModels
{
internal class ErrorDlgVM : DlgBaseVM
{
#region Constructors
public ErrorDlgVM(SetupApplication bootstrapper, IGuiService guiService)
: base(bootstrapper, guiService)
{ }
#endre... |
src/TrisvagoHotels.DataContracts/IRepositoryProvider/IRepositoryProvider.cs | Zpecter/TrisvagoHotels | 1 | 7067349 | <filename>src/TrisvagoHotels.DataContracts/IRepositoryProvider/IRepositoryProvider.cs
using System;
using TrisvagoHotels.DataContext.Context;
using TrisvagoHotels.DataContracts.IRepository;
namespace TrisvagoHotels.DataContracts.IRepositoryProvider;
public interface IRepositoryProvider {
MyDataContext Context { ... |
Micro.Auth.Business/Internal/Tokens/TokenFactory.cs | fossapps/Micro.Auth | 0 | 7067350 | <reponame>fossapps/Micro.Auth<filename>Micro.Auth.Business/Internal/Tokens/TokenFactory.cs<gh_stars>0
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using Micro.Auth.Business.Internal.Configs;
using Micro.Auth.Business.Internal.Extensions;
using Micro.Auth.Business... |
GoogleCloudExtension/GoogleCloudExtension/CloudExplorerSources/Gae/InstanceItem.cs | jskeet/google-cloud-visualstudio | 0 | 7067351 | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
sdk/src/Services/AccessAnalyzer/Generated/Model/IamRoleConfiguration.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7067352 | /*
* Copyright 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 "license" fi... |
Programming Basics/exersiceForExam/Sample Coding 101 Exam - Jan 2016/Sample Coding 101 Exam/09. Perfect Diamond/09. Perfect Diamond.cs | delian1986/C-SoftUni-repo | 3 | 7067353 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09.Perfect_Diamond
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var dashStar = 0;... |
UIExt.Markup.WPF/UIExt.Markup.WPF/Extensions/Selection/SliderExtensions.cs | doomviruz/UIExt.Markup.WPF | 10 | 7067354 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
namespace System.Windows
{
public static class SliderExtensions
{
publ... |
aws-crt-auth/Credentials.cs | awslabs/aws-crt-dotnet | 10 | 7067355 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
using System.Text;
namespace Aws.Crt.Auth
{
public class Credentials {
public byte[] AccessKeyId { get; private set; }
public byte[] SecretAccessKey { get; private set; }
p... |
TravelBotv4/BotMessageRouting/MessageRouting/DataStore/Azure/AzureTableStorageRoutingDataManager.cs | NT-D/TravelBotv4 | 4 | 7067356 | using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Underscore.Bot.Models;
using Underscore.Bot.Models.Azure;
using Underscore.Bot.Utils;
namespace Underscore.Bot... |
Project Dungeon/Assets/Scripts/Misc. Core/FollowTarget.cs | HaloSeventy7/CI-Project-GitHub | 0 | 7067357 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowTarget : MonoBehaviour {
public bool newCharacter = false;
public GameObject followTarget; //can change the target for something like a brief cutscene (to focus on something else)
public float moveSpeed; //s... |
Assets/NutGUI/Core/PanelBase.cs | cnyboy/DoogleuFrame | 0 | 7067358 | using UnityEngine;
namespace NutGUI
{
/// <summary>
/// 面板基类
/// </summary>
public abstract class PanelBase : MonoBehaviour
{
//存放面板模型的路径
public string panelPrefabPath;
//存放面板模型
public GameObject panelPrefab;
//存放面板的层级
public PanelLayer panelLayer;
... |
Source/CentralizedThermalDistribution/PlaceWorker_CoolantPipe.cs | tmo7452/CentralizedThermalDistribution_New | 0 | 7067359 | <gh_stars>0
using System.Linq;
using Verse;
namespace CentralizedThermalDistribution
{
public class PlaceWorker_CoolantPipe : PlaceWorker
{
/// <summary>
/// Place Worker for coolant pipes. Checks if a matching coolant pipe is already at this location.
/// </summary>
/// <p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.