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 |
|---|---|---|---|---|
code/Entity/Ball/Ball.Physics.cs | popcan12/Minigolf-Mania | 8 | 7066109 | using Sandbox;
using System;
namespace Facepunch.Minigolf.Entities;
public partial class Ball
{
protected Vector3 _velocity;
public override Vector3 Velocity { get => _velocity; set => _velocity = value; }
static float PowerMultiplier => 2500.0f;
public override void Simulate( Client cl )
{
base.Simulate( cl... |
SilentRoomController/Commands.cs | keesvv/silentroomcontroller | 1 | 7066110 | namespace SilentRoomController
{
public enum Commands
{
COMMAND_ON = 1,
COMMAND_OFF = 2,
COMMAND_TOGGLE = 3,
COMMAND_SET_BRIGHTNESS = 4,
COMMAND_SET_HUE = 5,
COMMAND_SET_SATURATION = 6,
COMMAND_ENABLE_COLORLOOP = 7,
COMMAND_DISABLE_COLORLOOP = 8
... |
src/Models/StatusResponseDTO.cs | shuangrain/LexLibrary.Line.NotifyBot | 6 | 7066111 | using System;
using System.Collections.Generic;
using System.Text;
namespace LexLibrary.Line.NotifyBot.Models
{
public class StatusResponseDTO : BaseResponseDTO
{
public string TargetType { get; set; }
public string Target { get; set; }
}
}
|
DandD_Desktop_v2/Views/InventoryPage.xaml.cs | Nmotta/D-and-D-Desktop-Companion | 10 | 7066112 | <reponame>Nmotta/D-and-D-Desktop-Companion
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace DandD_Desktop_v2.Views
{
public sealed partial class InventoryPage ... |
UI/Tests/Common/Services/ChildUndoServiceTests.cs | Macabresoft/Macabre2D | 6 | 7066113 | <filename>UI/Tests/Common/Services/ChildUndoServiceTests.cs
namespace Macabresoft.Macabre2D.Tests.UI.Common.Services {
using FluentAssertions;
using FluentAssertions.Execution;
using Macabresoft.Macabre2D.UI.Common;
using NUnit.Framework;
[TestFixture]
public sealed class ChildUndoServiceTests... |
ProjectOne/ProjectOneBL/ICustomerBL.cs | 220118-Reston-NET/P1-Terrance-Usher | 0 | 7066114 | <gh_stars>0
using ProjectOneModel;
namespace ProjectOneBL
{
/// <summary>
/// Business Layer is used for validating and processing data from either the user or database
/// The kind of processing is dependent on the type of functionality
/// </summary>
public interface ICustomerBL
{
//... |
Assets/Environment/Pool/Scripts/Pool.cs | veselin-/Team4BabelGame | 3 | 7066115 | <reponame>veselin-/Team4BabelGame
using Assets.Core.Configuration;
using Assets.Core.InteractableObjects;
using UnityEngine;
namespace Assets.Environment.Pool.Scripts
{
public class Pool : MonoBehaviour, IInteractable
{
public Transform InteractPoint;
public bool HasBeenActivated()
{... |
Site.master.cs | jmocon/MRPS | 0 | 7066116 | using System;
public partial class Site : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["id"] == null)
{
Response.Redirect("Login.aspx");
}
if (int.Parse(Session["id"].ToString()) < 1)
{
Response.Re... |
MicroCBuilder/BuildLibrary.cs | blaxbb/micro-c-builder | 0 | 7066117 | <gh_stars>0
using MicroCBuilder.Models;
using MicroCLib.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
namespace MicroCBuilder
{
public static class BuildLibrary
{
... |
Tests/Actions/InspectTests.cs | tznind/Wanderer | 9 | 7066118 | <gh_stars>1-10
using Moq;
using NUnit.Framework;
using Wanderer;
using Wanderer.Actions;
using Wanderer.Actors;
namespace Tests.Actions
{
class InspectTests : UnitTest
{
[Test]
public void TestInspectIsFreeAction()
{
TwoInARoom(out You you, out IActor them, out IWorld world... |
StackFlowTests/Controllers/HotKeyControllerTests.cs | MisterMackey/StackFlow | 0 | 7066119 | <filename>StackFlowTests/Controllers/HotKeyControllerTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StackFlow.EventArgClasses;
using StackFlowTests;
using System.Windows.Forms;
namespace StackFlow.Controllers.Tests
{
[TestClass()]
public class HotKeyControllerTests
{
[TestMet... |
LMS/Persistence/Repository.cs | singhrahulnet/LMS.API | 0 | 7066120 | using System;
using System.Collections.Generic;
namespace LMS.Persistence
{
public interface IRepository<T>
{
IEnumerable<T> Get();
T GetById(int id);
void Update(T entity);
void Add(T entity);
void AddRange(List<T> entities);
}
public class Repository<T> : IRep... |
Lab6/Lab6/MyErrorHandler.cs | applecool/Application-Integration | 0 | 7066121 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MSXML2;
namespace Lab6
{
class MyErrorHandler : MSXML2.IVBSAXErrorHandler
{
frmLanguages myForm;
public MyErrorHandler(frmLanguages LanguagesForm)
{
myForm = Languages... |
src/PipeSharp/AbstractActiveSubscription.cs | aaart/pipesharp | 0 | 7066122 | namespace PipeSharp
{
public abstract class AbstractActiveSubscription : IActiveSubscription
{
public abstract void Dispose();
public void Receive<TEvent>(TEvent e)
{
IEventReceiver<TEvent> eventReceiver = GetReceiver<TEvent>();
eventReceiver.Receive(e);
... |
TankLib/STU/Types/STU_C04C475C.cs | Mike111177/OWLib | 1 | 7066123 | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xC04C475C)]
public class STU_C04C475C : STU_81C5DE19 {
[STUFieldAttribute(0xF891229F, ReaderType = typeof(InlineInstanceFieldReader))]
public STU_0A21FC97 m_F891229F;
... |
src/Wolf.Notification/Config/AuthorizeOperationFilter.cs | zflows/wolf-notification | 9 | 7066124 | <filename>src/Wolf.Notification/Config/AuthorizeOperationFilter.cs<gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace Wolf.Not... |
Src/Osrm.Client/4x/Models/Requests/ViarouteRequest.cs | norcis/Osrm.Client | 8 | 7066125 | using Osrm.Client.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Osrm.Client
{
public class ViarouteRequest
{
protected const int DefaultZoom = 18;
public ViarouteRequest()
... |
07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/03.OOP Intro and Code-First/02.Code-First/03.HospitalDatabase/Models/Medicament.cs | mdamyanova/C-Sharp-Web-Development | 10 | 7066126 | <gh_stars>1-10
namespace _03.HospitalDatabase.Models
{
public class Medicament
{
public int Id { get; set; }
public string Name { get; set; }
}
} |
ZVRPub.API/ZVRPub.Library/Interfaces/ILocationOrderProcess.cs | 1806-jun25-net/Project-Anthony-Randall-Cristian-BackEnd- | 0 | 7066127 | <reponame>1806-jun25-net/Project-Anthony-Randall-Cristian-BackEnd-
using System;
using System.Collections.Generic;
using System.Text;
using ZVRPub.Scaffold;
namespace ZVRPub.Library.Interfaces
{
interface ILocationOrderProcess
{
int Id { get; set; }
int LocationId { get; set; }
int ... |
Assets/Scripts/Core/TractorSystem/CarDoorMoveImpl.cs | awyhhwxz/ElevatorSimulator | 0 | 7066128 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarDoorMoveImpl : ITractorPart
{
public string Name { get; set; }
private GameObject _carDoorRoot;
private GameObject _carLeftDoorObj;
private GameObject _carRightDoorObj;
protected GameObject... |
SteamToolkit/Trading/Data Classes/MarketValueResponse.cs | FatherFoxxy/SteamToolkit | 3 | 7066129 | <reponame>FatherFoxxy/SteamToolkit<filename>SteamToolkit/Trading/Data Classes/MarketValueResponse.cs
using Newtonsoft.Json;
namespace SteamToolkit.Trading
{
[JsonObject(Title = "RootObject")]
public class MarketValueResponse
{
[JsonProperty("success")]
public bool Success { get; set; }
... |
FileSyncandWOPI/Source/SharedTestSuite/SharedAdapter/Stack/FSSHTTPB/BasicType/FileChunk.cs | v-yahan/Interop-TestSuites | 29 | 7066130 | namespace Microsoft.Protocols.TestSuites.SharedAdapter
{
using System.Collections.Generic;
/// <summary>
/// This class specifies the starting offset and length of a contiguous portion of a file.
/// </summary>
public class FileChunk : BasicObject
{
/// <summary>
/// Initializes... |
Chapter02/Examples/CsharpKeywords/Other/ValueTuple/Demo.cs | PacktWorkshops/The-C-Sharp-Workshop | 3 | 7066131 | using System;
using Chapter02.Examples.CsharpKeywords.VirtualMethod;
using Chapter02.Examples.Encapsulation;
namespace Chapter02.Examples.CsharpKeywords.Other.ValueTuple
{
public static class Demo
{
public static void Run()
{
var dog = new Dog("?");
var human = new Huma... |
Assets/Scripts/Menu/MatChanger.cs | it1shka/Flappy | 1 | 7066133 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MatChanger : MonoBehaviour
{
public Material[] mats;
private Material currentMat;
private int i;
public float changeTime;
private float curTimeBtwChange;
void Start()
{
i = -1;
curTi... |
Renshaw.Commom/Model/ShareEntity.cs | RockyDong/RenshawGame | 0 | 7066134 | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServiceStack.OrmLite;
namespace Renshaw.Commom.Model
{
public class ShareEntity<T> where T : IShareEntity
{
priv... |
ConsoleApp2_FW/Container.cs | xrcdev/MinIoC | 0 | 7066135 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace ConsoleApp2_FW
{
/// <summary>
/// 控制容器的反转处理已注册类型的依赖项注入
/// </summary>
public class Container : Container.IBaseOb... |
optimized/Constructor/Overrides/Setup.cs | unitycontainer/compliance-tests | 2 | 7066136 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Unity.Specification.Constructor.Overrides
{
public abstract partial class SpecificationTests : TestFixtureBase
{
private string _data = "data";
private string _override = "override";
[TestInitialize]
public override... |
vCIOpro/ServiceLayer/Interfaces/IRegistration.cs | medhajoshi27/AllProjectmedha | 0 | 7066137 | <reponame>medhajoshi27/AllProjectmedha<gh_stars>0
using CoreEntities.Domain;
using CoreEntities.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceLayer.Interfaces
{
public interface IRegistration
{
bool Add... |
Ramda.NET.Tests/Max.cs | sagifogel/Ramda.NET | 25 | 7066138 | <reponame>sagifogel/Ramda.NET<filename>Ramda.NET.Tests/Max.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ramda.NET.Tests
{
[TestClass]
public class Max
{
[TestMethod]
public void Max_Returns_The_Larger_Of_Its_Two_Arguments() {
Assert.AreEqual(R.... |
Noise.Infrastructure/Interfaces/IAudioPlayer.cs | bswanson58/NoiseMusicSystem | 1 | 7066139 | <filename>Noise.Infrastructure/Interfaces/IAudioPlayer.cs
using System;
using System.Collections.Generic;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Noise.Infrastructure.Dto;
namespace Noise.Infrastructure.Interfaces {
public interface IAudioPlayer {
int OpenFile( string filePath );
... |
src/CLI/SetupToolsOptions/DisableScaleUnitFeature.cs | Omaaarz/SCMScaleUnitDevTools | 5 | 7066140 | <filename>src/CLI/SetupToolsOptions/DisableScaleUnitFeature.cs
using System.Threading.Tasks;
using CLIFramework;
using System;
using ScaleUnitManagement.ScaleUnitFeatureManager.Common;
using ScaleUnitManagement.ScaleUnitFeatureManager.Utilities;
using System.Collections.Generic;
namespace CLI.SetupToolsOptions
{
i... |
main/anupooran/anupooran-1.cs | EliahKagan/old-practice-snapshot | 0 | 7066141 | <reponame>EliahKagan/old-practice-snapshot
using System;
internal static class Solution {
private static void Main()
{
const long b = 10L;
for (var t = int.Parse(Console.ReadLine()); t > 0; --t) {
var n = long.Parse(Console.ReadLine());
var p = b;
... |
src/Sharpen.Engine/SharpenSuggestions/CSharp80/NullableReferenceTypes/Suggestions/EnableNullableContextAndDeclareLocalVariableAsNullable.cs | shankyjain7243/Sharpen | 405 | 7066142 | namespace Sharpen.Engine.SharpenSuggestions.CSharp80.NullableReferenceTypes.Suggestions
{
internal sealed class EnableNullableContextAndDeclareLocalVariableAsNullable : BaseEnableNullableContextAndDeclareIdentifierAsNullableSuggestion
{
private EnableNullableContextAndDeclareLocalVariableAsNullable() {... |
Two.Application/Infrastructure/Roles.cs | AmazingSuka/two-bros | 0 | 7066143 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Boxters.Application.Infrastructure
{
public static class Roles
{
public const string Administrator = "SuperUser";
public const string Owner = "Owner";
}
}
|
03_SRC/API_Web_Server/Controllers/UsersController.cs | binhcan/MTV_API_MVC_Project | 0 | 7066144 | using API_Web_Server.Domain.Departments;
using API_Web_Server.Domain.Home;
using API_Web_Server.Domain.Home.PermissionPart;
using API_Web_Server.Domain.Home.RolesToPermission;
using API_Web_Server.Domain.Users;
using API_Web_Server.Extensions;
using API_Web_Server.Helper;
using AutoMapper;
using Microsoft.AspNetCore.A... |
Programming/Database/Teamwork SuperMarket/Supermarket.Formats/MongoDbProductFormat.cs | niki-funky/Telerik_Academy | 1 | 7066145 | <filename>Programming/Database/Teamwork SuperMarket/Supermarket.Formats/MongoDbProductFormat.cs
using System;
using System.Linq;
using MongoDB.Bson;
namespace SuperMarket.Formats
{
public class MongoDbProductFormat
{
public ObjectId Id { get; set; }
public int ProductId { get; set; }
p... |
Ludum Dare 48/Assets/PurpleCable/Core/Scripts/ResolutionSelector.cs | lilou-cormic/LudumDare48 | 0 | 7066146 | using System.Linq;
using UnityEngine;
namespace PurpleCable
{
public class ResolutionSelector : ValueSelector<Resolution>
{
private void Awake()
{
Values = Screen.resolutions;
}
protected override void Start()
{
base.Start();
Select... |
DXS.ThemedUI/Views/ThemedUILabel.cs | PatricCunhaforWork/DXS.ThemedUI | 3 | 7066147 | <gh_stars>1-10
using System;
using System.ComponentModel;
using CoreGraphics;
using DXS.ThemedUI.Extensions;
using Foundation;
using UIKit;
namespace DXS.ThemedUI.Views
{
[Register("ThemedUILabel"), DesignTimeVisible(true)]
public class ThemedUILabel : UILabel
{
public UIEdgeInsets EdgeInsets { ge... |
src/Types/Types/Descriptors/IArgumentDescriptor.cs | gmiserez/hotchocolate | 0 | 7066148 | using HotChocolate.Language;
namespace HotChocolate.Types
{
public interface IArgumentDescriptor
{
IArgumentDescriptor SyntaxNode(InputValueDefinitionNode syntaxNode);
IArgumentDescriptor Description(string description);
IArgumentDescriptor Type<TInputType>()
where TInputT... |
FiftyProtons.LogicalActivityCorrelation/ActivityCorrelationManager.cs | tintoy/LogicalActivityCorrelation.CoreCLR | 0 | 7066149 | <filename>FiftyProtons.LogicalActivityCorrelation/ActivityCorrelationManager.cs
using System;
using System.Threading;
namespace FiftyProtons.LogicalActivityCorrelation
{
/// <summary>
/// The correlation manager for logical activities.
/// </summary>
public sealed class ActivityCorrelationManager
: IDisposa... |
src/csharp/InterfaceMocksTests/Validators/ValidationInfoTests.cs | Fyzxs/IMock | 4 | 7066150 | <filename>src/csharp/InterfaceMocksTests/Validators/ValidationInfoTests.cs<gh_stars>1-10
using FluentAssertions;
using InterfaceMocks.Validators;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Reflection;
using InterfaceMocks.Exceptions;
namespace InterfaceMocksTests.Validators
{
[... |
aspnetcore/security/gdpr/sample/RP2.2/Pages/Consent.cshtml.cs | jongalloway/AspNetCore.Docs | 5,343 | 7066151 | using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace RPCC.Pages
{
public class Consent : PageModel
{
public void OnGet()
{
}
public IActionResult OnPostGrantAsync()
{
HttpContext.Feat... |
Nav.Language.ExtensionShared/QuickInfo/SymbolQuickInfoSourceProvider.cs | IInspectable/hello-world | 1 | 7066152 | #region Using Directives
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Utilities;
using Pharmatechnik.Nav.Language.Extension.Common;
#endregion
... |
src/MDP.AspNetCore.Authentication.ExternalCookies/Extensions/ControllerExtensions.cs | Clark159/MDP.Net | 3 | 7066153 | <reponame>Clark159/MDP.Net<filename>src/MDP.AspNetCore.Authentication.ExternalCookies/Extensions/ControllerExtensions.cs
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using ... |
Source/Paths/SvgMoveToSegment.cs | icons8/SkiaSharp.SVG | 0 | 7066154 | <reponame>icons8/SkiaSharp.SVG<filename>Source/Paths/SvgMoveToSegment.cs
using System.Drawing;
using SkiaSharp;
namespace Svg.Pathing
{
public class SvgMoveToSegment : SvgPathSegment
{
public SvgMoveToSegment(PointF moveTo)
: base(moveTo, moveTo)
{
}
pu... |
CodeSaw.RepositoryApi/IRepository.cs | ChainsawDevelopment/CodeSaw | 0 | 7066155 | using System.Collections.Generic;
using System.Threading.Tasks;
namespace CodeSaw.RepositoryApi
{
public interface IRepository
{
Task<Paged<MergeRequest>> MergeRequests(MergeRequestSearchArgs args);
Task<ProjectInfo> Project(int projectId);
Task<MergeRequest> GetMergeRequestInfo(int p... |
mcs/class/System.DirectoryServices/System.DirectoryServices/DirectoryServicesPermissionAttribute.cs | lefb766/mono | 469 | 7066156 | /******************************************************************************
* The MIT License
* Copyright (c) 2003 Novell Inc., www.novell.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 So... |
C# Web Module/CSharp-Web-Development-Basics/10.ExamPreparation_1/KittenShop/KittenShop.Models/User.cs | msotiroff/Softuni-learning | 1 | 7066157 | namespace KittenShop.Models
{
using Common;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class User
{
public User()
{
this.Kittens = new HashSet<Kitten>();
}
[Key]
public int Id { get; set; }
[Re... |
JCFruit.WeebChat.Server.Tcp/ConnectedClient.cs | JCFruit/weeb-chat | 0 | 7066158 | using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace JCFruit.WeebChat.Server.Tcp
{
public class ConnectedClient
{
private readonly NetworkStream _stream;
public string ClientId { get; }
public ConnectedClient(string clientId, NetworkStream stream)... |
src/DesignCalculations.Calculations/CalculationContext.cs | JPPGroup/DesignCalculations | 0 | 7066159 | <reponame>JPPGroup/DesignCalculations
using System.Collections.Generic;
using Jpp.DesignCalculations.Calculations.DataTypes;
namespace Jpp.DesignCalculations.Calculations
{
public class CalculationContext
{
/// <summary>
/// Load cases
/// </summary>
public List<LoadCase> LoadC... |
src/Solution Items/BookstoreIoC.Scaffold/Pages/OrderDetails/Details.cshtml | kenneth-h-walker/CleanArchitectureDotNETCore | 1 | 7066160 | @page
@model BookstoreIoC.Scaffold.Pages.OrderDetails.DetailsModel
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>OrderDetail</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.OrderDetail.Quantity)
</dt>
<dd>
... |
src/Thinktecture.Runtime.Extensions.MessagePack.SourceGenerator/CodeAnalysis/ThinktectureMessagePackFormatterSourceGenerator.cs | PawelGerr/Thinktecture.Runtime.Extensions | 16 | 7066161 | <filename>src/Thinktecture.Runtime.Extensions.MessagePack.SourceGenerator/CodeAnalysis/ThinktectureMessagePackFormatterSourceGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
namespace Thinktecture.CodeAnalysis
{
/// <summary>
... |
src/JSM.Swashbuckle.AspNetCore.Swagger/Configurations/SwaggerConfiguration.cs | juntossomosmais/JSM.Swashbuckle.AspNetCore | 1 | 7066162 | <filename>src/JSM.Swashbuckle.AspNetCore.Swagger/Configurations/SwaggerConfiguration.cs
using FluentValidation;
using JSM.Swashbuckle.AspNetCore.Swagger.Settings;
using JSM.Swashbuckle.AspNetCore.Swagger.Validations;
using JSM.Swashbuckle.AspNetCore.Swagger.Filters;
using Microsoft.AspNetCore.Builder;
using Microsoft.... |
Laurus.Mileage/Laurus.Mileage/Data/MileageDatabase.cs | thebeekeeper/Laurus.Mileage | 0 | 7066163 | using Laurus.Mileage.Services;
using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Laurus.Mileage.Data
{
public class MileageDatabase
{
public MileageDatabase(string dbPath)
{
_datab... |
Prog II - Tareas/SolutionApp-SII/WindowsFormsApp/FormLogin.Designer.cs | Edwinroman30/C_Sharp- | 0 | 7066164 |
namespace WindowsFormsApp
{
partial class FormLogin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
Src/DotNet/MobileNet/Binding/Mobile/Importer_Mobile.cs | CoherentLabs/CoherentUIMobileOpenSource | 39 | 7066165 | <gh_stars>10-100
/*
Copyright (c) 2012-2015, Coherent Labs AD
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list... |
TestRail/Types/Case.cs | squid-box/testrail-client | 0 | 7066166 | <reponame>squid-box/testrail-client
using Newtonsoft.Json.Linq;
using System;
namespace TestRail.Types
{
/// <summary>Stores information about a case.</summary>
public class Case : BaseTestRailType
{
#region Public Properties
/// <summary>ID of the case.</summary>
public ulong? Id {... |
Services/Iam/V3/Model/IdentityprovidersLinks.cs | huaweicloud/huaweicloud-sdk-net | 19 | 7066167 | <reponame>huaweicloud/huaweicloud-sdk-net<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Iam.V3.Model
{
/// <summ... |
Dutch Open Hackathon/2016/FoundIt/iOS/Effects/CirclePlatformEffect.cs | awatertrevi/hackathons | 0 | 7066168 | //
// CirclePlatformEffect.cs
//
// <NAME> (<EMAIL>)
// 12/9/2016
//
using System;
using FoundIt.iOS.Effects;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using MapKit;
using System.Linq;
using FoundIt.Effects;
using UIKit;
[assembly: ExportEffect(typeof(CirclePlatformEffect), "CircleEffect")]
namespace Fou... |
Domain-Driven Architecture Advanced/Blog/Blog.Application/Articles/Queries/Details/ArticleDetailsViewModel.cs | NaskoVasilev/CleanArchitecture | 2 | 7066169 | using Blog.Application.Common.Mappings;
using Blog.Domain.Entities;
using System;
namespace Blog.Application.Articles.Queries.Details
{
public class ArticleDetailsViewModel : IMapFrom<Article>
{
public int Id { get; set; }
public string Title { get; set; }
public string Content { get... |
src/TrueOrFalse/Infrastructure/Time/TimeElapsedAsText.cs | memucho/webapp | 4 | 7066170 | using System;
namespace TrueOrFalse
{
public class TimeElapsedAsText
{
public static string Run(DateTime dateTime)
{
return Run(dateTime, DateTime.Now);
}
/// <summary>
/// 34 Sekunden
/// 3 Minuten
/// 2 Stunden
///... |
AtTaskDataPuller/AtTaskDataModel/AtTaskModel.cs | payam49er/AtTaskDataPuller | 0 | 7066171 | using System.ComponentModel.DataAnnotations;
namespace AtTaskDataModel
{
public class AtTaskModel
{
[Key]
public int Id { get; set; }
public string atTaskID { get; set; }
public string name { get; set; }
public string objCode { get; set; }
public string URL ... |
src/DotNetBlog.Web/Themes/default/Home/Page.cshtml | OmidID/DotNetBlog | 10 | 7066172 | <gh_stars>1-10
@model DotNetBlog.Core.Model.Page.PageModel
@inject ClientManager clientManager
@inject IViewLocalizer L
<div id="page" class="page-global">
<h2 class="page-global-title">@Model.Title</h2>
<div>
<markdown content="@Model.Content"></markdown>
</div>
<div id="admin" condition="@cl... |
Assets/Scripts/UI/OrganismMenu.cs | EGKangaroo/Ecosystem-Simulator-Game | 0 | 7066173 | <filename>Assets/Scripts/UI/OrganismMenu.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrganismMenu : MonoBehaviour
{
public OrganismCard card;
public Transform contentTransform;
// Start is called before the first frame update
void Start()
... |
TheFancyPlayer/Utilities/File Operations.cs | DeveloperKurt/The-Fancy-Player | 0 | 7066174 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TheFancyPlayer
{
public static class File_Operations
{
public static string folderpath { get; set; }// music folder path
... |
DanceConvention.Services/Models/Contest.cs | Margi47/DanceConventionClient | 2 | 7066175 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanceConventionClient.Services
{
public class Contest
{
[JsonProperty(PropertyName = "id")]
public int CompetitionId { get; set; }
public string Name { get; set;... |
src/FluentRestBuilder.EntityFrameworkCore/Operators/LoadReferenceAlias.cs | kyubisation/FluentRest | 2 | 7066176 | // <copyright file="LoadReferenceAlias.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
// ReSharper disable once CheckNamespace
namespace FluentRestBuilder
{
using System;
using System.Linq.Expressions;
public static class LoadReferenceAlias
{
///... |
src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Binding/LookupConstraints.cs | balazssimon/meta-cs | 5 | 7066177 | using MetaDslx.CodeAnalysis.Symbols;
using MetaDslx.Modeling;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text;
namespace MetaDslx.CodeAnalysis.Binding
{
public class LookupConstraints
{
public r... |
study-cafu-roll-a-ball-Unity/Assets/Tests/PlayMode/Scripts/Domain/Entity/RotatePickUpEntity.cs | mtmt/study-cafu-roll-a-ball | 0 | 7066178 | <reponame>mtmt/study-cafu-roll-a-ball<gh_stars>0
using System.Collections;
using NUnit.Framework;
using StudyCafuRollABall.Domain.Entity;
using UnityEngine;
using UnityEngine.TestTools;
using Zenject;
namespace StudyCafuRollABall.Tests.PlayMode.Scripts.Domain.Entity
{
public class RotatePickUpEntityTest : ZenjectI... |
JsonInterfacePublicTests/JsonInterfaceTests.cs | JTOne123/JsonInterface | 1 | 7066179 | using System;
using System.Diagnostics;
using System.Linq;
using JsonInterface;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
namespace JsonInterface.PublicTests
{
[TestClass]
public class JsonInterfaceTests
{
... |
XFPage/XFPage.iOS/Control/CircleView/NativeCircleView.cs | dinesh4official/XFPage | 0 | 7066180 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreGraphics;
using Foundation;
using UIKit;
namespace XFPage.iOS.Control
{
[Preserve(AllMembers = true)]
public class NativeCircleView : UIView
{
#region Properties
public UIColor FillColor { get; set; }... |
Yap/YapView.Standard/Interface.cs | yvanvds/yap | 0 | 7066181 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YapView
{
public static class Interface
{
/* This interface is used by yapview to interact with
* an underlying object manager of your choice.
* It MUST be implemented and s... |
src/JsonRpcMessagePackFormatter.Test/DefaultResolverForTests.cs | asmichi/StreamJsonRpcMessagePack | 6 | 7066182 | // Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details.
using MessagePack;
using MessagePack.Formatters;
using MessagePack.Resolvers;
namespace Asmichi.StreamJsonRpcAdapters
{
internal sealed class DefaultResolverForTests : IForm... |
OpenManta.Web/Views/Sends/Deferred.cshtml | simongh/MantaMTA | 21 | 7066183 | <filename>OpenManta.Web/Views/Sends/Deferred.cshtml
@{
ViewBag.Title = Model.SendID + " > Deferrals";
Layout = "~/Views/Sends/_ReportLayout.cshtml";
}
<table class="table table-striped table-hover">
<thead>
<tr>
<th>VirtualMTA</th>
<th>Remote</th>
<th>Response</th>
<th>Count</th>
... |
Assets/_Scripts/GooglePlay/OpenGooglePlayGames.cs | tumble1999/anti-cookie-clicker | 0 | 7066184 | using UnityEngine;
using UnityEngine.UI;
namespace TumbleNet.CookieClicker.GooglePlay
{
public class OpenGooglePlayGames : MonoBehaviour
{
[SerializeField] private OpenWhat openWhat;
public void Start()
{
Button button = GetComponent<Button>();
butt... |
Path Creator Project/Assets/PathCreator/Examples/Scripts/CylinderMeshCreator.cs | salvicode/Path-Creator | 1,282 | 7066186 | using System.Collections.Generic;
using PathCreation.Utility;
using UnityEngine;
namespace PathCreation.Examples {
public class CylinderMeshCreator : PathSceneTool {
public float thickness = .15f;
[Range (3, 30)]
public int resolutionU = 10;
[Min (0)]
public float resolutionV = 20;
public Material mate... |
Xamarin.PropertyEditing.Mac/Controls/CGPointEditorControl.cs | Acidburn0zzz/Xamarin.PropertyEditing | 1 | 7066187 | <filename>Xamarin.PropertyEditing.Mac/Controls/CGPointEditorControl.cs
using System;
using System.Collections;
using System.Diagnostics;
using System.Drawing;
using AppKit;
using CoreGraphics;
using Foundation;
using Xamarin.PropertyEditing.ViewModels;
namespace Xamarin.PropertyEditing.Mac
{
internal class CGPointEd... |
camunda-bpm-platform-net/qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/functional/ejb/request/JobExecutorRequestContextSFSBDelegateTest.cs | luizfbicalho/Camunda.NET | 6 | 7066188 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... |
pioneer/js.pioneer.repository/Implementation/LoyaltyuserRepository.cs | bharathkumarms/pioneer | 0 | 7066189 | <filename>pioneer/js.pioneer.repository/Implementation/LoyaltyuserRepository.cs
using js.pioneer.model;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace js.pioneer.repository
{
public class LoyaltyuserRepository... |
UJCSystem/ITJakub.Xml.Conversion/Daliboris.Transkriptor.Rozhrani/ITransformator.cs | RIDICS/ITJakub | 3 | 7066190 | <gh_stars>1-10
using System;
using System.Runtime.InteropServices;
namespace Daliboris.Transkripce {
[ComVisible(true)]
[Guid("DAD60851-E3EB-4BD3-B175-50EA14E8E917")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface ITransformator {
string AplikujPravidla(string strText, string strJazyk);
voi... |
Lochi.AdventOfCode/Y2021/Day1.cs | lochidev/Lochi.AdventOfCode | 1 | 7066191 | using Lochi.AdventOfCode.Helpers;
namespace Lochi.AdventOfCode.Y2021;
public class Day1 : ISolver
{
public Solution Solve(ReadOnlySpan<char> input)
{
throw new NotImplementedException();
}
public Solution Solve(string input)
{
var depths = input.Split(Environment.NewLine, StringS... |
src/Vortice.Direct3D12/ID3D12Device1.cs | miyu/Vortice.Windows | 1 | 7066192 | <reponame>miyu/Vortice.Windows
// Copyright © <NAME> and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using Vortice.Direct3D;
namespace Vortice.Direct3D12;
public unsafe partial class ID3D12Device1
{
public ID3D12PipelineLibrary CreatePipelineLi... |
src/SharedKernel/Specifications/Evaluators/ISpecificationEvaluator.cs | mariocastellani/bugtracker-backend-repo | 0 | 7066193 | namespace SharedKernel.Specifications
{
/// <summary>
/// Evaluates the logic encapsulated by an <see cref="ISpecification{TEntity}"/>.
/// </summary>
public interface ISpecificationEvaluator
{
/// <summary>
/// Applies the logic encapsulated by <paramref name="specification"/> to g... |
src/Reflection/Jellequin.Reflection.Emit/ConstantValueContainer.cs | MarekPokornyOva/Jellequin2 | 0 | 7066194 | namespace Jellequin.Reflection.Emit
{
class ConstantValueContainer:IConstantValueMember
{
object _constantValue;
public void SetConstant(object value)
{
HasRawConstantValue=true;
_constantValue=value;
}
public bool HasRawConstantValue { get; private set; }
public object GetRawConstantValue() => _... |
TelerikAcademy.FinalProject.Web/Models/ShoppingCart/ContactInfoViewModel.cs | Camyul/ASP.NET-MVC-Final-Project | 1 | 7066195 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using TelerikAcademy.FinalProject.Common.Constant;
using TelerikAcademy.FinalProject.Data.Model;
using TelerikAcademy.FinalProject.Web.Areas.Administration.Models.ShoppingCart;
namespace TelerikAcademy.FinalProject.Web.Models... |
YoutubeApi.cs | R297Li/music-queue-player | 0 | 7066196 | <reponame>R297Li/music-queue-player
using Google.Apis.Services;
using Google.Apis.YouTube.v3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Upload;
using Google.Apis.Util.Store;
using Google.Apis.You... |
webServiceCheckOk/Model/UsuarioModel.cs | DominusFarib/Ws_OkVeiculos | 0 | 7066197 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace webServiceCheckOk.Model
{
public class UsuarioModel
{
public string Logon { get; set; }
public string Senha { get; set; }
public string CodAdmin { get; set; }
public string Ip { get; ... |
Qc.BaiduOcrSdk/Models/BaiduOcrAccurateInputModel.cs | QcCoding/Qc.BaiduSdk | 0 | 7066198 | using System;
using System.Collections.Generic;
using System.Text;
namespace Qc.BaiduOcrSdk.Models
{
public class BaiduOcrAccurateInputModel
{
/// <summary>
/// 通过API Key和Secret Key获取的access_token 为空则先获取
/// </summary>
public string AccessToken { get; set; }
/// <summa... |
IPT.Common/User/Configuration.cs | Immersive-Plugins-Team/IPT.Common | 0 | 7066199 | <reponame>Immersive-Plugins-Team/IPT.Common<gh_stars>0
using System;
using System.Collections.Generic;
using System.Reflection;
using IPT.Common.API;
using IPT.Common.User.Inputs;
using IPT.Common.User.Settings;
using Rage;
namespace IPT.Common.User
{
/// <summary>
/// A base class for generating a plugin-spe... |
SharpMedia/Math/Graphs/ReadOnlySearch.cs | zigaosolin/SharpMedia | 0 | 7066200 | // This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the NDA or other legally binding contract
// that you or a legal entity you represent has signed with the SharpMedia team.
// In an event that you have received or obtained ... |
src/IxMilia.Dxf/Objects/Generated/DxfSectionManagerGenerated.cs | oholloway/Dxf | 0 | 7066201 | <gh_stars>0
// Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// The contents of this file are automatically generated by a tool, and should not be directly modified.
using System;
using System.Collections.Gen... |
Mafia.NET/Players/Roles/Abilities/Setups/RegisterSetupAttribute.cs | war-man/Mafia.NET | 3 | 7066202 | using System;
using JetBrains.Annotations;
namespace Mafia.NET.Players.Roles.Abilities.Setups
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
[BaseTypeRequired(typeof(IAbilitySetup))]
[MeansImplicitUse]
public class RegisterSetupAttribute : Attribute
{
}
} |
Tests/Task/TaskTest.cs | juanpablocruz/FunK | 2 | 7066203 | using System;
using System.Threading.Tasks;
using Xunit;
namespace FunK.Tests
{
public class TaskTest
{
async Task<string> Fail(string message = null) => await Task.FromException<string>(new Exception(message));
async Task<T> Succeed<T>(T t) => await Task.FromResult(t);
[Fact]
public async void W... |
Assets/Plugins/Unity Essentials - ActionTrigger/Example/Scripts/ActionKeepTrackOfEntiesOverTime.cs | usernameHed/Philae-Lander | 0 | 7066204 | <filename>Assets/Plugins/Unity Essentials - ActionTrigger/Example/Scripts/ActionKeepTrackOfEntiesOverTime.cs
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEssentials.ActionTrigger.entity;
using UnityEssentials.ActionTrigger.Extensions;
using UnityEssentials.ActionTrigger.Trigger;
using ... |
dotOmegle/UnhandledResponseEventArgs.cs | jonasrh/dot-omegle | 0 | 7066205 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace dotOmegle
{
public class UnhandledResponseEventArgs : EventArgs
{
public string response;
public UnhandledResponseEventArgs(string response)
{
this.response = respo... |
Core/App.Web/Middleware/ErrorHandlingMiddleware.cs | lensbysits/backend-core | 1 | 7066206 | using Lens.Core.Lib.Exceptions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
namespace Lens.Core.App.W... |
AdbSharp/Classes/DirectoryListing.cs | floolean/AdbSharp | 1 | 7066207 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdbSharp
{
public class DirectoryListing
{
//public string[] Directories
//{
// get;
//}
//internal DirectoryListing( string... |
Assets/TakiExample/Scripts/ReelRoll.cs | averak/SlotProject2021 | 4 | 7066208 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReelRoll : MonoBehaviour
{
const float ROLL_ONE_FLAME = 0.1f;
Transform TF;
public bool isRolling;
public bool isStopping;
ReelZugara reelZugara;
[SerializeField] int ini... |
Assets/FloorRaiser.cs | JoanStark/D3D_P2_Portal | 0 | 7066210 | <filename>Assets/FloorRaiser.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FloorRaiser : MonoBehaviour
{
public GameObject floor;
private bool onButton = true;
private void Update()
{
}
private void OnTriggerEnter(Collider other)
{
... |
src/Sfa.Das.Sas.Infrastructure/Apprenticeship/ElasticSearch/ElasticsearchApprenticeshipIndexMaintainer.cs | uk-gov-mirror/SkillsFundingAgency.das-apprenticeship-programs-indexer | 1 | 7066211 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-apprenticeship-programs-indexer<filename>src/Sfa.Das.Sas.Infrastructure/Apprenticeship/ElasticSearch/ElasticsearchApprenticeshipIndexMaintainer.cs
using System.Linq;
namespace Sfa.Das.Sas.Indexer.Infrastructure.Apprenticeship.ElasticSearch
{
using System;
using S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.