text stringlengths 1 932k |
|---|
using DryIoc.UnitTests.CUT;
using NUnit.Framework;
namespace DryIoc.UnitTests
{
[TestFixture]
public class WipeCacheTests
{
[Test]
public void Resolving_service_after_updating_depenency_registration_will_return_old_dependency_due_Resolution_Cache()
{
var container = new... |
using System;
namespace _04._Personal_Titles
{
class Program
{
static void Main(string[] args)
{
double age = double.Parse(Console.ReadLine());
string gender = Console.ReadLine();
if (gender == "f")
{
if (age >= 16)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MundoMusical.CATEGORY;
namespace MundoMusical.PAYMODE
{
public partial class seepaymodes : see... |
using System;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using Microsoft.Practices.EnterpriseLibrary.Data;
using AppConfig.ConfigDAAC;
using DAC.Core.Base;
using System.Threading.Tasks;
using System.Threading;
using BDO.DataAccessObjects.Models;
using IDAC.Core.IDataAccessObjects.Ge... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace clerk_data_service
{
public class Program
{
pu... |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using FlurlHttpException = Flurl.Http.FlurlHttpException;
namespace Tekook.LaravelApi.Responses
{
/// <summary>
/// ErrorResponse containting statically set json properties.
/// </summary>
public c... |
/*
* Copyright(c) 2021 Samsung Electronics Co., Ltd.
*
* 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... |
using System;
using System.Threading.Tasks;
using static LogJoint.Settings.Appearance;
namespace LogJoint.UI.Presenters.LogViewer
{
internal interface ISelectionManager: IDisposable
{
SelectionInfo Selection { get; }
/// <summary>
/// Index of view line that cursor belongs. null is cursor position is outside o... |
//{**
// This code block adds the method `GetSampleModelDataAsync()` to the SampleDataService of your project.
//**}
namespace Param_ItemNamespace.Core.Services
{
public class SampleDataService : ISampleDataService
{
//{[{
private static string _localResourcesPath;
private static ObservableColl... |
namespace QuikGraph
{
/// <summary>
/// A directed graph data structure where out-edges can be traversed,
/// i.e. a vertex set + implicit graph.
/// </summary>
/// <typeparam name="TVertex">Vertex type.</typeparam>
/// <typeparam name="TEdge">Edge type.</typeparam>
public interface IVertexL... |
using System;
using System.Collections.Generic;
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.MeshRenderers
{
public struct StaticBatchInfo : IAssetReadable, IYAMLExportable
{
public StaticBatchInfo(IReadOnlyList<uint> subsetIndices)
{
if (subsetIndices.Count == 0)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Software.Models.ManageViewModels
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public IList<UserLoginInfo> Logins { get; set;... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
namespace Sport.Tests.Services
{
using Profiles;
using Sport.Services;
using Sport.Services.Implementation;
using Sport.Tests.Fakes;
using System.Threading.Tasks;
using AutoMapper;
using System.Linq;
using Xunit;
using System;
using System.Collections.Generic;
public class... |
// MIT License - Copyright (c) Callum McGing
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Linq;
namespace LibreLancer
{
//Conversions from FL's numbering to LibreLancer's
public class ThnEnum
{
publi... |
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.DeclaredElements;
namespace AsyncConverter.Helpers
{
public interface IAsyncReplacer
{
void ReplaceToAsync([NotNull] IMethod methodDeclaredElement);
void ReplaceToAsync(ILocalFunction method);
... |
// 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 ... |
using FluentValidation;
namespace Users.Idp.Models.Validators
{
public class SignInValidator : AbstractValidator<SignIn>
{
public SignInValidator()
{
RuleFor(p => p.Email).NotEmpty().EmailAddress();
RuleFor(p => p.Password).NotEmpty();
}
}
} |
// 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 regenerated.
namespace Microso... |
using System;
using System.Collections;
using System.Linq;
namespace NMessagePack
{
public static class TypeExtensions
{
public static bool IsSerializable(this Type t)
{
if (typeof(IEnumerable).IsAssignableFrom(t))
{
// collection
return... |
using ALE.ETLBox;
using ALE.ETLBox.ConnectionManager;
using ALE.ETLBox.ControlFlow;
using ALE.ETLBox.DataFlow;
using ALE.ETLBox.Helper;
using ALE.ETLBox.Logging;
using ALE.ETLBoxTests.Fixtures;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
names... |
// <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 System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class Tracer : MonoBehaviour
{
[SerializeField, Range(0.1f, 3f)] float radius;
[SerializeField, Range(0, 360)] float angle;
[SerializeField, Range(0, 10)] int maxBounce;
[SerializeField] Color wireColor = Colo... |
using Core.Helpers;
using System;
using Windows.UI.Xaml.Data;
namespace DesktopClient.Helpers
{
public class LanguageConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (parameter is string enumString)
... |
using System.Threading.Tasks;
using Force.Cqrs;
using Force.Ddd;
namespace Infrastructure.Cqrs.Create
{
public abstract class CreateStringEntityHandlerBaseAsync<TCommand, TEntity> :
CreateEntityHandlerBaseAsync<string, TCommand, TEntity>
where TEntity : class, IHasId<string>
where TCommand ... |
using Ordering.Domain.Common;
namespace Ordering.Domain.Entities;
public class Order : EntityBase
{
public string? UserName { get; set; }
public decimal TotalPrice { get; set; }
// BillingAddress
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Emai... |
using Solnet.Raydium.Utilities;
using Solnet.Wallet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solnet.Raydium.Models.Layouts
{
/// <summary>
/// STAKE_INFO_LAYOUT
/// </summary>
public class StakeInfo
{
pu... |
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using HandyControl.Data;
using HandyControl.Interactivity;
namespace HandyControl.Controls
{
/// <summary>
/// 图片浏览器
/// </summary>
[TemplatePart(Name... |
using Gos.Aspnet.RazorPages.Middlewares;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.Dnx.Runtime;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Logging;
namespace aspnetbasic
{
publ... |
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("Re... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class QuestEnableLiftTravelTimeOverride : ActionBool
{
public QuestEnableLiftTravelTimeOverride(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) ... |
@model _2_MVCTemplateApp.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Enter your email.</h4>
... |
#region License
// Copyright (c) 2020 Jens Eisenbach
//
// 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, mo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestAssembly
{
public class ReturnService:IReturnService
{
public string Multiply(int x, int y)
{
return string.Format("The value of {0} multiplied by {1} is {2}.",
x, y,... |
using Cronos;
using StankinsObjects;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace StankinsStatusWeb
{
public interface CRONExecutionMultiple<out T>
where T: CRONExecution
{
IEnumerable<T... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("jaytwo.ejson.Tests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] |
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 Demo
{
public class Program
{
public... |
/*
* 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 ... |
@model WorldHistoryBookStore.Models.title
@{
ViewBag.Title = "Delete";
}
<style>
.main {
background-color: white;
border-color: black;
border-width: thin;
border-style: solid;
border-radius: 10px;
padding: 10px;
}
</style>
<h2>Delete</h2>
<h3>Are you sure... |
using fin_app_backend.Models.Base;
namespace fin_app_backend.Models
{
public class TagModel : BaseModel
{
public string Description { get; set; }
}
} |
// *** 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 file="Benchmark2.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
#pragma warning disable
namespace FormatDraft202012Feature.ValidationOfIRReferences
{
using System.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagn... |
namespace GE.WebUI.ViewModels
{
public sealed class VMPopularYoutubeVideoArchiveItem
{
public int Year { get; set; }
public int Month { get; set; }
public int Day { get; set; }
}
} |
using SOLID.ISP.Solucao.Interfaces;
namespace SOLID.ISP.Solucao
{
public class CadastroCliente : ICadastroCliente
{
public void ValidarDados()
{
// Validar CPF, Email
}
public void SalvarBanco()
{
// Insert na tabela Cliente
}
p... |
// .NET port of https://github.com/RedisLabs/JRediSearch/
using StackExchange.Redis;
using System.Collections;
using System.Linq;
namespace NRediSearch
{
/// <summary>
/// Cache to ensure we encode and box literals once only
/// </summary>
internal static class Literals
{
private static r... |
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.ServiceCatalog.PortfolioProductAssociation
{
/// <summary>
/// AWS::ServiceCatalog::PortfolioProductAssociation
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BookShopManagementSystem
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... |
using Anto.AuthChange.Localization;
using Volo.Abp.AspNetCore.Mvc;
namespace Anto.AuthChange.Controllers
{
/* Inherit your controllers from this class.
*/
public abstract class AuthChangeController : AbpController
{
protected AuthChangeController()
{
LocalizationResource =... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.Extensions;
using Abp.IdentityFramework;
using Abp.Linq.Extensions;
using U_StudyingCommunity_Dream.Au... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Shamisen.Codecs.Waveform.Chunks;
using Shamisen.Codecs.Waveform.Riff;
using Shamisen.Data;
using Shamisen.Formats;
nam... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Common.Logging;
using MMBot.Brains;
using MMBot.Router;
using MMBot.Scripts;
using Roslyn.Compilers.CSharp;
using ScriptCs;
using ScriptCs.Hosting.Package;
namespace MMBot
{
public... |
#pragma checksum "C:\Users\yousi\source\repos\ASP.NET Core CRUD Web App\Views\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d36141fa787ea0b56dece5e9020cef3964606114"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof... |
using System.Collections.Generic;
namespace MarkDoc.Documentation.Tags
{
/// <summary>
/// Interface for documentation list tags
/// </summary>
public interface IListTag
: IContent
{
/// <summary>
/// Type of given list
/// </summary>
public enum ListType
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Word = Microsoft.Office.Interop.Word;
using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools.Word;
namespace VSTO_Words
{
public partial class ThisAddIn
{
private void ThisAdd... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.Commons.Text;
using ProSuite.Commons.UI.Properties;
namespace ProSuite.Commons.UI.WinForms.Controls
{
public sea... |
using Xamarin.Essentials;
using Xamarin.Forms;
namespace WorkingWithWebview
{
public class WebAppPage : ContentPage
{
public WebAppPage()
{
var l = new Label
{
Text = "These buttons leave the current app and open the built-in web browser app for the plat... |
@{
ViewBag.Title = "クレジット";
}
<div class="row">
<div class="col-sm-12">
<h1>クレジット</h1>
<p>VSShareはオープンソースになりました。すべてのソースコードは<a href="https://github.com/VSShare/" target="_blank">GitHub</a>上で管理されています。</p>
<p>プロジェクトの開発・発展に貢献してくださった方々、プロジェクトを愛用してくださる皆様に深く感謝申し上げます。<br />
プロジェクトへ貢献して... |
using System;
namespace SharpVectors.Dom.Svg
{
/// <summary>
/// Many of the SVG DOM interfaces refer to objects of class SvgPoint.
/// An SvgPoint is an (x,y) coordinate pair. When used in matrix
/// operations, an SvgPoint is treated as a vector of the form:
/// [x]
/// [y]
/// [1]
/// </summar... |
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved.
using UnityEditor;
namespace Naninovel
{
public class UnlockablesSettings : ResourcefulSettings<UnlockablesConfiguration>
{
protected override string ResourcesCategoryId => Configuration.Loader.PathPrefix;
protected ove... |
// 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.Collections.Generic;
using System.Diagnostics;
using System.Dynamic.Utils;
using System.Reflection;
usi... |
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("Pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuMusic : MonoBehaviour
{
AudioSource ac;
AudioSource pre_intro;
// Start is called before the first frame update
void Start()
{
ac = GetComponent<AudioSource>();
pre_intro = gameObjec... |
// <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... |
namespace Dibix.Sdk.CodeGeneration
{
public static class HttpMediaType
{
public const string Json = "application/json";
public const string Binary = "application/octet-stream";
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridEditorUIManager : MonoBehaviour
{
public void CenterCamera()
{
Camera.main.transform.position = new Vector3(0, 0, -10);
}
} |
using System;
using UnityEngine;
using UnityEditor;
namespace BuiltinViewer
{
public class BuiltinGUISkinViewer : EditorWindow
{
readonly GUIContent kExportContent = new GUIContent("出力", "現在のGUISkinをアセットとして出力します");
enum SkinType
{
Game,
Inspector,
Scene,
Current, // ProSkinは取得できないのでGUI.skinを参照する
... |
using System;
namespace CreativeCoders.SysConsole.CliArguments.Options
{
public abstract class OptionBaseAttribute : Attribute
{
public object? DefaultValue { get; init; }
public bool IsRequired { get; init; }
public Type? Converter { get; init; }
public char Separator { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alphicsh.Ston.Equivalence
{
/// <summary>
/// Exposes methods to check STON entities for equivalence.
/// </summary>
public interface IStonEntityEquivalenceComparer :
I... |
/*
* 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 ... |
/*
* 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 ... |
using Chloe.Server.Dtos;
using Chloe.Server.Services.Contracts;
using System.Web.Http;
namespace Chloe.Server.Controllers
{
[Authorize]
[RoutePrefix("api/accountManager")]
public class AccountManagerController : ApiController
{
public AccountManagerController(IAccountManagerService service)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using ByteDecoder.Common.GuardClauses;
namespace ByteDecoder.RoyalLibrary
{
/// <summary>
/// Sum a collection of integers can cause an overflow. To avoid this and don't
///lose the operation result use the LinqSumExtensions
/// </summ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4005
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
//-----------------------------------------------------------------------
// <copyright file="ApiTrackingStateExtensions.cs" company="Google">
//
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
// Copyright (C) 2017 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
using Carna.Runner.Step;
namespace Carna.UwpRunner... |
using System;
using System.Collections.Generic;
using Packages.VisualScripting.Editor.Stencils;
using System.Linq;
using UnityEditor.VisualScripting.Editor;
using UnityEditor.VisualScripting.GraphViewModel;
using UnityEngine;
namespace UnityEditor.VisualScripting.Model.Stencils
{
[Serializable]
public class Co... |
// <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... |
/*
* Copyright (c) 2018 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/tidyui/razorblog
*
*/
namespace RazorBlog.Models
{
public sealed class PostList
{
public sealed class ListPagin... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Introducao : MonoBehaviour {
[SerializeField]
TextMesh TextoIntroducao, TextoIntroducao2, TextoIntroducao3;
float contador = 0;
int contadorTexto = 0;
// Use this for initialization
void Start () {
}
// Update is... |
namespace Nine.Application
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using Android.App;
using Android.Database;
using Android.Views;
using Android.Widget;
public class ObservableCollectionAdapter<T> : BaseAd... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AttachedProperties.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// Provides attached properties.
// </summary>
//... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using static LEDLIB.DrawUtility;
namespace LEDLIB
{
public class LED3DAtField : LED3DObject
{
private double x;
private double y;
private d... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour {
public LayerMask avoid;
// Use this for initialization
void Start () {
InvokeRepeating("SpawnGoodStar", 1, 5); //call spawn after 1 seconds and then every 3 seconds
InvokeRepeating("SpawnBad... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using System.Linq;
using System.Text;
using KayakoRestApi.Controllers;
using KayakoRestApi.Core.Constants;
using KayakoRestApi.Core.Knowledgebase;
using KayakoRestApi.Net;
using Moq;
using NUnit.Framework;
namespace KayakoRestApi.UnitTests.Knowledgebase
{
[TestFixture]
public class Knowledgebase... |
@using ContosoUniversityCore.Features
@using ContosoUniversityCore.Features.Course
@model Create.Command
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Course</h4>
<hr />
@Html.Validatio... |
// ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) Sebastian Stehle
// All rights reserved. Licensed under the MIT license.
// ======================================================... |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 05.06.2021.
using System;
using System.Reflection;
namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Root.Query.... |
/*
* 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
*
... |
// *** 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.AwsN... |
// 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 Xunit;
namespace System.MemoryTests
{
//
// Tests for Memory<T>.ctor(T[])
//
// These tests w... |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
using System.Collections.Generic;
#if UNITY_2019_3_OR_NEWER
using UnityEngine.PlayerLoop;
#else
using UnityEngine.Experimental.PlayerLoop;
#endif
using UnityEngine.Scripting;
namespace Unity.Entities
{
[DisableAutoCreation]
[UnityEngine.ExecuteAlways]
public class BeginInitializationEntityCommandBufferSyst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Caprica;
public class UniverseManager : MonoBehaviour
{
//This Script is Responsible for holding Main data Object
//Triggering File Saves/Loads or triggering Galaxy generation
//Maybe also gets callbacks from end tur... |
using DotNetEngine.Engine.Helpers;
using DotNetEngine.Engine.Objects;
using NUnit.Framework;
using System.IO;
namespace DotNetEngine.Test
{
public class GameStateTests
{
private static readonly ZobristHash _zobristHash = new ZobristHash();
/// <summary>
/// This test is only useful for checking t... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OnlineShop.Models.Products.Peripherals
{
public class Mouse : Peripheral
{
public Mouse(int id, string manufacturer, string model, decimal price, double overallPerformance, string connectionType)
: base(id, manuf... |
// 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.Collections.Immutable;
namespace Microsoft.VisualStudio.ProjectSystem.Properties
{
/// <sum... |
// *** 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... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System.IO;
using System.Text;
namespace Microsoft.AspNetCore.Razor.Language
{
public class TestRazorProjectItem : RazorProjectItem
{
private rea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.