text stringlengths 1 932k |
|---|
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
/////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Design Automation team for Inventor
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
... |
using UnityEngine;
namespace IWantToBeAStar.MainGame.MapObjects.Hazards
{
public class DownMovement : BaseHazard
{
#region Unity Settings
public float Speed;
#endregion
protected override void HazardAwake()
{
}
protected override void HazardFixedUpdate... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics.Contracts;
using Microsoft.Boogie;
namespace Microsoft.Boogie {
//-----------------------------------------------------------------------------------
// Buffer
//--------------------... |
using UnityEditor;
namespace TP.InventoryEditor
{
[CustomEditor(typeof(TPInventoryData))]
internal class TPInventoryDataEditor : ScriptlessInventoryEditor
{
void OnEnable()
{
if (serializedObject.targetObject.hideFlags != UnityEngine.HideFlags.NotEditable)
seria... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Havit.Data.Entity.Patterns.DataSources;
using Havit.Data.Entity.Patterns.SoftDeletes;
using Havit.Data.Entity.Patterns.Tests.Infrastructure;
using Havit.Data.Entity.Patterns.Tests.Helpers;
u... |
using Cirrious.CrossCore;
using Cirrious.CrossCore.Plugins;
namespace Cheesebaron.MvxPlugins.SMS.Touch
{
public class Plugin : IMvxPlugin
{
public void Load()
{
Mvx.RegisterType<ISmsTask, SmsTask>();
}
}
} |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Th... |
namespace CosmosDB.Gremlin.Fluent.Functions
{
#pragma warning disable 1591
public static class OtherVFunction
#pragma warning restore 1591
{
/// <summary>
/// Move to the vertex that was not the vertex that was moved from
/// </summary>
/// <param name="builder"></param>
... |
using System.Threading.Tasks;
using BookLovers.Base.Infrastructure;
using BookLovers.Base.Infrastructure.Commands;
using BookLovers.Base.Infrastructure.ModuleCommunication;
using BookLovers.Publication.Application.Commands.Publishers;
using BookLovers.Publication.Domain.Publishers;
using BookLovers.Publication.Integra... |
using System;
using UnityEngine;
public abstract class BaseEntity : MobaMono
{
public static bool IsRefresh = true;
[NonSerialized]
public int unique_id;
[NonSerialized]
public string npc_id;
[NonSerialized]
public string summonerName;
[NonSerialized]
public string summonerId;
protected float updateTime... |
using System.Net;
namespace ArangoDBNetStandard.CollectionApi.Models
{
public class GetCollectionFiguresResponse
{
public FiguresResult Figures { get; set; }
public CollectionKeyOptions KeyOptions { get; set; }
public string GloballyUniqueId { get; set; }
public string Statu... |
#pragma checksum "..\..\Settings.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B1AAB0898C315160054CA0FE10C67C07"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to t... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace SignalRService.Core.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true... |
#region Using directives
using System.ComponentModel;
#endregion
namespace Blazorise
{
/// <summary>
/// Provides data for the <see cref="Modal.Opening"/> event.
/// </summary>
public class ModalOpeningEventArgs : CancelEventArgs
{
/// <summary>
/// A default <see cref="ModalOpenin... |
/*
* 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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Sample.Models;
using Sample.Services;
using Spitfyr.NetCore.Identity.GcpDS;
namespace Sample
{
public class St... |
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ClassCompileLoad
{
class Program
{
static void Main(string[] args)
{
//(1)
... |
namespace UserInterface
{
partial class SinsBssForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... |
using NBitcoin;
namespace BTCPayServer.BIP78.Sender
{
public interface IPayjoinWallet: IHDScriptPubKey
{
public ScriptPubKeyType ScriptPubKeyType { get; }
RootedKeyPath RootedKeyPath { get; }
IHDKey AccountKey { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RadioLog.AudioProcessing.DSP.FSK
{
public class P25MessageProcessor : IListener<Message>
{
private Broadcaster<Message> mBroadcaster = new Broadcaster<Message>();
public P25MessageProcessor() { }
... |
// This source code is dual-licensed under the Apache License, version
// 2.0, and the Mozilla Public License, version 2.0.
//
// The APL v2.0:
//
//---------------------------------------------------------------------------
// Copyright (c) 2007-2020 VMware, Inc.
//
// Licensed under the Apache License, Version 2.... |
using research_service.Persistence.Entities;
using research_service.Persistence.Repositories.Researches;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace research_service_tests.Unit_Tests.ResearchUnitTests
{
[Collection("InMemoryCollection")]
public ... |
//------------------------------------------------------------------------------
// <copyright file="IStyleBuilder.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//--------------------------------... |
namespace Plex.Server.Webhooks.Events
{
public class MediaResume : WebhookEventBase
{ }
} |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using FIDO.Datasources.FIDO.Support.ErrorHandling;
namespace FIDO.Datasources.FIDO.Support.Rest
{
public class Fido_Rest_Connection
{
public string RestCall(WebRequest connection)
{
var stringreturn = string.... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using OmniSharp.Extensions.JsonRpc.Generators.Cache;
namespace OmniSharp.Extensions.JsonRpc.Generators.Co... |
#pragma checksum "D:\Kurslar\ASP.NET_MVC_CORE\FullStackDotNetCore-Lessons\Configuration\Configuration\Views\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a47"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Vic.SportsStore.Domain.Entities;
using Vic.SportsStore.WebApp.Infrastructure.Binders;
namespace Vic.SportsStore.WebApp
{
public class MvcApplication : System.Web.HttpApplicatio... |
// Copyright (c) Jeremy Likness. All rights reserved.
// Licensed under the MIT License. See LICENSE in the repository root for license information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.JSInterop;
using PlanetaryDocs.Shared;
namespace PlanetaryDocs.Services
{
... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UltimateTicTacToe.Tests
{
[TestClass]
public class AlphaBetaTest
{
[TestMethod, Timeout(2000)]
public void AlphaBetaWinRandom()
{
GameManager gm = new GameManag... |
using ay.Controls;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Ay.Framework.WPF.Controls.Transitions
{
// Base class for all transitions.
public class Transition : DependencyObject
{
public bool ClipToBounds
{
get { return (bool)Get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
namespace LetPortal.Core.Persistences
{
#pragma warning disable CA1063 // Implement IDisposable Correctly
public class InMemoryGenericRepositor... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers... |
namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api202101
{
using static Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Extensions;
/// <summary>Defines reference to a proxy resource.</summary>
public partial class ProxyResourceReference :
Microsoft.Azure.PowerShell.Cmdl... |
#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... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ron.FilterDemo.Filters
{
public class CustomerActionFilter : ActionFilterAttribute
{
public override void OnActionExecuting... |
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("02-... |
using System;
using System.Text;
class DressPattern
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
char dot = '.';
char dash = '_';
char star = '*';
char letter = 'o';
StringBuilder dress = new StringBuilder();
int width = (1... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SDK.yop.exception
{
public class YopClientException : SystemException
{
public YopClientException(string message) : base(message)
{
}
public YopClientException(string message, Exception cause) : base(message,cause)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using log4net;
namespace Testura.Mutation.Core.Execution.Report.Markdown
{
public class MarkdownReportCreator : ReportCreator
{
private static readonly ILog Log = LogManager.GetLogger(typeof(Markdown... |
/*
* 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 ... |
namespace ActiveLogin.Authentication.GrandId.Api.Models
{
public class BankIdFederatedLoginRequest
{
public BankIdFederatedLoginRequest(string? callbackUrl = null, bool? useChooseDevice = null, bool? useSameDevice = null, bool? askForPersonalIdentityNumber = null, string? personalIdentityNumber = null,... |
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* ... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace UserTesting.Server.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using LamarCodeGeneration;
using LamarCodeGeneration.Util;
using Marten.Exceptions;
using Marten.Internal.Linq.Includes;
using Marten.Internal.Storage;
using Marten.Lin... |
// 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;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnal... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace StarForce
{
public st... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
/*
* 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... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... |
using MessagePack.Resolvers;
using SharedData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace MessagePack.Tests
{
public class ObjectResolverTest
{
T Convert<T>(T value)
{
return MessagePack... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rssdp.Infrastructure
{
internal static class IEnumerableExtensions
{
public static IEnumerable<T> SelectManyRecursive<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> selector)
{
if (source == null) throw ne... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OVRCookedGrabbable : OVRGrabbable
{
[SerializeField]
bool fixedPosition;
public bool FixedPosition { get { return fixedPosition; } }
[SerializeField]
bool playPickUpSound = true;
public bool PlayPickU... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using WeatherDesktop.Interface;
namespace InternalService
{
[Export(typeof(WeatherDesktop.Interface.ILatLongInterface))]
[ExportMetadata("ClassName", "wundergroundLatLong")]
class... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace Com.Qmuiteam.Qmui {
// Metadata.xml XPath class reference: path="/api/package[@name='com.qmuiteam.qmui']/class[@name='QMUILog']"
[global::Android.Runtime.Register ("com/qmuiteam/qmui/QMUILog", DoNotGenerateAcw=true)... |
/*
* 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... |
namespace Hotel_Management_System
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
/* _BEGIN_TEMPLATE_
{
"id": "NAX9_07e",
"name": [
"骑士印记",
"Mark of the Horsemen"
],
"text": [
"+1/+1。",
"+1/+1."
],
"cardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "NAXX",
"collectible": null,
"dbfId": 1924
}
_END_TEMPLATE_ */
namespace HREngi... |
using Param_RootNamespace.Views;
using Param_RootNamespace.Services;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.ApplicationModel.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Param_RootNamespace.Activation
{
internal class C... |
using System.Collections.Generic;
namespace Trowel.BspEditor.Rendering.Viewport
{
public interface IViewportEventListenerFactory
{
IEnumerable<IViewportEventListener> Create(MapViewport viewport);
}
} |
using Avalonia.ReactiveUI;
using Camelotia.Presentation.Interfaces;
using ReactiveUI;
namespace Camelotia.Presentation.Avalonia.Views
{
public sealed partial class OAuthView : ReactiveUserControl<IOAuthViewModel>
{
public OAuthView()
{
InitializeComponent();
this.WhenAct... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006-2020, All rights reserved.
// The software and associated documentation supplied hereunder are the
// propri... |
namespace Lekarna.Services.Data
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Lekarna.Services.Data.Common;
public interface IOrdersService : IService
{
Task<string> CreateOrderAsync(string pharmacyId, string offerId);
Task<string> AddToOrderAsync(string... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day4
{
public class Solver
{
public static long Part1(string inputPath)
{
(List<Bingo> games, int[] turns) play = parse(inputPath);
return playGames(play.games, play.turns).Fir... |
/*
* 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.Collections.Generic;
using System.IO;
using System.Linq;
using Beffyman.AspNetCore.Client.Generator.CSharp.AspNetCoreFunctions;
using Beffyman.AspNetCore.Client.Generator.CSharp.AspNetCoreHttp;
using Beffyman.AspNetCore.Client.Generator.CSharp.SignalR;
using Beffyman.AspNetCore.Client.Genera... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VehicleTracking.Common.Extension;
using VehicleTracking.Interfaces.Repository;
using VehicleTracking.Interfaces.Services;
using VehicleTracking.Model;
namespace VehicleTracking.Services {
public class VehiclePositionService : IVeh... |
// Copyright © 2020 Shawn Baker using the MIT License.
using Newtonsoft.Json;
namespace FrozenNorth.SpotifyAuth
{
internal class Tokens
{
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("token_type")]
public string TokenType { get; set; }
... |
using System;
using System.Runtime.InteropServices;
namespace WebrtcSharp
{
/// <summary>
/// 媒体发送器
/// </summary>
public class RtpSender : WebrtcObject
{
/// <summary>
/// 持有一个媒体发送器
/// </summary>
/// <param name="handler">媒体发送器指针</param>
internal protected... |
using System;
using UnityEngine;
namespace Memoria
{
public sealed partial class Configuration
{
public static class Graphics
{
public static Int32 BattleFPS => Instance._graphics.BattleFPS;
public static Int32 BattleSwirlFrames => Instance._graphics.BattleSwirlFrames;
... |
using System;
using FluentAssertions;
using Toggl.Core.Reports;
using Toggl.Core.UI.ViewModels.Reports;
using Toggl.Shared;
using Xunit;
namespace Toggl.Core.Tests.UI.ViewModels.Reports
{
public sealed class ReportSummaryElementTests
{
public sealed class TheConstructor
{
[Fact, Log... |
/*
Huerate - Mobile System for Customer Feedback Collection
Master Thesis at BUT FIT (http://www.fit.vutbr.cz), 2013
Available at http://huerate.cz
Author: Bc. Jakub Kadlubiec, xkadlu00@stud.fit.vutbr.cz or jakub.kadlubiec@gmail.com
*/
using System;
using System.Collections.Generic;
using System.Configuration;
using... |
using System;
namespace AndroidVector
{
public enum Unit
{
Dp,
Sp,
Pt,
Px,
Mm,
In
}
} |
using Force.Crc32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace KoAR.Core
{
public sealed class GameSave
{
private const int MaxRemasterBodySize = 4 * 1024 * 1024;
private readonly int _bagOffset;
private readonly int... |
using System;
namespace StockTradingAnalysis.CQRS.Exceptions
{
public class CommandDispatcherException : Exception
{
public Type HandlerType { get; private set; }
public CommandDispatcherException(Type handlerType)
: base(String.Format("The command handler of type '{0}' could not ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrillConeController : MonoBehaviour
{
public float speed = 20;
public GameObject temp;
void Update()
{
if (check)
{
temp.SetActive(true);
transform.Rotate(Vector3.right, -... |
using CursoCore.Domain.Entities;
using CursoCore.Domain.Interfaces.Repository;
using CursoCore.Domain.Interfaces.Services;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace CursoCore.Domain.Services
{
public class ServiceProduto : IServiceProduto
{
... |
using System;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using NewLife.Collections;
using NewLife.Serialization;
namespace NewLife.Cube.Extensions
{
/// <summary>请求助手类</summary>
public static class RequestHelper
{
/// <summary>
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UltimaOnline;
using UltimaOnline.Items;
using UltimaOnline.Spells;
namespace UltimaOnline.Mobiles
{
[CorpseName("a Pyre corpse")]
public class Pyre : Phoenix
{
[Constructable]
public Pyre()
{
... |
using CleanArchitecture.Application.Common.Interfaces;
using CleanArchitecture.Domain.Interfaces;
using CleanArchitecture.Infrastructure.Files;
using CleanArchitecture.Infrastructure.Identity;
using CleanArchitecture.Infrastructure.Persistence;
using CleanArchitecture.Infrastructure.Services;
using Microsoft.AspNetCor... |
@model VendedorModel
@{
ViewData["Title"] = "Editar";
}
<h1>Configurar meu perfil!</h1>
<form asp-controller="Login" asp-action="Perfil" enctype="multipart/form-data">
@using Microsoft.AspNetCore.Http
@inject IHttpContextAccessor HttpContexAccessor
<hr />
<div class="row">
<div class="f... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... |
namespace System;
internal static class TypeExtensions
{
public static IEnumerable<Type> GetBaseTypesAndThis(this Type type)
{
Type? current = type;
while (current != null)
{
yield return current;
current = current.BaseType;
}
}
} |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using UnityEngine;
namespace SideLoader
{
[SL_Serialized]
public abstract class SL_ItemExtension
{
public bool? Savable;
[XmlIgnore] public virtual bool AddToChild { get => false; }
[XmlIgnore] public ... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.471/blob/master/LICENSE
*
*/
#endregion
using System;
namespace Persistence.Classes.Other
{
public class Rand... |
using System.Numerics;
namespace GFDLibrary.Misc
{
public class ChunkType000100F9Entry2
{
public short Field94 { get; set; }
public float Field84 { get; set; }
public float Field88 { get; set; }
public Matrix4x4 Field8C { get; set; }
public string NodeName { get; se... |
/*
* 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.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Lab13")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: As... |
namespace EmailSample.Models
{
public class EmailTestDeployment : EmailDeployment
{
public int? contactId { get; set; }
public int? sendFromUserId { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConsoleShoppingStore.UsefulClasses;
namespace ConsoleShoppingStore
{
public partial class StartupClass
{
public void Welcome()
{
Console.WriteLine("************... |
using System;
using System.Globalization;
using MvvmCross.Platform.Converters;
using Xamarin.Forms;
namespace BLE.Client.Converters
{
public class InverseBooleanValueConverter : MvxValueConverter<bool, bool>, IValueConverter
{
protected override bool Convert(bool value, Type targetType, object paramet... |
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace Dolcecuore.Domain.Events;
public class DomainEvents : IDomainEvents
{
private static readonly List<Type> Handlers = new();
private readonly IServiceProvider _serviceProvider;
public static void RegisterHandlers(Assembly as... |
namespace Aliencube.AzureFunctions.Extensions.OpenApi.Core.Configurations
{
/// <summary>
/// This represents the settings entity for HTTP in "host.json".
/// </summary>
public class HttpSettings
{
/// <summary>
/// Gets or sets the route prefix. Default value is "api".
/// <... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Represents an definition model project.</summary>
//--------------... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsAdditionalPayments.DataProvider;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsAd... |
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("Un... |
namespace Pekka.RoyaleApi.Client.Models
{
public class Badge
{
public string Name { get; set; }
public string Category { get; set; }
public int Id { get; set; }
public string Image { get; set; }
public override string ToString()
{
return Name;
... |
// <Snippet1>
using System;
using Microsoft.VisualStudio.Data.Core;
using Microsoft.VisualStudio.Data.Framework;
using Microsoft.VisualStudio.Data.Services.SupportEntities;
internal class MySourceSpecializer : DataSourceSpecializer
{
private static readonly Guid Source1Guid =
new Guid("A871863D-7D71-4e49-A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.