content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
namespace Identity.Api.Application.Configuration
{
public class EmailConfig
{
public string ApiKey { get; set; }
public string FromEmail { get; set; }
public string From { get; set; }
public string ConfirmUrl { get; set; }
public enum T... |
using MyDownloader.App;
namespace MyDownloader.Core.UI
{
public class AppManager
{
private AppManager()
{
}
private static AppManager instance = new AppManager();
public static AppManager Instance
{
get { return instance; }
}
privat... |
using System;
namespace WaveDev.ModelR.Shared.Models
{
public class SceneObjectInfoModel
{
public SceneObjectInfoModel(Guid id, Guid sceneId)
{
Id = id;
SceneId = sceneId;
}
public Guid Id { get; set; }
public Guid SceneId { get; set; }
... |
using Microsoft.Xna.Framework.Graphics;
using Terraria.ID;
using Terraria.ModLoader;
namespace ExampleMod.Tiles.Trees
{
public class ExamplePalmTree : ModPalmTree
{
public override Texture2D GetTexture() => ModContent.GetTexture("ExampleMod/Tiles/Trees/ExamplePalmTree");
public override Texture2D GetTopTexture... |
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.JsonSystem;
using Kingmaker.UnitLogic.Abilities;
using Kingmaker.UnitLogic.Abilities.Components.Base;
namespace TabletopTweaks.NewComponents {
[TypeId("e797289b00ee463d886561ad79c2ad4f")]
public class AbilityRequirementHasResource : BlueprintComponent, IA... |
namespace AdventOfCode.Year2016;
public class Day06 : Puzzle
{
private readonly string[] _messages;
public Day06(string[] input) : base(input)
{
_messages = input;
}
public override DateTime Date => new DateTime(2016, 12, 6);
public override string Title => "Signals and Noise";
public override string? Calc... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ResgateIO.Service
{
/// <summary>
/// Static action values.
/// </summary>
public static class ResAction
{
/// <summary>
/// Delete action is used with model change events when a property has been deleted from ... |
using RxApp;
using System;
using System.Reactive.Linq;
namespace RxApp.Example
{
public static class MainControllerService
{
public static IDisposable Create(IMainControllerModel model)
{
return model.OpenPage.Select(_ =>
new MainModel()).InvokeCommand(model.... |
using UnityEngine;
using System.Collections;
using System;
public class StereoCamera : MonoBehaviour {
Camera cameraMain, cameraL, cameraR;
float eyeLFOVUpTan, eyeLFOVDownTan, eyeLFOVLeftTan, eyeLFOVRightTan;
float eyeRFOVUpTan, eyeRFOVDownTan, eyeRFOVLeftTan, eyeRFOVRightTan;
const float DEG2RAD = (... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Senai.Filmes.WebApi.Domains;
using Senai.Filmes.WebApi.Repository;
namespace Senai.Filmes.WebApi.Controllers
{
[Produces("application/json")]
... |
using apigerence.Models;
using apigerence.Models.Context;
using System.Collections.Generic;
using System.Linq;
namespace apigerence.Repository
{
public class TurmaRepository : ITurma
{
private readonly MySqlContext _context;
public TurmaRepository(MySqlContext context) => _context = context;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Text;
namespace S... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AzureDevOps.DataIngestor.Sdk.Entities
{
[Table("VssProject")]
public class VssProjectEntity : VssBaseEntity
{
[Key]
public Guid ProjectId { get; set; }
public s... |
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
ViewData["Title"] = @Localizer["TaskBoards"];
}
<h2>@ViewData["Title"]</h2>
<div id="gn-taskManageBoardsContainer">
<!-- Board List Template -->
<script type="text/html" id="gn-taskBoardList">
<h4 class... |
// Copyright (c) the authors of nanoGames. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root.
namespace NanoGames.Games.NanoSoccer
{
internal interface Circle
{
Vector Position { get; set; }
double Radius { get; }
Vector Velocity { get; set; ... |
@{
ViewData["Title"] = "Getting started";
}
@section LeftNav
{
<nav>
<h4 class="govuk-heading-s">Setup guides</h4>
<p class="govuk-body">some options</p>
<h4 class="govuk-heading-s">How to guides</h4>
<p class="govuk-body">some options</p>
</nav>
}
<main id="main-... |
using SongProcessor.Models;
namespace SongProcessor.Gatherers;
public interface IAnimeGatherer
{
string Name { get; }
Task<IAnimeBase> GetAsync(int id, GatherOptions options);
} |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace Kooboo.Lib.Helper
{
public static class DateTimeHelper
{
... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("CHG.Extensions.Security.Txt.Tests")]
|
using System;
public partial class Tester
{
public void TestEnhancedInterpolatedStrings()
{
//var s0 = "hallo\";
var s1 = @"hallo\";
var s2 = $"Hello to {s1}";
var s3 = $@"Hello \ {s2}";
var s4 = $@"Hello \ {s2}";
Console.WriteLine(s1);
Console.Writ... |
/* ---------------------------------------
* Author: Martin Pane (martintayx@gmail.com) (@tayx94)
* Collaborators: Lars Aalbertsen (@Rockylars)
* Project: Graphy - Ultimate Stats Monitor
* Date: 05-Dec-17
* Studio: Tayx
*
* This project is released under the MIT license.
... |
using GeminiLab.Glos;
using GeminiLab.XUnitTester.Gliep.Misc;
using Xunit;
namespace GeminiLab.XUnitTester.Gliep.Glos {
public class Exceptions : GlosTestBase {
[Fact]
public void BadBranch() {
var fun = Builder.AddFunctionRaw(new[] {
(byte)GlosOp.BS,
(by... |
namespace FF12RNGHelper.Core
{
/// <summary>
/// The StealRngHelper contains the necessary logic
/// to calculate and predict the outcome of stealing.
/// </summary>
public class StealRngHelper : BaseRngHelper
{
#region privates
private StealFutureRng _futureRng;
#endr... |
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
namespace HT.Framework.AssetBundleEditor
{
/// <summary>
/// 资源文件
/// </summary>
public sealed class AssetFileInfo : AssetInfoBase
{
/// <summary>
/// 文件类型
/// </summary>
public Type... |
// *** 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;
namespace Interaction {
public class ColliderInteractor : MonoBehaviour, IInteractor
{
public GameObject source => gameObject;
public Selector selector;
bool _isEnabled;
public bool isEnabled {
... |
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
public class ThirdPersonCameraController : MonoBehaviour
{
[SerializeField] float rotationSpeed = 10f;
[SerializeField] Transform target;
Player player = null;
bool isCameraInverted = false;
float mouseX, mouseY;
priva... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Conllu.Extensions;
namespace Conllu
{
public static class ConlluParser
{
/// <summary>
/// Read and parse a CoNLL-U file
/// </summary>
/// <param name="filePath">The path to the file to r... |
using System;
using DefensiveProgrammingFramework;
namespace DefensiveProgrammingFramework
{
/// <summary>
/// The then extensions methods.
/// </summary>
public static class ThenExtensions
{
#region Public Methods
/// <summary>
/// Executes the specified action when the c... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CommunityAssociationManager.Shared.Models
{
public class CommunityProperty
{
[Key]
public long Id { get; set; }
public uint OwnerId { get; set; }
public virtual Community Owner { get; set... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ResourceText : MonoBehaviour {
public GameManager gm;
public int ResourceType = 0;
private Text t;
// Use this for initialization
void Start () {
t = gameObject.GetComponent<Text>();
}
// Update is called once pe... |
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddAuthorization();
var app = builder.Build();
var loggerFactory = app.Services.GetRequiredService<ILoggerFactory>();
var logger = loggerFactory.CreateLogger<Program>();
app.UseRouting();
app.Use((context, next) =>... |
namespace BinanceAPI.Objects
{
/// <summary>
/// The result of an operation
/// </summary>
public class CallResult
{
/// <summary>
/// An error if the call didn't succeed, will always be filled if Success = false
/// </summary>
public Error? Error { get; internal set... |
using System;
using NUnit.Framework;
namespace FastGraph.Tests.Structures
{
/// <summary>
/// Tests for <see cref="SReversedEdge{TVertex,TEdge}"/>.
///</summary>
[TestFixture]
internal sealed class SReversedEdgeTests : EdgeTestsBase
{
[Test]
public void Construction()
{... |
namespace LetsGraph.Model.Base
{
/// <summary>
/// The types of relation.
/// </summary>
public enum RelationType
{
Contains
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Macrocosm.Models
{
/// <summary>
/// redis 相关model
/// </summary>
public class RedisKeyModel
{
public string Id { get; set; }
public string Value { get; set; }
}
publi... |
using System;
using System.Collections.Generic;
namespace N.EntityFramework.Extensions
{
internal class BulkInsertResult<T>
{
internal int RowsAffected { get; set; }
internal Dictionary<long, T> EntityMap { get; set; }
}
} |
using System;
using System.Linq;
using System.Text.RegularExpressions;
using NetMicro.Http;
namespace NetMicro.Routing
{
public class Route : IRoute, IMiddleware
{
private static readonly Regex ParamRegex = new Regex(@":(?<name>[A-Za-z0-9_]*)", RegexOptions.Compiled);
private readonly RouteFunc... |
using FluentAssertions;
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Testing;
using System;
using System.Collections.Generic;
using System.Linq;
using TickTock.Core.Extensions;
using TickTock.Core.Jobs;
using TickTock.Gate.Modules;
using Xunit;
namespace TickTock.Gate.Tests.Modules
{
[Collection("Nancy")]
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Extensions.Hosting;
using SampleService.Contracts;
namespace SampleService
{
public class CheckTheTimeService :
IHostedService
{
public IPublishEndpoint PublishEndpoint { get; }
public... |
using System;
namespace Magnesium.Vulkan
{
internal enum VkComponentSwizzle : uint
{
ComponentSwizzleIdentity = 0,
ComponentSwizzleZero = 1,
ComponentSwizzleOne = 2,
ComponentSwizzleR = 3,
ComponentSwizzleG = 4,
ComponentSwizzleB = 5,
ComponentSwizzleA = 6,
}
}
|
//----------------------------------------------//
// Gamelogic Grids //
// http://www.gamelogic.co.za //
// Copyright (c) 2013 Gamelogic (Pty) Ltd //
//----------------------------------------------//
namespace Gamelogic.Grids
{
/**
Indicates that a gr... |
/*
* 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 may... |
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.RPC.Eth.DTOs
{
public class ContractTransactionVO
{
public ContractTransactionVO(string contractAddress, string code, Transaction transaction)
{
ContractAddress = contractAddress;
Code = code;
Trans... |
using UnityEngine;
/// <summary>
/// Component responsible for timing the player on an individual match level,
/// for passing flame from one match to the next, and signaling losses and
/// wins for each player.
/// </summary>
public class MatchBurnComponent : MonoBehaviour
{
[Tooltip("Rate at which match head shrin... |
using System;
class AAttribute : Attribute
{
public string Value;
public AAttribute (string s)
{
Value = s;
}
}
[A (value)]
class MainClass
{
const string value = null;
public static int Main ()
{
var attr = typeof (MainClass).GetCustomAttributes (false) [0] as AAttribute;
if (attr.Value != null)
... |
/*
* Util.cs
* Copyright (c) 2006 David Astle
*
* 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, mod... |
using System;
namespace CK.MQTT.Sdk.Packets
{
internal class UnsubscribeAck : IFlowPacket, IEquatable<UnsubscribeAck>
{
public UnsubscribeAck( ushort packetId )
{
PacketId = packetId;
}
public MqttPacketType Type => MqttPacketType.UnsubscribeAck;
public ush... |
using System.ComponentModel;
using System.Windows;
namespace XTool.ViewModels
{
public class Module : INotifyPropertyChanged
{
//public IDataService DataService { get; set; }
//protected virtual string ModuleKey
//{
// get { return this.GetType().Name.CamelToKebab(); }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class MainMenu : MonoBehaviour
{
public GameObject creditsPanel;
public GameObject howToPlayPanel;
public void Play()
{
EventManager.TriggerEvent(Statics... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace gtest2html
{
public class XmlToHtml
{
#region Public Properties
/// <summary>
/// Output directory information.
/// </... |
using Octokit;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IssueCreator.Models
{
public class IssueMilestone
{
public int? Number { get; set; }
public string Title { get; set; }
public DateTimeOffset? DueOn { get; set; }
public Issue... |
using UnityEngine;
using UnityEngine.UI;
public class StartUI : MonoBehaviour
{
public Text gameTitleText;
public Text madeByText;
void Start()
{
bool isGameOver = PlayerPrefs.GetInt("GameOver") == 1 ? true : false;
if (isGameOver)
{
gameTitleText.text = "Game Over!"... |
using System.ComponentModel;
using Autofac;
using NSubstitute;
using OpenTracker.Models.Dropdowns;
using OpenTracker.Models.Requirements;
using OpenTracker.Models.SaveLoad;
using OpenTracker.Models.UndoRedo.Dropdowns;
using Xunit;
namespace OpenTracker.UnitTests.Models.Dropdowns
{
public class DropdownTests
{
... |
namespace WebServer.Server.Handlers
{
using System;
using Server.HTTP.Contarcts;
public class GETHandler : RequestHandler
{
public GETHandler(Func<IHttpContext, IHttpResponse> func)
: base(func)
{
}
}
}
|
using System.Collections.Generic;
namespace HouseofCat.Models.General
{
public class Stacky
{
public string ExceptionType { get; set; }
public string Method { get; set; }
public string FileName { get; set; }
public int Line { get; set; }
public List<string> StackLines {... |
using System.Diagnostics;
namespace BeeSharp.Types
{
public record Phantom<T, TPhantomTrait>
{
private readonly T value;
public Phantom(T value)
{
this.value = value;
}
public static implicit operator T(Phantom<T, TPhantomTrait> phantom)
=> pha... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace BankoChecker
{
public class CardLine
{
public CardLine(string line, HashSet<int> numbersToCheck)
{
var lineNumbers = line.Split(',');
foreach (var number in lineNumbers)
... |
using NPOI.Util;
using System;
using System.Text;
namespace NPOI.HSSF.Record.Chart
{
/// * The dat record is used to store options for the chart.
/// * NOTE: This source is automatically generated please do not modify this file. Either subclass or
/// * Remove the record in src/records/definitions.
///
///... |
namespace MercadoPagoCore.Resource.Payment
{
/// <summary>
/// Tax.
/// </summary>
public class PaymentTax
{
/// <summary>
/// Tax type.
/// </summary>
public string Type { get; set; }
/// <summary>
/// Tax value.
/// </summary>
public... |
[ComVisibleAttribute] // RVA: 0xB0FF0 Offset: 0xB10F1 VA: 0xB0FF0
public class SoapAttribute : Attribute // TypeDefIndex: 1183
{
// Fields
private bool _useAttribute; // 0x10
protected string ProtXmlNamespace; // 0x18
protected object ReflectInfo; // 0x20
// Properties
public virtual bool UseAttribute { get; }
... |
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Orchestrators
{
public class FiltersCookieManager : IFiltersCookieManager
{
private readonly ICookieStorageService<Apprenticeshi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SortingSprite : MonoBehaviour
{
int depthSort;
List<SpriteRenderer> sprites;
Transform pivot;
// Use this for initialization
private void Start()
{
sprites = new List<SpriteRenderer>();
... |
using System;
using System.Collections.Generic;
namespace ExamTerm3
{
interface IChatMediator
{
void SendMessage(User sender, User receiver, string message);
void ReceiveMessage(User sender, User receiver, string message);
void BroadcastMessage(User sender, List<User> receivers, string m... |
using System;
using System.IO;
using OpenQA.Selenium.Chrome;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace Unit_Tests
{
[TestClass]
class Login_RegisterTest
{
private string url = "https://localhost:443... |
using System;
namespace Harmony
{
public interface IHarmonyConfiguration
{
TimeSpan SynchronisationInterval { get; set; }
int PastWeeksToSynchronise { get; }
int FutureWeeksToSynchronise { get; }
}
} |
using Android.App;
using Android.Content;
using Android.Widget;
namespace Toggl.Droid.Widgets
{
[Service(Permission = Android.Manifest.Permission.BindRemoteviews)]
public sealed class SuggestionsWidgetService : RemoteViewsService
{
public override IRemoteViewsFactory OnGetViewFactory(Intent intent)... |
namespace SIData
{
public interface IAppSettingsCore
{
}
}
|
using System.Collections.Generic;
using Verse;
namespace Spotted
{
class ConfigDef : Def
{
private List<string> args = new List<string>();
public List<string> GetArgs()
{
return args;
}
}
}
|
using System.Runtime.InteropServices;
namespace EnvDTE
{
public interface DTEEvents : _DTEEvents, _dispDTEEvents_Event
{
}
}
|
using System.IO;
using STAN_Database;
using ProtoBuf;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
using System;
namespace STAN_PrePost
{
public class Functions
{
public string Between(string s, string start, string end)
{
int pF... |
using FluentAssertions;
using Xunit;
namespace CSharpFunctionalExtensions.Tests.ResultTests.Extensions
{
public class TapAsyncRight : TapTestsBase
{
[Theory]
[InlineData(true)]
[InlineData(false)]
public void Tap_AsyncRight_executes_action_on_result_success_and_returns_self(boo... |
/* © 2020 Ivan Pointer
MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE
Source on GitHub: https://github.com/ivanpointer/NuLog */
using FakeItEasy;
using NuLog.Configuration;
using NuLog.LogEvents;
using NuLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit... |
namespace CarpgLobby.Api.Model
{
public class Change
{
public ChangeType Type { get; set; }
public Server Server { get; set; }
public int ServerID { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using Newtonsoft.Json;
public class TensorboardManager : MonoBehaviour {
//http://localhost:6006/data/plugin/scalars/scalars?run=BatchSize-inc1-run0&tag=Info/cumulative_reward
public string ... |
using System;
using UnityEngine;
public class PlayerCostume : MonoBehaviour
{
public Profile profile;
public string[] mountPaths;
void Start()
{
profile.OnItemAdded.AddListener(OnProfileItemAdded);
profile.OnItemRemoved.AddListener(OnProfileItemRemoved);
profile.OnRevert.AddLis... |
namespace YukoBot.Models.Web
{
public class MessageCollectionItemWeb
{
public ulong ChannelId { get; set; }
public ulong MessageId { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[DisallowMultipleComponent, DefaultExecutionOrder(-1)]
public class TimeManager : MonoBehaviour, IExecutable
{
public static TimeManager Instance;
private float m_InitialFixedDeltaTime;
private float m_GameSpeed;
public... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BlockchainAppAPI.Models.Search
{
[Table("SearchObject", Schema="Search")]
public class... |
using ChaarrRescueMission.Properties;
using System.Collections.Generic;
using System.Linq;
namespace ChaarrRescueMission.Model.Entity.Filtering
{
class EventFiltering
{
/// <summary>
/// Filters events lists and deletes from them unnessecery events.
/// </summary>
public static... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace AccessibilityInsights.SharedUx.Controls.Cu... |
using System.Collections.Immutable;
using EagleSabi.Coordinator.Domain.Context.Round.Enums;
using EagleSabi.Infrastructure.Common.Abstractions.EventSourcing.Models;
using NBitcoin;
using WalletWasabi.Crypto;
using WalletWasabi.WabiSabi.Crypto;
using WalletWasabi.WabiSabi.Models.MultipartyTransaction;
namespace EagleSa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CreateBullets : MonoBehaviour {
public GameObject bullet;
public float shotsPerSeconds;
public float shotDelay;
Transform bulletPoint;
Transform player;
float shotCounter;
bool hasWaited = false;
... |
using CLUNL.Data.Convertors;
using System;
using System.Text;
namespace CLUNL.Data.Layer0.Buffers
{
/// <summary>
/// A buffer that allows to directly write any primitive data and will auto convert them.
/// </summary>
public class TypeDataBuffer
{
/// <summary>
/// Core byte buffe... |
class Auu1gMpGu_LJpXyUTPbUjxvE
{
private float NI4qViu5IB3gH = 0.0f;
public bool xWjryPbKNYChlhNiZxuTyxyP1vHgb = false;
public double M2MCG_7QZZUz3wpNYeJHTOQVXrkjuKNt_R = 0.0;
private bool iLswNIzLFCbdlXkoxp5z4Sq = false;
string xPqzMpv1yoF6Z = null;
int rdza3mRu1xyHi0YNjhd4ThYzA5r6FvwSlwUHvC... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ETModel;
using Google.Protobuf.Collections;
namespace ETHotfix
{
public static class FriendsCircleSystem
{
//申请加入亲友圈
public static async Task ApplyJoinFriendsCircle(this FriendsCircle friendsCi... |
using BasicClassLibrary.BaseClasses;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Reflection;
namespace WPFTestApp.ViewModel
{
public class StatusBarViewModel : NotifyDataErrorInfoDataAnnotations
{
static StatusBarViewModel()
... |
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Particles.Profiles
{
public abstract class Profile //: ICloneable
{
public enum CircleRadiation
{
None,
In,
Out
}
protected FastRandom Random { get; } = new FastRandom();
pu... |
namespace Millarow.Arithmetic.Internal
{
internal sealed class DecimalArithmetic : Arithmetic<decimal>
{
public override decimal Add(decimal a, decimal b) => a + b;
public override decimal Subtract(decimal a, decimal b) => a - b;
public override decimal Divide(decimal value, decimal d... |
namespace Producer.Domain
{
public enum UserRoles
{
General,
Insider,
Producer,
Admin
}
public static class UserRolesExtensions
{
public static string Claim (this UserRoles role) => role.ToString ().ToLower ();
public static UserRoles FromClaim (string claim)
{
if (!string.IsNullOrEmpty (claim)... |
using System;
using UnityEngine;
using System.Collections.Generic;
#if UNITY_EDITOR
[ExecuteInEditMode()]
#endif
public class AutoLayoutElement:MonoBehaviour {
// Delegates
protected delegate void SimpleAction();
// Events
protected event SimpleAction OnShouldApplyLayout;
// Properties
private List<GameObje... |
/*
* 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;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DeanAndSons.Models.IMS.ViewModels
{
public class StaffManagerEditViewModel
{
public string... |
using Microsoft.Azure.Synapse.Models;
namespace Microsoft.Azure.Commands.Synapse.Models
{
public class PSSparkServicePluginInformation
{
public PSSparkServicePluginInformation(SparkServicePluginInformation pluginInfo)
{
this.PreparationStartedAt = pluginInfo?.PreparationSta... |
/**
* $File: JCS_TweenPathAction.cs $
* $Date: 2020-04-02 19:06:04 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright © 2020 by Shen, Jen-Chieh $
*/
using System.Collections.Generic;
using UnityEngine;
namespace JC... |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using VenmoForSlack.Database.Models;
namespace VenmoForSlack.Database
{
public class MongoDatabase
{
private readonly ILogger logger;
private IMongoDatabase database;
private IMongo... |
<ul id="nav">
<li class="nav-section">
<div class="nav-section-header empty"><a href="<?cs var:toroot ?>preview/overview.html"
es-lang="Información general del programa"
in-lang="Ikhtisar Program"
ja-lang="プログラム概要"
ko-lang="프로그램 개요"
pt-br-lang="Visão geral do programa"
ru-lang="Обзор программы"... |
using System.Data;
namespace WebJobDemo.Core.Data
{
public interface ITransactionFactory
{
IDbTransaction Create(IDbConnection connection);
IDbTransaction Create(IDbConnection connection, IsolationLevel isolationLevel);
}
}
|
using System;
namespace MyToolkit.MachineLearning.WinRT.Utilities
{
class BoundNumbers
{
public const double MinValue = -1.0E20;
public const double MaxValue = 1.0E20;
public static double Bound(double d)
{
if (d < MinValue)
return MinValue;
... |
namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common
{
public class SchemaTemplateResource : APITemplateSubResource
{
public SchemaTemplateProperties properties { get; set; }
}
public class SchemaTemplateProperties
{
public string contentType { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.