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 |
|---|---|---|---|---|
ParakeetProducer/RequestBody.cs | Marcelo-Zometa/ParakeetProducer | 0 | 7050134 | <gh_stars>0
namespace ParakeetProducer
{
public class RequestBody
{
public string Title { get; set; }
public string Text { get; set; }
}
} |
ItemReceiving/Assets/Low Poly Fruits/resources/fruits_tester.cs | Davidccy/Unity-ItemReceiving | 0 | 7050135 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class fruits_tester : MonoBehaviour {
public GameObject[] fruits;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
fruits[0].transform.RotateAround (Vector3.up... |
Components/Presenters/DispatchPresenter.cs | EPTamminga/DNN.Forum | 0 | 7050136 | <filename>Components/Presenters/DispatchPresenter.cs
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2011
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal... |
II Development Tools/Waveform Generator/Classes/Leads.cs | tanjera/infirmary-integrated | 30 | 7050137 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Waveform_Generator {
public class Lead {
public Values Value;
public Lead (Values v) {
Value = v;
}
public enum Values {
ECG_I, E... |
VkNet/Categories/PhotoCategory.cs | dariabokareva/vk | 0 | 7050138 | <reponame>dariabokareva/vk<gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Newtonsoft.Json.Linq;
using VkNet.Abstractions;
using VkNet.Enums;
using VkNet.Enums.SafetyEnums;
using VkNet.Exception;
using VkNet.Model;
using VkNet.Model.Attachments;
using VkNet.Model.... |
OrkCore/Common/Normal.cs | jwoff78/OrkEngine | 7 | 7050139 | <reponame>jwoff78/OrkEngine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrkEngine
{
public struct Normal : IEquatable<Normal>
{
public Normal(float x, float y, float z) : this()
{
X = x;
Y... |
src/CoreDddShared.IntegrationTests/Commands/CreateNewShipCommandHandlers/LegacyWebFormsApps/when_creating_new_ship.cs | xhafan/legacy-to-coreddd | 5 | 7050140 | <gh_stars>1-10
#if NET40
using CoreDdd.Nhibernate.Repositories;
using CoreDdd.Nhibernate.TestHelpers;
using CoreDdd.Nhibernate.UnitOfWorks;
using CoreDddShared.Commands;
using CoreDddShared.Domain;
using FakeItEasy;
using NUnit.Framework;
using Shouldly;
namespace CoreDddShared.IntegrationTests.Commands.CreateNewShip... |
State/Program.cs | vladislavkvz/Design-Patterns | 0 | 7050141 | <filename>State/Program.cs
namespace State
{
using Entities;
using System;
class Program
{
static void Main()
{
Context context = new Context();
StartState startState = new StartState(); startState.DoAction(context);
Console.WriteLine(context.GetSta... |
src/Testura.Mutation.Application/Commands/Project/OpenProject/Handlers/OpenProjectMutatorsHandler.cs | MilleBo/Unima | 95 | 7050142 | <filename>src/Testura.Mutation.Application/Commands/Project/OpenProject/Handlers/OpenProjectMutatorsHandler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using log4net;
using Testura.Mutation.Application.Exceptions;
using Testura.Mutation.Core;
using Testura.Mutation.Cor... |
Analysis/StubManagers/SummaryTemplates.cs | ravimad/SEAL | 1 | 7050143 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SafetyAnalysis.Framework.Graphs;
using SafetyAnalysis.Util;
using SafetyAnalysis.Purity.HandlerProvider;
namespace SafetyAnalysis.Purity.Summaries
{
public class SummaryTemplates
{
... |
CustomExtensions.UnitTests/ForIEnumerablesTests/DistinctByTest.cs | jcomtois/CustomExtensions | 1 | 7050144 | #region License and Terms
// CustomExtensions - Custom Extension Methods For C#
// Copyright (c) 2011 - 2013 <NAME>. 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 Li... |
Almanac/Pages/BasePage.cs | KhloeLeclair/StardewMods | 3 | 7050145 | #nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using Leclair.Stardew.Almanac.Menus;
using Leclair.Stardew.Common.UI;
using Leclair.Stardew.Common.UI.FlowNode;
using Leclair.Stardew.Common.UI.SimpleLayout;
using Microsoft.Xna.Framework;
using Micros... |
C#/ViGEmWrapper/TestApp/Program.cs | evilC/AHK-ViGEm-Bus | 14 | 7050146 | <filename>C#/ViGEmWrapper/TestApp/Program.cs
using System;
using Nefarius.ViGEm.Client.Targets.DualShock4;
using Nefarius.ViGEm.Client.Targets.Xbox360;
using ViGEmWrapper;
namespace TestApp
{
class Program
{
static void Main(string[] args)
{
//var xb = new Xb360();
//x... |
osu.Game.Rulesets.Osu/Difficulty/Skills/FingerControl.cs | zivoy/osu | 0 | 7050148 | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Osu.Objects;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace osu.Game.Rulesets.Osu.Difficulty.Sk... |
tests/Serilog.Sinks.AzureBlobStorage.UnitTest/DefaultCloudBlobProviderUT.cs | ry8806/serilog-sinks-azureblobstorage | 0 | 7050149 | <gh_stars>0
using System;
using System.Threading.Tasks;
using FakeItEasy;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Auth;
using Microsoft.Azure.Storage.Blob;
using Serilog.Sinks.AzureBlobStorage.AzureBlobProvider;
using Xunit;
namespace Serilog.Sinks.AzureBlobStorage.UnitTest
{
/// <summary>
... |
BigCommerce4Net.Domain/Entities/Common/Brand.cs | AZDeveloper777/BigCommerce4Net | 18 | 7050150 | #region License
// Copyright 2013 <NAME> - <NAME> & Company Inc.
//
// 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
//
// Unles... |
src/JT809.Protocol.Test/JT809SubMessageBody/JT809_0x1200_0x1205Test.cs | jxmlegend/JT809 | 146 | 7050151 | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using JT809.Protocol;
using JT809.Protocol.Extensions;
using JT809.Protocol.MessageBody;
using JT809.Protocol.Exceptions;
using JT809.Protocol.SubMessageBody;
using JT809.Protocol.Enums;
using JT809.Protocol.Internal;
namespace JT809.Prot... |
Project0App/Project0App/Program.cs | 1804-Apr-USFdotnet/hardy-daniel-project0 | 0 | 7050152 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Business.Layer;
namespace Project0App
{
class Program
{
static void showMenu()
{
Console.WriteLine("Welcome to Resturant Ratings (Project0)\n\rPress 1: To view ... |
commercetools.NET/ProductProjectionSearch/Facet.cs | DavidDeVries/commercetools-dotnet-sdk | 10 | 7050153 | <filename>commercetools.NET/ProductProjectionSearch/Facet.cs
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using commercetools.Common;
namespace commercetools.ProductProjectionSearch
{
/// <summary>
/// Facets calculate statistical counts to aid in faceted naviga... |
HADotNet.Core/Utility/DomainStrings.cs | PockyBum522/HADotNet | 0 | 7050154 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace HADotNet.Core
{
/// <summary>
/// A dictionary class consisting of HA domain strings
/// </summary>
public static class Domain
{
/// <summary>
/// "alarm_control_panel" string for the domain in... |
WebRTCme.Api/Models/RTCRtpContributingSource.cs | BlazorHub/WebRTCme | 67 | 7050155 | using System;
using System.Collections.Generic;
using System.Text;
namespace WebRTCme
{
public class RTCRtpContributingSource
{
public double? AudioLevel { get; set; }
public ulong? RtpTimestamp { get; set; }
public uint? Source { get; set; }
public ulong? Timestamp { get; ... |
src/RentThatBike.Tests/BicycleValidatorSpecs.cs | nitechservices/rentthatbike | 0 | 7050157 | <filename>src/RentThatBike.Tests/BicycleValidatorSpecs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using RentThatBike.Web.ServiceModel.Types;
using ServiceStack.FluentValidation.Results;
using Xbehave;
using Xunit;
namespace RentTha... |
src/Radical/ComponentModel/Model/IEntityView/EntityItemViewCustomPropertyDescriptor.cs | RadicalFx/Radical | 30 | 7050158 | using System;
namespace Radical.ComponentModel
{
/// <summary>
/// A specialized PropertyDescriptor
/// </summary>
/// <typeparam name="T">The type encapsulated by this descriptor</typeparam>
/// <typeparam name="TValue">The type of the value</typeparam>
public class EntityItemViewCustomPropert... |
Elaunch_POS_Repository/Data/Invoice.cs | Vimal123/SampleMVCProject | 1 | 7050159 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
Defs/Qooxdoo/ui/embed/Iframe.cs | SharpKit/SharpKit-SDK | 12 | 7050160 | <filename>Defs/Qooxdoo/ui/embed/Iframe.cs
// Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.ui.embed
{
/// <summary>
/// <para>Container widget for internal frames (iframes).
/// An iframe can display any HTML p... |
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.Serialization.cs | arsunda/azure-sdk-for-net | 1 | 7050161 | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Network.Models
{
public partial class ApplicationGatewayRequestRoutingRule : IUtf8JsonSe... |
tests/WeGouTest/AccountTest.cs | Zdelta/WeGouSharp | 104 | 7050162 | <filename>tests/WeGouTest/AccountTest.cs
using Xunit;
namespace WeGouTest
{
public class AccountTest : BasicConfig
{
[Fact]
public void TestSearchOfficialAccount()
{
var test = ApiService.SearchOfficialAccountAsync("广州大学").Result;
Assert.False(test.Count<0);
... |
src/CatLib.Core/IO/CombineStream.cs | tanyunfeihello/Core | 182 | 7050163 | /*
* This file is part of the CatLib package.
*
* (c) CatLib <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://catlib.io/
*/
using CatLib.Exception;
using CatLib.Util;
using System;
using System.IO;
... |
active-ragdolls/Assets/Cannon.cs | anilo/active-ragdolls | 152 | 7050164 | #pragma warning disable 649
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class Cannon : MonoBehaviour
{
[SerializeField] private Rigidbody _cannonBallPrefab;
[SerializeField] private Transform _spawnPoint;
[SerializeField] private float _launchF... |
manager.web.api/integrationevents/eventhandling/JobCreatedIntegrationEventHandler.cs | eswk22/dark-ninja | 0 | 7050165 | <reponame>eswk22/dark-ninja
using Infrastructure.EventBus.Abstractions;
using manager.web.api.integrationevents.events;
using manager.web.api.model;
using manager.web.api.repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace manager.web.api.integratione... |
MonoReST/ReSTMc/DataModel/Folder.cs | wangc31/documentum-rest-client-dotnet | 0 | 7050166 | using Emc.Documentum.Rest.Net;
using Emc.Documentum.Rest.Http.Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using Emc.Documentum.Rest.DataM... |
Database.Tests/Models/Option.cs | telmengedar/NightlyCode.DB | 0 | 7050167 | <filename>Database.Tests/Models/Option.cs
using System;
namespace NightlyCode.Database.Tests.Models {
public class Option {
/// <summary>
/// data for an option
/// </summary>
/// <summary>
/// id of option
/// </summary>
public Guid Id { get; set; }
... |
edid/Edid.cs | walterlv/EDID | 0 | 7050168 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Walterlv.EdidDemo
{
public class Edid
{
private readonly byte[] _data;
public Edid(byte[] data)
{
_data = data;
}
public EdidDeta... |
Editor/AGXUnityEditor/Menus/AssetsMenu.cs | MenschMitHut/AGXUnity | 0 | 7050169 | using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using AGXUnity;
namespace AGXUnityEditor
{
public static class AssetsMenu
{
[MenuItem( "Assets/AGXUnity/Shape Material" )]
public static UnityEngine.Object CreateMaterial()
{
return Selection.activeObject = Utils.AssetFactor... |
modules/Volo.CmsKit/src/Volo.CmsKit.Domain/Volo/CmsKit/MediaDescriptors/MediaDescriptorChecks.cs | daridakr/ProgGuru | 1 | 7050170 | using System.IO;
using System.Linq;
namespace Volo.CmsKit.MediaDescriptors;
public static class MediaDescriptorChecks
{
public static bool IsValidMediaFileName(string name)
{
if (string.IsNullOrWhiteSpace(name))
{
return false;
}
return !Path.GetInvalidFileNameCha... |
ChainFixer/Hooks.cs | Alternity156/AudicaChainFixer | 0 | 7050171 | using Harmony;
using MelonLoader;
using UnityEngine;
using System.Reflection;
using System;
using OVR.OpenVR;
using TwitchChatter;
using Il2CppSystem.Collections.Generic;
namespace ChainFixer
{
internal static class Hooks
{
public static void ApplyHooks(HarmonyInstance instance)
{
... |
MxWeiXinPF.Web/weixin/sticket/index.aspx.cs | herrylau/wwzkushop | 0 | 7050172 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MxWeiXinPF.Common;
namespace MxWeiXinPF.Web.weixin.sticket
{
public partial class index : WeiXinPage
{
Model.wx_sTicket sstAction = new Mo... |
EventSourcedContosoUniversity/Features/Students/GetStudentDetailsQuery.cs | hossambarakat/EventSourcedContosoUniversity | 0 | 7050173 | <reponame>hossambarakat/EventSourcedContosoUniversity
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using EventSourcedContosoUniversity.Core.ReadModel.Repositories;
using EventSourcedContosoUniversity.Core.ReadModel.Students;
using FluentValidation;
us... |
{1} Programming Fundamentals - Extended (Course)/[06] Data Types (Text and Other Types, Variables)/04. Refactor Volume of Pyramid/Refactor Volume of Pyramid/RefactorVolumeOfPyramid.cs | penDev98/TechModule | 0 | 7050174 | using System;
namespace Refactor_Volume_of_Pyramid
{
public class RefactorVolumeOfPyramid
{
public static void Main()
{
double lengh, width, height, v = 0;
Console.Write("Length: ");
lengh = double.Parse(Console.ReadLine());
Console.Write("Widt... |
Runtime/Scriban/ScribanTemplate.cs | MarkoBL/Rosi | 63 | 7050175 | <gh_stars>10-100
using System.Text;
using Scriban;
using Rosi.Runtime.Core;
using System.Collections.Generic;
namespace Rosi.Runtime.Scriban
{
public class ScribanTemplate
{
static readonly Dictionary<string, ScribanTemplate> _scriptLookup = new Dictionary<string, ScribanTemplate>();
public b... |
AzLogViewSettings.cs | rlittletht/AzLog | 0 | 7050176 | <reponame>rlittletht/AzLog<filename>AzLogViewSettings.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Win32;
using NUnit.Framework;
using TCore.Settings;
namespace AzLog
{
public class AzLogViewSettings
... |
Cat/PostProcessing/Common/Editor/CatPostProcessingEditorBase.cs | walklook/Cat-PostProcessing | 1 | 7050177 | using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor;
using Cat.Common;
using Cat.CommonEditor;
using Cat.PostProcessing;
namespace Cat.PostProcessingEditor {
public struct AttributedProperty {
public SerializedProperty serializedProperty... |
src/OA.Service/Implementation/DateTimeService.cs | hatefm69/onion | 535 | 7050178 | using OA.Service.Contract;
using System;
namespace OA.Service.Implementation
{
public class DateTimeService : IDateTimeService
{
public DateTime NowUtc => DateTime.UtcNow;
}
} |
Project Dungeon/Assets/Scripts/Ability System/Bloodrush/Bloodrush.cs | HaloSeventy7/CI-Project-GitHub | 0 | 7050179 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bloodrush : MonoBehaviour
{
[HideInInspector] public float moveSpeedMultiplier;
[HideInInspector] public float attackTimeDivisor;
[HideInInspector] public float buffDuration = 5f;
private float bloodrushCount... |
src/ShoppingCart.Infrastructure.ReadModel/Persistence/IRepository.cs | djamseed/shopping-cart | 2 | 7050180 | namespace ShoppingCart.Infrastructure.ReadModel.Persistence
{
using System;
using System.Threading.Tasks;
using ShoppingCart.Infrastructure.ReadModel.Common;
public interface IRepository<T> : IReadOnlyRepository<T> where T : IEntity
{
Task InsertAsync(T entity);
Task UpdateAsync(T e... |
SRC/OTLog.Core/Extensions/DayOfWeekExtensions.cs | Suence/OTLog | 0 | 7050181 | <filename>SRC/OTLog.Core/Extensions/DayOfWeekExtensions.cs
using System;
using System.Collections.Generic;
namespace OTLog.Core.Extensions
{
public static class DayOfWeekExtensions
{
public static string ToFriendlyText(this DayOfWeek @this)
{
var textMap = new Dictionary<DayOfWeek,... |
FG5eParserLib/View Models/FeatsViewModel.cs | kay9911/Creature-Creator-v1.3 | 9 | 7050182 | using FG5eParserModels.Player_Models;
using Microsoft.Win32;
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Text;
namespace FG5eParserLib.View_Models
{
public class FeatsViewModel : INotifyPropertyChanged
{
// Object Inits
private... |
CobraStandardControls/Widget/GShop_Mobile/WidControlUpdatePriceList.cs | kokyiphyocho/Cobra-Web-based-POS-System | 0 | 7050184 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using CobraFrame;
using CobraFoundation;
using CobraWebFrame;
using CobraResources;
namespace CobraStandardControls
{
public class WidCon... |
Repositories/VisualStudio/CSharp/SimpleCapture/SimpleCapture/Utility/ImageUtility.cs | Dong-gi/Dong-gi.github.io | 5 | 7050185 | <filename>Repositories/VisualStudio/CSharp/SimpleCapture/SimpleCapture/Utility/ImageUtility.cs<gh_stars>1-10
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
namespace SimpleCapture.Utility
{
... |
Rainbow/Assets/Box2DEngine/Tests/CollisionProcessing.cs | wofead/GameChallengeTap | 1 | 7050186 | using System;
using System.Collections.Generic;
using System.Numerics;
using Box2DSharp.Collision.Shapes;
using Box2DSharp.Common;
using Box2DSharp.Dynamics;
namespace Box2DSharp.Tests
{
public class CollisionProcessing : Test
{
public CollisionProcessing()
{
// Ground body
... |
BookStore/BookStore.Data/Entities/CartitemEntity.cs | 2011-nov02-net/antonio-project1 | 0 | 7050187 | using System;
using System.Collections.Generic;
#nullable disable
namespace BookStore.Data.Entities
{
public partial class CartitemEntity
{
public int ItemId { get; set; }
public string BookIsbn { get; set; }
public int Quantity { get; set; }
public DateTime? DataAdded { get; ... |
View/General/ComboBoxTemplateSelector.cs | Constructor0987/MeisterGeister | 5 | 7050188 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Windows.Media;
namespace MeisterGeister.View.General
{
/// <summary>
//... |
src/AlphaTest.Application/UseCases/Admin/Commands/UserManagement/SuspendUser/SuspendUserUseCaseRequest.cs | Damakshn/AlphaTest | 0 | 7050190 | using System;
using AlphaTest.Application.UseCases.Common;
namespace AlphaTest.Application.UseCases.Admin.Commands.UserManagement.SuspendUser
{
public class SuspendUserUseCaseRequest : IUseCaseRequest
{
public SuspendUserUseCaseRequest(Guid suspendedUserID, Guid currentUserID)
{
Su... |
src/SecureBank/Authorization/CookieService.cs | ssrdio/SecureBank | 40 | 7050191 | <filename>src/SecureBank/Authorization/CookieService.cs<gh_stars>10-100
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using SecureBank.DAL.DBModels;
using SecureBank.Helpers;
using SecureBank.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.... |
Bongo_InitialSetup (.NET 6)/Bongo.DataAccess/Repository/IRepository/IStudyRoomRepository.cs | pkusmirowski/NextTesting | 0 | 7050192 | <reponame>pkusmirowski/NextTesting<gh_stars>0
using Bongo.Models.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bongo.DataAccess.Repository.IRepository
{
public interface IStudyRoomRepository
{
IEnumerable<StudyRoom>... |
TimekeeperDAL/EF/Note.cs | NuCode1497/TimekeeperWPF | 0 | 7050193 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TimekeeperDAL.EF
{
[Table("Notes")]
public partial class Note
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[... |
Samples/SampleBrowser/ProductSamples/ViewsSamples/Demo/RepairShopScheduling/ShopModel.cs | Actipro/WPF-Controls | 40 | 7050194 | <reponame>Actipro/WPF-Controls<filename>Samples/SampleBrowser/ProductSamples/ViewsSamples/Demo/RepairShopScheduling/ShopModel.cs<gh_stars>10-100
using System.Collections.ObjectModel;
#if WINRT
using ActiproSoftware.UI.Xaml;
#else
using ActiproSoftware.Windows;
#endif
namespace ActiproSoftware.ProductSamples.ViewsSam... |
src/Services/Ordering/Ordering.Application/Exceptions/ValidationException.cs | ngiakhanh96/LearnASPNETCoreMicroservice | 0 | 7050195 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
namespace Ordering.Application.Exceptions
{
public class ValidationException : ApplicationException
{
public ValidationException(IEnumerable<ValidationFailure> failures)
{
... |
DiscountMeWP7/DiscountMe.WebServicesLayer/Helpers/Haversine.cs | IberaSoft/discount-me | 2 | 7050196 | using System;
using DiscountMe.BL;
namespace DiscountMe.WebServicesLayer {
/// <summary>
/// The distance type to return the results in.
/// </summary>
public enum DistanceType { Miles, Kilometers };
/// <summary>
/// Specifies a Latitude / Longitude point.
/// </summary>
public struc... |
webinars & workshops/Developer Workshop 2014/hands-on exercises/exercise 1/Eclipse Scripting API/Plugins/DVHExport.cs | mtparagon5/Varian-Code-Samples | 74 | 7050197 | <filename>webinars & workshops/Developer Workshop 2014/hands-on exercises/exercise 1/Eclipse Scripting API/Plugins/DVHExport.cs
////////////////////////////////////////////////////////////////////////////////
// DVHExport.cs
//
// A ESAPI v11+ script that demonstrates DVH export.
//
// Copyright (c) 2014 Varian M... |
src/FlaUI.Core.UITests/Patterns/GridPatternTests.cs | dot4qu/FlaUI | 1 | 7050198 | <filename>src/FlaUI.Core.UITests/Patterns/GridPatternTests.cs<gh_stars>1-10
using FlaUI.Core.AutomationElements;
using FlaUI.Core.Definitions;
using FlaUI.Core.UITests.TestFramework;
using NUnit.Framework;
namespace FlaUI.Core.UITests.Patterns
{
[TestFixture(AutomationType.UIA2, TestApplicationType.Wpf)]
[Tes... |
Scorchy.Core/Interfaces/IUserProvider.cs | taihon/scorchy | 3 | 7050199 | <filename>Scorchy.Core/Interfaces/IUserProvider.cs
using Scorchy.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace Scorchy.Core.Interfaces
{
public interface IUserProvider
{
User ValidateLog... |
C# OOP/Working with Abstraction/Working with Abstarction - Exercise/P02_CarsSalesman/InputDataCar.cs | Anzzhhela98/SoftUniCourses | 7 | 7050200 | <reponame>Anzzhhela98/SoftUniCourses
using System;
using System.Collections.Generic;
using System.Text;
namespace P02_CarsSalesman
{
public class InputDataCar
{
public static void ReadDataCar(List<Engine> engines)
{
int engineCount = int.Parse(Console.ReadLine());
for ... |
backend/Repositories/Interfaces/IUserProfileRepository.cs | Mobioos/SmartApp-Hive | 3 | 7050201 | using Hive.Backend.DataModels;
using Hive.Backend.Models;
using Hive.Backend.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hive.Backend.Repositories
{
public interface IUserProfileRepository : IRepository<UserProfile>
{
IQueryabl... |
Automation.TestFramework.Tests/ExpectedResultTestCaseWithAssert.cs | D0tNet4Fun/TestCaseFramework | 2 | 7050202 | using System;
using Xunit;
namespace Automation.TestFramework.Tests
{
[TestCase("id")]
public class ExpectedResultTestCaseWithAssert : IDisposable
{
private bool _called;
[Summary("Expected result with assert")]
public void Summary() { }
[Input]
publ... |
GenericDataLogger/SerializeProvider.cs | ayasman/GenericDataLogger | 0 | 7050204 | <reponame>ayasman/GenericDataLogger
namespace AYLib.GenericDataLogger
{
/// <summary>
/// Static provider class for instances of a serialization provider to use in the system.
/// The built in types always use MessagePack, so the default is set at start and cannot be changed.
/// </summary>
public ... |
GE2-CA/Assets/Scripts/CameraBehaviour.cs | outclash/GE2-Assignment | 0 | 7050205 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Attached to each camera objects controls what does the camera do and view
*/
public class CameraBehaviour : MonoBehaviour
{
public GameObject target;
public float smooth = 2.0f;
public int option = 0;
public Vector3 offset;
vo... |
MultiSourceTorrentDownloader/Interfaces/IAutoCompleteService.cs | fakegit/MultiSourceTorrentDownloader | 49 | 7050206 | using System.Collections.Generic;
namespace MultiSourceTorrentDownloader.Interfaces
{
public interface IAutoCompleteService
{
IReadOnlyCollection<string> AutoCompletes { get; }
void Init(IEnumerable<string> autoCompletes);
void TryAddAutoCompleteEntry(string entry);
}
} |
AdomdClientNetCore/Microsoft.AnalysisServices.AdomdClient/AdomdConnection.cs | Yavari/Unofficial.Microsoft.AnalysisServices.AdomdClientNetCore | 12 | 7050207 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Xml;
namespa... |
KeepOnDroning.Api/src/KeepOnDroning.Api/Controllers/CornyxController.cs | rootdevelop/semm | 1 | 7050208 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using KeepOnDroning.Api.Business;
using KeepOnDroning.Api.ServiceDomain;
using Microsoft.AspNet.Mvc;
namespace KeepOnDroning.Api.Controllers
{
[Route("api/Cornyx")]
public class CornyxController : Controller
{... |
Plugins/AM_Mage_PlugIn/MageAMFileContentProcessor.cs | PNNL-Comp-Mass-Spec/DMS-Analysis-Manager | 2 | 7050209 | <reponame>PNNL-Comp-Mass-Spec/DMS-Analysis-Manager<gh_stars>1-10
using Mage;
using System.Collections.Generic;
using System.IO;
namespace AnalysisManager_Mage_PlugIn
{
/// <summary>
/// Subclass of the Mage FileContentProcessor class
/// that performs processes specific to the MAC Mage plug-in
... |
Avaliacao1/Avaliacao1/Models/Rede.cs | edu-ricardo/Aula1.Net | 0 | 7050210 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is ... |
src/Cadru.Build.Tasks/Resources/Strings.Designer.cs | scottdorman/cadru | 53 | 7050211 | //------------------------------------------------------------------------------
// <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
// the code is regenerated.
// </auto-generated>
//--... |
src/Authoring/src/Authoring.GraphQL/Applications/AddComponentsToApplicationPartPayload.cs | SwissLife-OSS/Confix | 20 | 7050213 | <gh_stars>10-100
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Confix.Authoring.GraphQL.DataLoaders;
using Confix.Authoring.Store;
using HotChocolate;
namespace Confix.Authoring.GraphQL.Applications
{
public class AddComponentsToApplicationPartPayload
{
pr... |
PPStore/Migrations/20200130121925_AddRequiredProperties.cs | DonOsman/pp_store | 0 | 7050214 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
namespace PPStore.Migrations
{
public partial class AddRequiredProperties : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Orders_Addr... |
Assets/Scripts/Weapon.cs | Tagglink/GiantFeud | 0 | 7050215 | <reponame>Tagglink/GiantFeud
using UnityEngine;
using System.Collections;
public class Weapon : Equipment {
public Sprite weaponSprite { get; set; }
public Weapon(string _name, string _description, Resources _resourceCost, Sprite _icon, float _craftingTime, bool _giantUse, Stats _stats, int _reinforcementCo... |
Koek.NetStandard/RealStopwatch.cs | sandersaares/Koek | 0 | 7050216 | <filename>Koek.NetStandard/RealStopwatch.cs
using System;
using System.Diagnostics;
namespace Koek
{
/// <summary>
/// An IStopwatch implementation that simply wraps a Stopwatch instance.
/// </summary>
public sealed class RealStopwatch : IStopwatch
{
private readonly Stopwatch _wrapped = ... |
EmpowerWeb/Areas/MainClaim/Views/Attachment/Index.cshtml | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | 0 | 7050217 | <reponame>HaloImageEngine/EmpowerClaim-hotfix-1.25.1
@using Kendo.Mvc.UI;
@using EmpowerWeb.utils
@{
var isDisabledText = "";
if (AuthHelpers.IsDefenseAttorney() || AuthHelpers.IsAuditor() || AuthHelpers.IsSubrogation())
{
isDisabledText = "disabled";
}
}
<div class="container">
<div class... |
Assets/GlobalScript.cs | peted70/VRShowDemo | 4 | 7050218 | <reponame>peted70/VRShowDemo
using MixedRealityToolkit.UX.BoundingBoxes;
using System.Collections;
using UnityEngine;
public class GlobalScript : MonoBehaviour
{
public void MakeAllAntsRun()
{
var ants = FindObjectsOfType<AntScript>();
foreach (var ant in ants)
{
ant.Run();... |
src/ImageSort.WPF/SettingsManagement/SettingsHelper.cs | Lolle2000la/Image-Sort | 17 | 7050219 | <reponame>Lolle2000la/Image-Sort
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using System.Windows.Input;
using ImageSort.SettingsManagement;
using ImageSort.WPF.SettingsManagement.ShortCutManagement;
namespace ImageSort.WPF.... |
Assets/scripts/creaturs/Dog.cs | Dethrail/PonyGame | 0 | 7050220 | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
public class Dog:MonoBehaviour, ICreature
{
[HideInInspector]
public bool Selected = false;
[HideInInspector]
public float Speed;
public List<ICreature> Tail = new List<ICreature>();
public bool IsMoving { get; private set; }
public Vector3 Targ... |
Opserver/Views/Redis/AllServers.cshtml | dpvreony-forks/Opserver | 1 | 7050221 | @using StackExchange.Opserver.Data.Redis
@using StackExchange.Opserver.Views.Redis
@model DashboardModel
@helper ServerRole (RedisInfo.RedisInstanceRole role) {
switch (role)
{
case RedisInfo.RedisInstanceRole.Master:
<span class="status-up bold">Master</span>
break;
cas... |
Source/Wrappers/Newtonsoft.Json/Newtonsoft.Json.Converters.DiscriminatedUnionConverter.cs | RixianOpenTech/RxWrappers | 0 | 7050222 | <filename>Source/Wrappers/Newtonsoft.Json/Newtonsoft.Json.Converters.DiscriminatedUnionConverter.cs
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace Newtonsoft.Json.Converters
{
public static class __DiscriminatedUnionConver... |
src/SFA.DAS.EmployerAccounts.Web/DependencyResolution/IoC.cs | SkillsFundingAgency/das-employeraccounts | 1 | 7050223 | using SFA.DAS.EmployerAccounts.Api.Client;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.Activities.Client;
using SFA.DAS.EmployerAccounts.DependencyResolution;
using SFA.DAS.UnitOfWork.EntityFramework;
using SFA.DAS.UnitOfWork.NServiceBus;
using SFA.DAS.UnitOfWork.NServiceBus.ClientOutbox;
using StructureMap;
na... |
dotnet/homework1/BookStore/DatabaseOperations/Repositories/Abstract/IGenreRepository.cs | korucuoglu/homework | 2 | 7050224 | using System.Collections.Generic;
using System.Threading.Tasks;
using BookStore.Models;
namespace BookStore.DatabaseOperations.Repositories.Abstract
{
public interface IGenreRepository : IRepository<Genre>
{
Task<List<Genre>> GetAllWithBooks();
Task<Genre> GetFirstWithBooks(int id);
}
} |
QueryMultiDb/DataReader.cs | alexandre-lecoq/QueryMultiDb | 3 | 7050225 | using NLog;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace QueryMultiDb
{
public static class DataReader
{
private ... |
TalkingDataGAWP/command/JsonUtil.cs | kevinfyc/all-platform-talkingdata | 1 | 7050226 | namespace TalkingDataGAWP.command
{
using System;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Text;
internal class JsonUtil
{
public static T bytesToObject<T>(byte[] array)
{
if ((array == null) || (array.Length == 0))
{
... |
FetchingResultsWithAdoNet/AdoNetIntro/StartUp.cs | LuGeorgiev/SoftUniDBAdvanced | 0 | 7050227 | <filename>FetchingResultsWithAdoNet/AdoNetIntro/StartUp.cs
using System;
using System.Data.SqlClient;
namespace AdoNetIntro
{
public class StartUp
{
static void Main(string[] args)
{
using (SqlConnection connection = new SqlConnection(Configuration.ConnectionString))
{
... |
UltimateTeam.Toolkit/Requests/LoginRequest.cs | brcaswell/FIFA-Ultimate-Team-Toolkit | 216 | 7050228 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using UltimateTeam.Toolkit.Constants;
using UltimateTeam.Toolkit.Exceptions;
using UltimateTeam.Toolkit.Extensions;
using UltimateTeam.Toolkit.Models;
using Ultim... |
ElectronicObserver/Data/IDDictionary.cs | SkywalkerJi/ElectronicObserver | 0 | 7050229 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Data
{
/// <summary>
/// IDを持つデータのリストを保持します。
/// </summary>
/// <typeparam name="TData"></typeparam>
public class IDDictionary<TData> : IReadOnlyDictionary<int, TData>... |
Module01_Basics/01.C#_Basics/06.Loops/ConvertBinaryToDecimal/BinaryToDecimalDemo.cs | TanyaRan/TelerikAcademy_2016-2017 | 0 | 7050230 | <filename>Module01_Basics/01.C#_Basics/06.Loops/ConvertBinaryToDecimal/BinaryToDecimalDemo.cs
namespace ConvertBinaryToDecimal
{
using System;
public class BinaryToDecimalDemo
{
public static void Main()
{
string binaryNumber = Console.ReadLine();
int number = Bina... |
Sturnus.Wpf.DynamicContentControl.Demo/ViewModels/SampleViewModel.cs | Sturnus/DynamicContentControl | 3 | 7050231 |
namespace Sturnus.Wpf.DynamicContentControl.Demo.ViewModels
{
public class SampleViewModel
{
#region Properties
public string HelloWorld
{
get
{
return @"<TextBlock Text=""Hello World!"" />";
}
}
public string Homer
... |
Samples/File stream sample/FileStreamServer/Program.cs | JimmyCushnie/lidgren-network-gen3 | 1,198 | 7050232 | using System;
using System.Windows.Forms;
using Lidgren.Network;
using SamplesCommon;
namespace FileStreamServer
{
static class Program
{
private static Form1 s_form;
private static NetServer s_server;
private static string s_fileName;
[STAThread]
static void Main()
{
Application.E... |
src/Services/Catalog/Catalog.Grpc/Repositories/CategoryOptionValueRepository.cs | ilkerogutcu/microservices-ecommerce | 1 | 7050233 | using System.Threading.Tasks;
using Catalog.Grpc.Entities;
using Catalog.Grpc.Interfaces.Repositories;
using Catalog.Grpc.Persistence;
namespace Catalog.Grpc.Repositories
{
public class CategoryOptionValueRepository : MongoDbRepositoryBase<CategoryOptionValue>,
ICategoryOptionValueRepository
{
... |
midi/MetaData/TrackFilter.cs | agabani/GuildWars2Orchestra.v2 | 0 | 7050234 | using midi.Filter;
namespace midi.MetaData
{
public class TrackFilter
{
public bool Ignore { get; set; }
public IToneFilter ToneFilter { get; set; }
}
} |
Assets/scripts/LevelManager.cs | tomasbabjak/Dont-Blink | 0 | 7050235 | <reponame>tomasbabjak/Dont-Blink
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
//save and load management for saving the status of the game, respectively the status... |
Assets/Scripts/RuntimePresets/Editor/CreateRuntimePresetEditor.cs | Moolt/UnityRuntimePresets | 28 | 7050236 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
namespace RuntimePresets
{
public class CreateRuntimePresetEditor
{
[MenuItem("CONTEXT/Component/Create Runtime Preset")]
private static void CreateRunt... |
Assets/Scripts/ScriptableObject/CustomTile.cs | ambid17/DeepDive | 2 | 7050237 | <reponame>ambid17/DeepDive
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
[CreateAssetMenu(fileName = "Tile", menuName = "ScriptableObjects/Tile", order = 1)]
public class CustomTile : Tile
{
[Tooltip("Unique tile id")]
public int tileId;
[Toolti... |
Competitive.IO.Benchmark/Program.cs | naminodarie/Competitive.IO | 0 | 7050238 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;
using BenchmarkDot... |
src/Take.Blip.Builder/Actions/Redirect/RedirectAction.cs | caioqazz/blip-sdk-csharp | 0 | 7050239 | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Take.Blip.Client;
namespace Take.Blip.Builder.Actions.Redirect
{
public class RedirectAction : IAction
{
private readonly ISender _sender;
public RedirectAction(ISender sender)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.