content stringlengths 23 1.05M |
|---|
//=============================================================================
// Copyright Matthew King. All rights reserved.
//=============================================================================
using System;
using System.IO;
using System.Linq;
using System.Text;
using Tekly.Webster.Utility;
namespace T... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using GcpBlog.Application.Dtos;
using GcpBlog.Application.Handlers.Command;
using GcpBlog.Application.Handlers.Query;
using GcpBlog.Application.Requests;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFramewor... |
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2016 Dominik Reichl <dominik.reichl@t-online.de>
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 versio... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Sitko.Core.Storage.Metadata;
namespace Sitko.Core.Storage.Cache
{
public class InMemoryStorageCache<TStorageOptions> : BaseStorageCache<TStorageOptions,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Rocket_Elevators_Foundation_API.Models;
namespace Rocket_Elevators_Foundation_API.Controllers
{
[Ro... |
namespace EA.Iws.Requests.NotificationMovements
{
public enum MovementNumberStatus
{
Valid,
OutOfRange,
NotNew,
DoesNotExist
}
} |
using MailKit.Net.Smtp;
using MimeKit;
using SistemaCenagas.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SistemaCenagas
{
public static class ServicioEmail
{
public static string EMAIL_ADDRESS { get; set; }
public static st... |
using System.Collections.Generic;
using System.Management.Automation;
using System.Xml;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Spe.Commands.Interactive.Messages;
using Spe.Core.Validation;
namespace Spe.Commands.Interactive
{
[Cmdlet(VerbsLifecycle.Invoke, "ShellCommand")]
[OutputType(... |
using System;
using uTinyRipper.Classes.Misc;
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.AnimatorControllers
{
/// <summary>
/// HumanLayerConstant in previous versions
/// </summary>
public struct LayerConstant : IAssetReadable, IYAMLExportable
{
/// <summary>
/// 4.... |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Hub.Http
{
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Text;
public class MethodRequest
{
const int DeviceMethodDefaultResponseTimeoutInSeconds = 30;
byte[]... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Sensate.Views {
public class RecognitionResults {
public List<RecognitionResult> results { get; set; } = new List<RecognitionResult>();
}
public class RecognitionResult {
public string fname { get; set; }
public string generalLabe... |
using System.Threading.Tasks;
using Abp.BackgroundJobs;
using Shouldly;
using Xunit;
namespace Abp.Tests.BackgroundJobs
{
public class InMemoryBackgroundJobStore_Tests
{
private readonly InMemoryBackgroundJobStore _store;
public InMemoryBackgroundJobStore_Tests()
{
_store ... |
// In Package Manager, run:
// Install-Package Twilio.Mvc -DependencyVersion HighestMinor
using System.Web.Mvc;
using Twilio.Mvc;
using Twilio.TwiML;
using Twilio.TwiML.Mvc;
public class MmsHelloMonkey : TwilioController
{
[HttpPost]
public ActionResult Index(SmsRequest request)
{
var response = n... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form;
namespace Volo.Abp.... |
using CompanyStores.DAL.Interfaces.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CompanyStores.DAL.Models;
using CompanyStores.DAL.EntityFramework6.Infrastructure;
using System.Data.Entity;
namespace CompanyStores.DAL.... |
namespace Xeora.Web.Service.Context.Response
{
public class HttpResponseStatus : Basics.Context.Response.IHttpResponseStatus
{
private short _Code;
public HttpResponseStatus() =>
this.Code = 200;
public short Code
{
get => this._Code;
... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TodoApplication.Data;
using TodoApplication.Models;
using TodoApplication.Services;
using TodoApplication.Utilities.Loggers;
namespace TodoApplication.Controllers
{
public class TodoController : Con... |
using System;
using System.Linq;
using System.Text;
namespace BrawlLib.Internal
{
public static class StringExtension
{
public static bool Contains(this string source, char value)
{
return source.IndexOf(value) >= 0;
}
public static bool Contains(this string source... |
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Collector.AspnetCore.Proxy
{
public interface IProxyClient
{
Task<HttpResponseMessage> SendAsync(string uri, HttpRequest message, CancellationToken token = default);
}
} |
using System.Collections.Generic;
using System.IO;
using DiscUtils.Streams.Util;
namespace DiscUtils.Streams
{
/// <summary>
/// Base class for streams that wrap another stream.
/// </summary>
/// <remarks>
/// Provides the default implementation of methods & properties, so
/// wrapping st... |
using System.Collections.Generic;
using Primus.Toolbox.Beacon;
namespace PrimusSamples.BeaconEditor.Beacon
{
public class Red : BaseBeacon<TypeBcn>
{
private List<Green> _childrenGreen;
protected override void Awake()
{
base.Awake();
BiblionTitle = TypeBcn.RED;
... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.llvm
{
using System;
using static core;
public sealed class LlvmNm : To... |
namespace LpgExample.Ast
{
/**
* is always implemented by <b>ASTNodeToken</b>. It is also implemented by:
*<b>
*<ul>
*<li>name0
*<li>name1
*<li>name2
*<li>name3
*<li>name4
*<li>name5
*</ul>
*</b>
*/
public interface Iname : IASTNodeToken {}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdaptiveCards.Test
{
[TestClass]
public class AdaptiveSchemaVersionTests
{
[TestMethod]
public void OperatorTest... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DNA
{
List<int> genes = new List<int>();
int DNALength = 0;
int MaxValues = 0;
/// <summary>
/// Constructor for the class, sets basic values
/// </summary>
/// <param name="len"></param>
/// <... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WithoutHaste.Drawing.Colors;
namespace WithoutHaste.Windows.GUI
{
internal class SaturationValuePanel : Panel
{
public const int UNIT = 101;
... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Media;
using System.Timers;
using System.Runtime.InteropServices;
//using Un4seen.Bass;
//using Un4seen.Bass.AddOn;
//using Un4seen.Bass.AddOn.Tags;
namespace Yuri.PlatformC... |
using System;
using System.Linq;
using static System.Console;
namespace Alphabet
{
class Program
{
static void Main(string[] args)
{
char[] alphabet = "qwertyuiopasdfghjklzxcvbnm".ToCharArray();
string[] input = { "aas", "aasta", "year", "jahr", "god" };
st... |
using System;
using System.Collections.Generic;
using Mersy.Common.Entities;
using Mersy.Common.Models;
namespace Mersy.Web.Models
{
public class PlayViewModel
{
public List<LotterySaleItemView> Items { get; set; }
public LotterySale Sale { get; set; }
public string Lottery { get; set;... |
using Simplicity.DataContracts.Dtos;
using Simplicity.Entities;
using Simplicity.Repositories.RepositoryInterfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Simplicity.Repositories.Repositories
{
public class TicketsR... |
using Backend.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Backend.DAL
{
public interface IExtrasDAL
{
EXTRA obtenerExtra(int id_extra);
void agregarExtra(EXTRA extra);
void actualizarExtra(EXTRA ex... |
using System;
using System.Collections.Generic;
using System.Globalization;
using DiscordSupportBot.Models.BaseModels;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/*
{
"Error": null,
"Tickers": [
{
"PairId": 422,
"PairName": "BTC_IPS",
"Last": 0.000004000000000,
"LowPrice": 0.000002910000000,
"HighPrice"... |
using JiemyuDll.Entities;
using JiemyuDll.Entities.Jiemyu;
using JiemyuDll.Map;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jiemyu
{
class JiemyuAlphaInitializer
{
Dictionary<Stri... |
using System;
using System.Linq;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
namespace DucksBot.Commands
{
/// <summary>
/// This command is responsible for showing information about the specified user.
/// Nickname, Use... |
namespace StrumskaSlava.Middlewares
{
using Microsoft.AspNetCore.Builder;
using StrumskaSlava.Web.Middlewares;
public static class SeedAdminUserMiddlewareExtensions
{
public static IApplicationBuilder UseSeedAdminUserMiddleware(this IApplicationBuilder builder)
{
return bui... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DerConverter.Asn
{
public class DefaultDerAsnEncoder : IDerAsnEncoder
{
public virtual void Dispose() { }
public virtual IEnumerable<byte> Encode(DerAsnType asnType)
{
if (asnType == null) throw n... |
namespace Dadata.Model
{
public class FindAffiliatedRequest : SuggestRequest
{
public FindAffiliatedScope[] scope { get; set; }
public FindAffiliatedRequest(string query, int count = 10) : base(query, count) { }
}
public enum FindAffiliatedScope
{
MANAGERS,
FOUNDERS... |
using System;
namespace Mozu.Api.Events
{
public class Topics
{
public const string APPLICATIONDISABLED = "application.disabled";
public const string APPLICATIONENABLED = "application.enabled";
public const string APPLICATIONINSTALLED = "application.installed";
public const string APPLICATIONUNINSTALLED ... |
using System.IO;
using Macad.Test.Utils;
using Macad.Core.Shapes;
using NUnit.Framework;
namespace Macad.Test.Unit.Modeling.Modify
{
[TestFixture]
public class BooleanTests
{
const string _BasePath = @"Modeling\Modify\Boolean";
//-----------------------------------------------... |
using System;
namespace IntegrationCore
{
public static class ChatManager
{
public static Action<string, string> ChatAction { get; set; } = (s, s1) => { };
public static void SendColored(string message, string color)
{
ChatAction.Invoke(message, color);
}
}
} |
using System.Collections.Generic;
using UnityEngine;
public class RPGCraftingStation : ScriptableObject
{
public int ID = -1;
public string _name;
public string _fileName;
public string displayName;
public Sprite icon;
public float maxDistance;
[System.Serializable]
public class Craf... |
#region Copyright
// <copyright file="MvxViewModel.cs" company="Cirrious">
// (c) Copyright Cirrious. http://www.cirrious.com
// This source is subject to the Microsoft Public License (Ms-PL)
// Please see license.txt on http://opensource.org/licenses/ms-pl.html
// All other rights reserved.
// </copyright>
//
// Proj... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
public class PlayerChatSetup : MonoBehaviourPun
{
public Text namePrefab;
[HideInInspector] public Text nameLabel;
public Transform namePos;
[HideInInspector] public string textBoxNam... |
using System.Threading.Tasks;
using tusdotnet.Adapters;
using tusdotnet.Constants;
using tusdotnet.Interfaces;
using tusdotnet.Models;
using tusdotnet.Models.Concatenation;
using tusdotnet.Validation;
using tusdotnet.Validation.Requirements;
namespace tusdotnet.IntentHandlers
{
/*
* The Server MUST always inc... |
using DbLocalizationProvider.Abstractions;
namespace DbLocalizationProvider.Tests.TypeFactoryTests
{
public class SampleCommand : ICommand
{
public string Field { get; set; }
}
}
|
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace RingCentral.EngageDigital.SourceSdk.Models
{
[JsonConverter(typeof(StringEnumConverter))]
public enum Gender
{
[EnumMember(Value = "man")]
Man,
[EnumMember(Value = "woman")]
... |
using System;
using System.Text;
using System.Runtime.CompilerServices;
namespace Aardvark.Base
{
//# foreach (var isDouble in new[] { false, true }) {
//# var ft = isDouble ? "double" : "float";
//# var x2t = isDouble ? "2d" : "2f";
//# var x3t = isDouble ? "3d" : "3f";
//# var x4t = isDou... |
using CommonHelpers.Common;
namespace Demo.Uwp.ViewModels
{
public class HomeViewModel : ViewModelBase
{
public HomeViewModel()
{
}
}
}
|
using Xunit;
namespace ServerLibraryTests
{
public class DevicesTests
{
[Fact]
public void ToFile_IgnoresCertainProperties()
{
}
}
}
|
using System.Collections.Generic;
using Core.Architecture.vCPU.Converters;
using Core.Architecture.vCPU.Operations;
using Core.Components;
using Core.DTO;
using Core.Interfaces;
using Core.Services;
using FluentAssertions;
using NUnit.Framework;
namespace vCPUTests
{
[TestFixture]
public class OperationConver... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Ducode.Wolk.Api.Models.Notebooks;
using Ducode.Wolk.Application.Notebooks.Commands.CreateNotebook;
using Ducode.Wolk.Application.Notebooks.Commands.DeleteNotebook;
using Ducode.Wolk.Application.Notebooks.Commands.UpdateNotebook;
using Ducode.Wo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleApp.Models
{
public class Product
{
public string Name { get; set; }
public decimal? Price { get; set; }
}
public class ProductDataSource : IDataSource
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using RimWorld;
using System.Reflection;
using Harmony;
namespace Profiler
{
public class ProfilerWindow : EditWindow
{
private string currentProfileKey;
private Vector2 scroll... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Shared {
public class NetworkVector3 {
public float X { get; set; }
public float Y { get; set; }
public float Z { get; set; }
public NetworkVector3() {
}
public NetworkVector3(float x, f... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CienciaArgentina.Microservices.Entities.Models
{
public class BaseModel
{
public DateTime DateCreated { get; set; }
public DateTime? DateDeleted { get; set; }
public BaseModel()
{
DateCrea... |
using Retypeit.Scripts.Bindings.Ast;
namespace Retypeit.Scripts.Bindings.Interpreter
{
public interface IVisitor
{
object Visit(VariableNode node);
object Visit(ValueNode node);
object Visit(SubNode node);
object Visit(NotEqualNode node);
object Visit(MultiplyNode n... |
//using System;
//using System.Collections.Generic;
//using System.Diagnostics.CodeAnalysis;
//using System.Text;
//using Dhgms.Nucleotide.Features.SignalR;
//using Dhgms.Nucleotide.Generators;
//using Microsoft.CodeAnalysis;
//using Moq;
//using Xunit;
//namespace Dhgms.Nucleotide.UnitTests.Generators
//{
// [Exc... |
using System;
using Axis.Luna.Operation;
using Axis.Pollux.Common.Models;
using Axis.Pollux.Common.Utils;
using Axis.Pollux.Identity.Exceptions;
using ErrorCodes = Axis.Pollux.Common.Exceptions.ErrorCodes;
namespace Axis.Pollux.Identity.Contracts.Params
{
public class UserProfileRequestInfo : IValidatable
{
... |
static void Main(string[] args) {
ServerManager serverManager = new ServerManager();
Configuration config = serverManager.GetApplicationHostConfiguration();
ConfigurationSection section = config.GetSection("system.webServer/asp");
ConfigurationElement element = section.GetChildElemen... |
using Cinemachine;
using Fumbbl;
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
public class InputHandler : MonoBehaviour
{
public Camera Camera;
public Vector3 mouseSensitivity = new Vector3(1,1,1);
public Vector2 rotationSpeed = new Vector2(5, 5);
public GameObject CameraTarget;... |
namespace Template10.Services.Settings
{
public enum SettingsStrategies { Local, Roam, Temp }
}
|
using System;
using OpenTK;
namespace Minalear.Engine.Content.ModelLoader.LineParsers
{
internal class NormalLineParser : LineParserBase
{
public override string LinePrefix { get { return "vn"; } }
public override void ParseLine(ModelLoader loader, string line)
{
string[] ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BufferedEventArgs.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// ----------------------------... |
using CorePlatformCh12;
using Microsoft.Extensions.FileProviders;
using PlatformCh16;
var builder = WebApplication.CreateBuilder(args);
builder.Services.Configure<CookiePolicyOptions>(opts =>
{
opts.CheckConsentNeeded = context => true;
});
builder.Services.AddDistributedMemoryCache();
builder.Services.AddSessio... |
namespace OnionPattern.Domain.Configurations
{
public class LogLocationConfiguration
{
/// <summary>
/// Log location when in FileName Build Mode
/// </summary>
public string FileName { get; set; }
}
}
|
[Serializable]
public class PetNpcPetData // TypeDefIndex: 7403
{
// Fields
[SerializeField] // RVA: 0x1662D0 Offset: 0x1663D1 VA: 0x1662D0
public ActorID ActorID; // 0x10
[SerializeField] // RVA: 0x1662E0 Offset: 0x1663E1 VA: 0x1662E0
public MonsterDataID MonsterDataID1; // 0x14
[SerializeField] // RVA: 0x1662F0... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Windows.Forms;
namespace download_manager
{
public class FileDownload : IDownloader
{
public Stopwatch m_StopWatch;
public Queue<string> m_UrlQueue { get; set; }
Do... |
using System;
namespace AutomaticDataGeneration.Config
{
public class DarknetConfig
{
public DarknetConfig(string configPath, string weightPath, string namesPath)
{
ConfigPath = configPath ?? throw new ArgumentNullException(nameof(configPath));
WeightPath = weightPath ?... |
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Controls the HUD element showing the number of coins the player has.
/// </summary>
public class ThrowingAmmoMeter : MonoBehaviour {
private const float timeToFade = 3;
private Animator anim;
private Text coinCountText;
private float timeLas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using FubuCore.Reflection;
namespace FubuTestingSupport
{
public class EnumerablePersistenceCheck<T> : AccessorPersistenceCheck
{
public static EnumerablePersistenceCheck<T> For<TParent>(Expressi... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using OneSignalSDK_WP_WNS;
using RohBot.Converters;
using RohBot.Impl;
using RohBot.Impl.Packets;
namespace RohBot.Views
{
public se... |
using Epsilon.Logic.Entities;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration;
namespace Epsilon.Logic.SqlContext.Mapping
{
public class AdminAlertMap : EntityTypeConfiguration<AdminAlert>
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace RegistroVirtual.Attributes
{
public class SessionAuthorizeAttribute : AuthorizeAttribute
{
protected override bool AuthorizeCore(HttpContextBase httpContext)
{
retur... |
namespace AutoLotDAL2.Models
{
public class NewCar
{
public int CarID { get; set; }
public string Color { get; set; }
public string Make { get; set; }
public string PetName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibSVMsharp.Helpers
{
public enum SVMNormType
{
L1 = 1,
L2 = 2,
L3 = 3,
L4 = 4,
L5 = 5
}
p... |
using System;
namespace GoRogue
{
// TODO: Potentially a crapton more utility stuff to add here. Probably Get around to it closer
// to FOV/area of effect libs.
/// <summary>
/// Class representing different radius types. Similar in architecture to Coord in architecture
/// -- it cannot be instantiated. Instead ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dogevents.Core.Domain;
using Dogevents.Core.Helpers;
using Dogevents.Core.Services;
using Microsoft.AspNetCore.Mvc;
namespace Dogevents.Web.Areas.Administration.Controllers
{
[Area("Administration")]
public ... |
// <copyright file="KBInfoHelper.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.ListSearch.Common.Helpers
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Teams.Apps.ListSearch.Comm... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializati... |
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Crayon
{
/// <summary>
/// Defaults used across Crayon.
/// </summary>
public static class Defaults
{
public const float _duration = 0.8f;
public const Easing _easing = Easing.Linear;
public const string ... |
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 WeifenLuo.WinFormsUI.Docking;
namespace Alloclave
{
internal partial class Allocatio... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using BenchmarkDotNet.Running;
using Newtonsoft.Json;
using System;
using System.IO;
namespace Microsoft.Data.SqlC... |
using System;
using System.Collections.Generic;
using System.Linq;
using Ludeo.BingWallpaper.Model.Bing;
using Ludeo.BingWallpaper.Service.Bing;
namespace Ludeo.BingWallpaper.Model.Cache
{
internal static class Mapper
{
internal static IEnumerable<CachedImage> Map(ImageArchive wallpaperImageArchive) =>
wallpape... |
using AllegianceInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Wopr;
using Wopr.Constants;
using Wopr.Loadouts;
namespace Wopr.Strategies
{
public class ScoutExploreMap : StrategyBase
{
private ... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
//MIT, 2009, 2010, 2013-2016 by the Brotli Authors.
//MIT, 2017, brezza92 (C# port from original code, by hand)
namespace CSharpBrotli.Decode
{
public enum WordTransformType
{
IDENTITY,
OMIT_LAST_1,
OMIT_LAST_2,
OMIT_LAST_3,
OMIT_LAST_4,
OMIT_LAST_5,
OMI... |
using System;
using DtronixMessageQueue.TcpSocket;
namespace DtronixMessageQueue
{
/// <summary>
/// Event args used when a session is closed.
/// </summary>
/// <typeparam name="TSession">Session type for this connection.</typeparam>
/// <typeparam name="TConfig">Configuration for this connection... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Xin.AQS
{
public interface IAQIResult
{
/// <summary>
/// 空气质量指数
/// </summary>
int? AQI { get; set; }
string PrimaryPollutant { get; set; }
string Type { get; set; }... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Mortgage.Data.Entity
{
public class Prospect
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key, Column(Order = 0)]
public int Id { get; set; }
[St... |
using LuaInterface;
using System;
public class LuaInterface_LuaOutWrap
{
public static void Register(LuaState L)
{
L.BeginPreLoad();
L.RegFunction("tolua.out", LuaOpen_ToLua_Out);
L.EndPreLoad();
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int LuaOpen_To... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.EntityFrameworkCore.TestModels.ManyToManyFieldsModel
{
public class JoinThreeToCompositeKeyFull
{
public Guid Id;
public i... |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Models;
using Xunit;
namespace OmniSharp.Tests
{
public class LinePositionSpanTextChangeFacts
{
[Fact]
public async Task ExtendsTextChangeAtStart()
{
var workspace = await Tes... |
namespace GameLogic.AI.ActivityCreation
{
using ActionLoop;
using Entities;
using GridRelated;
using Navigation;
using Osnowa.Osnowa.Example;
using Osnowa.Osnowa.Fov;
using Osnowa.Osnowa.Grid;
using Osnowa.Osnowa.Rng;
using UI;
public interface IActivityCreationContext
{
INavigator Navigator { get; }
I... |
using System;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ZhimaMerchantOrderCreditModifyModel Data Structure.
/// </summary>
[Serializable]
public class ZhimaMerchantOrderCreditModifyModel : AlipayObject
{
... |
using System;
using Autofac;
using RP_Server_Scripts.Database.Properties;
using RP_Server_Scripts.Logging;
namespace RP_Server_Scripts.Database
{
internal class DatabaseInitialization : IStartable
{
private readonly ILogger _Log;
public DatabaseInitialization(ILoggerFactory loggerFactory)
... |
using Microsoft.Extensions.DependencyInjection;
using SharpVk.Generator.Pipeline;
using System.Collections.Generic;
using System.Linq;
namespace SharpVk.Generator.Collation
{
public class ExtensionCollator
: IWorker
{
private readonly IEnumerable<ExtensionInfo> extensions;
public Exte... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using supermarket.Domain.Services.Communication;
using supermarket.Models;
namespace supermarket.Domain.Services
{
public interface ICategoryService
{
Task<IEnumerable<Category>> ListAsync();
Task<SaveCategoryRespons... |
using log4net;
using Sitecore.Diagnostics;
using System;
namespace JLS.Foundation.Logging
{
public static class SmartDeleteLogger
{
private static readonly ILog _logger = LogManager.GetLogger("JLSFoundationLogger");
public static void Debug(string message)
{
Assert.Argumen... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
using System.Collections.ObjectModel;
using Commandos.Model.Characters;
using Commandos.Model.EnemyActions;
using Commandos.Model.Map;
using CommandosMissionEditor.Helpers;
namespace CommandosMissionEditor.ViewModels
{
public class AddEnemyRouteViewModel : AddItemViewModelBase<EnemyRoute>
{
public ove... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.