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/Eryph.ComputeClient.Commands/UpdateEryphMachineCommand.cs | eryph-org/dotnet-computeclient | 0 | 7038335 | <gh_stars>0
using System;
using System.Management.Automation;
using Eryph.ClientRuntime;
using Eryph.ComputeClient.Models;
using JetBrains.Annotations;
namespace Eryph.ComputeClient.Commands
{
[PublicAPI]
[Cmdlet(VerbsData.Update, "EryphMachine")]
[OutputType(typeof(Operation), typeof(Machine), typeof(Vir... |
CFOculusFinalProject/Assets/Scripts/BulletRing.cs | GearedAtFace/Final-Project | 0 | 7038336 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletRing : MonoBehaviour {
public GameObject[] blueBullets = new GameObject[6];
public GameObject[] redBullets = new GameObject[6];
private Rigidbody rb;
private void Start()
{
rb = gameObject.... |
GameSpecific/Portal.cs | thisis2838/SourceSpl | 0 | 7038337 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using LiveSplit.ComponentUtil;
using LiveSplit.SourceSplit.Extensions;
using LiveSplit.SourceSplit.Utils;
namespace LiveSplit.SourceSplit.GameSpecific
{
class Portal : GameSupport
{
// how to match this timing with d... |
Sensor.Tests/Test.cs | nedroden/Kraken-Backend | 0 | 7038338 | using System;
using Xunit;
namespace Sensor.Tests
{
public class UnitTest1
{
[Fact]
public void AssertTrue()
{
Assert.True(true);
}
}
}
|
Migrations/DataContextModelSnapshot.cs | jerithalphonse/CommitteeBEnd | 0 | 7038339 | <reponame>jerithalphonse/CommitteeBEnd
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using WebApi.Helpers;
namespace WebApi.Migratio... |
UmbSense/Completion/Directives/Multi.cs | adam-werner/UmbSense | 20 | 7038340 | <reponame>adam-werner/UmbSense
using System.Collections.Generic;
using Microsoft.VisualStudio.Utilities;
using Microsoft.WebTools.Languages.Html.Editor.Completion.Def;
namespace UmbSense.Completion.Directives
{
[HtmlCompletionProvider(CompletionTypes.Attributes, "*")]
[ContentType("htmlx")]
class Multi : ... |
AllMyLights/Platforms/Linux/SystemdAutostartEntry.cs | sparten11740/allmylights | 17 | 7038342 | <reponame>sparten11740/allmylights
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NLog;
namespace AllMyLights.Platforms.Linux
{
public class SystemdAutostartEntry: AutostartEntry
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
... |
Verify.That/Context.cs | zastrowm/Verify.That | 0 | 7038343 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace VerifiedAssertions
{
/// <summary>
/// The context to use when apply verifications.
/// </summary>
public class Context
{
private readonly MemoryStream _memoryStream;
priva... |
resources/tools/CloudSmith.Cds.CrmSvcUtil/Filter/FilterListFilterService.cs | cloudsmithconsulting/cds-for-code | 23 | 7038344 | <reponame>cloudsmithconsulting/cds-for-code<gh_stars>10-100
using CloudSmith.Cds.CrmSvcUtil.Cache;
using CloudSmith.Cds.CrmSvcUtil.Configuration;
using CloudSmith.Cds.CrmSvcUtil.Configuration.Filter;
using Microsoft.Crm.Services.Utility;
using Microsoft.Xrm.Sdk.Metadata;
using System;
using System.Configuration;
name... |
Usenet/Yenc/YencArticleDecoder.cs | JohnTasler/Usenet | 32 | 7038345 | using System.Collections.Generic;
using System.Text;
using Usenet.Extensions;
using Usenet.Util;
namespace Usenet.Yenc
{
/// <summary>
/// Represents a yEnc-encoded article decoder.
/// The article is completely decoded in memory.
/// Based on <NAME>'s yEnc project https://github.com/khellang/yEnc.
... |
src/Strong.Numeric.Tests/ValidationsTests.cs | arthursoas/strong | 0 | 7038346 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
namespace Strong.Numeric.Tests
{
[TestClass]
public class ValidationsTests
{
[DataTestMethod]
[DataRow(0, true)]
[DataRow(2, true)]
[DataRow(3, false)]
[DataRow(-2, true)]
... |
src/RedisTribute/Io/Commands/RedisPrimativeCommand.cs | roberino/RedisSlimClient | 0 | 7038347 | <reponame>roberino/RedisSlimClient
using RedisTribute.Types;
namespace RedisTribute.Io.Commands
{
abstract class RedisPrimativeCommand : RedisCommand<IRedisObject>
{
protected RedisPrimativeCommand(string commandText, bool requireMaster, RedisKey key = default) : base(commandText, requireMaster, key)
... |
samples/apps/toggl/mobileapp/Toggl.Core/Extensions/StringExtensions.cs | moljac/Samples.AndroidX | 0 | 7038348 | using System;
using System.Collections.Generic;
using System.Linq;
using static System.StringSplitOptions;
namespace Toggl.Core.Extensions
{
public static class StringExtensions
{
public static IList<string> SplitToQueryWords(this string text)
=> text.Split(new[] { ' ' }, RemoveEmptyEntrie... |
bin/output/approot/packages/Microsoft.Extensions.CodeGenerators.Mvc/1.0.0-rc1-final/Templates/Startup/Startup.cshtml | lismore/mobiledigitalforensics | 0 | 7038349 | <filename>bin/output/approot/packages/Microsoft.Extensions.CodeGenerators.Mvc/1.0.0-rc1-final/Templates/Startup/Startup.cshtml
@inherits Microsoft.Extensions.CodeGeneration.Templating.RazorTemplateBase
@using System.Linq;
using Microsoft.AspNet.Builder;
@{
var allNamespaces = new SortedSet<string>(StringCompar... |
DNN/NeuralNet/Sequential.cs | Clement-W/Neural.NET | 1 | 7038350 | <filename>DNN/NeuralNet/Sequential.cs
using NeuralNet.Autodiff;
namespace NeuralNet
{
/// <summary>
/// This class represents a sequential model, a stack of layers, and/or activation functions
/// </summary>
public class Sequential : Model
{
/// <summary>
/// The blocks that compose... |
fixtures/multiple_projects_msbuild/src/console_app/Program.cs | rspositive/dotnet-core-buildpack-2.1.1 | 74 | 7038351 | <filename>fixtures/multiple_projects_msbuild/src/console_app/Program.cs
using System;
namespace console_app
{
public static class ProjectTwo
{
public static string GetAString()
{
Console.WriteLine("Hello from a secondary project!");
return "Hello, I'm a string!";
}
... |
CarPurchasePlatform/Models/Year.cs | JonasPetraska/CarPurchasePlatform | 0 | 7038352 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace CarPurchasePlatform.Models
{
public class Year
{
public Year(int value, string manufacturer, string model)
{
Value = value;
... |
Exercise 4 Consumer/Event.cs | skarum/microservices-in-netcore-exercises | 1 | 7038353 | <filename>Exercise 4 Consumer/Event.cs
using System.Collections.Generic;
namespace Consumer
{
public class Event
{
public string EventName { get; set; }
public int UserId { get; set; }
public Product Products { get; set; }
}
} |
DFC.App.DiscoverSkillsCareers/ViewModels/FilterQuestions/FilterQuestionsCompleteResponseViewModel.cs | SkillsFundingAgency/dfc-app-discoverskillsandcareers | 0 | 7038355 | <reponame>SkillsFundingAgency/dfc-app-discoverskillsandcareers
using System.Diagnostics.CodeAnalysis;
namespace DFC.App.DiscoverSkillsCareers.ViewModels
{
[ExcludeFromCodeCoverage]
public class FilterQuestionsCompleteResponseViewModel
{
public string JobCategoryName { get; set; }
}
}
|
hass-workstation-service/Domain/Sensors/LastActiveSensor.cs | TomBrien/hass-workstation-service | 0 | 7038356 | using hass_workstation_service.Communication;
using System;
using System.Runtime.InteropServices;
namespace hass_workstation_service.Domain.Sensors
{
public class LastActiveSensor : AbstractSensor
{
public LastActiveSensor(MqttPublisher publisher, int? updateInterval = 10, string name = "Last... |
CompareEngine/CompareResultSpan.cs | 3583Bytes/CodeCompare | 6 | 7038357 | using System;
namespace CompareEngine
{
public enum CompareStatus
{
Matched = 1,
NoMatch = -1,
Unknown = -2
}
public enum CompareResultSpanStatus
{
NoChange,
Replace,
DeleteSource,
AddDestination
}
public class CompareResultSpan : I... |
Model/OmniCore.Model/Enumerations/ReminderSlot.cs | winemug/omnicore | 112 | 7038358 | using System;
using System.Collections.Generic;
using System.Text;
namespace OmniCore.Model.Enumerations
{
public enum ReminderSlot
{
NotActivated = 0,
ExpiresSoon = 1,
ReservoirLow = 2,
Expired = 3,
NotStarted = 7
}
}
|
ScreenToGif.Model/Enums/FlipRotateType.cs | tony/ScreenToGif | 1 | 7038359 | <gh_stars>1-10
namespace ScreenToGif.Domain.Enums;
/// <summary>
/// Type of the Flip/Rotate action.
/// </summary>
public enum FlipRotateType
{
FlipHorizontal,
FlipVertical,
RotateRight90,
RotateLeft90
} |
Source/Web/Web.Site/ViewModels/FooterViewModel.cs | sourcewalker/hexago.net | 0 | 7038361 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Site.ViewModels
{
public class FooterViewModel
{
public string TermsOfUseUrl { get; set; }
public string PrivacyNoticeUrl { get; set; }
public string CookiePolicyUrl { get; set; }
... |
web/HHSBoard/HHSBoard/Data/WIP.cs | zeshan321/HHS-Virtual-Huddle-Board | 4 | 7038362 | using HHSBoard.Helpers;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HHSBoard.Data
{
public class WIP : BaseEntity
{
[Key]
public int ID { get; set; }
public string Saftey { get; set; }
public string N... |
Application/GJJA.RegistraVoce.App.Console/Program.cs | ariele-fatima/congenial-engine | 0 | 7038363 | <filename>Application/GJJA.RegistraVoce.App.Console/Program.cs
using UI = System.Console;
using System;
using GJJA.RegistraVoce.Domain;
using System.Collections.Generic;
using GJJA.RegistraVoce.Domain.Enums;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using GJJA.Reg... |
Resume.Tests/Models/BasicsTests.cs | wspittman/JsonResumeDotNet | 0 | 7038364 | using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace JsonResume.Tests
{
public class BasicsTests
{
private const string FormatStringEmpty = "{{ \"basics\": {0} }}";
private const string FormatString = "{{ \"basics\": {{ \"name\": {0}, \"label\": {1}, \"image\": {2},... |
src/sdk/InternationalStreetApi/Lookup.cs | iguanaware/smartystreets-dotnet-sdk | 18 | 7038365 | namespace SmartyStreets.InternationalStreetApi
{
using System.Collections.Generic;
/// <summary>
/// In addition to holding all of the input data for this lookup, this class also
/// will contain the result of the lookup after it comes back from the API.
/// </summary>
/// <remarks>
/// Lo... |
Models/Spreadsheet/LocalDataContext.cs | syncfusion/aspnet-mvc-ej1-demos | 3 | 7038366 | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
src/CMS/CMSModules/Ecommerce/Pages/Tools/Configuration/StoreSettings/StoreSettings_ChangeCurrency.aspx.cs | JFouts-BlueModus/kentico-contrib | 1 | 7038367 | using System;
using CMS.Base;
using CMS.Base.Web.UI;
using CMS.Ecommerce;
using CMS.Ecommerce.Web.UI;
using CMS.Helpers;
using CMS.Membership;
using CMS.SiteProvider;
using CMS.UIControls;
[Title("StoreSettings_ChangeCurrency.ChangeCurrencyTitle")]
public partial class CMSModules_Ecommerce_Pages_Tools_... |
src/Cofoundry.Domain/Domain/CustomEntities/Models/CustomEntityVersionPageBlockRenderDetails.cs | OliveiraLands/cofoundry | 780 | 7038368 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// Page block data for a specific custom entity version on a custom entity
/// details page. This model contains a fully mapped display model, map... |
src/VimeoDotNet/Models/Follower.cs | sttideveloper/vimeo-dot-net | 79 | 7038369 | <filename>src/VimeoDotNet/Models/Follower.cs
using System;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace VimeoDotNet.Models
{
/// <summary>
/// Follower
/// </summary>
[Serializable]
public class Follower
{
/// <summary>
/// Added time
/// </summary>
... |
Renshaw/Service/IGameService.cs | RockyDong/RenshawGame | 0 | 7038370 | <filename>Renshaw/Service/IGameService.cs
using System;
using System.Collections.Generic;
using System.Text;
using Autofac;
namespace Renshaw.Service
{
public interface IGameService
{
ILifetimeScope ServiceScope { get; }
}
}
|
Dev/SysFolder/WorkFlow/Company_Watch_Custom.aspx.cs | chen1993nian/CPMPlatform | 0 | 7038371 | <reponame>chen1993nian/CPMPlatform
using EIS.AppBase;
using System;
using System.Web.UI.HtmlControls;
namespace EIS.WebBase.SysFolder.WorkFlow
{
public partial class Company_Watch_Custom : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} |
Source/SimpleDataGenerator.Core/Mapping/Implementations/StringPropertyConfiguration.cs | FilipPaluch/SimpleDataGenerator | 2 | 7038372 | <reponame>FilipPaluch/SimpleDataGenerator
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using SimpleDataGenerator.Core.Customization.Specimens;
using SimpleDataGenerat... |
Catalog.Data/Catalog.Data/MongoObject.cs | pmdevers/MongoCatalog | 2 | 7038373 | <reponame>pmdevers/MongoCatalog<filename>Catalog.Data/Catalog.Data/MongoObject.cs<gh_stars>1-10
using Catalog.Data.Utils;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.IdGenerators;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using MongoDB.Driver.Linq;
using... |
WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esVirtualizationServer.asmx.cs | 9192939495969798/Websitepanel | 1 | 7038374 | // Copyright (c) 2015, Outercurve Foundation.
// 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
// ... |
PhotoOrganizerLib.Tests/Extensions.Tests/StringExtensionsTest.cs | haysch/Photo-Organizer | 0 | 7038375 | using PhotoOrganizerLib.Extensions;
using System.IO;
using Xunit;
namespace PhotoOrganizerLib.Tests.Extensions.Tests
{
public class StringExtensionsTest
{
[Fact]
public void IsYear_True()
{
var yearString = "2000";
var actual = yearString.IsYear();
... |
src/NMS.AMQP/Provider/Amqp/Message/AmqpNmsMapMessageFacade.cs | michaelpearce-gain/activemq-nms-amqp | 0 | 7038376 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
src/Digitalroot.OdinPlusModUploader/Provider/NexusMods/Models/UserResponseModel.cs | Digitalroot-Valheim/Digitalroot-Valheim-Digitalroot.OdinPlusModUploader | 0 | 7038377 | using Digitalroot.OdinPlusModUploader.Models;
using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace Digitalroot.OdinPlusModUploader.Provider.NexusMods.Models;
internal class UserResponseModel : AbstractResponseModel
{
[JsonProperty(PropertyName = "key"), JsonPropertyName("key")]
public string Api... |
ProyectoFinalBackend/Model/InventarioModel.cs | alvarogar777/ProyectoFinalBackendC- | 0 | 7038378 | using MahApps.Metro.Controls.Dialogs;
using ProyectoFinalBackend.Entity;
using ProyectoFinalBackend.View;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoFinalBackend.M... |
src/MagicMvvm.Forms/Dialogs/DialogResult.cs | suxrobGM/MagicMvvm | 9 | 7038379 | namespace MagicMvvm.Dialogs;
internal class DialogResult : IDialogResult
{
public Exception Exception { get; set; }
public IParameters Parameters { get; set; }
} |
src/Core/Api/StorageToolboxController.cs | pavelsverdlov/Blogifier | 0 | 7038380 | using Core.Helpers;
using Core.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
n... |
System.Extensions/Extensions/TypeExtensions.cs | gncabrera/xside-extensions | 0 | 7038381 | <gh_stars>0
/*
Copyright 2017 <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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
CIIP.Designer.Module.Win/Editors/TokenEdit/ImplementPropertyEditor.cs | jxnkwlp/CIIP | 282 | 7038382 | <reponame>jxnkwlp/CIIP<gh_stars>100-1000
using System;
using DevExpress.ExpressApp.Editors;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Win.Editors;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Repository;
using CIIP.Module.BusinessObjects.SYS;
using System.Linq;
using DevExpre... |
src/Merchello.Core/Services/Interfaces/IItemCacheService.cs | raindigi/Merchello | 191 | 7038383 | <reponame>raindigi/Merchello
namespace Merchello.Core.Services
{
using System;
using System.Collections.Generic;
using Merchello.Core.Persistence.Querying;
using Models;
using Models.TypeFields;
using Umbraco.Core.Persistence;
using Umbraco.Core.Services;
/// <summary>
/// Defin... |
pro-wpf-4.5-in-csharp/Pro WPF 4.5 in C#/Chapter05/RoutedEvents/KeyPressEvents.xaml.cs | DiogoBarbosaSilvaSousa/apress | 0 | 7038384 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespa... |
Keas.Mvc/Models/EquipmentImport.cs | emhenn/Keas | 0 | 7038385 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Keas.Mvc.Models
{
public class EquipmentImport
{
[Required]
public string EquipmentName { get; set; }
public string SerialNumber { get; set; }
public string M... |
aliyun-net-sdk-ess/Ess/Transform/V20140828/DescribeLifecycleActionsResponseUnmarshaller.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7038386 | <reponame>awei1688/aliyun-openapi-net-sdk<filename>aliyun-net-sdk-ess/Ess/Transform/V20140828/DescribeLifecycleActionsResponseUnmarshaller.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional info... |
Phaxio/ThinRestClient/Entities/RestRequest.cs | noelherrick/phaxio-dotnet | 3 | 7038387 | using System;
using System.Collections.Generic;
using System.IO;
namespace Phaxio.ThinRestClient
{
class RestRequest : IRestRequest
{
public List<FileParameter> Files { get; set; }
public Method Method { get; set; }
public string Resource { get; set; }
public BasicAuthorizat... |
GZY.Quartz.MUI/Model/BaseModel.cs | ijlynivfhp/QuartzMUI | 69 | 7038388 | <reponame>ijlynivfhp/QuartzMUI
using System;
using System.Collections.Generic;
using System.Text;
namespace GZY.Quartz.MUI.Model
{
public class BaseModel
{
/// <summary>
/// 主键ID
/// </summary>
public int id { get; set; }
/// <summary>
/// 数据插入时间
/// </... |
NetCore/Interfaces/IFABChannelHandlerContext.cs | MrPoP/FABSolution | 0 | 7038389 | using DotNetty.Buffers;
using DotNetty.Common.Concurrency;
using DotNetty.Common.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace NetCore
{
public interface IFABChannelHandlerContext : IAttributeMap
{
... |
Editor/ProcessUtilEditor.cs | beckheng/KCore | 0 | 7038390 | <filename>Editor/ProcessUtilEditor.cs
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace KCoreEditor
{
/// <summary>
/// 仅在编辑器模式下调用
/// </summary>
public class ProcessUtilEditor : EditorWindow
{
/// <summary>
/// 调用外部进程
/// </summary>
public static void StartProcess(s... |
TestingTestSuite/AttributeTests/IgnoreAttributeTests.cs | bstoney/testing-framework | 0 | 7038391 | using System;
using System.Collections.Generic;
using System.Text;
using Testing;
using Testing.UnitTest;
namespace TestingTestSuite.AttributeTests
{
/// <summary>
/// Description of the unit tests covered in IgnoreAttributeTests
/// </summary>
[TestFixture( "Test the function of IgnoreAttribute" )]
public class... |
Mapping_Tools/Classes/BeatmapHelper/Events/Background.cs | aehrea/Mapping_Tools | 66 | 7038392 | using Mapping_Tools.Classes.MathUtil;
using static Mapping_Tools.Classes.BeatmapHelper.FileFormatHelper;
namespace Mapping_Tools.Classes.BeatmapHelper.Events {
public class Background : Event {
public string EventType { get; set; }
public int StartTime { get; set; }
public string Filename ... |
Unity/GeometrySynth/Assets/GeometrySynth/Control/ModuleLink.cs | artificialnatures/GeometrySynth | 2 | 7038393 | using GeometrySynth.Interfaces;
namespace GeometrySynth.Control
{
public class ModuleLink
{
public Connectable UpstreamModule
{
get { return upstreamModule; }
}
public Connectable DownstreamModule
{
get { return downstreamModule; }
}
... |
TagIt/tagit/tagit/Extensions/ViewExtensions.cs | crisper91/xamarin_telerik | 96 | 7038394 | using tagit.Common;
using tagit.Views;
using Xamarin.Forms;
namespace tagit
{
public static class ViewExtensions
{
public static ContentView AsView(this PageType type)
{
ContentView view = null;
switch (type)
{
case PageType.Analysis:
... |
BEPUphysicsDrawer/Lines/Display types/DisplaySwivelHingeAngularJoint.cs | Vanishedphreeze/bepuphysics1int | 239 | 7038395 | <reponame>Vanishedphreeze/bepuphysics1int
using BEPUphysics.Constraints.TwoEntity.Joints;
using Microsoft.Xna.Framework;
using ConversionHelper;
namespace BEPUphysicsDrawer.Lines
{
/// <summary>
/// Graphical representation of a SwivelHinge.
/// </summary>
public class DisplaySwivelHingeAngul... |
Runtime/Debugging/DebugConsole.cs | AmirArdroudi/birdTools | 11 | 7038396 | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Object = System.Object;
//TODO: create command history window
//DONE: change keyboard focus from inputField to gameplay after clicking return key
//TODO: after opening console keyboard focus should be set on inputField
//TOD... |
Format/RemapEntry.cs | nhmkdev/KeyCap | 26 | 7038397 | ////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2022 <NAME>
//
// 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 Softwar... |
examples/Exceptions/Program.cs | verticalsoftware/vertical-spectreconsole | 15 | 7038398 | <gh_stars>10-100
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Spectre.Console;
using Vertical.SpectreLogger;
using Vertical.SpectreLogger.Options;
using Vertical.SpectreLogger.Rendering;
namespace Exceptions
{
class Program
{
... |
src/MyLab.Mq/PubSub/IMqConsumerLogic.cs | mylab-tools/mq | 0 | 7038399 | <reponame>mylab-tools/mq<filename>src/MyLab.Mq/PubSub/IMqConsumerLogic.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MyLab.Mq.PubSub
{
/// <summary>
/// Represent messages queue consumer
/// </summary>
public interface IMqConsumerLogic<TMsgPayload>
{
Task Con... |
src/Libraries/NRefactory/Test/Parser/Statements/UsingStatementTests.cs | dongdapeng110/SharpDevelopTest | 11 | 7038400 | <filename>src/Libraries/NRefactory/Test/Parser/Statements/UsingStatementTests.cs
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.IO;
using NUnit.Fr... |
src/PiWeb.Volume.UI/Interfaces/IFileService.cs | ZEISS-PiWeb/PiWeb-Volume | 0 | 7038401 | <reponame>ZEISS-PiWeb/PiWeb-Volume<filename>src/PiWeb.Volume.UI/Interfaces/IFileService.cs
#region copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* <NAME> IMT (IZfM Dresden) */
/* Softwaresystem PiWeb */
/* (c) <NAME> 2019 */
/*... |
Nexus.Commands/Command.cs | NexusCommunity/Nexus | 0 | 7038402 | using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using Nexus.Commands.Enums;
using Nexus.Commands.Interfaces;
using Nexus.Commands.Attributes;
namespace Nexus.Commands
{
/// <summary>
/// A nice little <see cref="CommandAttribute"/> wrapper to simplify command management.
///... |
snippets/csharp/VS_Snippets_Winforms/ISelectionService/CS/csiselectionserviceexample.cs | BohdanMosiyuk/samples | 2 | 7038403 | <filename>snippets/csharp/VS_Snippets_Winforms/ISelectionService/CS/csiselectionserviceexample.cs<gh_stars>1-10
//<snippet1>
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Windows.Forms;
using System.Data;
/* This sample illu... |
ServiceManagement.RequestResponseTypes/FileCommand.cs | dodSONSoftware/core-library | 0 | 7038404 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dodSON.Core.ServiceManagement.RequestResponseTypes
{
/// <summary>
/// Attempts to copy, move or delete a file.
/// </summary>
[Serializable]
public class FileCommand
{... |
AudioVisualization/Views/MainPage.xaml.cs | clarkezone/audiovisualization | 0 | 7038405 | using AudioVisualization.Extensions;
using AudioVisualization.Playback;
using AudioVisualization.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
u... |
src/TensorFlowNET.Core/Operations/math_ops.py.cs | Lin-Deng/TensorFlow.NET | 1 | 7038406 | using System;
using System.Collections.Generic;
using System.Text;
namespace Tensorflow
{
public class math_ops : Python
{
public static Tensor add(Tensor x, Tensor y, string name = null) => gen_math_ops.add(x, y, name);
public static Tensor cast(Tensor x, TF_DataType dtype = TF_DataType.DtIn... |
src/Database/IPTV.Big.Heart.Database.Models/Television/TelevisionCategoryMapping.cs | PetarKTodorov/IPTV.Big.Heart | 3 | 7038407 | <filename>src/Database/IPTV.Big.Heart.Database.Models/Television/TelevisionCategoryMapping.cs<gh_stars>1-10
namespace IPTV.Big.Heart.Database.Models.Television
{
using System;
public class TelevisionCategoryMapping : BaseModel
{
public Guid TelevisionId { get; set; }
public virtual Televis... |
com/netfx/src/framework/xml/system/newxml/xpath/xpathsingletoniterator.cs | npocmaka/Windows-Server-2003 | 17 | 7038408 | //------------------------------------------------------------------------------
// <copyright file="XPathSingletonIterator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
... |
Guppi.Application/Queries/Ascii/AsciiQuery.cs | rprouse/guppi | 2 | 7038409 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Guppi.Domain.Entities.Ascii;
using MediatR;
namespace Guppi.Application.Queries.Ascii
{
public sealed class AsciiQuery : IRequest<AsciiData[]>
{
}
internal sealed class AsciiQueryHandler : IRequestHandler<Asc... |
existing-database-to-efcore/DataBaseGeneric/Extentions.cs | jorv83/existing-database-to-efcore | 0 | 7038410 | namespace existing_database_to_efcore.DataBaseGeneric
{
using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text.RegularExpressions;
/// <summary>
/// A class for all extension methods
/// </summary>
public static class Extensions
{
/// <s... |
src/Services/Discount/Discount.API/Data/DataAccess.cs | bhatpavan/Microservice_Udemy | 0 | 7038411 | using Dapper;
using Discount.API.Entities;
using Microsoft.Extensions.Configuration;
using Npgsql;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using UtilityLibrary;
using System;
namespace Discount.API.Data
{
public class DataAccess
{
public DataAccess()
... |
SharpBoostVoronoi/SharpBoostVoronoi/Exceptions/UnsolvableVertexException.cs | anisoprint/SharpBoostVoronoi | 9 | 7038412 | using SharpBoostVoronoi.Output;
using SharpBoostVoronoi.Parabolas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpBoostVoronoi.Exceptions
{
public class UnsolvableVertexException:Exception, IParabolaException
{
public ... |
misc/RuntimeRestore/RuntimeRestoreTestPackage/Sample.win7-x86.cs | ultr0n-coder/dnx | 798 | 7038413 | namespace RuntimeRestoreTest
{
public static class Helper
{
public static string GetValue()
{
return "This is the Windows 7 x86 version.";
}
}
}
|
AssetStudioUtility/CSspv/OperandType.cs | imhuwq/AssetStudio | 6,914 | 7038414 | <reponame>imhuwq/AssetStudio
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Reflection;
namespace SpirV
{
public class OperandType
{
public virtual bool ReadValue(IReadOnlyList<uint> words, int index, out object value, out int wordsUsed)
{
// This returns th... |
SPA com Angular e NETCore/back-end/src/MeusFilme.API/Models/DemoTokenContext.cs | EduardoPires/Palestras | 90 | 7038415 | <gh_stars>10-100
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace MeusFilme.API.Models
{
public class DemoTokenContext : IdentityDbContext
{
public DemoTokenContext(DbContextOptions<DemoTokenContext> options)
: base(options)
{
... |
src/Spectre.Console/BoxBorder.cs | BlackOfWorld/spectre.console | 2,200 | 7038416 | namespace Spectre.Console;
/// <summary>
/// Represents a border.
/// </summary>
public abstract partial class BoxBorder
{
/// <summary>
/// Gets the safe border for this border or <c>null</c> if none exist.
/// </summary>
public virtual BoxBorder? SafeBorder { get; }
/// <summary>
/// Gets th... |
src/EpiSourceUpdater/Resources.Designer.cs | episerver/upgrade-assistant-extensions | 7 | 7038417 | <reponame>episerver/upgrade-assistant-extensions
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// t... |
prime-dotnet-webapi/HttpClients/Mail/IChesClient.cs | WadeBarnes/moh-prime | 14 | 7038418 | using System.Threading.Tasks;
using System.Collections.Generic;
using System;
namespace Prime.HttpClients.Mail
{
public interface IChesClient
{
Task<Guid?> SendAsync(Email email);
Task<string> GetStatusAsync(Guid msgId);
Task<bool> HealthCheckAsync();
}
}
|
NSWindowWillClose/NSWindowWillClose/ViewController.cs | gesource/Xamarin.Mac-Sample | 3 | 7038419 | using System;
using AppKit;
using Foundation;
namespace NSWindowWillClose
{
public partial class ViewController : NSViewController
{
public ViewController(IntPtr handle) : base(handle)
{
}
public override void ViewDidLoad()
{
base.ViewDidLoad();
... |
BmstuCSharpBot/Database.cs | sbannikov/csharpbmstu20 | 1 | 7038421 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace BmstuCSharpBot
{
/// <summary>
/// База данных
/// </summary>
public class Database : IDatabase
{
/// <summary>
/// Соединение ... |
samples/ADC/Program.cs | ikivanc/Samples | 201 | 7038422 | <reponame>ikivanc/Samples<filename>samples/ADC/Program.cs
//
// Copyright (c) 2018 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using System;
using System.Diagnostics;
using System.Threading;
using Windows.Devices.Adc;
namespace TestAdc
{
public ... |
Digirati.IxIF/Model/ElementBase.cs | digirati-co-uk/iiif-model | 2 | 7038423 | using Newtonsoft.Json;
namespace Digirati.IIIF.Model
{
/// <summary>
/// Marker interface for IxIF element types
/// </summary>
public class ElementBase : IIIFPresentationBase
{
[JsonProperty(Order = 10, PropertyName = "format")]
public string Format { get; set; }
// ... |
Toggl.Foundation.Tests/Interactors/TimeEntry/DeleteTimeEntryInteractorTests.cs | undeadinu/mobileapp | 3 | 7038424 | <reponame>undeadinu/mobileapp<gh_stars>1-10
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using Toggl.Foundation.Interactors;
using Toggl.Foundation.Models.Interfaces;
using Toggl.Foundation.Tests.Mocks;
using Toggl.PrimeRadian... |
Lombiq.Tests.UI/Extensions/ExtendedLoggingExtensions.cs | Finitive-LLC/UI-Testing-Toolbox | 0 | 7038425 | using Atata;
using Lombiq.Tests.UI.Services;
using OpenQA.Selenium;
using System;
using System.Threading.Tasks;
namespace Lombiq.Tests.UI.Extensions
{
public static class ExtendedLoggingExtensions
{
public static Task ExecuteLoggedAsync(
this UITestContext context, string operationName, IWe... |
OData/test/E2ETestV3/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Catalog/ProductSpecificationAttribute.cs | andygjp/WebApi | 1 | 7038426 | <reponame>andygjp/WebApi<filename>OData/test/E2ETestV3/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Catalog/ProductSpecificationAttribute.cs
namespace Nop.Core.Domain.Catalog
{
/// <summary>
/// Represents a product specification attribute
/// </summary>
public partial class ProductSpecificat... |
src/Clipper/Clipper/Int128.cs | SearchAThing-old1/clipper | 6 | 7038427 | <filename>src/Clipper/Clipper/Int128.cs
namespace Clipper
{
/// <summary>
/// Int128 struct (enables safe math on signed 64bit integers)
/// eg Int128 val1((Int64)9223372036854775807); //ie 2^63 -1
/// Int128 val2((Int64)9223372036854775807);
/// Int128 val3 = val1 * val2;
/// val3.ToSt... |
WinLossRecorder/AppUtils.cs | NateShoffner/WinLossRecorder | 0 | 7038428 | using System.Configuration;
using System.Linq;
using System.Reflection;
using WinLossRecorder.Properties;
namespace WinLossRecorder
{
internal class AppUtils
{
public static ExtendedVersion.ExtendedVersion GetVersion()
{
var attribute =
(AssemblyInformationalVersion... |
UpsMo.Services/Abstract/IHeaderService.cs | halilkocaoz/uptime-monitoring | 4 | 7038430 | <filename>UpsMo.Services/Abstract/IHeaderService.cs
using System;
using System.Threading.Tasks;
using UpsMo.Common.DTO.Request.Monitor;
using UpsMo.Common.Response;
namespace UpsMo.Services.Abstract
{
public interface IHeaderService
{
/// <summary>
/// Creates header for monitor
... |
src/Norns.Urd.Caching.Abstractions/CacheInterceptor.cs | fs7744/Norns.Urd | 39 | 7038431 | <gh_stars>10-100
using Microsoft.Extensions.DependencyInjection;
using Norns.Urd.Reflection;
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Norns.Urd.Caching
{
public class CacheInterceptor :... |
src/GraphIoT.Core/ViewModel/GraphViewModel.cs | Abrissirba/GraphIoT | 0 | 7038432 | <reponame>Abrissirba/GraphIoT
using PhilipDaubmeier.CompactTimeSeries;
using System;
using System.Collections.Generic;
using System.Linq;
namespace PhilipDaubmeier.GraphIoT.Core.ViewModel
{
public class GraphViewModel
{
public DateTime Begin { get; set; }
public long BeginUnixTimestamp => new ... |
src/ProSuite.Commons.Essentials/Properties/AssemblyInfo.cs | ProSuite/ProSuite | 5 | 7038433 | <filename>src/ProSuite.Commons.Essentials/Properties/AssemblyInfo.cs
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ProSuite.Commons.Essentials")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCo... |
self_task/work 26.11.2020/MDK1301_26.11.2020_Sapunov/Views/SpecialtyEditorForm.cs | RomanSapunov/isp01_sapunov_ra_mdk1301 | 0 | 7038434 | 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;
using MDK1301_26._11._2020_Sapunov.Models;
namespace MDK1301_26._11._2020_Sapunov.Views
{
public par... |
EventsExpress/ViewModels/CategoryViewModel.cs | NastiaGerasymchuk/EventsExpress | 23 | 7038435 | using System;
namespace EventsExpress.ViewModels
{
public class CategoryViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public int CountOfUser { get; set; }
public int CountOfEvents { get; set; }
}
}
|
resources/.gen/aws/aws/Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7038436 | <reponame>scottenriquez/cdktf-alpha-csharp-testing
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString")]
public class Wafv2Web... |
Assets/Scripts/GameField/WordsController.cs | DeadSith/Scrabble2d | 0 | 7038437 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class WordsController : MonoBehaviour
{
public GameObject WordButton;
private GameObject parent;
private void Start()
{
parent = GameObject.FindWithTag("Words");
}
private void... |
src/calc/logix/Binary.Lookup.cs | 0xCM/z0 | 0 | 7038438 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using static LogicSig;
using static BitLogix;
using BLK = BinaryBitLogicKin... |
SyntSky.GoodGame.Api.V4/Dto/Forum/Topic/TopicDto.cs | SyntSky/GoodGame | 0 | 7038439 | using System.Text.Json.Serialization;
namespace SyntSky.GoodGame.Api.V4.Dto.Forum.Topic;
public class TopicDto
{
[JsonPropertyName("id")]
public long Id { get; set; }
[JsonPropertyName("forum")]
public long Forum { get; set; }
[JsonPropertyName("forumTitle")]
public string ForumTitle { get; set; } = null!;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.