text stringlengths 1 932k |
|---|
/*
SimionZoo: A framework for online model-free Reinforcement Learning on continuous
control problems
Copyright (c) 2016 SimionSoft. https://github.com/simionsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... |
using BBI.Core.Utility.FixedPoint;
using BBI.Game.Data;
namespace Subsystem.Wrappers
{
public class PeelOutAttributesWrapper : PeelOutAttributes
{
public PeelOutAttributesWrapper(PeelOutAttributes other)
{
UsePeelOut = other.UsePeelOut;
PeelOutRegion = other.PeelOutRegion;
DoOppositeTurn = other.DoOppo... |
using System.Drawing;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Windows.Forms;
using Windows.Foundation;
using Windows.UI.ViewManagement;
using ImageProcessor.Imaging;
using ImageProcessor.Plugins.WebP.Imaging.Formats;
using Size = System.Drawing.Size;
namespace GogGalaxy20M... |
using Microsoft.AspNetCore.Http;
using Ocelot.Configuration;
using System;
namespace Ocelot.RateLimit
{
public class ClientRateLimitProcessor
{
private readonly IRateLimitCounterHandler _counterHandler;
private readonly RateLimitCore _core;
public ClientRateLimitProcessor(IRateLimitCo... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
namespace Rika
{
public static class Nemesis
{
public static byte[] Decompress(string sourceFilePath)
{
using (FileStream input = File.OpenRead(sourceFilePath))
{
... |
using Newtonsoft.Json;
namespace Sdk4me
{
public class Team : BaseItem
{
private Person configurationManager;
private Person coordinator;
private bool disabled;
private string inboundEmailLocalPart;
private Person manager;
private string name;
private st... |
using System.Windows.Controls;
namespace TLCGen.Views
{
/// <summary>
/// Interaction logic for FasenDetailsView.xaml
/// </summary>
public partial class FasenDetailsTabView : UserControl
{
public FasenDetailsTabView()
{
InitializeComponent();
}
}
} |
using System;
using Pizzeria;
using Thrift.Protocol;
using Thrift.Transport;
namespace ThriftClients
{
public class PizzeriaCallbackClient : BaseClient<Pizzeria.PizzeriaCallback.ISync>
{
public Pizzeria.PizzeriaCallback.ISync Impl { get; private set; }
public PizzeriaCallbackClient(string s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Services.Common.LinqUtils
{
public static class LinqExtensions
{
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSou... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CrowdAnalyzer.Models
{
public class EmotionDistribution
{
public int Anger { get; set; }
public int Contempt { get; set; }
public int Disgust { get; set; }
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
public partial class LoginScopes : IUtf8JsonSeria... |
@page
@model ChangePasswordModel
@{
ViewData["Title"] = "Change password";
}
@await this.Html.PartialAsync("_NavProfile")
<div class="row justify-content-center">
<form id="change-password-form" method="post" class="col-md-4 col-md-offset-4">
<h2>Change password</h2>
<hr />
<div asp-v... |
// 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.Collections.Generic;
namespace Microsoft.TemplateEngine.Edge.Template
{
[Obsolete("IFilteredTemplateInfo is obsolete")]
public class FilteredTempl... |
using System.Reflection;
namespace SolidSoft.AMFCore.Invocation
{
/// <summary>
/// This type supports the AMFCore infrastructure and is not intended to be used directly from your code.
/// </summary>
public interface IInvocationResultHandler
{
/// <summary>
/// This method supports the AMFCore i... |
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 d3ssignalr.Provi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace Yad2.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <summary>
... |
using System;
namespace Harry.Performance
{
public interface ICollector
{
}
} |
using SURFnet.Authentication.Adfs.Plugin.Setup.PS;
using SURFnet.Authentication.Adfs.Plugin.Setup.Versions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SURFnet.Authentication.Adfs.Plugin.Setup.Models
{
public class AdfsConfiguration... |
using System;
using System.Reflection;
using System.Windows.Forms;
using System.Security.Policy;
public class Form1: Form
{
protected Assembly myAssembly;
protected void Method()
{
// <Snippet1>
Hash hash = new Hash ( myAssembly );
Byte[] hashcode = hash.MD5;
// </Snippet1>
}
} |
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
//https://docs.unity3d.com/Manual/SL-BuiltinFunctions.html
using System;
using UnityEngine;
namespace AmplifyShaderEditor
{
[Serializable]
public class HelperParentNode : ParentNode
{
[SerializeField]
... |
using System;
using SDK.GameState;
using UniRx;
using Unity.Collections;
using UnityEngine;
namespace Gameplay
{
public class GameStateNavigator : MonoBehaviour, IGameStateNavigator
{
private ReactiveProperty<bool> menuShownState = new(false);
private ReactiveProperty<bool> levelPlayingState = ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----... |
namespace mana.fs.elf
{
public struct ElfSegment
{
public ElfSegmentType Type;
public uint Offset;
public uint VirtualAddress;
public uint PhysicalAddress;
public uint FileSize;
public uint MemorySize;
public ElfSegmentFlags Flags;
public u... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#pragma warning disable SA1649 // File name must mat... |
@model AD419.DataHelper.Web.Models.FfySfnEntry
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>204/20x Project Mapping</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Chart)
</dt>
... |
// 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.Threading;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Runtime.Internal.Utilities... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace Brickred.Exchange.Compiler
{
using EnumItemType = ProtocolDescriptor.EnumDef.ItemType;
using EnumMapItemType = ProtocolDescriptor.EnumMapDef.ItemType;
using FieldType = Protoc... |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace Requestrr.WebApi.Requestrr.Notifications
{
public class MovieNotificationsRepository
{
private class Notification
{
public string UserId { get; }
public int MovieId ... |
using System.Reflection;
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("03BarracksFactory")]
[assembly: AssemblyDe... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Net.Http.Headers
{
/// <summary>An <see cref="ICollection{T}"/> list that ... |
namespace API.Exceptions
{
public class UserExistsException : ExceptionBase
{
public override ErrorCode Code => ErrorCode.UserExists;
}
} |
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace Exercism.CSharp.Input
{
public class CanonicalDataParser
{
private readonly CanonicalDataFile _canonicalDataFile;
public CanonicalDataParser(CanonicalDataFile canonicalDataFile) => _canonicalDataFile = canonicalDataFile;
... |
using Magenic.Maqs.BaseDatabaseTest;
using Magenic.Maqs.BaseSeleniumTest;
using Magenic.Maqs.BaseWebServiceTest;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Models;
using System;
using System.Data;
using System.Linq;
namespace Tests
{
/// <summary>
/// Composite Selenium test class
/// </sum... |
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CreateAssetMenu(fileName = "Questline", menuName = "Quests/Questline")]
public class QuestlineSO : SerializableScriptableObject
{
[SerializeField]
private int _idQuestLine = 0;
[Tooltip("The collection of Quests composing the Questline")]
[S... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace TeamBrookvale.UI
{
public class StatusBarModel : IStatusBarModel
{
[Inject]
public IRoutineRunner routineRunner {get;set;}
List<string> messages = new List<string>();
public float statusBarToggledTime {get;set;}
pu... |
using BlazorDualMode.Shared;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorDualMode.Server.Controllers
{
[Route("api/[controller]")]
public class SampleDataController : Controller
{
private static st... |
using Difi.Felles.Utility.Validation;
using Xunit;
namespace Difi.Felles.Utility.Tester.Validation
{
public class XmlValidationRunnerTests
{
public class ConstructorMethod : XmlValidationRunnerTests
{
[Fact]
public void SimpleInitialization()
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>JeryPlat项目后台模板系统登陆 - @ViewBag.Title</title>
</head>
<body>
@Html.AntiForgeryToken()
@RenderBody()
</body>
</html> |
using System;
using System.Diagnostics.CodeAnalysis;
namespace FlubuCore.Tasks.Solution.VSSolutionBrowsing
{
/// <summary>
/// Contains information about a specific VisualStudio project type.
/// </summary>
public class VSProjectType : IEquatable<VSProjectType>
{
/// <summary>
/// I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace zwg_china.model.manager
{
/// <summary>
/// 聊天信息的管理者对象
/// </summary>
public class ImMessageManager: ManagerBase<IModelToDbContextOfIm, ImMessageManager.Actions, ImMessage>
{
#region 构造方法
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Reflection;
using System.Text;
using FakeSmtp.Models;
namespace FakeSmtp.Repositories
{
public class MessageRepository
{
public static List<Email> GetReceivedEmails()
{
return MvcApplicati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exte... |
using Microsoft.AI.MachineLearning;
using Microsoft.AI.MachineLearning.Experimental;
namespace WinMLSamplesGallery.Samples
{
public static class TensorizationModels {
enum OnnxDataType : long {
UNDEFINED = 0,
// Basic types.
FLOAT = 1,
UINT8 = 2,
... |
using Nethereum.UI.Core.Model;
using Nethereum.UI.Core.Services;
using System.Collections.Generic;
using TraderWallet.UI.Core.Resources;
using TraderWallet.UI.Core.ViewModels;
namespace TraderWallet.UI.Core.Services
{
public class HomeMenuService : IHomeMenuService
{
public List<ShellMenuItem> GetMenu... |
// <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 Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using PhotoOraganiser.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PhotoOrganiser
{
internal class ProgramWorkflow
{
private readonly IFolderActions _iFolderActions;
... |
/*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
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 ... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.IO;
using System.Text;
using Cosmos.Optionals;
using Jil;
/*
* Reference to:
* Mutuduxf/Zaabee.Serializers
* Author: Mutuduxf
* Url: https://github.com/Mutuduxf/Zaabee.Serializers
* MIT
*/
namespace Cosmos.Serialization.Json.Jil
{
/// <summary>
... |
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
namespace KetoPal.Identity.Controllers
{
public class SetLanguageController : Controller
{
public IActionResult Index()
{
return View();
}
[HttpP... |
version https://git-lfs.github.com/spec/v1
oid sha256:cf14f7020b077b75d4d42e9acaeca1b13270252df83ef6818943d1b25272841f
size 505 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Xml;
namespace TiledCS
{
/// <summary>
/// Represents a Tiled tileset
/// </summary>
public class TiledTileset
{
/// <summary>
/// The Tiled version used to create this tileset
... |
/***************************************************************************
* TaskStatusChangedInfo.cs
*
* Copyright (C) 2008 Michael C. Urbanski
* Written by Mike Urbanski <michael.c.urbanski@gmail.com>
****************************************************************************/
/* THIS FILE IS LICENSED UN... |
using Silk.NET.Maths;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace MeshSimpler.Core
{
[StructLayout(LayoutKind.Sequential, Pack = 16)]
struct Material
{
// Note: vec3 and ... |
using System.Linq;
namespace GroupDocs.Viewer.Cli.Common.Parameters
{
/// <summary>
/// Resource file format for external resource file - for HTML with external resources rendering.
/// </summary>
public class ResourceFileFormatParameter : StringParameter
{
public ResourceFileFormatParamet... |
// <copyright file="ActivityExporter.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bounciness : MonoBehaviour
{
public float bounciness = 1f;
} |
// <copyright file="AdaptiveSubmitActionData.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Scrum.Models
{
using Microsoft.Bot.Schema;
using Newtonsoft.Json;
/// <summary>
/// Defines Teams-specific behavior for an adaptive car... |
/******************************************************************************
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install... |
using System;
using System.Linq;
using MessageRouter.BusinessLogic;
using MessageRouter.Infrastructure;
using MessageRouter.Models;
namespace MessageRouter.Fluent
{
public static class MessageRouterExtensions
{
#region Subscription
public static IMessageRouter RegisterSubscriber<T>(this IMess... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace HoloToolkit.Unity.InputModule
{
/// <summary>
/// Class imple... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.Peering
{
using System;
using System.Collections.Generic;
using System.Linq;
interna... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace BaroqueUI
{
public delegate float GetPriorityDelegate(Controller controller);
public delegate void ControllerEvent(Controller controller);
public delegate void ControllersUpdateEvent(Controller[] controllers);
public delegat... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Arbor.Build.Core.BuildVariables;
using Arbor.Build.Core.ProcessUtils;
using Arbor.Build.Core.T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace qdata_demo.Pages
{
public class PrivacyModel : PageModel
{
private readonly ILogger<... |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Globalization;
using Microsoft.PowerFx.Core.Types.Enums;
namespace Microsoft.PowerFx.Core
{
/// <summary>
/// A container that allows for compiler customization.
/// </summary>
public sealed class PowerFxConfig
... |
using Newtonsoft.Json;
namespace XF40Demo.Models
{
public enum TemperatureScale
{
Celsius,
Fahrenheit
}
public class TemperatureSensorData : SensorData
{
private double _average;
[JsonProperty(PropertyName = "av")]
public override double Average
{
... |
using System.Linq;
using System.Collections.Generic;
using WindBot.Game.AI;
using YGOSharp.OCGWrapper.Enums;
namespace WindBot.Game
{
public enum LogLevel : int
{
Info,
Debug,
Error
}
public class GameAI
{
public Duel Duel { get; private set; }
public Execut... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.IdentityFramework;
using Abp... |
using System.ComponentModel.DataAnnotations;
namespace MyABPSite.Users.Dto
{
public class ChangePasswordDto
{
[Required]
public string CurrentPassword { get; set; }
[Required]
public string NewPassword { get; set; }
}
} |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace OpenVIII.Core.World
{
class wmset
{
private const ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.... |
// Copyright (C) 2016-2022 The Neo Project.
//
// The neo-vm is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DesignPatternsExercise.CreationalPatterns.Builder
{
[TestClass]
public class BuilderTest
{
[TestMethod]
public void TestProduction()
{
var builder = new ConcreteBuilder();
var foo =... |
using System;
using System.Collections.Generic;
using System.Linq;
using com.github.javaparser.ast;
using com.github.javaparser.ast.body;
using JavaToCSharp.Expressions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace JavaToCSharp.Declarations
{
public class FieldDeclara... |
using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Electron;
using WebSharpJs.DOM;
//namespace Clipper
//{
public class Startup
{
static WebSharpJs.NodeJS.Console console;
/// <summary>
/// Default entry into managed code.
/// </summary>
... |
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System.IO;
namespace bs
{
/** @addtogroup Utility
* ... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace OWinTokenAuth.Areas.HelpPage.ModelDescriptions
{
internal static class ModelNameHelper
{
// Modify this to provide custom model name mapping.
public static string GetModelName(Type type)
{
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JobHub.JobSearch.Contracts;
using Microsoft.Extensions.Logging;
using RestSharp;
using RestSharp.Extensions;
using Volo.Abp;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Json... |
using System.Collections.Generic;
namespace AutoRest.Php.PhpBuilder.Expressions
{
public sealed class StringConst : Expression0
{
public string Value { get; }
public StringConst(string value)
{
Value = value;
}
public override IEnumerable<string> ToCodeTex... |
namespace ScottLane.DataTidy.Client.Forms
{
partial class SampleDataViewer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
///... |
// <auto-generated />
#pragma warning disable 1570, 1591
using System;
using Microsoft.ML.Probabilistic;
using Microsoft.ML.Probabilistic.Distributions;
using Microsoft.ML.Probabilistic.Factors;
namespace Models
{
/// <summary>
/// Generated algorithm for performing inference.
/// </summary>
/// <remarks>
/// If... |
// Copyright 2020 The Tilt Brush Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... |
// SpecialFunctions.cs
//
// Class containing special functions that we need in other code.
//
// (C) Datasim Education BV 2010
//
using System;
public class SpecialFunctions
{
//////////// Gaussian functions /////////////////////////////////
static public double n(double x)
{
double A = 1.0 ... |
using System;
namespace IF.Models.TokenAuth
{
public class AuthenticateResultModel
{
/// <summary>
/// 身份令牌 请在请求头传入(前面加Bearer)
/// </summary>
public string AccessToken { get; set; }
/// <summary>
/// 加密访问令牌
/// </summary>
public string Encrypted... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... |
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Linq;
public class Tools {
/// <summary>
/// Return Type object by sstring in forms: "Full.Class.Name" or "Assemb... |
using System.Collections.Generic;
using ESFA.DC.ILR.FundingService.FM36.FundingOutput.Model.Output;
using SFA.DAS.Payments.EarningEvents.Messages.Events;
namespace SFA.DAS.Payments.EarningEvents.Application.Interfaces
{
public interface IEarningEventMapper
{
IEnumerable<ApprenticeshipContractType2Earn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using JetBrains.Annotations;
using Orchard.Logging;
namespace Contrib.Taxonomies.Routing {
[UsedImplicitly]
public class TaxonomySlugConstraint : ITaxonomySlugConstraint {
/// <summary>
... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Entry = System.Collections.Generic.Dictionary<string, object>;
namespace Simple.OData.Client.Tests.FluentApi;
public class InsertTests : TestBase
{
[Fact]
public async Task Insert()
{
var ... |
using System.Reflection;
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("EventCentric.Heartbeating")]
[assembly: A... |
using Microsoft.Extensions.Logging;
using Polly;
using Polly.Retry;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using RabbitMQ.Client.Exceptions;
using System;
using System.IO;
using System.Net.Sockets;
namespace Exadel.CrazyPrice.Services.Bus.EventBusRabbitMQ
{
public class DefaultRabbitMQPersistentConn... |
namespace TNBCSurvey.Areas.HelpPage
{
/// <summary>
/// Indicates whether the sample is used for request or response
/// </summary>
public enum SampleDirection
{
Request = 0,
Response
}
} |
using System;
using UnityEngine;
public class ShenNiuSkill01MoveUnit : MonoBehaviour
{
private float mLiveTime;
private void Awake()
{
}
private void Start()
{
this.mLiveTime = 0f;
}
private void Update()
{
this.mLiveTime += Time.deltaTime;
}
private void OnTriggerEnter(Collider col)
{
if (this.m... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.Core;
using Microsoft.Identity.Client.Http;
using Microsoft.Identity.Client.Instance.Discovery;... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.