content stringlengths 23 1.05M |
|---|
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading;
using System.Threading.Tasks;
using api.mapserv.utah.gov.Formatters;
using api.mapserv.utah.gov.Models;
using api.mapserv.utah.gov.Models.ArcGis;
using api.mapserv.utah.gov.Models.Configuration;
using MediatR;
using Microsoft.AspNetCore.Ht... |
using Android.App;
using Android.Content.PM;
using Android.Content.Res;
using Android.OS;
using Android.Support.V4.Widget;
using Android.Views;
using Cirrious.CrossCore;
using Cirrious.MvvmCross.Binding.Droid.Views;
using Cirrious.MvvmCross.Droid.Fragging;
using Cirrious.MvvmCross.Droid.Fragging.Fragments;
using Cirri... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace UtopiaLib
{
public partial class Client {
}
}
|
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TreeNodes.Microsoft.Extensions.DependencyInjection;
using TreeNodes.Test.TestServices;
namespace TreeNodes.Internal.Test
{
[TestClass]
public class Internal_ISourceInjector
{
private IServiceCo... |
using FluentAssertions;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Tot.Api.Controllers;
using Tot.Infra.Bus;
using Tot.Query.Models;
using Tot.Query.Queries.Feedbacks;
namespace UnitTests
{
public class FeedbackControllerTests
{
... |
//
// Copyright (c) 2018 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System.Net
{
internal class HttpConstants
{
/// <summary>
/// The time we kee... |
using System;
using BusinessLogic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Models;
namespace Lab07.Tests
{
[TestClass]
public class PersonTests
{
[TestMethod]
public void APersonIsCreated()
{
//Arrange
PersonBL logic = new PersonBL();
... |
using System.Collections.Generic;
namespace Zoey.Dapper.Configuration
{
public class DomainElement
{
public MasterSlaves MasterSlaves { get; set; }
public string Name { get; set; }
}
public class MasterSlaves
{
public MasterSlaves()
{
this.Master = new... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.FileFormats;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.FileFormat... |
using System;
using System.Runtime.InteropServices;
using Hangfire.Mongo.Database;
using Hangfire.Mongo.Migration.Strategies;
using Hangfire.Mongo.Migration.Strategies.Backup;
using Mongo2Go;
using MongoDB.Driver;
using Xunit.Abstractions;
using Xunit.Sdk;
[assembly: Xunit.TestFramework("Hangfire.Mongo.Tests.Utils.Co... |
using System;
using System.Threading.Tasks;
using DSLink.Connection;
using Newtonsoft.Json.Linq;
using DSLink.Request;
using DSLink.Respond;
using DSLink.Logging;
namespace DSLink
{
public class DSLinkContainer
{
private static readonly ILog Logger = LogProvider.GetCurrentClassLogger();
... |
using System;
using BLD.Models;
using BLDPlugins.DebugPlugins.Commons;
using UnityEngine;
using Object = UnityEngine.Object;
internal class EntityWireframe : IShapeListener
{
private const float WIREFRAME_SIZE_MULTIPLIER = 1.01f;
private readonly GameObject wireframeOriginal;
private GameObject entityWir... |
using System;
namespace RocketMQ.Client
{
public interface IFunctionLoader
{
TDelegate LoadFunction<TDelegate>(string functionName) where TDelegate : Delegate;
void Free();
}
}
|
using System;
using Firebase.Database;
namespace GameCtor.Firebase.Database.Rx
{
public static partial class DatabaseQueryExtensions
{
private sealed class ValueEventListener : Java.Lang.Object, IValueEventListener
{
private IObserver<DataSnapshot> _eventObserver;
... |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using System.Activities;
namespace Microsoft.Samples.ExecutionProperties
{
public sealed class Console... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FullStack.Domain.Model;
using FullStack.Repository.Interface;
using FullStackGol.Repository.DataContext;
using Microsoft.EntityFrameworkCore;
namespace FullStack.Repository
{
public class FullStackRepository : IFullstackReposi... |
namespace NServiceBus.Transport.InMemory.Tests.Payments
{
using AcceptanceTesting;
using IntegrationTesting;
using Tests.Messages.Commands;
public class PaymentsEndpoint : EndpointConfigurationBuilder
{
public PaymentsEndpoint()
{
EndpointSetup<EndpointTemplate<Payments... |
using System;
using System.Globalization;
namespace Aula25_ExercicioResolvido_03
{
internal class Program
{
static void Main(string[] args)
{
string nome1, nome2;
int idade1, idade2;
double media;
string[] vet;
vet = Console.ReadLin... |
namespace Md.Tga.Common.TestData.Mocks.Database
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Md.Common.Database;
using Md.GoogleCloudFirestore.Contracts.Logic;
using Surveys.Common.Contracts;
using Surveys.Common.Fires... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BabyBug.Common.ViewModels;
using BabyBug.Common.ViewModels.Garments;
using BabyBug.Common.ViewModels.Reviews;
namespace BabyBug.Services.Contracts
{
public interface IReviewService : IBaseDbService
{
... |
using System;
using System.Linq;
using Inventory.Example.Extensions;
using Micky5991.Inventory.Interfaces;
namespace Inventory.Example.Services
{
public class InventoryBuilderService
{
private readonly IInventoryFactory inventoryFactory;
private readonly IItemFactory itemFactory;
priva... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace MariBot.Services
{
public class HttpService
{
private readonly HttpClient _http;
public HttpService(HttpClient http)
=> _http = http;
... |
using System;
namespace InheritCustomAttr {
[System.AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = true)]
sealed class MyAttribute : Attribute {
public int Value { get; set; }
}
}
|
namespace Events
{
public class UpdateCaptureZoneUIPositionEvent
{
public float positionX;
public UpdateCaptureZoneUIPositionEvent(float positionX) => this.positionX = positionX;
}
} |
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Coravel.Events.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Moq;
using Netpips.Core.Service;
using Netpips.Download.Authorization;
using... |
namespace Secucard.Connect.Product.Payment.Model
{
using System.Runtime.Serialization;
using Common.Model;
/// <summary>
/// Experience Data Model class
/// </summary>
[DataContract]
public class Experience : SecuObject
{
/// <summary>
/// The number of positive custome... |
using System.IO;
using System.Media;
namespace Mtf.Sounds.Player
{
public class FilePlayer : SoundPlayerBase
{
public string Filename { get; private set; }
public FilePlayer(string filename, byte repeations)
: base(repeations)
{
Initialize(filename)... |
using System;
public class Program
{
static void Main(string[] args)
{
var personDetails = Console.ReadLine().Split();
string personName = personDetails[0] + " " + personDetails[1];
string personAdress = personDetails[2];
MyTuple<string, string> personTuple = new MyTuple<strin... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries
{
internal class DemoFilteredItemSource
{
readonly List<CollectionViewGalleryTestItem> _source;
private readonly Func<string, CollectionV... |
using UnityEngine;
using UnityEngine.UI;
public abstract class IControl : Text
{
public bool IsSelect { get; set; } = false;
public Color UnSelectColor = new Color(0, 0, 0);
public Color SelectColor = new Color(1, 1, 1);
public virtual bool IsMoveMenu() { return true; }
private void Update()
{
colo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TwaijaComposite.Modules.Common.DataInterfaces;
namespace TwaijaComposite.Modules.Common.Interfaces
{
public delegate void MessageSentHandler(string message);
public delegate void MessageFailedHandler(object sender,Mess... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Cuyahoga.Core.Domain;
namespace Cuyahoga.Core.Service.SiteStructure
{
/// <summary>
/// Provides services to manage templates.
/// </summary>
public interface ITemplateService
{
/// <summary>
/// Get... |
using Detached.Modules.EntityFramework;
using Detached.Modules.EntityFramework.Extensions;
using Detached.Modules.RestSample.Modules;
using Detached.Modules.RestSample.Modules.Security;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Ext... |
using System.Collections.Generic;
using System.Linq;
using PokeD.Server.Storage.Folders;
namespace PokeD.Server.Chat
{
public class ScriptChatChannelKolbenLoader : ScriptChatChannelLoader
{
private const string Identifier = "chatchannel_";
public override IEnumerable<ScriptChatChannel> LoadC... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Budget.Users.Api.ServiceCollection.WriteModelPersistence
{
public class MongoDbWriteModelPersistenceServices : IWriteModelPersistenceServices
{
public MongoDbWriteModelPersistenceServices(IConfi... |
using System;
namespace AppGet.PackageRepository
{
public class AddRepositoryException : Exception
{
public AddRepositoryException(string message) : base($"Couldn't add repository. {message}")
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using WCMS.Common;
using WCMS.Common.Data;
using WCMS.Common.Utilities;
namespace WCMS.BibleReader.Core.Providers
{
public class GenericBibleVerseProvider
{
private st... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json;
namespace Microsoft.Bot.Schema
{
/// <summary>
/// Defines the structure that arrives in the Activity.Value for Invoke activity
/// with Name of 'application/search'.
/// </summary>
... |
using Xunit;
namespace AdventOfCode.Tests
{
public class Day03Tests
{
[Fact]
public void Solve_WhenCalled_ReturnsCorrectResult()
{
var solver = new Day03();
var actual = solver.Solve();
Assert.Equal((96569, 1023), actual);
}
}
}
|
using Stl.Fusion.Authentication;
using Stl.Fusion.Extensions.Commands;
namespace Stl.Fusion.Extensions;
public interface ISandboxedKeyValueStore
{
[CommandHandler]
Task Set(SandboxedSetCommand command, CancellationToken cancellationToken = default);
[CommandHandler]
Task SetMany(SandboxedSetManyComman... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Khite.AutomationTest;
using System;
using System.IO;
using System.Linq;
using UnityEditor;
namespace Khite.AutomationTest
{
public class Runner : MonoBehaviour
{
void Awake()
{
var list = Resources... |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace WorldMapStrategyKit {
public static class WMSKEditorStyles {
public static void SetFoldoutColor (this GUIStyle style, Color foldoutColor) {
style.normal.textColor = foldoutColor;
style.onNormal.textColor = ... |
namespace Minotaur.Theseus.Evolution {
using System;
using Minotaur.Collections;
using Minotaur.EvolutionaryAlgorithms;
using Minotaur.EvolutionaryAlgorithms.Population;
public sealed class GenerationSummary {
public readonly int GenerationNumber;
public readonly Array<Individual> Population;
public readonl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeathStarClientConsole.DeathStarSupply;
namespace DeathStarClientConsole
{
class Program
{
static async Task Main(string[] args)
{
var client = new... |
// Author: James William Dunn
// Version: 7.0
using System;
using System.Windows.Forms;
namespace Proc
{
public partial class ProcStats : Form
{
public ProcStats()
{
InitializeComponent();
Timer1.Interval = 5000;
Timer1.Tick += new EventHandler(Timer1_Tick);
}
private void Proc... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Owin.Security.DataProtection
{
/// <summary>
/// Service used to protect and unprotect data
/// </summary>
public i... |
using System;
using System.Collections.Generic;
using System.IO;
using FalconNet.Common;
using WORD=System.UInt16;
using COLORREF = System.Int32;
namespace FalconNet.Ui95
{
public enum UserDataType
{
// Userdata stuff
CSB_IS_VALUE=1,
CSB_IS_PTR,
CSB_IS_CLEANUP_PTR,
}
public struct USERDATA
{
public Use... |
using System;
namespace TNRD.Odin
{
internal sealed class FlexibleSpaceAttribute : Attribute
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmashLabs.IO.Parsables.Material
{
public struct BlendState
{
public int Unk1 ;
public int Unk2 ;
public int BlendFactor1 ;
public int Unk4 ;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZyGames.Moshouxingkong.Bll
{
/// <summary>
/// ActionID定义描述
/// </summary>
public class ActionIDDefine
{
///<summary>
///用户登录接口
///</summary>
public const ... |
using CosmosDBStudio.Model;
namespace CosmosDBStudio.Messages
{
public class AccountEditedMessage
{
public AccountEditedMessage(CosmosAccount account, CosmosAccount oldAccount)
{
Account = account;
OldAccount = oldAccount;
}
public CosmosAccount Account... |
using System;
using System.Net;
using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Rebilly
{
public class RebillyRequest
{
private string apiUrl;
/// <summary>
/// ENV_PRODUCTI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CalculatorReallyFixed
{
public class MainCalculatorProgram
{
private IGetExpression _getExpression;
private ISplitExpression _splitExpression;
private IConvertExpression _convertE... |
// Copyright (c) Richasy. All rights reserved.
using System;
using Richasy.Bili.App.Controls;
using Richasy.Bili.Models.BiliBili;
using Richasy.Bili.ViewModels.Uwp;
using Windows.UI.Xaml;
namespace Richasy.Bili.App.Pages
{
/// <summary>
/// 可用于自身或导航至 Frame 内部的空白页.
/// </summary>
public sealed partial... |
using System.Text;
using NUnit.Framework;
using Rebus.Activation;
using Rebus.Config;
using Rebus.Routing.TypeBased;
using Rebus.Tests.Contracts;
using Rebus.Transport;
using Rebus.Transport.InMem;
// ReSharper disable ArgumentsStyleStringLiteral
// ReSharper disable ArgumentsStyleLiteral
// ReSharper disable Argument... |
namespace UserAuthServer.Utils;
public class HtmlUtil {
public static string addHeading(uint level, string text) {
return $"<h{level}>{text}<h{level}>";
}
public static string addAnchor(string href, string text) {
return $"<a href={href}>{text}</a>";
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Bot.Connector;
using System.Threading.Tasks;
using System.Diagnostics;
namespace Micro... |
using System;
using System.Xml.Linq;
using SkiaSharp;
namespace FFImageLoading.Svg.Platform
{
internal class SKSvgMask
{
public SKSvgMask(SKPaint fill, XElement element)
{
Fill = fill.Clone();
Element = element;
}
public SKPaint Fill { get; }
p... |
using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.BasicSamples.ViewModels.FeatureSamples.ClientSideMethods
{
public class ListOperationsViewModel : MasterpageViewModel
{
public List<string> NamesList { get; set; } = new List<s... |
using System;
using System.Collections.Generic;
namespace MyE.Entities
{
public partial class Reporte
{
public int ReporteId { get; set; }
public string Asunto { get; set; }
public string Observacion { get; set; }
public DateTime FechaGeneracion { get; set; }
public Dat... |
//
// System.Collections.DictionaryBase
// Test suite for System.Collections.DictionaryBase
//
// Authors:
// Carlos Alberto Barcenilla (barce@frlp.utn.edu.ar)
//
using System;
using System.Collections;
using NUnit.Framework;
namespace MonoTests.System.Collections
{
[TestFixture]
public class DictionaryBaseTest
{... |
using ECS.MemberManager.Core.EF.Domain;
using Xunit;
namespace ECS.MemberManager.Core.BusinessObjects.xUnitTest
{
public class PaymentSourceROC_Tests : CslaBaseTest
{
[Fact]
public async void PaymentSourceROC_TestGetChild()
{
const int ID_VALUE = 999;
var build... |
using Content.Server.ParticleAccelerator.Components;
using Content.Server.Power.Components;
namespace Content.Server.ParticleAccelerator.EntitySystems;
public sealed partial class ParticleAcceleratorSystem
{
private void InitializeControlBoxSystem()
{
SubscribeLocalEvent<ParticleAcceleratorControlBoxC... |
using System.Collections.Generic;
namespace HTMLinjectorServices
{
public interface ITagServices
{
/// <summary>
/// Finds all of the specfied tags in the specified text
/// </summary>
/// <returns>A list of Tags found in the specified text</returns>
/// <param name="s... |
using System.Collections.Generic;
using System.Dynamic;
namespace Stein.Models
{
/// <summary>
/// Represents an object that supports referencing members dynamically.
/// </summary>
public class SerializedItem : DynamicObject
{
/// <summary>
/// Contains the actual key/value pairs ... |
using UnityEngine;
namespace MLAPIQuickStart
{
public class SceneReference : MonoBehaviour
{
[SerializeField] private SceneScript sceneScript;
public SceneScript SceneScript => sceneScript;
}
} |
namespace SkorinosGimnazija.Infrastructure.Services;
using Application.Common.Identity;
using Application.Common.Interfaces;
using Calendar;
using Google.Apis.Admin.Directory.directory_v1;
using Google.Apis.Admin.Directory.directory_v1.Data;
using Google.Apis.Auth.OAuth2;
using Identity;
using Microsoft.Extensions.Op... |
using Microsoft.EntityFrameworkCore;
using TelegramJapaneseLearningBot.DBContext.Models;
namespace TelegramJapaneseLearningBot.DBContext
{
public sealed class Context : DbContext
{
public Context(DbContextOptions options) : base(options)
{
Database.EnsureCreated();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class pHit : MonoBehaviour {
[SerializeField]
public BoxCollider2D bc;
[SerializeField]
public ParticleSystem[] ps;
ParticleSystem.MainModule main;
ParticleSystem.EmissionModule em;
// Use this for ini... |
using System.Text.Json.Serialization;
using HeyRed.Mime;
namespace BackblazeUploader
{
/// <summary>
/// Contains the details of the file needed for upload.
/// </summary>
public class FileDetails
{
/// <summary>
/// fileId provided by start_large_file_upload.
... |
using AutoMapper;
namespace BLL.App.Mappers
{
public class BillLineMapper : BaseMapper<BLL.App.DTO.OrderModels.BillLine, DAL.App.DTO.OrderModels.BillLine>
{
public BillLineMapper(IMapper mapper) : base(mapper)
{
}
}
} |
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Xml.Serialization;
namespace Medikit.EHealth.SAML.DTOs
{
public class SAMLResponse
{
[XmlAttribute("InResponseTo"... |
using System.Linq;
using YamlDotNet.RepresentationModel;
using YamlDotNet.Serialization;
namespace StirlingLabs.Utilities.Yaml;
public static partial class Extensions
{
public static string? Serialize(this YamlStream stream, ISerializer serializer)
=> Serialize(OnDemand.Deserializer.Deserialize(stream), ... |
namespace Xiant.Filer.Core
{
/// <summary>
/// Defines the mail item that is moving or was moved.
///
/// </summary>
public interface IMoveItem : IFilerEmail
{
IFolder SourceFolder { get; }
IFolder DestinationFolder { get; }
}
}
|
using System;
using Dolittle.Concepts;
using Machine.Specifications;
namespace Dolittle.PropertyBags.Specs.for_ObjectExtensions.for_ToPropertyBag
{
internal class ConceptDto : Value<ConceptDto>
{
public StringConcept StringConcept { get; set; }
public LongConcept LongConcept { get; set; }
}... |
namespace BaseInterfaces
{
interface IDamageble
{
public void ReceiveDamage(int damage);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace SoonLearning.Assessment.Data
{
public class TFQuestion : SelectableQuestion
{
public override QuestionType Type
{
get { return QuestionType.TrueFalse; }
}
protected override object Interna... |
namespace TnTSoftware.Cqrs.MiniProfiler
{
using System;
public class MiniProfilerSwitch<TUser>
{
public Func<TUser, bool> Condition { get; set; }
}
} |
using NUnit.Framework;
using System;
namespace AutomationTest.TestSuite.TestCases
{
// Automation of Web Form 1,2 and 3
[TestFixture]
public class AutomationOrdered : DriverLogic
{
// sheetNumber represents a dynamic value that changes based on paramater
// paramater value inserted ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace LoRaTools.Utils
{
using System;
using System.Collections.Generic;
public static class CollectionExtensions
{
public static T[] RangeS... |
using System;
using System.Collections.Generic;
using NeuralNetworks;
using NeuralNetworks.Misc;
namespace Testing {
internal static class Autocoding {
private const int testNum = 128;
public static void run() {
NeuralNetwork nn = new NeuralNetwork();
nn.setInputLength(testNum);
nn.addDenseLayer(16, new Si... |
using System;
namespace Sonu{
public class Adarsh{
public static void Main(){
Console.WriteLine("Enter the name of the product :");
string name = Console.ReadLine();
Console.WriteLine("Enter the price of the product :");
float price = Single.Parse(Console.Rea... |
using System;
using Foundatio.Parsers.ElasticQueries.Visitors;
using Foundatio.Parsers.LuceneQueries.Extensions;
using Foundatio.Parsers.LuceneQueries.Nodes;
using Foundatio.Parsers.LuceneQueries.Visitors;
using Nest;
namespace Foundatio.Parsers.ElasticQueries.Extensions {
public static class DefaultSortNodeExten... |
using Blog.Model.Db;
namespace Blog.Repository
{
public interface IArticleRepository : IBaseRepository<ArticleInfo>
{
}
} |
using LogisticsSystem.Areas.Admin.Models.Orders;
using LogisticsSystem.Services.DeliveryCarts;
using LogisticsSystem.Services.Orders;
using Microsoft.AspNetCore.Mvc;
namespace LogisticsSystem.Areas.Admin.Controllers
{
public class OrdersController : AdminController
{
private readonly IOrdersService or... |
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace Zwyssigly.ImageServer.MongoDb
{
internal class ImageSnapshot
{
[BsonId]
public byte[] Id { get; set; }
[BsonElement("version")]
public uint RowVersion { get; set; }
[BsonElement("ts")]
[BsonD... |
namespace Colorize
{
public partial class App
{
public const string SourceLocation = "https://github.com/InspireNXE/Colorize";
public const string DonateLocation = "https://patreon.com/Grinch";
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ghostly.Core.Services;
using Ghostly.Data;
using Ghostly.Data.Models;
using Ghostly.Domain.Messages;
using Ghostly.Features.Activities;
using MediatR;
namespace Ghostly.Features.Synchronization
{
public... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace MDevCampBot.Services
{
public class LeaderboardService
{
public static async Task SaveScoreAsync(string playerName, double sco... |
using System;
using System.Collections.Generic;
using WebApp.Project.Core.Repositories.Implementations;
using WebApp.Project.Core.Models;
using Test.Project.Core.Models;
namespace Test.Project.Core.Services.Implementations
{
public class CartService
{
private readonly CartRepository cartRepository;
... |
using System;
using System.Threading;
using System.Collections.Generic;
using System.Windows.Forms;
namespace IronAHK.Rusty.Common
{
partial class Keyboard
{
// ToDo: Handle IgnoreIAGeneratedInput
// ToDo: Test TimeOut
// ToDo: Test Multithreaded Access to this Singleton
/// <... |
using System.Threading.Tasks;
using Slack.NetStandard.WebApi.Auth;
namespace Slack.NetStandard.WebApi
{
public interface IAuthApi
{
Task<RevokedResponse> Revoke(bool? test = null);
Task<TestResponse> Test();
}
} |
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace api_dotnet.Models
{
public class Candidate
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public String id { get; set; }
public String name { get; set; }
public String avatar {... |
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Session["MyMasterPage"] != null)
{
ListItem li = MasterPageChoice.Items.FindByText(Session["MyMasterPage"].ToString());
if (li != null)
li.Selected = true;
}
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Idoit.API.Client.Idoit.Response
{
public class Logout
{
[JsonProperty("message")]
public string message { get; set; }
[JsonProperty("result")]
public bool result{ get; set; }
... |
//-----------------------------------------------------------------------
// <copyright file="jet_cbtyp.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
... |
using FluentMigrator;
namespace DotNetRuServerHipstaMVP.DatabaseScheme
{
[Migration(15)]
public class AddLogosUrlsToFriend : Migration
{
public override void Up()
{
Delete.Column("Logo").FromTable("Friends");
Delete.Column("SmallLogo").FromTable("Friends");
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
public GameObject Crab;
// public void SpawnRandom()
// {
// Instantiate(Crab);
// //Placeholder for spawning crabs./
// }
// public void FixedUpdate(){
// SpawnRandom();
// }
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerItem : MonoBehaviour {
void OnTriggerStay(Collider other) {
MonoBehaviour parent = null;
if(parent == null)
parent = GetComponentInParent<MoveItem>() as MonoBehaviour;
if(parent == null)
parent = GetComp... |
using NTier.NET.Core.Enums;
namespace NTier.NET.Core.Models
{
public interface INTierBase
{
MessageType MessageType { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.