content stringlengths 23 1.05M |
|---|
namespace Microsoft.VisualStudio.Shell.Interop
{
public abstract class BrowseLibraryGuids80
{
public const string VB = "";
public const string CSharp = "";
public const string VJSharp = "";
public const string VC = "";
public const string BSC = "";
public const s... |
namespace Lykke.Service.Metrics.Core
{
public class AppSettings
{
public MetricsSettings MetricsService { get; set; }
public SlackNotificationsSettings SlackNotifications { get; set; }
}
public class MetricsSettings
{
public DbSettings Db { get; set; }
}
public cla... |
namespace Naos.Foundation.UnitTests.Utilities
{
using System;
using System.Linq.Expressions;
using Naos.Foundation;
using Shouldly;
using Xunit;
public class ExpressionHelperTests
{
[Fact]
public void GetPropertyName_Test()
{
// arrange
Expre... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace VkApi.Wrapper.Objects
{
public class AdsDemostatsFormat
{
[JsonProperty("age")]
public AdsStatsAge[] Age { get; set; }
[JsonProperty("cities")]
public AdsStatsCities[] Cities { get; set; }
... |
using System;
using System.Collections.Generic;
using Connery.Lib;
using System.Linq;
using static System.Console;
namespace Connery.Testing
{
class Program
{
static int[,] confusionMatrix;
static Dictionary<string, int> labels;
static int NumberOfImages;
static int NumberOfLab... |
@using CarDealer.Models.ViewModels.Sales
@model AddSaleVm
@{
ViewBag.Title = "Add";
}
<h2>Add Sale</h2>
<form method="post">
<div class="form-group">
<label for="customer">Customer: </label>
<select id="customer" class="form-control" name="customerId">
@foreach (var customer in M... |
/*
Copyright (C) 2013-present The DataCentric Authors.
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 ... |
//------------------------------------------------------------------------------
// <自動產生的>
// 這段程式碼是由工具產生的。
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,則會遺失變更。
// </自動產生的>
//------------------------------------------------------------------------------
namespace AccountingNote.SystemAdmin
{
public par... |
using BlueSheep.Common.IO;
using BlueSheep.Common.Protocol.Messages;
using BlueSheep.Engine.Types;
using BlueSheep.Interface;
using BlueSheep.Interface.Text;
namespace BlueSheep.Engine.Handlers.Queues
{
class QueuesHandler
{
#region Public methods
[MessageHandler(typeof(LoginQueueStatusMessage... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SFA.POC.Matching.Application.Interfaces;
using SFA... |
using SystemDot.Configuration;
using SystemDot.Environment;
using SystemDot.Files;
using SystemDot.Http;
using SystemDot.Http.Builders;
using SystemDot.Ioc;
using SystemDot.Serialisation;
using SystemDot.Storage.Changes.Upcasting;
using SystemDot.ThreadMarshalling;
using Machine.Specifications;
namespace SystemDot.Spe... |
using System.IO;
namespace ExtensionWrapper.Interface
{
public interface IDirectoryWrapper{
void CreateDirectory(string path);
void Delete(string path);
void Delete(string path, bool recursive);
string[] GetDirectories(string path);
string[] GetDirectories(string path, strin... |
// PennyLogger: Log event aggregation and filtering library
// See LICENSE in the project root for license information.
using PennyLogger.Internals.Dictionary;
using PennyLogger.Internals.Reflection;
using System.Collections.Generic;
namespace PennyLogger.Internals.Aggregate
{
/// <summary>
/// Object to tra... |
namespace Stravaig.FamilyTreeGenerator.Requests
{
public class Application : Request
{
}
} |
namespace Guardian.Features.Commands.Impl
{
class CommandReloadConfig : Command
{
public CommandReloadConfig() : base("reloadconfig", new string[] { "rlcfg" }, string.Empty, false) { }
public override void Execute(InRoomChat irc, string[] args)
{
irc.AddLine("Reloading conf... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Newtonsoft.Json;
public class ItemData
{
public string NAME;
public string ICON;
}
|
namespace AutoSquirrel
{
using System;
/// <summary>
/// Upload Complete EventArgs
/// </summary>
/// <seealso cref="System.EventArgs"/>
public class UploadCompleteEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="UploadCompleteEventArgs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Acr.UserDialogs;
using BloodApp.Core.Model;
using BloodApp.Core.Services;
using BloodApp.Core.Services.Exceptions;
using MvvmCross.Core.ViewModels;
using MvvmCross.Platform;
namespace BloodApp.Core.ViewModels
{
pub... |
//#define POWERPICK
using System;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Runspaces;
using System.Collections.Generic;
using System.IO.Pipes;
using System.Runtime.Serialization.Formatters.Binary;
using System.Security.AccessControl;
using System.... |
using System;
using JetBrains.Annotations;
namespace Splat
{
public class DefaultFeatureUsageTrackingSession : IFeatureUsageTrackingSession<Guid>, IEnableContribLogger
{
public DefaultFeatureUsageTrackingSession([NotNull] string featureName) : this(featureName, Guid.Empty)
{
}... |
using Bussiness;
using log4net;
using log4net.Config;
using System;
using System.Reflection;
using System.Web;
namespace Tank.Request
{
public class Global : HttpApplication
{
private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
protected void Application_Start(o... |
using HinputClasses.Internal;
namespace HinputClasses {
/// <summary>
/// Hinput class representing a stick or D-pad as a button. It is considered pressed if the stick is pushed in any
/// direction.
/// </summary>
public class StickPressedZone : StickPressable {
// --------------------
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetHelper_HttpClient.Enum
{
/// <summary>
/// Types of parameters that can be added to requests
/// </summary>
public enum ParameterType
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Npm
{
public class NpmPackTask : ExternalProcessTaskBase<int, NpmPackTask>
{
public NpmPackTask(string source)
{
ExecutablePath = "npm";
WithArguments("... |
using System.ComponentModel.DataAnnotations;
using Tringo.FlightsService.DTO;
namespace Tringo.WebApp.Models
{
public class BaseFlightDestinationRequest
{
/// <summary>
/// Number of people requested. 1 by default
/// </summary>
[Range(1, 9)]
public int NumberOfPeople { get; set; } = 1;... |
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.ActiveDirectory;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.OpenIdConnect;
using Owin;
using System.Configuration;
using System.IdentityModel.Tokens;
namespace pnp.api.contosoorders {
public partial class Startup {
// F... |
using UnityEngine;
namespace Misadventure.Graphics
{
/// <summary>
/// Handles the movement behavior of the camera it's attached to.
/// </summary>
public class CameraComponent : MonoBehaviour
{
/// <summary>
/// The strength of the damping applied to the camera's movement.
... |
using MartinKMe.Interfaces;
using MartinKMe.Models;
using MartinKMe.Models.ShortcutsViewModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace MartinKMe.Controllers
{
public class ShortcutsController : Controller
{
... |
using System;
using CookComputing.XmlRpc;
namespace CmdletHelpEditor.API.MetaWeblog {
public class MediaObjectInfo {
[XmlRpcMember("file")]
public String File { get; set; }
[XmlRpcMember("url")]
public String Url { get; set; }
[XmlRpcMember("type")]
public String Typ... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Bakdelar.MethodClasses;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Configuration;
namespace Bakdelar.Pages... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFighter.Data
{
public sealed class CodeFighterContext : DbContext
{
public CodeFighterContext() : base("name=CodeFighterDB")
{
}
... |
using System;
using MediatR;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Model... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.ObjectExtending;
namespace EasyAbp.ReviewManagement.Reviews.Dtos
{
[Serializable]
public class CreateReviewDto : ExtensibleObject
{
public string EntityType { get... |
using System;
using System.Collections.Generic;
using IxMilia.Step.Tokens;
namespace IxMilia.Step.Syntax
{
internal class StepFileSyntax : StepSyntax
{
public override StepSyntaxType SyntaxType => StepSyntaxType.File;
public StepHeaderSectionSyntax Header { get; }
public StepDataSectio... |
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 BHackerOverhaul.FileHandler;
namespace BHackerOverhaul.MainForm
{
public partial class FindIte... |
using System;
using Intersect.Client.Framework.Gwen.Control.EventArguments;
using Intersect.Client.Framework.Gwen.Control.Layout;
using Intersect.Client.Framework.Gwen.ControlInternal;
namespace Intersect.Client.Framework.Gwen.Control
{
/// <summary>
/// Numeric up/down.
/// </summary>
public cl... |
using System.Threading.Tasks;
using System.Windows.Controls;
using Common.CommonControls.Views;
using Common.Plugin;
namespace Plugins.Splitter
{
public class PluginEntry : PluginBase
{
private readonly UserControl _userControl;
private readonly IModalWindow _pluginwindow;
public Plug... |
#region License
// Copyright (c) 2017 James Newton-King
//
// 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 Software without
// restriction, including without limitation the rights to use,
// copy,... |
using System;
using CoherentSolutions.Extensions.Hosting.ServiceFabric.Tools;
namespace CoherentSolutions.Extensions.Hosting.ServiceFabric.Fabric
{
public interface IServiceHostEventSourceReplicaTemplateConfigurator
: IConfigurableObjectDependenciesConfigurator
{
void UseImplementation<TImple... |
namespace Spotify.NetStandard.Sdk
{
/// <summary>
/// Request Extension Methods
/// </summary>
public static class RequestExtensions
{
/// <summary>
/// All
/// </summary>
/// <param name="searchTypeRequest">SearchTypeRequest</param>
/// <returns>SearchTypeRe... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Azure.Amqp;
using Microsoft.Azure.Amqp.Framing;
namespace Azure.Messaging.ServiceBus.Amqp.Framing
{
internal sealed class AmqpRuleDescriptionCodec : DescribedList
{
public sta... |
using System.Linq;
using Aptacode.Expressions;
using Aptacode.StateNet.Engine;
using Aptacode.StateNet.Engine.Transitions;
using Aptacode.StateNet.Network;
using Aptacode.StateNet.PatternMatching;
using Aptacode.StateNet.PatternMatching.Expressions;
using Aptacode.StateNet.Random;
using Moq;
using StateNet.Tests.Networ... |
namespace Oculus.Platform.Samples.VrHoops
{
using UnityEngine;
using System.Collections.Generic;
using Oculus.Platform;
using Oculus.Platform.Models;
// This class coordinates with the Oculus Platform Matchmaking Service to
// establish a Quickmatch session with one or two other players.
public class Matchmakin... |
public class HitReactionVRIKTrigger : MonoBehaviour // TypeDefIndex: 9391
{
// Fields
public HitReactionVRIK hitReaction; // 0x18
public float hitForce; // 0x20
private string colliderName; // 0x28
// Methods
// RVA: 0x26C95C0 Offset: 0x26C96C1 VA: 0x26C95C0
private void Update() { }
// RVA: 0x26C9790 Offset... |
using FubuCore.Descriptions;
namespace ripple.Model
{
public class RippleProblem : DescribesItself
{
private readonly string _provenance;
private readonly string _message;
public RippleProblem(string provenance, string message)
{
_provenance = provenance;
_message = message;
}
public str... |
using System;
using System.Windows.Forms;
using WelderCalculator.Views.General.MaterialDatabasePropertiesView;
namespace WelderCalculator.Views.General.MaterialModificationView
{
public partial class MaterialModificationForm : Form, IMaterialModificationView
{
public MaterialModificationPresenter Pres... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WallBladeBehavior : MonoBehaviour {
public float WallSpeed = .001f;
public float MoveSpeed = 1f;
public float SpinSpeed = 8.0f;
public float WallOffset = 2.0f;
public float TriggerRange = 0.5f;
public S... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 Software without restr... |
#if FAIRYGUI
using FairyGUI;
namespace ET
{
[ObjectSystem]
public class FGUIComponentAwakeSystem : AwakeSystem<FGUIComponent, Scene>
{
public override void Awake(FGUIComponent self,Scene scene)
{
self.Root = EntityFactory.Create<FGUI, GObject>(scene, GRoot.inst);
self.Awake(scene);
}
}
/// <summa... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank.Algorithms.Easy
{
class TaumAndBdaySolution
{
public static long TaumBday(int b, int w, int bc, int wc, int z)
{
long minBlackPrice = Math.Min(bc, wc + z);
long minWhitePrice = Math.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisitorPattern
{
/// <summary>
/// 抽象报表
/// </summary>
abstract class Reporter
{
/// <summary>
/// 抽象的接受访问方法
/// </summary>
/// <param name=... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class CombatModule : MonoBehaviour
{
[SerializeField]
Text playerStatsDisplay;
[SerializeField]
Text enemyStatsDisplay;
[SerializeField]
Text battleSt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using MHArmory.Core.WPF;
namespace MHArmory.ViewModels
{
public class SearchResultSortItemViewModel : ViewModelBase
{
private string headerText;
public... |
using System.Threading.Tasks;
using Neo4jClient.Cypher;
// ReSharper disable ClassNeverInstantiated.Local
// ReSharper disable UnusedAutoPropertyAccessor.Local
// ReSharper disable UnusedVariable
namespace Neo4jClient.Tests.Cypher
{
public class DocumentationExamples
{
static IGraphClient BuildClient... |
namespace Template10.Services.Secrets
{
public interface ISecretService
{
string ConnectionString { get; set; }
SecretHelper Helper { get; }
}
} |
using DoubanGroup.Core.Api;
using DoubanGroup.Core.Api.Entity;
using Prism.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DoubanGroup.Client.ViewModels
{
public class AddCommentPageViewModel : DialogViewModelBase<Comment>
... |
/// Class: System.Runtime.Remoting.Channels.Ipc.IpcClientChannel
/// 41 #ctor(IDictionary,IClientChannelSinkProvider)
/// 42 #ctor(String,IClientChannelSinkProvider)
/// 21 ChannelName
/// 23 ChannelPriority
/// 22 CreateMessageSink(String,Object,String@)
/// 24 Parse(String,String@)
using System;
using Sys... |
using System.Collections.Generic;
namespace SimpleMVC.Core.Interfaces
{
public interface IMediator
{
IList<string> Interests { get; }
void Init(IModel model, IController controller);
void RegisterIntersts();
void HandleIntersts(string interestName);
}
} |
using System.Web;
namespace SmallestDotNet
{
/// <summary>
/// Summary description for VersionCheck
/// </summary>
public class VersionCheck : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (context.Request.RequestType == "GET")
{
... |
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
namespace DataAccess.Read
{
public class ReadContext : DbContext, IReadContext
{
public ReadContext() : base("DataContext") { }
public DbSet<ApplicationDto> Applications { get; set; }
public DbS... |
using CommandLine;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace cmd
{
partial class Program
{
const uint SingleForwardedTTL = 2;
const string privateKey =
"30770201010420347bc2bd9eb7b9f41a217a26dc5a3d2a3c25ece1c8bff1d5a146a" +
... |
/****************************************************************************
*项目名称:MicroServiceGateway.Manager.Services
*CLR 版本:4.0.30319.42000
*机器名称:WALLE-PC
*命名空间:MicroServiceGateway.Data.Redis
*类 名 称:MSGRouteInfoOperation
*版 本 号:V1.0.0.0
*创建人: yswenli
*电子邮箱:yswenli@outlook.com
*创建时间:2020/8/23 14:58:31
*描述:
*======... |
using NPOI.HSSF.Model;
using NPOI.HSSF.Record.Chart;
using System.Collections.Generic;
namespace NPOI.HSSF.Record.Aggregates.Chart
{
/// <summary>
/// SHAPEPROPS = ShapePropsStream *ContinueFrt12
/// </summary>
public class ShapePropsAggregate : ChartRecordAggregate
{
private ShapePropsStreamRecord shapProps;
... |
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace HttpMultipartParser.UnitTests.ParserScenarios
{
public class EmptyForm
{
private static readonly string _testData = TestUtil.TrimAllLines(
@"------WebKitFormBoundaryb4SfPlH9Bv7c2PKS--... |
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace System.Reflection
{
public partial interface ICustomTypeProvider
{
Type GetCustomType();
}
}
|
using LibGit2Sharp;
using System.Collections.Generic;
using System.Linq;
namespace GitCandy.Extensions
{
public static class CommitLogExtension
{
public static IEnumerable<Commit> PathFilter(this IEnumerable<Commit> log, string path)
{
if (string.IsNullOrEmpty(path))
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using NServiceKit.Common.Extensions;
using NServiceKit.Text;
namespace NServiceKit.Redis.Tests
{
[TestFixture, Category("Integration")]
public class ... |
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ripple.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ripple.Core.Types;
using Ripple.Core.Util;
namespace Ripple.Core.Tests
{
// [TestClass]
pub... |
namespace QuizSystem.Web.ViewModels.Questions.InputModel
{
public class AnswerQuestionInputModel
{
public string QuizId { get; set; }
public string Answer { get; set; }
}
}
|
using System;
using System.Xml.Serialization;
namespace VertSoft.CrossIndustryInvoice.D16B.Data.UnqualifiedDataType100
{
[Serializable()]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.DesignerCategory("code")]
[XmlType(Namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"... |
using System;
using Newtonsoft.Json;
namespace AzureArtifactsPublicNuGetFeedBadge.Model.NuGet.PackageRegistration
{
public class NuGetPackageRegistrationItem
{
[JsonProperty("count")]
public long Count { get; set; }
[JsonProperty("items")]
public ItemItem[] Items { get; set; }... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using DataModels;
using Repositories;
namespace Services
{
public class SparePartService : ISparePartService
{
private readonly ISparePartRepository _sparePartRepository;
private readonly IImageSer... |
using System;
using System.ComponentModel;
using System.Threading.Tasks;
namespace Octopus.Manager.Tentacle.Shell
{
public interface ITab
{
bool IsNextEnabled { get; }
bool IsSkipEnabled { get; }
event Action OnNavigateNext;
Task OnSkip(CancelEventArgs e);
Task OnNext(Ca... |
namespace TryOut.Views.MainPages
{
public partial class LockedView
{
public LockedView()
{
InitializeComponent();
}
}
} |
using System;
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(Uuid))]
public class UuidDrawer : PropertyDrawer
{
public override void OnGUI(Rect a_Position, SerializedProperty a_Property, GUIContent a_Label)
{
EditorGUI.BeginProperty(a_Position, a_Label, a_Property);
a_Position = EditorGUI.Pr... |
using UnityEngine;
public class DetectCollision : MonoBehaviour
{
private GamingManager gamingManager;
void Start()
{
gamingManager = GameObject.Find("GamingManager").GetComponent<GamingManager>();
}
private void OnTriggerEnter(Collider other)
{
if (GamingManager.GameContinue)
... |
#region License
/**
* Copyright (C) 2010 Rafael Vasco (rafaelvasco87@gmail.com)
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Input;
using Generator.Shared.DependencyInjection;
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
namespace Generator.Client.Desktop... |
//using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using System.Collections.Generic;
//using DALayer.DBImpl;
//using ResourceManagementSystem.BusinessLogic.Entities;
//namespace DATest.DATests
//{
// [TestClass]
// public class ClassRoomTest
// {
// [TestMethod]
// public v... |
/*
Write a C# Sharp program to find the largest value from first, last, and middle
elements of a given array of integers of odd length (atleast 1)
*/
using System;
namespace Exercice_107
{
class Program
{
public static int GetLargerNumber(int[] numbers)
{
Console.Write($"{{{Str... |
using System;
using System.Reflection;
using Google.GData.Spreadsheets;
namespace Dash.Api.Utils
{
public static class ListEntrySerializer
{
public static T Deserialize<T>(this ListEntry row) where T : new()
{
var result = new T();
foreach (var prop in typeof(T).GetPro... |
namespace LibraryApp
{
public enum DCAction
{
EndWork = 0,
GetServers = 1,
WriteServerInData = 2
}
}
|
using FSH.BlazorWebAssembly.Client.Components.Common;
using FSH.BlazorWebAssembly.Client.Infrastructure.ApiClient;
using FSH.BlazorWebAssembly.Client.Shared;
using FSH.WebApi.Shared.Multitenancy;
using Microsoft.AspNetCore.Components;
namespace FSH.BlazorWebAssembly.Client.Pages.Authentication;
public partial class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeaverCore.Enums
{
public enum MusicSyncType
{
Implicit = 0,
ExplicitOn = 1,
ExplicitOff = 2,
}
}
|
namespace VirtoCommerce.CartModule.Web.Controllers
{
public static class PredefinedPermissions
{
public const string Query = "cart:read",
Create = "cart:create",
Access = "cart:access",
Update = "cart:update",
Delete = "cart:delete";
}
}
|
namespace LightQuery.Shared
{
public class QueryOptions
{
public string SortPropertyName { get; set; }
public bool IsDescending { get; set; }
public int Page { get; set; } = 1;
public int PageSize { get; set; }
public bool QueryRequestsPagination { get; set; }
}
}
|
//------------------------------------------------------------------------------
// <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>
//---... |
using SlackLibrary.Connections.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace SlackLibrary.Connections.Responses
{
public class ConversationResponse : DefaultStandardResponse
{
public ConversationChannel Channel { get; set; }
}
public class ConversationCollectionReponse : ... |
using System.IO;
using System.Security.Claims;
namespace SampleSite
{
public class TestData
{
public const string Username = "USERNAME";
public const string Password = "Cicciobello12!";
public const string Email = "me@me.com";
public const string RoleName = "TestRole";
... |
using Microsoft.EntityFrameworkCore;
namespace GeoDBUpdater.Model
{
public class ApplicationContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseNpgsql(Properties.Settings.Default.ConnectionStrings);
public DbSet<CountryBlockIPv4> CountryB... |
namespace PlayersBay.Services.Data.Contracts
{
using System.Threading.Tasks;
using PlayersBay.Services.Data.Models.Transfers;
public interface ITransfersService
{
Task<int> CreateDepositRequestAsync(string username, TransferInputModel inputModel);
Task<int> CreateWithdrawalRequestAsy... |
namespace Survivalistic.Framework.Bars
{
public class BarsDatabase
{
public static float hunger_velocity = 2f;
public static float thirst_velocity = 3f;
public static bool render_numerical_hunger = false;
public static bool render_numerical_thirst = false;
public stati... |
namespace InventorShaftGenerator.Models.Sections
{
public class CylinderSection : ShaftSection
{
private float diameter = 50;
public CylinderSection()
{
this.Length = 100;
}
public float Diameter
{
get => this.diameter;
set =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using EmptyBox.IO.Access;
using EmptyBox.IO.Network;
using EmptyBox.IO.Networ... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using OCranes.ViewModels;
using Xamarin.Forms;
namespace OCranes.Views.Cranes
{
[DesignTimeVisible(false)]
public partial class CranesPage : ContentPage
{
private readonly CranesViewModel viewModel;
public CranesPage()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MLogger
{
class ProcessLog
{
public static string GetForegroundProcessName()
{
IntPtr hwnd = GetForegroundWindow();
if (hwnd == null)
... |
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Responses.Negotiation;
using Nancy.TinyIoc;
namespace HttpProblemDetails.Nancy.Tests
{
public class SampleBootstrapper : DefaultNancyBootstrapper
{
protected override void RequestStartup(TinyIoCContainer container, IPipelines pipelines, NancyContext c... |
using System;
using BizHawk.Bizware.BizwareGL;
namespace BizHawk.Client.Common
{
public static class Extensions
{
public static IGuiRenderer CreateRenderer(this IGL gl)
{
if (gl is IGL_TK)
{
return new GuiRenderer(gl);
}
if (gl is IGL_SlimDX9)
{
return new GuiRenderer(gl)... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using Qml.Net.Internal;
using Qml.Net.Internal.Behaviors;
using Qml.Net.Internal.Qml;
namespace Qml.Net.Tests.Qml
{
public abstract class AbstractBaseQmlTests<TTypeToRegister> : BaseTests
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.