content stringlengths 23 1.05M |
|---|
namespace PSX.Core.Interfaces;
public interface ISector
{
void Clear();
void FillWith(Span<byte> data);
bool HasData();
bool HasSamples();
Span<byte> Read();
Span<uint> Read(int size);
ref byte ReadByte();
ref short ReadShort();
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityConstants;
using UnityEngine.Serialization;
[CreateAssetMenu(fileName = "SuspectData", menuName = "ScriptableObjects/Suspect Data")]
public class SuspectData : ScriptableObject
{
[Tooltip("Identifier name. Must be ... |
// <snippet0>
using System;
using System.EnterpriseServices;
using System.Reflection;
// References:
// System.EnterpriseServices
// An instance of this class will not join an activity, but can share its
// caller's context even if its caller is configured as NotSupported,
// Supported, Required, or Requir... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
/*
Bu class School veritabanına Student adında tablo oluşturur.
Tablo isminde bir class oluşturduk.
Tablonun kolonlarını belirtmek için içine metotlar girdik.
*/
namespace En... |
using System;
using System.Collections.Generic;
using System.Text;
using MO.Common.Lang;
using MO.Common.System;
namespace MO.Common.Content {
public class FCsvValidator {
/*public const string TAG = "Validator";
public const string PTY_TYPE = "type";
public const string PTY_CLASS = "class";
... |
namespace StripeTests.Issuing
{
using Newtonsoft.Json;
using Stripe.Issuing;
using Xunit;
public class DisputeTest : BaseStripeTest
{
public DisputeTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
public void Deseria... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OManager.BusinessLayer.Login;
namespace OManager.BusinessLayer.SearchString
{
public class SearchStringList
{
ConnParams m_connParam;
public ConnParams ConnParam
{
get ... |
#if UNITY_ANDROID
using System.Runtime.InteropServices;
namespace Burst.Compiler.IL.Tests
{
public class DllImportAndroid
{
public unsafe struct HandleStruct
{
public void* Handle;
}
public struct NestedHandleStruct
{
public HandleStruct Handle;
... |
// GraphView
//
// Copyright (c) 2015 Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 restrict... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PushbulletSharp.Models.Requests;
using System;
using System.Linq;
namespace PushbulletSharp.Tests
{
[TestClass]
public class ContactsTests : TestBase
{
/// <summary>
/// Pushbullets the get contacts test.
/// </summary>
... |
using BDSA.ReviewIt.Server.StorageLayer.EFEntities;
using BDSA.ReviewIt.Server.StorageLayer.ServerDTOs;
namespace ServerDTOs.ServerDTOs {
public class FieldDTO : IDTO {
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public Fi... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Freezr.Backend.Repositories;
using Freezr.Entities;
using Freezr.Messaging;
using Freezr.Messaging.Messages.Events;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Freezr.Backend.Controllers
{
[ApiController]
[... |
using System;
using System.IO;
public class FileLogger
{
public static string FilePath = @"Log.txt";
public static void Log(string message)
{
using (StreamWriter streamWriter = File.AppendText(FilePath))
{
DateTime now = DateTime.Now;
streamWriter.WriteLine(now);... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CustomDoubleLinkedList
{
class DoublyLinkedList
{
}
}
|
@using Project.Hub.Config.Entities.ComponentData
@model IEnumerable<EnvironmentDetails>
<div class="row">
<div class="list-panel-content col-xs-12">
@foreach (var env in Model)
{
<a class="list-panel-item col-xs-12" href="@env.Link" target="_blank">
<div class="col-xs-... |
// system
using System;
using System.Reflection;
using System.Collections.Generic;
// unity
using UnityEngine;
namespace Ex{
public class Routine1ScriptComponent : BaseCompiledCSharpComponent{
public override void start_routine() {
var script = get_csharp_script<WriteDataToLoggerComponent>("... |
using NLog;
using System;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
namespace SocialChat.Helpers.Hash
{
public class MD5Hash : IHash
{
private readonly ILogger _logger = LogManager.GetCurrentClassLogger();
/// <summary>
/// 生成 MD5 雜湊
/// <... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System;
namespace SPGovernmentData.Application.Entities.DTOs
{
public class DatasetAditionalInformationDTO
{
public int Id { get; set; }
public string Source { get; set; }
public string Manager { get; set; }
public DateTime? LastUpdate { get; set; }
public DateTim... |
using AutoMapper;
using Budalapi.Domain.Models;
using Budalapi.Domain.Resources;
namespace Budalapi.Mapping
{
public class ModelToResourceProfile : Profile
{
public ModelToResourceProfile()
{
CreateMap<Country, CountryDto>();
CreateMap<Country, SaveCountryModel>();
... |
using UnityEngine;
public class WorldSpace : MonoBehaviour {
[SerializeField] Entity localEntityPrefab;
[SerializeField] Entity remoteEntityPrefab;
[SerializeField] Client client;
[SerializeField] Server server;
[SerializeField] Transform[] initialPositions;
int currentPositionIndex;
publi... |
namespace QuantConnect.Algorithm.Framework.Alphas
{
using QuantConnect.Data;
using QuantConnect.Data.Custom;
using QuantConnect.Data.UniverseSelection;
using System;
using System.Collections.Generic;
public class EquityHighLowAlphaModel : AlphaModel
{
private readonly Resolution _r... |
using Synology.FileStation.Common.Results;
namespace Synology.FileStation.List.Results
{
/// <summary>
/// Share perm adv right result.
/// </summary>
public interface ISharePermAdvRightResult : ITaskSharePermAdvRightResult
{
}
} |
/*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using System;
#if UNITY_EDITOR || NUNIT
using NUnit.Framework;
usi... |
using CM.Library.Queries.OwnedCar;
using CM.Library.Queries.Person;
using CM.Library.Queries.ProblemType;
using FluentValidation;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CM.Library.Events.Problem
{
public class Ad... |
using System.DirectoryServices.AccountManagement;
using System.Management.Automation;
namespace PowerLFRepository
{
[Cmdlet(VerbsCommon.Get, "LFUser")]
public class GetLFUser : PSCmdlet
{
[Parameter]
public LFSession Session { get; set; }
[Parameter()]
public string Userna... |
namespace Enterprise.Domain.Users
{
using System;
public interface IExternalUserModel : IUserModel
{
}
}
|
using Microsoft.AspNetCore.Mvc;
using AKCWebCore.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using NonFactors.Mvc.Grid;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
namespace AKCWeb.Controllers {
public class HomeController : Controller {
... |
using Fritz.ConfigurationBuilders;
using NUnit.Framework;
using System;
using System.Collections.Specialized;
using System.Configuration;
namespace Test.Yaml
{
[TestFixture]
public class RequiredFields
{
[Test()]
public void MissingLocationAttributeShouldThrowException()
{
// arrange
var appSettings... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageReceiver : MonoBehaviour
{
[SerializeField] float health = 100f;
[SerializeField] float invincibleTimeAfterHit = 0.5f;
DeathHandler deathHandler;
bool invincible = false;
public float Health
{
... |
using System;
using Spruce.Schema.Attributes;
namespace MrCullDevTools.Models.Users
{
public class PasswordRetrieval
{
public PasswordRetrieval() { }
public PasswordRetrieval(User user)
{
UserId = user.Id;
}
public PasswordRetrieval(User user, Guid token) : this(user)
{
Token = token;
}
[Auto... |
using System;
using System.Linq;
namespace HTTPlease
{
using Core;
/// <summary>
/// <see cref="HttpRequest"/> / <see cref="IHttpRequest"/> extension methods for request-configuration actions.
/// </summary>
public static partial class RequestExtensions
{
/// <summary>
/// Create a copy of the reques... |
namespace Langs.Models.Admin
{
public class AdminModel
{
}
}
|
using System;
namespace Bytewizer.Backblaze.Extensions
{
/// <summary>
/// Contains extension methods for <see cref="Uri"/>.
/// </summary>
public static class UriExtensions
{
/// <summary>
/// Returns a <see cref="string"/> of the <see cref="Uri"/> absolute path.
/// </sum... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace StudentsDb.Models
{
public class Student : IIdentifier
{
private ICollection<Mark> marks;
public Student()
{
this.marks = new HashSet<Mark>();
}
public int Id {... |
namespace PiRhoSoft.Utilities
{
public class StretchAttribute : PropertyTraitAttribute
{
public StretchAttribute() : base(FieldPhase, 0)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Http;
using App.Models;
namespace App.Pages
{
public class SearchSongModel : PageModel
{
... |
using System;
namespace IntroToProgramming
{
public class SquareRoot
{
public static void Main()
{
double root = Math.Sqrt(12345);
Console.WriteLine(root);
}
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Security;
using EAWS.Properties;
namespace EAWS
{
public class WebService : IWebService
{
#region WS I... |
using Xunit;
namespace SharpNBT.Tests
{
public class VarLongTest
{
[Fact]
public void Encode1()
{
long value = -9223372036854775808;
var expected = new byte[] { 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x01 };
var actual = VarLong.Encode(... |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Adxstudio.Xrm.Search.Store.Encryption
{
using System;
using System.IO;
using System.Web.Hosting;
/// <summary>
/// Encrypted Directory Utils
... |
using System.Collections.Generic;
public class MultiUvTextureMask {
private readonly Dictionary<UvSet, TextureMask> masksByUvSet = new Dictionary<UvSet, TextureMask>();
public IEnumerable<TextureMask> PerUvMasks => masksByUvSet.Values;
public void Merge(TextureMask mask) {
if (masksByUvSet.TryGetValue(mask.UvS... |
using CadFoundation.Coordinates;
using System;
using System.Collections.Generic;
using System.Text;
namespace Surfaces.TIN
{
/// <summary>
///
/// </summary>
/// <remarks>Class only works with indices. Calling code must have the
/// point list and the triangle list that are being indexed into.
... |
@using Stimulsoft.Report.Mvc;
@{
ViewBag.Title = "Index";
}
<h2>Managing Report Printing and Exporting</h2>
<br />
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
{
Actions =
{
GetReport = "GetReport",
PrintReport = "PrintReport",
ExportReport = "ExportReport",
... |
using CyberCAT.Core.Classes.Mapping;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("InventoryDataManagerV2")]
public class InventoryDataManagerV2 : IScriptable
{
[RealName("TransactionSystem")]
public Handle<GameTransactionSystem> TransactionSystem { get; set; }
... |
using BusinessLayer.DTO;
using BusinessLayer.Facades;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MusicLibrary.ViewModels
{
public abstract class ContentMasterPageViewModel : MasterPageViewModel
{
protected readonly CategoryFacade categoryFacade;
public IEnumerabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public static class ProtocolParser
{
public static ProtocolInstruction Parse(string message)
{
//Checks for strings with spaces
const string regexPattern = "[^\\s\"']+|\"([^\"]*)\"|'([^']*)... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace WidgetApi.HMACAuthenticationHandler
{
public class HMACAuthenticationHandler : Aut... |
namespace MassTransit.Azure.ServiceBus.Core
{
using GreenPipes;
/// <summary>
/// A service bus namespace which has the appropriate messaging factories available
/// </summary>
public interface NamespaceContext :
PipeContext
{
ConnectionContext ConnectionContext { get; }
}
... |
using System;
using System.Collections.Generic;
using Modules;
using Turrets;
using UnityEngine;
namespace _WIP.Abilities.PositiveAbilities
{
/// <summary>
/// Applies a module to turret(s)
/// </summary>
[CreateAssetMenu(fileName = "DebuffTurret", menuName = "Enemy Abilities/Debuff Turret")]
publi... |
using System;
using System.Threading;
namespace SGT
{
public partial class Technology
{
protected ReaderWriterLockSlim cal_slim = null; // синхронизатор вычислнения данных
/// <summary>
/// Реализует технологию СГТ
/// </summary>
public void Calculate(Object ... |
namespace CyberInfection.GameMechanics
{
public interface IAlive : IDamagable
{
int health { get; set; }
void RestoreHealth(int healthAmount);
void Die();
}
} |
using MopidyFinder.Models.Albums;
using MopidyFinder.Models.Artists;
using MopidyFinder.Models.Bases;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MopidyFinder.Models.Relations
{
[Table("artist_albums")]
[JsonObject(MemberSeri... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using AvaExt.ECollections;
using AvaExt.TableOperation.CellMathActions;
using AvaExt.TableOperation.RowValidator;
namespace AvaExt.TableOperation
{
public class RowDefaulter : RowEventBindable
{
string[] ... |
using System;
using Coderr.Client.NLog;
using NLog;
namespace Coderr.Client.Nlog.Demo.Net461
{
class Program
{
static void Main()
{
var url = new Uri("http://localhost:50473/");
Err.Configuration.Credentials(url,
"fab233e3492d4cc68f64c7770db795a3",
... |
namespace FolderOrganizerApp
{
internal class typeF
{
public string name;
public string[] list;
public typeF(string name, string[] list)
{
this.name = name;
this.list = list;
}
}
} |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) Under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... |
using BlazorHero.CleanArchitecture.Domain.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorHero.CleanArchitecture.Application.Models.Telemed
{
public class Organization: AuditableEntity<int>
{
public String Name { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ZNS.EliteTracker.Models.Documents
{
public class Commander : BaseDocument
{
public string Name { get; set; }
public string PlayerName { get; set; }
public Country Country { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*---------------------------------------------------------------------\
| Copyright © 2008-2016 Allen C. [Alexander Morou] Copeland Jr. |
|----------------------------------------------------------------------|
| T... |
using MTD_Solver.Configs;
using MTD_Solver.Models;
using System.Xml;
namespace MTD_Solver.Utils
{
class DataSaver
{
private XmlWriterSettings settings;
public DataSaver()
{
settings = new XmlWriterSettings();
settings.Indent = true;
}
public void Save(WindowData data, AppConfig c... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RomanPort.LibSDR.Components.Filters.FIR.ComplexFilter.Implementations
{
public unsafe class ComplexFirFilterVOLK : IComplexFirFilter
{
internal ComplexFirFilterVOLK(Complex[] coeffs, int decimation)
{
ctx ... |
using System;
using VGAudio.Containers;
namespace VGAudio.Tools
{
internal enum FileType
{
NotSet = 0,
Wave,
Dsp,
Idsp,
Brstm,
Bcstm,
Bfstm,
Hps,
Genh,
Adx,
Hca,
Atrac9
}
internal clas... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.Update
{
using Microsoft.Azure.Management.Cdn.Fluent.CdnProfile.Update;
using Microsoft.Azure.M... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MyLib_Csharp_Alpha.CommonClass
{
public class MultipleInheritance<A, B>
{
public A a;
public B b;
public static implicit operator A(MultipleInheritance<A, B> thisObject) => thisObject.a;
public static... |
using Prism.Mvvm;
using System;
using O10.Client.Mobile.Base.Enums;
namespace O10.Client.Mobile.Base.ViewModels.Elements
{
public class RootAttributeViewModel : BindableBase
{
private string _issuer;
private string _attributeSchemeName;
private AttributeState _attributeState;
p... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PNetDll.Sqlite;
using PNetDll.Sqlite.Models;
namespace PNetDll.Logging
{
public class DatabaseLogger : Logger
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireController : MonoBehaviour {
[SerializeField] GameObject warningObject;
Vector3 pos;
Vector3[] directions = new Vector3[4] {Vector3.forward, Vector3.back, Vector3.left, Vector3.right};
List <Vector3> availablePosit... |
using FFImageLoading.Forms;
using Xamarin.Forms;
namespace ULFG.Forms.Shared
{
/// <summary>
/// <see cref="ViewCell"/> base empleada para las cells que muestran los datos del usuario
/// </summary>
public abstract class UserViewCellBase : ViewCell
{
/// <summary>
/// Referencia a ... |
using LearnWordsFast.Exceptions;
using LearnWordsFast.Services;
using LearnWordsFast.ViewModels.TrainingController;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging;
namespace LearnWordsFast.ApiControllers
{
[Route("api/Training")]
[Authorize]
public cla... |
using System;
using Windows.Devices.Sensors;
using Windows.Graphics.Display;
using Windows.UI.Core;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace AxisAngleRotation
{
public sealed partial class MainPage : Page
{
Inclinometer inclinometer = Inclin... |
// Copyright (c) CompanyName.ProjectName. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using CompanyName.ProjectName.Domain.Books.Entities;
using CompanyName.ProjectName.Domain.Books.Repo... |
using System.Threading.Tasks;
using Flurl.Http.Testing;
using NUnit.Framework;
using Survi.Prevention.ApiClient.Configurations;
using Survi.Prevention.ApiClient.Services.Base;
using Survi.Prevention.ApiClient.Tests.Mocks;
namespace Survi.Prevention.ApiClient.Tests.Repositories
{
[TestFixture]
public class Ref... |
namespace ForumSystem.Web.Tests.Routes.APIs
{
using ForumSystem.Web.Controllers.APIs;
using ForumSystem.Web.ViewModels.Users;
using Microsoft.AspNetCore.Http;
using MyTested.AspNetCore.Mvc;
using Xunit;
public class UsersApiControllerTests
{
[Fact]
public void EditUsernameS... |
using System;
using System.Collections.Generic;
namespace OzzyEntityLibraries.DTO.Models
{
public partial class CountriesDTO
{
public int CountryId { get; set; }
public string CountryName { get; set; }
}
}
|
using System.Collections.Generic;
using System.Threading.Tasks;
using EventStore.Core.Services.UserManagement;
using EventStore.Plugins.Authentication;
using Microsoft.AspNetCore.Routing;
namespace EventStore.Core.Authentication.InternalAuthentication {
public class PassthroughAuthenticationProvider : IAuthentication... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class followPlayer : MonoBehaviour
{
public GameObject Player;
public float movementSpeed = 4;
private Vector3 moveDirection;
private Vector3 thing;
private Vector3 offset;
public bool RandomizeSpeed;
public float min, m... |
namespace AgileObjects.ReadableExpressions.Translations.Formatting
{
using System;
internal class NullTranslationFormatter : ITranslationFormatter
{
public static readonly ITranslationFormatter Instance = new NullTranslationFormatter();
public int GetFormattingSize(TokenType tokenType) =>... |
using IndieVisible.Domain.Interfaces.Repository;
using IndieVisible.Domain.Models;
using IndieVisible.Infra.Data.MongoDb.Interfaces;
using IndieVisible.Infra.Data.MongoDb.Repository.Base;
namespace IndieVisible.Infra.Data.MongoDb.Repository
{
public class StudyGroupRepository : BaseRepository<StudyGroup>, IStudyG... |
using System;
using Mechanical.IO;
namespace Mechanical.DataStores
{
/// <summary>
/// Deserializes objects of type <typeparamref name="T"/> from data store values.
/// </summary>
/// <typeparam name="T">The type of objects to deserialize.</typeparam>
public interface IDataStoreValueDeser... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VariableScript : MonoBehaviour
{
//variables for other script enable/disable status
//public static bool[] scriptEnabled;
// Variables for Photobooth
public static float[] projectedArea = null;
public st... |
using System;
namespace Shashlik.Kernel
{
/// <summary>
/// Shashlik kernel 配置
/// </summary>
public interface IKernelServiceProvider : IServiceProvider
{
}
} |
namespace IRunes.App.Controllers
{
using IRunes.App.Extensions;
using IRunes.Models;
using SIS.HTTP.Enums;
using SIS.HTTP.Requests.Intefaces;
using SIS.HTTP.Responses.Interfaces;
using SIS.WebServer.Results;
using System;
using System.Linq;
using System.Net;
using System.Text;
... |
namespace Galagram.Window.Admin.UserControls.Subjects
{
/// <summary>
/// Interaction logic for All.xaml
/// </summary>
public partial class All : System.Windows.Controls.UserControl
{
/// <summary>
/// Initialize a new instance of <see cref="All"/>
/// </summary>
pu... |
using AntdUi2.Web;
using Microsoft.AspNetCore.Hosting;
using System;
using System.IO;
using System.Threading;
namespace AntdUi2 {
/// <summary>
/// Contiene il metodo Main dell'applicazione
/// </summary>
public partial class Application {
public const string SessionCookieKey = "session-antd"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LNF.Helpdesk
{
public class TicketDetail
{
public TicketInfo Info { get; set; }
public List<TicketMessage> Messages { get; set; }
public List<TicketResponse> Responses { get; set; }
}
}
|
using Microsoft.Diagnostics.Symbols;
using PerfView.TestUtilities;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace TraceEventTests
{
[UseCulture("en-US")... |
namespace Raven.Server.Documents.ETL.Stats
{
public class EtlOperations
{
public const string Extract = "Extract";
public const string Transform = "Transform";
public const string Load = "Load";
}
} |
/* MvcPager source code
This file is part of MvcPager.
Copyright 2009-2015 Webdiyer(http://en.webdiyer.com)
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... |
using Xamarin.Forms;
namespace PrismExample
{
public partial class PrismExamplePage : ContentPage
{
public PrismExamplePage()
{
InitializeComponent();
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NaturesWrath : MonoBehaviour
{
private Rigidbody2D rb;
private float speed;
private int damage;
private void Start()
{
rb = GetComponent<Rigidbody2D>();
speed = -600;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Option;
using System.Text;
using System.Threading.Tasks;
namespace AsyncBridge
{
public static class AsyncBridgeOptionExtensions
{
public static void Run<T>(
this AsyncHelper.AsyncBridge A, Task<T> ... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using System;
namespace osu.Game.Storyboards
{
public class StoryboardSample : IStoryboardElement
{
public stri... |
using System;
using System.Reactive.Subjects;
using Android.App;
using Android.Content;
using Android.Gms.Location;
namespace Shiny.Locations
{
[BroadcastReceiver(
Name = "com.shiny.locations.GpsBroadcastReceiver",
Exported = true
)]
[IntentFilter(new []
{
"com.shiny.locations... |
using System;
using System.Collections.Generic;
using System.Net;
using Albatross.Configuration;
using Albatross.Models;
using Albatross.Repositories.Interfaces;
using Microsoft.Framework.OptionsModel;
using RethinkDb;
using RethinkDb.ConnectionFactories;
namespace Albatross.Repositories.Implementation
{
public c... |
using System.Collections.Generic;
namespace Sombra.Web.ViewModels.Shared
{
public class CharityActionsViewModel
{
public List<CharityActionItemViewModel> CharityActions { get; set; }
}
} |
using System.Windows.Controls;
namespace SampleApp.Components.Settings
{
/// <summary>
/// Logique d'interaction pour SettingsView.xaml
/// </summary>
public partial class SettingsView : UserControl
{
public SettingsView()
{
InitializeComponent();
/*var o = ... |
#region Namespaces
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.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
usin... |
using BinaryDisplay;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BinaryDisplayUnitTest
{
[TestClass]
public class BinaryNumTester
{
[TestMethod]
public void Test_ConvertToBinary_Positive()
{
var binary = new BinaryNum(5);
binary.ConvertToB... |
using Ardalis.Result;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2020
{
public class Map
{
private const char Three = '#';
private List<string> rows { get; }
private Position position { get; set; }
public Map(List<string> rows)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.