text stringlengths 1 932k |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Storage.Common;
using Azure.Storage.Queues.Models;
namespace A... |
#region File Description
//-----------------------------------------------------------------------------
// PlayerWriter.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
... |
using System;
using MediatR;
using SFA.DAS.ASK.Application.Services.DfeApi;
using SFA.DAS.ASK.Application.Services.ReferenceData;
using SFA.DAS.ASK.Data.Entities;
namespace SFA.DAS.ASK.Application.Handlers.RequestSupport.AddNonDfeSignInInformation
{
public class AddNonDfESignInInformationCommand : IRequest<TempSup... |
using UnityEngine;
using System.Collections;
// taken from https://gist.github.com/ftvs/5822103
public class CameraShakeScript : MonoBehaviour
{
// Transform of the camera to shake. Grabs the gameObject's transform
// if null.
public Transform camTransform;
// How long the object should shake for.
public float... |
using System;
namespace ZLibrary.Machine.Opcodes._2OP
{
public class SET_COLOR : Opcode
{
public SET_COLOR(ZMachine aMachine)
: base(aMachine)
{
Name = "2OP:0x1B set_colour foreground background";
}
public override void Execute(ushort aForeground, ushor... |
using Microsoft.AspNetCore.Http;
namespace ToDo.API.Services.Implementations
{
public class CookieService : ICookieService
{
private readonly IRequestCookieCollection _requestCookies;
private readonly IResponseCookies _responseCookies;
public CookieService(IHttpContextAccessor httpCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace RestWithDotNet5.Controllers
{
[ApiController]
[Route("[controller]")]
public class CalculatorController : ControllerBase
{
private readonly ILogger<C... |
using Alabo.App.Share.TaskExecutes.Domain.Services;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Extensions;
using Xunit;
namespace Alabo.Test.Open.Tasks.Configs.Area
{
/// <summary>
/// 请登录网站http://test.5ug.com 手动添加条相关的记录
/// </summary>
public class ProvinceShareModuleTests : BaseSha... |
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com)
using System;
using System.Linq;
using System.Text;
using System.Transactions;
using NUnit.Framework;
using Shaolinq.Tests.TestModel;
namespace Shaolinq.Tests
{
[TestFixture("MySql")]
[TestFixture("Postgres")]
[TestFixture("Postgres.DotConnect")]
[Tes... |
// Copyright (c) .NET Foundation. 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.Globalization;
namespace Microsoft.EntityFrameworkCore
{
/// <summary>
/// <para>
/// A unique ident... |
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<link href="lib/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
<script src="lib/jquery/dist/jquery.js"></script>
<script src="lib/bootstrap/dist/js/bootstrap.js"></script>
<style>
.form-control.form-control-custom {
width: 36%;
... |
using System;
using System.Diagnostics;
using System.Threading;
namespace Anet
{
/// <summary>
/// 类似 Twitter Snowflake(41 + 10 + 12) 算法的 Id 生成器。
/// 格式:{32 位时间戳, 0-10 位机器码, 0-20 位递增系列号}。
/// 注意:程序启动前请确保系统时间正确。
/// </summary>
public partial class IdGen
{
public const byte DefaultMa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Samples
{
public partial class TextAnalyticsSamples
{
[Test]
public async Task ExtractKeyPhrasesA... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace System.Text.... |
using System.Threading.Tasks;
namespace PackDB.FileSystem.OS
{
public interface IFile
{
Task<IStream> OpenWrite(string path);
Task<IStream> OpenRead(string path);
Task<bool> Exists(string path);
Task Delete(string path);
Task Move(string path, string destination);
}... |
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("td... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Nohros.Collections
{
/// <summary>
/// A recursive data storage class optimized for the namely storing a hierarchical
/// tree of simple <see cref="Values"/>.
/// <remarks>
/// This class specifies a recurs... |
using System;
using System.IO;
namespace DFSTraverseFoldersAndFiles
{
internal class Program
{
static void Main(string[] args)
{
//TraverseDirDFS(@"C:\Windows\assembly");
}
private static void TraverseDirDFS(DirectoryInfo dir, string spaces)
{
C... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace InAsync.Tests {
public partial class StringConvertTest {
[TestMethod]
public void ToHexString_Test() {
foreach (var item in ToHexString_TestSource) {
if (!Ass... |
using StoreManager.Infrastructure.Identity.Models;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Store... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 la... |
namespace Catel.Services
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class ShimDispatcherService : IDispatcherService
{
public void BeginInvoke(Action action, bool onlyBeginInvokeWhenNoAccess = true)
{
action();
}
public... |
using System;
using System.Collections.Generic;
using Esfa.Recruit.Vacancies.Client.Domain.Entities;
using Esfa.Recruit.Vacancies.Client.Infrastructure.QueryStore.Projections.EditVacancyInfo;
using Address = Esfa.Recruit.Vacancies.Client.Domain.Entities.Address;
namespace Esfa.Recruit.Employer.UnitTests.Employer.Web.... |
// 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 ... |
#region License
// Copyright (c) 2021 Peter Šulek / ScaleHQ Solutions s.r.o.
//
// 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 r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using FinalDBproject.DAL;
namespace FinalDBproject
{
public partial class chatadmin : System.Web.UI.Page
{
String ee;
protected void Pag... |
using System;
namespace Org.BouncyCastle.Asn1
{
internal class ConstructedDLEncoding
: IAsn1Encoding
{
private readonly int m_tagClass;
private readonly int m_tagNo;
private readonly IAsn1Encoding[] m_contentsElements;
private readonly int m_contentsLength;
int... |
/*
* AFI Optimizer API
*
* Allow clients to fetch Analytics through APIs.
*
* The version of the OpenAPI document: v3
* Contact: analytics.api.support@factset.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
... |
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("Rep... |
using System;
using UnivIntel.PostgreSQL.ORM.Core.Attributes;
namespace UnivIntel.GBN.Core.DataAccess.Entities
{
[PgsDataTable("Locations")]
public class MapLocation
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Company { get; set; }
public G... |
using System.Text.Json.Serialization;
namespace Test262Harness.TestSuite.Generator;
public class TestSuiteGeneratorOptions
{
public string SuiteGitSha { get; set; } = "";
public string SuiteDirectory { get; set; } = "";
[JsonIgnore]
public TestFramework TestFramework { get; set; } = TestFramework.NUn... |
using Moq;
using NUnit.Framework;
using Parser.Common.Contracts;
using Parser.Common.Factories;
using Parser.Common.Tests.Mocks;
namespace Parser.Common.Tests.ModelsTests.CombatStatisticsContainerTests
{
[TestFixture]
public class CurrentCombatStatisticsSet_Should
{
//[Test]
//public void... |
// *** 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.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.T... |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Pql.Engine.Interfaces.Internal
{
[DataContract]
public class DataContainerStats
{
[DataMember]
protected Dictionary<int, int> DocumentCounts;
public DataContainerStats()
{
OnDeseria... |
using System.Threading.Tasks;
using deniszykov.CommandLine.Annotations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace deniszykov.CommandLine.Hosted.Example
{
internal class Program
{
private static async Task Main(string[] args)
{
await CreateHostBuilder(args).... |
using System;
namespace CruiseManager.Core.ViewModel
{
public interface INavigationService
{
void NavigateTo(Type view);
void NavigateTo<T>() where T : IView;
}
} |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... |
using luxclusif.user.domain.Conts;
namespace luxclusif.user.domain.Exceptions;
public class EntityGenericException : Exception
{
private readonly string _genericCode = ErrorsCodes.ErrorCode;
public string Code { get; private set; }
public EntityGenericException(string? message) : base(message)
{
... |
// 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.ObjectModel;
using System.Globalization;
us... |
/* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using Katahdin.Collections;
using Katahdin.Grammars;
namespace Katahdin
{
public class Lexer
{
private ParseTrace parseTrace;
private string fileName;
private string text;
... |
using System;
using System.IO;
namespace PixelArt {
public static class FileUtil {
public static string readTxtFile(string absolutePath) {
return System.IO.File.ReadAllText(absolutePath);
}
public static string readTxtFile(string locationPath, string filename, string e... |
// 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.Net;
namespace System.Windows.Forms {
/// <include file='doc\WebBrowserNavigatedEventHandler.uex'... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace AzureStorageExplorer
{
public class ContainerCell : ViewCell
{
readonly INavigation navigation;
public ContainerCell(INavigation navigation = null)
{
View = new ContainerCellView();
this.navigation = navigation;
}
}
pub... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class CTests
{
const int TimeLimit = 2000;
const double RelativeError = 1e-9;
[TestMethod, Timeout(TimeLimit)]
public void Test1()
{
const string input = @"5 5
........ |
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using System.Drawing;
using ImageTools.Utilities;
using ImageTools.Properties;
namespace ImageTools.Components.Utilities
{
public class CountIMGColours : ImageUtilitiesToolBox
{
/// <summary>
/// I... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Common;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class ForwardedPortLocalTest_Dispose_PortStopped
{
private... |
using Model = StoreModels;
using Entity = StoreDL.Entities;
namespace StoreDL
{
/// <summary>
/// To parse from DB to models and vice versa
/// </summary>
public interface IMapper
{
Model.Customer ParseCustomer(Entity.Customer customer);
Entity.Customer ParseCustomer(Model.Customer c... |
/*
* 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... |
// <auto-generated>
// THIS (.cs) FILE IS GENERATED BY MPC(MessagePack-CSharp). DO NOT CHANGE IT.
// </auto-generated>
#pragma warning disable 618
#pragma warning disable 612
#pragma warning disable 414
#pragma warning disable 168
#pragma warning disable SA1200 // Using directives should be placed correctly
#pragma w... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using AdminShellNS;
using Grapevine.Interfaces.Server;
using Grapevine.Interfaces.Shared;
using Grapevine.Server;
using Gr... |
using System;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Nerven.Relient.Runner
{
[PublicAPI]
public static class RelientRunner
{
public static async Task<RelientRunner<TService, TJobInput, TJobOutput>> SetupAsync<TBuilder, TService, TJobInput, TJob... |
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("La... |
using System;
using System.Diagnostics;
namespace Saplin.StorageSpeedMeter
{
public class SequentialReadTest : SequentialTest
{
public SequentialReadTest(TestFile file, int blockSize, ICachePurger cachePurger = null) : base(file.ReadStream, file, blockSize, file.TestAreaSizeBytes/blockSize)
{
... |
using Microsoft.IdentityModel.S2S.Protocols.OAuth2;
using Microsoft.IdentityModel.Tokens;
using Microsoft.SharePoint.Client;
using System;
using System.Net;
using System.Security.Principal;
using System.Web;
using System.Web.Configuration;
namespace UXModificationWeb
{
/// <summary>
/// Encapsulates all the in... |
namespace Couchbase.Core.IO.Operations
{
/// <summary>
/// The response status for binary Memcached and Couchbase operations.
/// </summary>
public enum ResponseStatus
{
/// <summary>
/// Indicates that the enum has not been set.
/// </summary>
/// <remarks>0 has a... |
// <Snippet1>
using System;
using System.Reflection;
public class MainClass
{
public static void Main(string[] args)
{
Type tDate = typeof(System.DateTime);
Object result = tDate.InvokeMember("Now",
BindingFlags.GetProperty, null, null, new Object[0]);
Console.WriteLine(res... |
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("Las... |
// Copyright 2006 Alp Toker <alp@atoker.com>
// Copyright 2010 Alan McGovern <alan.mcgovern@gmail.com>s
// This software is made available under the MIT License
// See COPYING for details
using System;
namespace DBus.Protocol
{
public enum DType : byte
{
Invalid = (byte)'\0',
Byte = (byte)'y',
Boolean = (byt... |
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("Go... |
#region License Info Header
// This file is a part of the Aspectacular framework created by Vlad Hrybok.
// This software is free and is distributed under MIT License: http://bit.ly/Q3mUG7
#endregion
using System;
using System.Web.Script.Serialization;
namespace Aspectacular
{
public static class SimpleJsonSer... |
using Algodat.HashTables;
using System;
using System.Collections.Generic;
namespace Algodat.Trees
{
// We reuse the IHashTable interface here and add some extra methods.
// This also allows us to reuse the IHashTable unit tests for ITree implementations.
public interface ITree<TKey, TValue> : IHashTable<T... |
namespace CodeCapital.Bullhorn.Dtos
{
public class CandidateResumeWorkHistoryDto
{
public int CandidateId { get; set; }
public long StarDate { get; set; }
public long EndDate { get; set; }
public string CompanyName { get; set; } = "";
public string Title { get; set; } = ... |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
using System;
using UnityEngine;
public class StatsTracker : PersistentSingleton<StatsTracker>,
IEventReceiver<OnLevelStarted>,
IEventReceiver<OnEnemyDied>
{
[Serializable]
public class ScoreBonuses
{
[SerializeField] int enemyKillRegular = 50;
[SerializeField] int enemyKillHeadsho... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// ***********************************************************************
// Assembly : MPT.Geometry
// Author : Mark P Thomas
// Created : 06-20-2018
//
// Last Modified By : Mark P Thomas
// Last Modified On : 07-01-2020
// *****************************************************************... |
using NUnit.Framework;
using TestStack.FluentMVCTesting;
namespace LibrarySystem.Web.Controllers.Tests.HomeControllerTests
{
[TestFixture]
public class Contact_Should
{
[Test]
public void Return_Proper_ActionResult()
{
// Arrange
HomeController sut = new Hom... |
// Copyright 2020 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 ... |
/*
* 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... |
// 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.Runtime.InteropServices;
namespace System.Security.Cryptography.EcDsa.Tests
{
public class ECDsaPr... |
// <copyright file="TracerSettings.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
using Sys... |
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("ACT... |
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Moq;
using VSColorOutput.Output.ColorClassifier;
using VSColorOutput.State;
namespace Tests
{
[TestClass]
public class OutputClass... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using TwitterFeed.Models;
namespace TwitterFeed.Controllers
{
[Authorize]
public class AccountController : Controller
{
//
// GET... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
namespace Gateway
{
public class Startup : FunctionsStartup
{
public override void Configure(IFunctionsHostBuilder builder)
{
builder.Services.AddHttpClient();
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ROP
{
public class Failure
{
/// <summary>
/// ReasonId is meant to be a code to be used internally to debug and troubleshoot issues
/// </summary>
public string ReasonId { get; }
/// <summary>... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BayatGames.SaveGamePro.Serialization.Types
{
/// <summary>
/// Save Game Type JointSpring serialization implementation.
/// </summary>
public class SaveGameType_JointSpring : SaveGameType
{
/// <summary>
/... |
using HotChocolate.Types;
namespace HotChocolate.Resolvers
{
/// <summary>
/// The directive context represent the execution context for a specific
/// directive middleware that is being executed.
/// </summary>
public interface IDirectiveContext : IMiddlewareContext
{
/// <summary>
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using Content.Shared.GameObjects.Components.Movement;
using Content.Shared.GameObjects.Components.Portal;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Client.GameObjects.Components.Move... |
using System;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Cfg.MappingSchema;
using NHibernate.Dialect;
using NHibernate.Driver;
using NHibernate.Mapping.ByCode;
using NHibernate.Tool.hbm2ddl;
using Persistence.Mappings.ByCode;
using Persistence.Mappings.ByCode.TPT;
namespace Tests.Unit.Cfg
{
public c... |
using System;
// https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-memorystatusex
namespace Hardware.Info.Net5
{
public class MemoryStatus
{
/// <summary>
/// The amount of actual physical memory, in bytes.
/// </summary>
public ulong TotalPhysical { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Webgentle.BookStore.Areas.Financial.Controllers
{
[Area("financial")]
public class DashboardController : Controller
{
public IActionResult Index()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Assignment
{
public partial class PaymentHistory : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Label1... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Authorization;
namespace PolicyServer1.Authorization {
public class DefaultPolicyServerPermissionRequirement : IAuthorizationRequirement {
public String Name { get; private set; }
public DefaultPolicySer... |
// Curve25519Field
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Math.Raw;
internal class Curve25519Field
{
private const uint P7 = 2147483647u;
private const uint PInv = 19u;
internal static readonly uint[] P = new uint[8]
{
4294967277u,
uint.MaxValue,
uint.MaxValue,
uint.MaxValue,
uint.MaxValue... |
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;
using OrchardCore.DisplayManagement.FileProviders;
namespace OrchardCore.DisplayManagement.Theming
{
/// <summary>
/// This custom <see cref="IFileProvider"/> implementation provides the file ... |
// *** 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... |
// 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... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace pcg {
public class ParticleRB : MonoBehaviour {
public Transform templateView;
public bool d2 = false;
public float speed = 1f;
public float life = -1;
private Rigidbody m_RB;
public Rigidbody RB {
... |
#region License
// Copyright (c) 2013 - 2018 Coding Adventures
//
// 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,
/... |
@page
@functions
{
public string DayName { get; set; }
public void OnGet()
{
ViewData["Title"] = "Northwind Website";
Model.DayName = DateTime.Now.ToString("dddd");
}
}
<div class="jumbotron">
<h1 class="display-3">Welcome to Northwind!</h1>
<p class="lead">We supply products to our customers.</p>... |
using System;
using System.Net.Sockets;
using System.IO;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
namespace DashBoardServer
{
public class ClientObject
{
public TcpClient client;
MethodsDB methodsDB = new MethodsDB();
FreeRAM freeRAM = new FreeRAM();
... |
using System.Collections.Generic;
using Sentry.Protocol;
using Xunit;
namespace Sentry.Tests.Protocol
{
public class SentryMessageTests
{
[Fact]
public void SerializeObject_AllPropertiesSetToNonDefault_SerializesValidObject()
{
var sut = new SentryMessage
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.