text stringlengths 1 932k |
|---|
using Microsoft.Azure;
using System;
using System.Configuration;
using static InRule.CICD.Helpers.IHelper;
namespace InRule.CICD.Helpers
{
public class SettingsManager
{
public static string Get(string settingName)
{
var isCloudRaw = ConfigurationManager.AppSettings["IsCloudBased"]... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Extensions.Logging;
namespace Microsoft.Diagnostics.Tools.DiagnosticsServerRouter
{
internal class ADBCommandExec
{
public static bool AdbAddPortForward(in... |
using System.Threading.Tasks;
using System;
using System.Net.Sockets;
namespace Renci.SshNet.Channels
{
/// <summary>
/// Implements "direct-tcpip" SSH channel.
/// </summary>
internal partial class ChannelDirectTcpip
{
partial void ExecuteThread(Action action)
{
Task.... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RimrockMVC.Data;
namespace RimrockMVC.Migrations
{
[DbContext(typeof(RimrockDBContext))]
... |
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.ap... |
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Ser... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class CheckPoint : MonoBehaviour
{
public Transform spawnPoint;
public Transform trigger;
public Vector3 spawnPointPosition;
public Vector3 triggerPosition;
private Vector3 currentSpawnPositi... |
using System.Threading;
using System.Threading.Tasks;
namespace Motorsports.Scaffolding.Core.Models.Validators.Delete {
public class DisallowDeleteInGeneralValidator
: IDeleteValidator<Sport>,
IDeleteValidator<Venue>,
IDeleteValidator<Team>,
IDeleteValidator<Participant> {
public Task<Vali... |
using System;
using NDarrayLib;
namespace DiamondLump.Optimizers
{
public class SGD<U> : IOptimizer<U>
{
public SGD(float lr = 0.01f, float momentum = 0.0f)
{
this.lr = lr;
this.momentum = momentum;
}
readonly float lr, momentum;
public string N... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace CwispyStudios.FingerprintTrainer.UI
{
using FingerprintAnnotation;
public class AnnotationTools : MonoBehaviour
{
private Dictionary<DetailType, Detail> annotationTools = new Dictionary<DetailType, Detail>();
private void Awa... |
using System;
using System.Collections.Generic;
namespace FactoryFactory.Impl
{
public class ServiceTracker : IServiceTracker
{
private LinkedList<IDisposable> _services = new LinkedList<IDisposable>();
private bool _disposing;
public void Track(IDisposable service)
{
... |
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using DryIocAttributes;
using Medium.Core.Interfaces;
using ReactiveUI;
namespace Medium.Core.ViewModels
{
[Reuse(ReuseType.Transient)]
[ExportEx(typeof(ErrorAuthViewModel))]
public sealed class ErrorAuthVi... |
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Employee_skill_map
{
public class ERPEmployee_skill_map : ERPNextObjectBase
{
public ERPEmployee_skill_map() : this(new ERPObject(Doc... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associadas a um assembly.
[assembly: AssemblyTitle("GitSyncSe... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WF... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Xml.Schema;
namespace System.Xml.Serialization
{
/// <devdoc>
/// <para>[To be supplied.]</para>
///... |
using System.ComponentModel;
namespace EncompassRest.Loans.Enums
{
/// <summary>
/// LiabilityMortgageType
/// </summary>
public enum LiabilityMortgageType
{
/// <summary>
/// Conventional
/// </summary>
Conventional = 0,
/// <summary>
/// FHA
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuackTwitter
{
public class TwitterLanguage
{
[JsonProperty("code")]
public string Code { get; private set; }
[JsonProperty("name")]
public string Name { get; ... |
namespace SpaceInvaders {
partial class SinglePlayerForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using System.Text.RegularExpressions;
using Fluid.Values;
namespace Fluid.Filters
{
public static class MiscFilters
{
private static readonly Regex HtmlCaseRegex =
new Regex(
"(?<... |
namespace Pitago.Constants
{
public static class Info
{
/// <summary>
/// Link to the newest version txt on Github
/// </summary>
public const string NewestVersionUrl =
#if BETA
"https://raw.githubusercontent.com/help-14/pitago/main/version/beta.txt";
#else
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CompareCharArrays
{
class CompareCharArrays
{
static void Main(string[] args)
{
char[] arr1 = Console.ReadLine().Split().Select(char.Parse).ToArray();
... |
using System;
using System.Collections.Generic;
using Hertzole.ALE.CodeGen.Helpers;
using MessagePack;
using MessagePack.Formatters;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;
using UnityEngine;
namespace Hertzole.ALE.CodeGen
{
public class ResolverProcessor
{
private readonly List<(TypeRefer... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.0
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert... |
// Copyright (c) 2008 Vesa Tuomiaro
//
// 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, modify,
// merge, publis... |
using System;
namespace Lucene.Net.Search.Suggest.Analyzing
{
/// <summary>
/// LUCENENET specific type for specifying <see cref="AnalyzingSuggester"/>
/// and <see cref="FuzzySuggester"/> options.
/// </summary>
[Flags]
public enum SuggesterOptions
{
/// <summary>
/// Al... |
/*
Copyright (C) 2014-2016 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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 3 of the License, or
(at your option) any late... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SharedLibraryCore.Database;
namespace SharedLibraryCore.Migrations
{
[DbCo... |
using System.Collections;
using UnityEngine;
public class SpawnManager : MonoBehaviour
{
[SerializeField] private GameObject _enemyPrefab;
[SerializeField] private GameObject _enemyContainer;
[SerializeField] private GameObject _powerUpContainer;
[SerializeField] private GameObject[] pow... |
using System.Collections.Generic;
using System.ServiceProcess;
using System.Text;
namespace ChatServiceServer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main()
{
ServiceBase[] ServicesToRun;... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Sultanlar.WUI
{
public class Program
{
... |
using Microsoft.AspNet.SignalR;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Chat_Messenger.Hubs
{
public class CommonBridge : Hub
{
public static ConcurrentDictionary<string, List<string>> ConnectedUsers = new ConcurrentDictionary<string, List<string>>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IKfoot : MonoBehaviour
{
public Animator anim;
public Transform footl, footr,spine;
public float ikforce = 0.7f;
// Start is called before the first frame update
void Start()
{
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Hellmade.Sound;
public class AudioManager : MonoBehaviour
{
#region Singleton
private static AudioManager _instance;
public static AudioManager Instance
{
get {
return _instance;
}
}
... |
namespace DragonSpark.Testing.Model.Selection;
public interface IInSelect<TIn, out TOut>
{
TOut Get(in TIn parameter);
} |
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using System.Collections.ObjectModel
@using WebApiBankAccount.Areas.HelpPage.Models
@model Collection<ApiDescription>
@{
ViewBag.Title = "ASP.NET Web API Help Page";
// Group APIs by controller
ILookup<HttpContro... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Ploeh.AutoFixture.Idioms;
using Ploeh.AutoFixture.Kernel;
using Ploeh.TestTypeFoundation;
using Xunit;
using Xunit.Extensions;
using System.Collections.ObjectModel;
namespace Ploeh.AutoFixture.I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQ_Examples
{
class Program
{
#region Class Definitions
public class Customer
{
public string First { get; set; }
public string Last {... |
using GeekSchool.Entity;
using Sago.Framework.Universal.Library.Common.Utility;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Windows.Networking.BackgroundTransfer;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.... |
//
// AIInstaller.cs
// ProductName Ling
//
// Created by toshiki sakamoto on 2020.08.13
//
using Zenject;
namespace Ling.AI
{
public class AIInstaller : MonoInstaller
{
public override void InstallBindings()
{
Container
.Bind<AIManager>()
.FromComponentInHierarchy()
.AsSingle();
Container
... |
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace SujaySarma.Sdk.WikipediaApi.SerializationObjects
{
/// <summary>
/// Result structure for <see cref="Feed.FeedClient.GetEvents(Feed.FeedEventType, DateTime)"/>
/// </summary>
public class OnThisDayResult
... |
namespace Vipps.Login
{
public static class VippsScopes
{
public const string ApiV2 = "api_version_2";
public const string OpenId = "openid";
public const string Name = "name";
public const string Email = "email";
public const string Address = "address";
public c... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using NUnit.Framework;
using ServiceStack.Text.Json;
#if !MONOTOUCH
using ServiceStack.Common.Tests.Models;
#endif
namespace ServiceStack.Text.Tests.JsonTests
{
[TestFixture]
public class BasicJsonTests
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioManager : MonoBehaviour
{
public static AudioManager instance;
public Sound[] sounds;
void Awake()
{
if (instance == null)
instance = this;
else
Destroy(gameObject)... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBehaviorGraphStackSnapshot : CObject
{
[Ordinal(1)] [RED("instanceSnapshots", 2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using ActoresWS;
public partial class Controles_Busquedabeneficiario : System.Web.UI.UserControl
{
#region Variables miembro
private TipoCons... |
using UnityEditor.AnimatedValues;
using UnityEngine;
using UnityEngine.Events;
namespace KamranWali.SimpleInterface.Editor.Layouts
{
public class RandomScaleLayout : BaseLayout
{
private float _randomScaleMin;
private float _randomScaleMax;
private AnimBool _randomScaleGroup;
pr... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
namespace WebSite
{
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
var settings = new FriendlyUrlSettings(... |
using DjvuNet.Wavelet;
namespace DjvuNet.DataChunks
{
public interface IPM44Chunk
{
ChunkType ChunkType { get; }
IInterWavePixelMap Image { get; }
IInterWavePixelMap ProgressiveDecodeBackground(IInterWavePixelMap pixelMap);
void ReadData(IDjvuReader reader);
}
} |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
// ===========================================================
// Copyright (C) 2014-2015 Kendar.org
//
// 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... |
using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// For a social data hub activity, this value represents the type of social action associated with the activity (e.g. vote, comment, +1, etc.).
/// </summary>
[Description("For a social data hub activity, this value represents the ty... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using KLib;
namespace protocol
{
public class PackageTranslator
{
public byte[] Encode(BaseProtocolVO vo)
{
var binWriter = new ProtocolBinaryWriter(new MemoryStream());
binWriter.Write... |
using System.Threading.Tasks;
using Shouldly;
using Volo.Abp.Identity;
using Xunit;
namespace SyncfusionSample.Samples
{
/* This is just an example test class.
* Normally, you don't test code of the modules you are using
* (like IdentityUserManager here).
* Only test your own domain services.
... |
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using FluentValidation.Results;
using Penrose.Core.Exceptions;
namespace Penrose.Application.Extensions
{
public static class AbstractValidatorExtensions
{
public static async Task ValidateRequest<T>(
this Abstra... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
namespace Accelerider.Windows.Modules.NetDisk.Constants
{
public static class ConfigureKeys
{
public const string DownloadDirectory = "downloadDirectory";
public const string NotDisplayDownloadDialog = "notDisplayDownloadDialog";
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Threading.Tasks;
using Xunit;
namespace System.Threading.Tests
{
public class AutoResetEventTests
{
private const int FailedWaitTimeout = 30000;
... |
namespace Thrift.Net.Compilation.Symbols
{
using static Thrift.Net.Antlr.ThriftParser;
/// <summary>
/// Represents a namespace statement.
/// </summary>
public interface INamespace : ISymbol<NamespaceStatementContext, IDocument>
{
/// <summary>
/// Gets the scope of the namespa... |
@{
ViewData["Title"] = "Inbox";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using System.Security.Claims
@model IEnumerable<OttoMail.Models.Message>
<div class="container-fluid">
<h2>Text Messages</h2>
@Html.ActionLink("Compose Text Message", "Compose")
<ul class="list-unstyled">
@for... |
using scalus.Dto;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Disposables;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
namespace scalus.UrlParser
{
abstract class ParserBase : IUrlParser
{
pro... |
using System;
using R5T.Richmond;
namespace R5T.Derby
{
public static class ApplicationBuilderExtensions
{
public static IServiceProvider GetApplicationConfigurationConfigurationServiceProvider(this ApplicationBuilder applicationBuilder)
{
var applicationConfigurationConfiguratio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class admin_Registrationfee : System.Web.UI.Page
{
BLL b = new BLL();
BAL bl = new BAL();
protected void Page_Init(Object sender, EventArgs e)
{
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using literature.inventory.Models;
using literature.inventory.Services;
using System;
using System.Linq;
namespace literature.inventory.Controllers
{
[Route("api/publishers")]
[ApiController]
public class PublisherController : ControllerBase
{
... |
using System;
using UnityEngine;
namespace MiniIT.Utils
{
public class AdvertisingIdFetcher
{
public static void RequestAdvertisingId(Action<string> callback)
{
new AdvertisingIdFetcher().DoRequestAdvertisingId(callback);
}
private Action<string> mCallback;
private void DoRequestAdvertisingId(Act... |
using Android.Content;
using Android.Util;
using Android.Views;
using DialogMessaging;
using MvvmCross.Platforms.Android.Binding.Binders;
namespace Sample.MvvmCross.Droid.Binding
{
public class ViewBinder : MvxAndroidViewBinder
{
public override void BindView(View view, Context context, IAttributeSet ... |
@model ZeNerd.DAL.Context.TipoDomicilio
@{
ViewBag.Title = "Edit";
Layout = "~/Views/Shared/_LayoutCrud.cshtml";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>TipoDomicilio</h4>
<hr />
@Html.ValidationSummary(true... |
using System.Collections.Generic;
using System.Linq;
using VisioAutomation.Shapes;
using VisioAutomation.ShapeSheet;
using IVisio = Microsoft.Office.Interop.Visio;
namespace VisioScripting.Commands
{
public class CustomPropertyCommands : CommandSet
{
internal CustomPropertyCommands(Client client) :
... |
namespace Unlimitedinf.Fileserve.Tools
{
using BCrypt.Net;
using System;
/// <summary>
/// Contains various static methods to handle passwords.
/// </summary>
internal static class Password
{
/// <summary>
/// Using BCrypt, hash a user's password. Work factor of 12.
... |
// 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//--------------------------------------------------------------... |
using NetCoreUtils.Text.String;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace NetCoreUtils.XunitTest
{
public class ShortGuidTests
{
private readonly ITestOutputHelper output;
public ShortGuidTests(ITestOutputHelper output) ... |
using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Xna.Framework.Graphics;
using MiniEngine.Configuration;
using Serilog;
namespace MiniEngine.Graphics.Effects
{
[Content]
public abstract class EffectWrapper : IDisposable
{
private readonly ILogger Logger;
private Eff... |
using System;
using TransitFeed.DataAccess.Converters;
using Newtonsoft.Json;
using TransitFeed.DataAccess.Models.Enumerations;
namespace TransitFeed.DataLoader.Models
{
public class TransitFeedServiceCalendarException
{
public string ServiceId { get; set; }
public DateTimeOffset Date { get; set; }
public Cale... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
namespace Models.Asteroids
{
public class OrbitClass
{
public string orbit_class_type { get; set; }
public string orbit_class_description { get; set; }
public string orbit_class_range { get; set; }
}
} |
using DN.WebApi.Application.Common.Interfaces;
using DN.WebApi.Application.Wrapper;
using DN.WebApi.Shared.DTOs.Identity;
namespace DN.WebApi.Application.Identity.Interfaces;
public interface ITokenService : ITransientService
{
Task<IResult<TokenResponse>> GetTokenAsync(TokenRequest request, string ipAddress);
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace SoftGym.Data.Migrations
{
public partial class RemoveBaseType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine.Native... |
namespace Negwork.WebApi.Models.UserModels
{
using System.ComponentModel.DataAnnotations;
using Common.Constants;
public class UserUpdateRequestModel
{
[Required]
public string UserName { get; set; }
[MinLength(ModelConstants.MIN_USER_FIRSTNAME_LENGTH,
ErrorMessag... |
namespace Foundation.Hub256.Seawar
{
struct Ship
{
public Coordinates Start;
public Coordinates End;
public ShipOrientation Orientation
{
get
{
ShipOrientation o = ShipOrientation.Unknown;
if (Start.Y == End.Y)
... |
// =========================================================================
// Copyright 2019 EPAM Systems, Inc.
//
// 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.... |
namespace Airport.WebApi.Extensions
{
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using Swashbuckle.AspNetCore.Swagger;
public static cl... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using App.Providers;
u... |
using System;
using System.Collections.Generic;
using System.Text;
using NewLife.Security;
using NewLife.Serialization;
using NewLife.Web;
using Stardust.Models;
using Xunit;
namespace ClientTest
{
public class TokenModelTests
{
[Fact]
public void Test1()
{
var model = new ... |
/*
* 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 you under the Apache License, Version 2.0 (the
* "License"); you ... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.NodejsTools.SourceMapping;
us... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
// ---------------------------------------------------------------------------------------
// ILGPU
// Copyright (c) 2016-2020 Marcel Koester
// www.ilgpu.net
//
// File: TypeExtensions.cs
//
// This file is part of ILGPU ... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.Versioning;
namespace OdinPlugs.OdinMvcCore.OdinRoute
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true... |
namespace BaSta.Core
{
/// <summary>
/// Interface for task objects with a separate process.
/// </summary>
public interface IProcessTask
{
/// <summary>
/// Gets or sets a value indicating whether this instance is enabled and should be initialized.
/// </summary>
//... |
/*
* Copyright (c) 2015 Nathaniel Wallace
*
* 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, modify, merge, ... |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
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;
using Syste... |
using System.Collections.Generic;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using Verse;
namespace Desynchronized.Patches.News_Sold
{
[HarmonyPatch(typeof(TransportPodsArrivalAction_GiveGift))]
[HarmonyPatch("Arrived", MethodType.Normal)]
public class PreFix_TPAAGG_ArrivedActions
{
... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using Mistrzowi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.