content stringlengths 23 1.05M |
|---|
using System.Web;
using ClassGenMacros;
namespace tspHandler
{
public class Navigator
{
public string userAgent
{
get
{
return HttpContext.Current.Request.UserAgent;
}
}
public string appVersion
{
get
... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... |
using UnityEngine;
using UnityEngine.Events;
[RequireComponent(typeof(Animator))]
public class UIController : MonoBehaviour {
public enum OnHideAction {
None,
Disable,
Destroy,
}
public class PlayAsync : CustomYieldInstruction {
public PlayAsync(UIController controller, bool isShow) {
this.m_Obj = con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TerrariaChatRelay.Command;
namespace TerrariaChatRelay
{
public class TCRClientUser
{
public string Client { get; set; }
public string Username { get; set; }
public Permission PermissionLe... |
using System;
namespace Coosu.Storyboard.Extensions.Optimizing
{
public class StoryboardEventArgs : EventArgs
{
public string? Message { get; set; }
public virtual bool Continue { get; set; }
}
} |
using System.IO;
using System.Xml;
namespace MikuMikuModel.Modules.Xml
{
public class XmlDocumentModule : FormatModule<XmlDocument>
{
public override FormatModuleFlags Flags => FormatModuleFlags.Import | FormatModuleFlags.Export;
public override string Name => "Xml Document";
public ov... |
using System;
namespace EasyAbp.LoggingManagement.SystemLogs.Dtos
{
public class SystemLogDto
{
public string LogName { get; set; }
public string LogValue { get; set; }
public DateTime? Time { get; set; }
public string Level { get; set; }
}
} |
@model toDoList.ViewModels.ConConfigViewModel
@{
ViewData["Title"] = "Edit";
//Layout = "~/Views/Shared/_Layout.cshtml";
var idEmpresa = @Model.EmpresaId;
}
<style>
.aLink {
color: rgb(82,123,255) !important;
}
.aLink:hover {
color: rgb(82,123,255) !important;
... |
@model TMXN.Web.ViewModels.Teams.TeamViewModel
@using Microsoft.AspNetCore.Identity
@using TMXN.Data.Models
@inject UserManager<ApplicationUser> userManager
@{string userId = userManager.GetUserId(this.User);}
<div class="card mr-3" style="width: 15rem;">
<img class="card-img-top" src="@Model.Logo" alt="Card ... |
namespace SpaceEngineers.Core.GenericEndpoint.TestExtensions.Internals
{
using System.Collections.Generic;
using Contract.Abstractions;
/// <summary>
/// ITestIntegrationContext
/// </summary>
public interface ITestIntegrationContext
{
/// <summary>
/// Messages
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetadataLocal.UbisoftLibrary
{
public class UbisoftSearchResponse
{
public List<Hits> results { get; set; }
}
public class Hits
{
public List<GameStoreSear... |
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Internal;
namespace MVCForumAutomation
{
public class DiscussionHeader
{
private readonly IWebElement _topicRow;
public DiscussionHeader(IWebElement topicRow)
{
_topicRow = topicRow;
}
public string... |
using HL7Data.Contracts.Messages.StockRequisitionOrderMessages;
using HL7Data.Models.Types;
namespace HL7Data.Models.Messages.StockRequisitionOrderMessages
{
public class StockRequisitionOrder : BaseStockRequisitionOrderMessage, IStockRequisitionOrder
{
public override TriggerEventTypes TriggerEventTyp... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
namespace Hoops.Core.Models
{
public partial class VwDivision
{
[Key]
public int DivisionId { get; set; }
public int CompanyId { get; set; }
public Object SeasonId { get; set; }
... |
using System.Linq;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.Experimental.GraphView;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
namespace RealmSchema.Editor
{
public class SchemaEditorWindow : EditorWindow
{
private EditorDataSO _data = null;
... |
#if ENDEL_NATIVE_WEBSOCKET
using System.Collections.Generic;
using System.Threading.Tasks;
using NativeWebSocket;
namespace Alteracia.Web
{
public class WebSocketHandler : IWebSocketHandler
{
private WebSocket _socket;
public async Task Connect(string url, Dictionary<string, string> h... |
namespace Paytrim.ValidationHelper
{
public class SwedishBank
{
public SwedishBank(string name, int type, int comment, string regex)
{
Name = name;
Type = type;
Comment = comment;
Regex = regex;
}
public string Name { get; set; }
... |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... |
using System.Reactive.Subjects;
namespace Tel.Egram.Model.Notifications
{
public class NotificationController : INotificationController
{
public Subject<NotificationModel> Trigger { get; } = new Subject<NotificationModel>();
public void Show(NotificationModel model)
{
... |
// NoRealm licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using NoRealm.ExpressionLite.Error;
using System;
using System.Diagnostics;
namespace NoRealm.ExpressionLite.ExpressionTree
{
/// <summary>
/// Represent a unary expression
/// </... |
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using System.Collections.Generic;
using System.Threading;
using System.Thre... |
using TheSaga.Handlers.Events;
namespace TheSaga.Handlers.Builders
{
public interface IHandlersBuilderHandle<TEvent> : IHandlersBuilderThen
where TEvent : IHandlersEvent
{
IHandlersBuilderHandle<TEvent> HandleBy<TEventHandler>()
where TEventHandler : IHandlersCompensateEventHandler... |
namespace CryptoDNS.Models
{
public class MasternodeEntry
{
public string IP { get; set; }
public int Version { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Plugin.LocalNotification;
using Xamarin.Forms;
namespace LocalNotification.Sample
{
public partial class MainPage : ContentPage
{
private int _tapCount;
public MainPage()
... |
using System;
using System.Net.Sockets;
using System.Threading.Tasks;
using Datagrams.AbstractTypes;
using tools;
using UnityEngine;
namespace Udp.UdpConnector
{
public class UdpDataListener
{
public event Action<AbstractDatagram> OnDataRetrieved;
private UdpClient _client;
public UdpDataListener(UdpClient ... |
using SFML.Graphics;
namespace BlackCoat.ParticleSystem
{
/// <summary>
/// Abstract base class of all pixel based Particles.
/// </summary>
/// <seealso cref="BlackCoat.ParticleSystem.ParticleBase" />
public abstract class PixelParticleBase : ParticleBase
{
// CTOR ###################... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Din.Controllers
{
public class AdminController : BaseController
{
#region injections
#endregion injections
#region constructors
#endregion constructors
#region endpoints
[Au... |
using SevenTiny.Bantina.Bankinate.Attributes;
namespace SevenTiny.Cloud.MultiTenantPlatform.Core.Entity
{
/// <summary>
/// 和对象相关的所有类型的基类,默认提供了MetaObjectId,方便公共操作
/// </summary>
public abstract class MetaObjectManageInfo: CommonInfo
{
[Column]
public int MetaObjectId { get; set; }
... |
@inject IEncryptionService service
@model SupervisorModel
<div class="row summary-row-container">
<div class="col-10 offset-1">
<a asp-controller="Supervisors" asp-action="Details" asp-route-_lp="@service.Encrypt("parkId",Model.ParkId)"
class="w3-hover-text-amber w3-hover-border-amber">
... |
using IntegrationTool.Module.WriteToDynamicsCrm.SDK.Enums;
using IntegrationTool.SDK.Controls.Generic;
using IntegrationTool.SDK.Database;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... |
namespace Oliviann.Tests.Extensions
{
#region Usings
using System;
using System.Collections.Generic;
using Oliviann.Common.TestObjects.Xml;
using Oliviann.IO;
using TestObjects;
using Xunit;
#endregion Usings
[Trait("Category", "CI")]
public class GenericExtensionsTests
{... |
using JetBrains.Application;
using JetBrains.Application.Shortcuts;
using JetBrains.Application.UI.ActionsRevised.Loader;
namespace JetBrains.ReSharper.Plugins.PresentationAssistant
{
[ShellComponent]
public class OverriddenShortcutFinder
{
// This is the current key binding for the command being ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Take.Elephant.Tests
{
public abstract class GuidItemKeyValueMapQueryableStorageFacts : KeyValueMapQueryableStorageFacts<Guid, Item>
{
public over... |
using System;
using System.ComponentModel.DataAnnotations;
namespace RadonTestsManager.Controllers {
public class ContinuousRadonMonitorDTO {
[Required]
[Range(0, 99999999)]
public int MonitorNumber { get; set; }
[Required]
[Range(0, 99999999)]
public int SerialNumb... |
using System.Collections.Generic;
using System.Linq;
namespace ACSE.Core.Modifiable
{
public class ModifiedHandler : IModifiable
{
public readonly Stack<IModifiable> UndoStack;
public readonly Stack<IModifiable> RedoStack;
public ModifiedHandler()
{
UndoStack = new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Novel.Common.Models
{
public class SearchResult
{
public string Caption { get; set; }
public List<SearchResultContent> Contents { get; set; }
}
public class SearchResultContent
... |
/*
* FileName: ITreeNode.cs
* Author: functionghw<functionghw@hotmail.com>
* CreateTime: 4/9/2015 3:25:00 PM
* Version: v1.0
* Description:
* */
namespace HelperLibrary.Core.Tree
{
using System.Collections.Generic;
/// <summary>
/// Interface of a simply tree structure
/// </summa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using TMPro;
public class GameManager : MonoBehaviour
{
public bool gameOver;
public bool levelCompleted;
public GameObject gameOverPanel;
public GameObject levelComp... |
using Editions;
using Ship;
namespace SquadBuilderNS
{
public class ShipRecord
{
public GenericShip Instance { get; }
public string ShipName => Instance.ShipInfo.ShipName;
public string ShipNameCanonical => Instance.ShipTypeCanonical;
public string ShipNamespace { get; }
... |
using System;
using Acme.Common;
using NUnit.Framework;
namespace Acme.CommonTestsNUnit
{
[TestFixture()]
public class LoggingServiceTests
{
[Test()]
public void LogAction_Success()
{
// Arrange
var expected = "Action: Test Action";
// Act
... |
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace BepuPhysics.CollisionDetection
{
/// <summary>
/// Packed indirection to data associated with a pair cache entry.
/// </summary>
public struct PairCacheIndex
{
internal ulong packed;
/// <summary>
/... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Clide
{
public class SolutionExtensionsSpec
{
ISolutionExplorer explorer;
public SolutionExtensionsSpec()
{
var solution = new FakeSolution
{
Nodes =
... |
using System.Text.Json;
namespace Contracts
{
public class Serializer : ISerializer
{
public T Deserialize<T>(string text) where T : class
{
return JsonSerializer.Deserialize<T>(text);
}
public string Serialize<T>(T obj) where T : class
{
... |
using System.Web.UI;
[assembly: WebResource("FarsiLibrary.Web.Images.OpenButton.gif", "img/gif")] |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Akka.Interfaced;
using SlimHttp.Interface;
namespace SlimHttp.Program.Client
{
internal class Program
{
private static void Main(string[] args)
{
var requestWai... |
using System;
namespace Global {
public enum ObjectType {
TREE,
WATER,
BUILDING,
PAVEMENT,
GRASS
}
public static class ObjectTypeImplementation {
public static bool AllowsVision(this ObjectType self) {
switch (self) {
case ObjectT... |
using System;
using System.Diagnostics;
namespace AndcultureCode.CSharp.Testing.Factories
{
public abstract class Factory
{
#region Public Methods
/// <summary>
/// Define your factory
/// </summary>
public abstract void Define();
public long Milliseconds => Da... |
namespace TraktNet.Objects.Basic.Tests.Json.Reader
{
using FluentAssertions;
using System;
using System.Threading.Tasks;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Objects.Basic.Json.Reader;
using Xunit;
[Category("Objects.Basic.JsonReader")]
public partial class IdsObjectJso... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
namespace Procedural
{
[ExecuteInEditMode]
public class RandomizeColor : MonoBehaviour
{
// Start is called before the first frame update
//private void Start()
//{
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class ChaseTarget : MonoBehaviour
{
NavMeshAgent navMeshAgent;
public GameObject target;
[Tooltip("Won't chase target if they're closer than this, leave at 0 to ignore.")]
public float MinChaseDi... |
using Newtonsoft.Json;
namespace YouTrackSharp.AgileBoards
{
/// <summary>
/// A class that represents a YouTrack field used in the context of an agile board
/// </summary>
public class Field
{
/// <summary>
/// Gets or sets the name of the field
/// </summary>
[Jso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OAuth2Provider
{
public interface IConsumer
{
string ClientId { get; }
string Secret { get; }
long ConsumerId { get; }
string ApplicationName { get; }
string Domain { get; }
... |
using System.Collections.Generic;
namespace App.Models.Spotify
{
public class SpotifyData
{
public SpotifyDataVersion Version { get; set; }
public string UserId { get; set; }
public string DisplayName { get; set; }
public List<SpotifyPlaylist> Playlists { get; set; }
pub... |
using UnityEditor;
using UnityEditor.MARS.Simulation;
using UnityEngine;
using UnityEngine.UIElements;
namespace Unity.MARS.Rules.RulesEditor
{
class ProxyRow : EntityRow
{
const string k_ProxyRowPath = k_Directory + "ProxyRow.uxml";
const string k_SimMatchCountName = "simMatchCount";
... |
namespace Smart.IO.ByteMapper.Expressions
{
using Smart.IO.ByteMapper.Builders;
internal sealed class MapByteExpression : IMemberMapExpression
{
//--------------------------------------------------------------------------------
// Expression
//-------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using XNodeEditor;
#endif
namespace InteractML.DataTypeNodes
{
/// <summary>
/// Editor class drawing a IMLVector2 Feature - receiving a Vector2 or drawing editable Vector2 field
/// </summa... |
using System;
using System.Collections.Generic;
namespace ExtraDomainEvent.Abstractions
{
/// <summary>
/// Defines a publisher for domain-event(s).
/// </summary>
public interface IDomainEventPublisher : IDisposable
{
/// <summary>
/// Publishes a domain-event.
/// </summa... |
namespace JQDT.Exceptions
{
using System;
using JQDT.Enumerations;
/// <summary>
/// Thrown when try to perform operation on a type that is not valid for it.
/// </summary>
/// <seealso cref="JQDT.Exceptions.JQDataTablesException" />
[Serializable]
internal class InvalidTypeForOperatio... |
// Copyright (c) Jeremy Likness. All rights reserved.
// Licensed under the MIT License. See LICENSE in the repository root for license information.
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nov... |
using System;
using Amazon.XRay.Recorder.Core.Internal.Entities;
using Amazon.XRay.Recorder.Core.Internal.Emitters;
using Amazon.XRay.Recorder.Core.Sampling;
namespace Amazon.XRay.Recorder.Core.Strategies
{
/// <summary>
/// The default streaming strategy. It uses the total count of a segment's children subse... |
/* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either versi... |
using UnityEngine;
using System.Collections;
public class MoverCapsula : MonoBehaviour {
public float velocidad=1f; //en metros por segundo
// Update is called once per frame
void Update () {
float x = Input.GetAxis("Horizontal") * Time.deltaTime * velocidad;
float z = Input.GetAxis("Vertic... |
using System;
using System.Net;
using System.Net.Http;
namespace Thismaker.Aba.Client
{
[Serializable]
public class ClientException : Exception
{
public ClientException() { }
public ClientException(string message) : base(message) { }
public ClientException(Exception inner) : base(... |
using System.Collections.Generic;
using Application.Core.Data;
namespace LMPlatform.Models
{
public class Module : ModelBase
{
public string Name
{
get;
set;
}
public string DisplayName
{
get;
set;
}
pu... |
namespace ReleaseCleaner.Input
{
using System;
using System.Text;
using IO = System.Console;
internal class Console : IConsole
{
public string ReadUsername()
{
IO.WriteLine("Please enter your Github username");
// simple ReadLine, because we don't need to mask... |
namespace _02.BankAccounts
{
using System;
public class MortgageAccounts : IAccounts
{
public MortgageAccounts(ICustomers customer, decimal balance, decimal interesRate)
{
this.Customer = customer;
this.Balance = balance;
this.InterestRate = interesRate;
... |
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... |
using System;
using System.Runtime.InteropServices;
namespace Gpg.NET.Interop
{
internal class AnsiCharPtrMarshaler : ICustomMarshaler
{
private static readonly AnsiCharPtrMarshaler Instance = new AnsiCharPtrMarshaler();
public static ICustomMarshaler GetInstance(string cookie)
{
return Instance;
}
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace KOS.Waves
{
[CreateAssetMenu(menuName = "Waves/Spawn Ruleset")]
public class SpawnRuleset : ScriptableObject
{
public float recoveryPeriod = 45f;
public float spawnSpeed = 60f;
public float spa... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Reflection;
using System.Text;
using System.Web.Http;
using System.Web.Http.Dispatcher;
using System.Web.Http.OData;
us... |
using Speckle.Newtonsoft.Json;
using Speckle.Core.Kits;
using Speckle.Core.Models;
using System.Collections.Generic;
using Objects.Structural.Geometry;
using Objects.Structural.Materials;
using Objects.Structural.Properties.Profiles;
namespace Objects.Structural.Properties
{
public class Property1D : Property //S... |
using System;
namespace ClangNet.Samples
{
/// <summary>
/// Behavior Info Factory
/// </summary>
public static class BehaviorInfoFactory
{
/// <summary>
/// Create Behavior Info
/// </summary>
/// <param name="cursor">Clang Cursor</param>
/// <returns>Behav... |
using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using DeepL;
using Discord;
using Discord.WebSocket;
using Humanizer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Vanslate;
using Vanslate.Entities;
using Vanslate.Helper... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class EnemyManager : MonoBehaviour
{
PlayerCharacterController m_PlayerController;
public List<EnemyController> enemies { get; private set; }
public int numberOfEnemiesTotal { get; private set; }
public int numberOf... |
using System.Collections.Generic;
using Framework.DomainDriven.Metadata;
namespace Framework.DomainDriven.DAL.Sql
{
public class ListTypeFieldMapper : Mapper<ListTypeFieldMetadata>
{
protected override IEnumerable<SqlFieldMappingInfo> GetMapping(ListTypeFieldMetadata field)
{
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HaloOnline.Server.Core.Repository.Model
{
[Table("UserChallenge")]
public class UserChallenge
{
[Key]
[Column(Order = 0)]
public int UserId { get; set; }
... |
namespace AluraCar.Model
{
public enum Opcionais
{
ArCondicionado = 800,
Mp3Player = 1500,
FreioAbs = 1000
}
}
|
using System.Collections.Generic;
namespace Fossil
{
public abstract class ExclusiveSettingsValue : SettingsValue<ExclusiveOption>
{
public abstract List<ExclusiveOption> GetPossibleValues();
}
} |
using NHamcrest.Core;
using Xunit;
using NHAssert = NHamcrest.Tests.Internal.Assert;
namespace NHamcrest.Tests.Core
{
public class IsLessThanOrEqualToTests
{
[Fact]
public void Match_if_less()
{
const int five = 5;
NHAssert.That(five, Is.LessThanOrEqualTo(6));
}
[Fact]
public void No_match_if_no... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CustomLogProviders;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Configuratio... |
using System;
using System.Collections.Generic;
namespace DynamicList.Portable.Migrations
{
public class Migration_002
{
public IList<string> GetSteps(){
var steps = new List<string>();
steps.Add (@"CREATE TABLE Properties (Id INTEGER PRIMARY KEY AUTOINCREMENT,
Name TEXT NOT NULL,
T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class JsonDataSaver : IDataSaver
{
// persistentDataPath:
// mac: /User/xxx/Library/Application Support/company name/product name
// windows: Users/xxxx/AppData/LocalLow/CompanyName/ProductName
// android: /sto... |
using System.Collections.Generic;
namespace Entities.PostBlog
{
public class Blog
{
public int Id;
public string Name;
public ICollection<Post> Posts;
}
}
|
using OctoAwesome.Basics.Properties;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace OctoAwesome.Basics.Definitions.Blocks
{
public sealed class RedPlankBlockDefinition : BlockDefinition
{
public override string Name
{
... |
using System;
namespace System.Printing {
public class PrintJobSettings
{
public PrintTicket CurrentPrintTicket
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public string Description
{
get
{
throw new NotImplementedException();
}
set
... |
// Copyright (c) Lionel Vallet. All rights reserved.
// Licensed under the Apache License, Version 2.0.
namespace ReHackt.Linq.AutoMapperExtensions.UnitTests.Models
{
class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public IEnumerable<Order> Orders { get;... |
using GetAllLinks.Core.Helpers;
using GetAllLinks.Core.Infrastructure.Interfaces;
using GetAllLinks.Core.Infrastructure.Services;
using MvvmCross.Core.ViewModels;
namespace GetAllLinks.Core.ViewModels
{
public class SettingsViewModel : MvxViewModel, ICloseable
{
private readonly IDownloader _downloader;
public... |
namespace Phoenix.WPF {
using Phoenix.WPF.CustomControls;
public partial class ReportViewerWindow : WindowBase {
public ReportViewerWindow() : base(true, true, false) {
InitializeComponent();
}
}
} |
using GoogleAnalytics;
using Microsoft.Toolkit.Uwp;
using Microsoft.Toolkit.Uwp.UI.Animations;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using... |
namespace DuplicateFileFinder.FileSizers
{
public interface FileSizer
{
long SizeFile(FileData fileData);
}
} |
namespace Assignment2
{
class Person
{
public string FirstName;
public string LastName;
public int Age;
public string City;
public GenderType Gender;
}
}
|
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Platibus.SampleApi.Widgets
{
public class InMemoryWidgetRepository : IWidgetRepository
{
private readonly ConcurrentDictionary<string, Widget> _widgets = new ... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Cybtans.Automation
{
public class WebDriverManager: BarrierManager
{
private class WebDriverCacheItem
{
public IWebDriver Driver;
... |
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.Runtime;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace BudgeteeServer.Extensions
{
public static class AwsConfigServiceCollectionExtensions
{
public static IServ... |
using Advobot.Services.HelpEntries;
using Advobot.Tests.Fakes.Services.HelpEntries;
using Advobot.Tests.TestBases;
using Advobot.TypeReaders;
using AdvorangesUtils;
using Discord.Commands;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advobot.Tests.Co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerNetworkCs : MonoBehaviour {
//[SerializeField] private GameObject thisPlayerCamera;
[SerializeField] private PlayerBehaviourCs playerControlScript;
private PhotonView photonView;
// Use this for initial... |
namespace CraftopiaActions
{
public class RefillHunger: AmountAction<RefillHunger>
{
}
} |
using BenchmarkDotNet.Attributes;
using System.Linq;
namespace LinqFasterer.Benchmarks.Benchmarks
{
public class FirstBenchmark : Benchmarkable
{
[Benchmark(Baseline = true)]
public int FirstLinq()
{
return Data.First();
}
[Benchmark]
public int Fir... |
namespace CakesWebApp.Views
{
public class FileView : IView
{
private readonly string _htmlString;
public FileView(string htmlString)
{
_htmlString = htmlString;
}
public string View()
{
return _htmlString;
}
}
}
|
using System;
namespace MFDSettingsManager.Configuration.Collections
{
/// <summary>
/// Module configuration collection
/// </summary>
public class ModulesConfigurationCollection : ConfigurationSectionCollectionBase<ModuleConfiguration>
{
/// <summary>
/// Definition of a key
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.