text stringlengths 1 932k |
|---|
using RestWithASPNETUdemy.Data.VO;
using RestWithASPNETUdemy.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RestWithASPNETUdemy.Business
{
public interface IBookBusiness
{
BookVO Create(BookVO book);
BookVO FindByID(long ID);
... |
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class DisputeEvidenceOptions : INestedOptions, IHasMetadata
{
[JsonProperty("access_activity_log")]
public string AccessActivityLog { get; set; }
[JsonProperty("billing_address")]
public ... |
using System;
using ReusableBits.Platform;
namespace Noise.Infrastructure.Interfaces {
public interface IPlaybackPublisher {
IObservable<PlaybackEvent> PlaybackEvents { get; }
}
} |
namespace AD.BaseTypes;
/// <summary>
/// Int wrapper.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class IntAttribute : Attribute, IBaseTypeDefinition<int>
{ } |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation wit... |
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using RolaltyCardProject.Models;
using RolaltyCardProject.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RolaltyCardProject.Data
{
public class DbInitializer : IDbInitiali... |
//------------------------------------------------------------------------------
// <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>
//--... |
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2015 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fo... |
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 Synnotech.Migrations.Core;
using Xunit.Abstractions;
namespace Synnotech.Migrations.Linq2Db.Tests
{
public static class Extensions
{
public static void LogSummary<T>(this ITestOutputHelper output, MigrationSummary<T> summary)
{
if (summary.TryGetAppliedMigrations(out var appl... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TNBase.DataStorage.Test.TestHelpers;
using TNBase.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
namespace TNBase.DataStorage.Test
{
[TestClass]
[Depl... |
<!-- View Added on 4/18/19 by Matt H. -->
@model MillennialResortWebSite.Models.ContactViewModel
@{
ViewBag.Title = "Contact Us";
}
<div class="container body-content RegistrationPage contactPageForm">
@*<div class="container body-content1">*@
<h1 class="pull-left" style="color:#40798C; font-famil... |
using BalotoRandom.iOS.DependencyServices;
using BalotoRandom.Services;
using Google.MobileAds;
using UIKit;
using Xamarin.Forms;
[assembly: Dependency(typeof(AdMobInterstitial))]
namespace BalotoRandom.iOS.DependencyServices
{
public class AdMobInterstitial : IAdInterstitial
{
Interstitial interstiti... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Diagnostics;
using System.Text;
namespace ClientEngine.NetClients
{
public class FirmwareClient// : TCPAsyncClient
{
private TcpListener _Listener = null;
private TcpClient _Client = null;
private int _Port = 0;
private byte[] _Buffer = n... |
// This code was generated by Hypar.
// Edits to this code will be overwritten the next time you run 'hypar init'.
// DO NOT EDIT THIS FILE.
using Amazon;
using Amazon.Lambda.Core;
using Hypar.Functions.Execution;
using Hypar.Functions.Execution.AWS;
using System;
using System.IO;
using System.Linq;
using System.Refle... |
using System;
using System.Collections.Generic;
namespace GW2Api.NET.V2.Wvw.Dto
{
public record WvwObjectiveInfo(
string Id,
WvwObjectiveType Type,
WvwOwner Owner,
DateTimeOffset LastFlipped,
Guid? ClaimedBy,
DateTimeOffset? ClaimedAt,
int PointsTick,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Patlite_test
{
class BasicCode
{
public static string[] WRITE_HEADER = new string[] { "58", "58", "53", "00", "00", "06" };
public static string ACK = "06";
p... |
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: Guid("93fbca26-c20e-4786-a004-e9ecfb2c55ee")] |
using System;
using System.Collections.Generic;
using System.Text;
namespace ValorantAPI.RiotClientAPI.RiotJsonStructs
{
public class FetchSession
{
public bool federated { get; set; }
public string game_name { get; set; }
public string game_tag { get; set; }
public bool loaded... |
/*
* 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 System;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace NavigationSample
{
public partial class ContentController : BaseController
{
public ContentController() : base(null, null)
{
}
public override void ViewDidLoad()
{
base.ViewDidLoad();
View.BackgroundCol... |
using Characters.Damage;
namespace Characters.Health
{
public interface IHealthComponent
{
void TakeDamage(DamageInfo damage);
void ResetInvincibility();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ERPViewModelBasic;
using DistributionModel;
using Kernel;
using System.Transactions;
using ViewModelBasic;
using SysProcessViewModel;
namespace DistributionViewModel
{
public class MonthSaleTargetBatchSetVM : CommonViewMod... |
/*
XML-RPC.NET library
Copyright (c) 2001-2003, Charles Cook <ccook@cookcomputing.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rig... |
#if FEATURE_HMAC_SHA384
using System.Linq;
namespace Renci.SshNet.Security.Cryptography
{
public class HMACSHA384 : System.Security.Cryptography.HMACSHA384
{
private readonly int _hashSize;
public HMACSHA384(byte[] key)
: base(key)
{
_hashSize = base.HashSize;... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Threading.Tasks;
using ServiceContract;
namespace Services
{
public class AsyncService : IAsyncService
{
public Task<AsyncData> AsyncWebGet() => Task.F... |
namespace RemoveFolders.Utilities
{
using System;
using System.IO;
using System.Linq;
using Contracts;
public class FolderPath : IFolderPath
{
private const string FileExtension = ".zip";
private const string TempPathFolder = "Temp";
private DirectoryInfo directory;
... |
#region Licence
// /*
// * ######
// * ######
// * ############ ####( ###### #####. ###### ############ ############
// * ############# #####( ###### #####. ###### ############# #############
// * ###### #####( ###### #####. ###### ##### ###### ##... |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Mempool;
namespace WalletWasabi.Stores
{
/// <summary>
/// The purpose of this class is to safely and performant... |
/*
* 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.Linq;
class MaxSum
{
//Write a program that reads a rectangular integer matrix of size N x M and finds in it the square 3 x 3 that has maximal sum of its elements.
//On the first line, you will receive the rows N and columns M.On the next N lines you will receive each row with its ... |
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Apis;
using OrchardCore.Autoroute.Model;
using OrchardCore.ContentManagement.GraphQL;
using OrchardCore.ContentManagement.GraphQL.Queries;
using OrchardCore.Modules;
namespace OrchardCore.Autoroute.GraphQL
{
[RequireFeatures("OrchardCore.Apis.GraphQ... |
using Timetabling.Internal.Specialized;
namespace Timetabling.Internal.Constraints
{
public class Precedence : TimeConstraint
{
public Precedence(int id, bool required, int penalty, int[] classes)
: base(id, required, penalty, classes)
{
}
protected override (int h... |
using MTProto.NET.Attributes;
using MTProto.NET.Enums;
namespace MTProto.NET.Schema.TL.Requests.Payments
{
[MTObject(0x770a8e74)]
public class TLValidateRequestedInfo : MTObject
{
public override uint Constructor
{
get
{
return 0x770a8e74;
... |
//------------------------------------------------------------------------------
// <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.... |
using CommonTools.Lib.fx45.ThreadTools;
using CommonTools.Lib.fx45.ViewModelTools;
using CommonTools.Lib.ns11.ExceptionTools;
using CommonTools.Lib.ns11.LoggingTools;
using System;
using System.Collections.ObjectModel;
namespace CommonTools.Lib.fx45.LoggingTools
{
public class SharedLogListVM : ViewModelBase, ILo... |
// *********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Apache License, Version 2.0.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WAR... |
using System;
using UnityEngine;
[AddComponentMenu("NGUI/Interaction/Button Keys"), RequireComponent(typeof(Collider))]
public class UIButtonKeys : MonoBehaviour
{
public UIButtonKeys selectOnClick;
public UIButtonKeys selectOnDown;
public UIButtonKeys selectOnLeft;
public UIButtonKeys selectOnRight;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using GME;
using GME.Util;
using GME.MGA;
using GME.MGA.Core;
using Microsoft.Win32;
namespace GME.CSharp
{
[ComVisible(false)]
public class RegistrationException : ApplicationException
{
publi... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... |
using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace Audiotica.Windows.Engine.Navigation
{
// DOCS: https://github.com/Windows-XAML/Template10/wiki/Docs-%7C-NavigationService
public class NavigatedEventArgs : EventArgs
{
public NavigatedEventArgs() { }
... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Reflection;
using System.Runtime.Compil... |
using Neo.IO;
using Neo.IO.Json;
using Neo.Network.P2P.Payloads;
using Neo.Persistence;
using Neo.Plugins;
using Neo.SmartContract.Manifest;
using Neo.SmartContract.Native;
using Neo.VM;
using Neo.VM.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Reflection... |
using System;
namespace Esquio.Http.Store.DependencyInjection
{
public sealed class HttpStoreOptions
{
internal bool CacheEnabled = false;
internal TimeSpan? AbsoluteExpirationRelativeToNow = null;
internal TimeSpan? SlidingExpiration = null;
/// <summary>
/// Configur... |
/// <summary>
/// Contain configuration of a specific App.
/// </summary>
static class AppConfig
{
public static string AppUrl = "wss://localhost:6868";
public static string AppName = "UnityApp";
/// <summary>
/// Name of directory where contain tmp data and logs file.
... |
using System.ComponentModel.DataAnnotations;
namespace Microsoft.eShopWeb.Web.ViewModels.Account;
public class RegisterViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} ... |
using NumSharp.Backends;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace NumSharp
{
public partial class NDArray
{
/// <summary>
/// Returns the discrete, linear convolution of two one-dimensional sequences.
/... |
/* Copyright (c) 2019 ExT (V.Sigalkin) */
using UnityEditor;
using UnityEngine;
using extOSC.Core;
namespace extOSC.Editor.Drawers
{
public class OSCPacketDrawer
{
#region Static Private Vars
private static readonly GUIContent _addressContent = new GUIContent("Address:");
private s... |
using BehaviorDesigner.Runtime.Tasks;
namespace BehaviorDesigner.Runtime.ObjectDrawers
{
public class IntSliderAttribute : ObjectDrawerAttribute
{
public int min;
public int max;
public IntSliderAttribute(int min, int max)
{
this.min = min;
this.max = m... |
using Castle.Core.Logging;
using GroupService.AzureFunction;
using GroupService.Handlers;
using HelpMyStreet.Contracts.GroupService.Request;
using HelpMyStreet.Contracts.GroupService.Response;
using HelpMyStreet.Contracts.RequestService.Response;
using HelpMyStreet.Contracts.Shared;
using HelpMyStreet.Utils.Models;
us... |
using System;
public class NoLista<Dado> where Dado : IComparable<Dado>
{
Dado info;
NoLista<Dado> prox;
public NoLista(Dado info, NoLista<Dado> prox)
{
Info = info;
Prox = prox;
}
public Dado Info
{
get { return info; }
set
{
if (valu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using A0040_React.DataAccess;
using A0040_React.Model;
namespace A0040_React.Controllers
{
[Produces("application/j... |
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2c1cd9bdf77c65fcccd7f5b86be5746c1381be0e"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Micros... |
// 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;
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// A wrapper cl... |
// <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.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskChangeInteractionPriorityDef : IBehTreeReacti... |
// Copyright (c) Microsoft Open Technologies, Inc. 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.Data.SqlClient;
using System.Text;
using Microsoft.Data.Entity.Relational.Update;
using Microsoft.Framework.... |
namespace CardGames
{
public enum SpanishCardRank
{
Uno,
Dos,
Tres,
Cuatro,
Cinco,
Seis,
Siete,
Ocho,
Nueve,
Diez,
Once,
Doce
}
} |
@using WebApp_TransportCompany.ViewModels
@using WebApp_TransportCompany.Models.Enums
@using WebApp_TransportCompany.Repositories
@model SalaryFormViewModel
@inject IUserRepository _userRepository
@inject IDriverRepository _driverRepository
@{
var _drivers = await _driverRepository.GetDrivers(await _userRepository... |
@{
Layout = "UserLayout";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Uspjesno</title>
<style>
#map {
margin-top: 150px;
width:700px;
height:500px;
}
</style>
</head>
<body>
<div id="map">
... |
using MediatR;
using Microsoft.EntityFrameworkCore;
using ModelWrapper.Extensions.Put;
using Store.Core.Domain.Interfaces.Infrastructures.Data.Contexts;
using System;
using System.Threading;
using System.Threading.Tasks;
using Store.Core.Domain.Entities.Default;
using Store.Core.Domain.Interfaces.Services.Default.Categ... |
using System;
using Faker;
using FizzWare.NBuilder;
using VideoApi.Domain;
using VideoApi.Domain.Enums;
namespace Testing.Common.Helper.Builders.Domain
{
public class ParticipantBuilder
{
private readonly BuilderSettings _builderSettings;
private UserRole _userRole;
private string _cas... |
// <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... |
// This code was written for the OpenTK library and has been released
// to the Public Domain.
// It is provided "as is" without express or implied warranty of any kind.
using System;
using System.Drawing;
using System.Windows.Forms;
using OpenTK.Graphics.OpenGL;
namespace Examples.WinForms
{
[Example("GLContro... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using WizBot.Core.Services.Database;
using WizBot.Core.Services.Database.Models;
namespace WizBot.Migrations
{
[DbCon... |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// RechargeBill Data Structure.
/// </summary>
public class RechargeBill : AlipayObject
{
/// <summary>
/// 用户充值金额,单位为元
/// </summary>
[JsonPropertyName("amou... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting.Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.W... |
using Syroot.NintenTools.Bfres.Core;
namespace Syroot.NintenTools.Bfres.GX2
{
/// <summary>
/// Represents GX2 polygon drawing settings controlling if and how triangles are rendered.
/// </summary>
public struct PolygonControl
{
// ---- CONSTANTS -------------------------------------------... |
// Copyright (c) Microsoft. All rights reserved.
namespace TestResultCoordinator.Reports
{
using System;
using System.Collections.Generic;
using Microsoft.Azure.Devices.Edge.ModuleUtil;
using Microsoft.Azure.Devices.Edge.Util;
using Microsoft.Azure.Devices.Edge.Util.Json;
using Newtonsoft.Json;
... |
using UnityEngine;
using System.Collections;
namespace HWRWeaponSystem
{
public class Damage : DamageBase
{
public bool Explosive;
public float DamageRadius = 20;
public float ExplosionRadius = 20;
public float ExplosionForce = 1000;
public bool HitedActive = true;
public float TimeActive = 0;
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Demiplane.Pages
{
public class AboutModel : PageModel
{
public string Message { get; set; }
public void OnGet()
{
Message =... |
#if !UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine;
using Crosstales.FB.EditorUtil;
namespace Crosstales.FB.EditorIntegration
{
/// <summary>Unity "Preferences" extension.</summary>
public class ConfigPreferences : ConfigBase
{
#region Variables
private static int tab = 0;
... |
using System;
namespace Modelo
{
public class Model_ParcelasVenda
{
private int idParcelasVenda;
private double valor;
private DateTime dataPagto;
private DateTime dataVencimento;
private int idVenda;
public int IdParcelasVenda { get => idParcelasVenda; set => ... |
namespace _01.HelloName
{
using System;
public class Program
{
public static void Main()
{
var name = Console.ReadLine();
PrintGreeting(name);
}
public static void PrintGreeting(string name)
{
Console.WriteLine($"Hello, {name}!"... |
namespace ASPNETCoreIdentitySample.ViewModels.Identity.Settings;
public class DataProtectionOptions
{
public TimeSpan DataProtectionKeyLifetime { get; set; }
public string ApplicationName { get; set; }
} |
using System;
using System.Linq;
namespace _10_LadyBugs
{
class Program
{
static void Main(string[] args)
{
int fieldSize = int.Parse(Console.ReadLine());
int[] indexes = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToA... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BASE.Core.Amadeus.Requests
{
public class AuthenticationRequest
{
public string client_id { get; set; }
public string client_secret { get; set; }
public string grant_type { get; set; }
}
} |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
#region ----- Credits -----
/*
The DualPartition is based on the dynamic bounding volume tree broadphase of Bullet.
(Note: Our ... |
using CSharpSpeed;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using static InstrumentedLibrary.Maths;
using static System.Math;
namespace InstrumentedLibrary
{
/// <summary>
/// The quadratic bezier s... |
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("Cl... |
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using VideoApi.Common.Security.Kinly;
using VideoApi.Domain.Enums;
using VideoApi.Mappings;
namespace VideoApi.UnitTests.Mappings
{
public class ConferenceToSummaryMapperTests
{
[Test]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml.Serialization;
namespace OpenCover.Framework.Model
{
/// <summary>
/// A reference to a tracked method
/// </summary>
public class TrackedMethodRef
{
/// <summary>... |
namespace FlatMate.Web.Mvc
{
public interface IDashboardTile
{
string Name { get; }
}
} |
@model List<PhotoGallery.Models.Photo>
@{
ViewBag.Title = "Photo Gallery";
}
<ul class="thumbnails">
@foreach (var photo in Model)
{
<li class="item">
<a href="@Url.Content("~/photos/" + photo.FileName)">
<img alt="@photo.Description" src="@Url.Content("~/photos/" + photo.FileName)" class="thu... |
using Prism.Ioc;
using Prism.Modularity;
namespace Prism.Forms.Tests.Mocks.Modules
{
public class DependentModuleB : IModule
{
public void OnInitialized(IContainerProvider containerProvider)
{
}
public void RegisterTypes(IContainerRegistry containerRegistry)
{
... |
using System;
using System.IO;
using System.Collections.Generic;
using IniParser;
using IniParser.Model;
namespace ConvertCiv3Media
{
// Under construction
// The order of direction animations in unit FLC files
public enum Direction {
SW,
S,
SE,
E,
NE,
N... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls.Primitives
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public enum AnimationDirection
... |
using System;
using System.Collections.Generic;
namespace Tracker.WebService.Data.Entities
{
public partial class UserRole
{
public UserRole()
{
#region Generated Constructor
#endregion
}
#region Generated Properties
public Guid UserId { get; set... |
@page
@model IdentityServerHost.Pages.Redirect.IndexModel
@{
}
<div class="redirect-page">
<div class="lead">
<h1>You are now being returned to the application</h1>
<p>Once complete, you may close this tab.</p>
</div>
</div>
<meta http-equiv="refresh" content="0;url=@Model.RedirectUri" data-ur... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class WorkspaceInformationTests : Abst... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace VetReserve.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "ClientModel",
colu... |
namespace FaraMedia.FrontEnd.Administration.Models.Security {
using FaraMedia.Web.Framework.Mvc.Models;
public class PermissionRecordModel : EntityModelBase {
public string SystemName { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public in... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ardalis.Specification
{
public class IncludableSpecificationBuilder<T, TProperty> : IIncludableSpecificationBuilder<T, TProperty>
{
public IIncludeAggregator Aggregator { get; }
public IncludableSpecificationBuilder(... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.Rest.Azure.Authentication;
using Nether.BlobStorage;
using Nether.DataLake;
using Nether.Ingest;... |
/*
Copyright 2020 Tamas Bolner
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... |
@{
ViewBag.Title = "PostGreSQL";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>PostGreSQL</h2>
<div class="column">
<br><br><br><br>
<div class="container page-wrapper">
<div class="page-inner">
<div class="row">
<br><br><br><br><div class="el-wrapper">
... |
using System;
using System.DirectoryServices.Protocols;
namespace LinqToLdap.Mapping.PropertyMappings
{
internal class EnumPropertyMapping<T> : PropertyMappingGeneric<T> where T : class
{
private readonly bool _isStoredAsInt;
public EnumPropertyMapping(PropertyMappingArguments<T> arguments, b... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* This source code contains proprietary and confidential information of
* Valve ... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.