text stringlengths 1 932k |
|---|
using System;
using System.IO;
using System.Collections;
namespace Sandcastle.Viewers.HtmlHelp.Decoding
{
/// <summary>
/// The class <c>CHMUrlstr</c> implements a string collection storing the URL strings of the help file
/// </summary>
internal sealed class CHMUrlstr : IDisposable
{
/// <summary>
/// Consta... |
using Discount.API.Extensions;
using Discount.API.Repositories;
using Discount.API.Repositories.Interfaces;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Ser... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
//------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
namespace DigitalLearningSolutions.Data.DataServices
{
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Transactions;
using Dapper;
using DigitalLearningSolutions.Data.Models;
public interface INotificationPreferencesDataService
{
IEnumerable... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Nohros.Configuration
{
/// <summary>
/// A simple non abstract implementation of the <see cref="IProviderNode"/>
/// interface.
/// </summary>
/// <remarks>
/// This class defines a common and simple way to define types in
/// ... |
using Blog.Core.Common;
using Blog.Core.Common.Helper;
using Blog.Core.Common.LogHelper;
using Blog.Core.Hubs;
using Blog.Core.IServices;
using Blog.Core.Model;
using Blog.Core.Model.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsof... |
using Abilities.SecondEdition;
using BoardTools;
using RuleSets;
using Ship;
namespace Ship
{
namespace YWing
{
public class DreaRenthal : YWing, ISecondEditionPilot
{
public DreaRenthal() : base()
{
PilotName = "Drea Renthal";
PilotSkill... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using CSA_Project.Models;
namespace CSA_Project.Controllers
{
public class SettingsController : Controller
{
... |
// Copyright (c) Microsoft Corporation, Inc. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookie... |
namespace KJU.Tests.Examples
{
using System.Collections.Generic;
using KJU.Core.Input;
using KJU.Tests.Examples.OutputChecker;
public interface IKjuExample
{
IInputReader Program { get; }
string Name { get; }
string SimpleName { get; }
bool IsPositive { get; }
... |
using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using SkiaSharp;
using SkiaSharp.Views.Forms;
using Xamarin.Forms;
namespace eliteKit.Extensions
{
public static class Extensions
{
public static SKPoint ToPixelSKPoint(this Point pt, SKCanvas... |
using NuGet;
using Splat;
using Squirrel.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;... |
using System;
using Content.Server.Disposal.Unit.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
namespace Content.Server.Disposal.Tube.Components
{
// TODO: Different types of tubes eject in random direction with no exit point
[RegisterComponent]
[Componen... |
using System;
namespace GsCore.Api.V1.Contracts.Responses
{
public class GenreGetResponse
{
/// <summary>
/// Genre id
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Genre Name
/// </summary>
public string Name { get; set; }
... |
using System.Linq;
using Xunit;
public class AbstractInfoCheckerTest
{
[Fact]
public void IsAbstract()
{
var checker = new ModuleWeaver();
var propertyDefinition = DefinitionFinder.FindType<BaseClass>().Properties.First(x => x.Name == "AbstractProperty");
var message = checker.Che... |
/*
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Ge... |
namespace Meraki.Api.Interfaces.General.Devices;
public interface IDeviceLldpCdp
{
/// <summary>
/// List LLDP and CDP information for a device
/// </summary>
/// <exception cref="ApiException">Thrown when fails to make API call</exception>
/// <param name="serial">The serial number</param>
/// <param name="tim... |
namespace Structure
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public struct Point3D
{
private double xCoordinate;
private double yCoordinate;
private double zCoordinate;
private s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Readfile
{
class Program
{
static void Main(string[] args)
{
int i=1;
string t;
string[] str =... |
using System.Linq;
using System.Threading.Tasks;
using AllReady.Features.Events;
using AllReady.Models;
using Xunit;
namespace AllReady.UnitTest.Features.Event
{
public class AddEventSignupCommandHandlerAsyncShould : InMemoryContextTestBase
{
[Fact]
public async Task AddAnEventSignup()
... |
@model IEnumerable<DBRepository.Models.BasicInfo>
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.FirstName)
</th>
<th>
... |
//========= Copyright 2016-2019, HTC Corporation. All rights reserved. ===========
using HTC.UnityPlugin.VRModuleManagement;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
namespace HTC.UnityPlugin.Vive
{
public class DaydreamRecommendedSettings : VIUVersionCheck.RecommendedSettingCollection
... |
using UnityEditor;
using UnityEngine;
namespace unityEssentials.crossSceneReference
{
// Using a property drawer to allow any class to have a field of type GuidRefernce and still get good UX
// If you are writing your own inspector for a class that uses a GuidReference, drawing it with
// EditorLayout.Pro... |
/*
* 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.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.At... |
namespace Arma3BEClient.Libs.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Table_Indexes : DbMigration
{
public override void Up()
{
DropIndex("dbo.Bans", new[] { "PlayerId" });
DropIndex("dbo.Bans", new[] { "ServerId" }... |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace MyJetWallet.Fireblocks.Domain.Models.Addresses
{
[DataContract]
public class VaultAddress
{
[DataMember(Order = 1)]
public string Address { get; set; }
[DataMember(Order = 2)]
public string Leg... |
// cs0657-4.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 6
using System;
[param: CLSCompliant (false)]
public enum E
{
item
} |
namespace Newsweek.Data.Models
{
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using Newsweek.Data.Models.Contracts;
public class ApplicationUser : IdentityUser, IAuditInfo, IDeletableEntity
{
public ApplicationUser()
{
I... |
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;
namespace Presentacion
{
public partial class Menu : Form
{
public Menu()
{
... |
using NUnit.Framework;
using Microsoft.Maui.Controls.Core.UnitTests;
namespace Microsoft.Maui.Controls.Xaml.UnitTests
{
public partial class DefaultCtorRouting2 : ContentPage
{
[TypeConverter(typeof(IsCompiledTypeConverter))]
public bool IsCompiled { get; set; }
public DefaultCtorRouting2()
{
InitializeC... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... |
using EventManager.Client.Services.Interfaces;
using ManagerAPI.Shared.DTOs.SL;
using ManagerAPI.Shared.Models.SL;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using MudBlazor;
using System.Threading.Tasks;
namespace EventManager.Client.Shared.Components.SL
{
/// <summary>
... |
// Copyright (C) 2017 History in Paderborn App - Universität Paderborn
//
// 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
//
// Unl... |
// *** 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... |
// 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.Collections.Immutable;
using System.Diagnostics;
using System.IO;
us... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Transition Data is the data which scenes pass back and forth as they transition.
public class SceneManager<TTransitionData> {
// The Scene Manager does two main things:
// 1. Managing the stack of scenes
// 2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Hardware;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Xamarin.Forms.Labs.Helpers;
namespace Xamarin.Forms.Labs
{
public partial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XamarinApp.ViewModels;
namespace XamarinApp.Pages
{
public partial class InserimentoSpesaComune : ContentPage
{
InserimentoSpesaComu... |
@model SFA.DAS.EmployerIncentives.Web.ViewModels.Apply.NewAgreementRequiredViewModel
@{
ViewData["Title"] = Model.Title;
ViewBag.GaData.Vpv = "/apply/newagreementrequired";
ViewData["ZenDeskLabels"] = "ei-newagreementrequired";
}
<main class="govuk-main-wrapper" id="main-content" role="main">
<div cl... |
namespace SkorinosGimnazija.Application.Posts;
using System.Diagnostics.CodeAnalysis;
using AutoMapper;
using Common.Interfaces;
using Domain.Entities;
using Dtos;
using FluentValidation;
using MediatR;
using Validators;
public static class PostCreate
{
public record Command(PostCreateDto Post) : IRequest<PostDe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
namespace lm.Notification.Core.DataLayer
{
public static class ISessionExtension
{
public static ObjectType Load<ObjectType, IdType>(this ISession s, IdType id)
{
return s.Load<O... |
namespace _05.Rubiks_Matrix
{
using System;
using System.Linq;
public static class Rubiks
{
public static long[][] rubik;
public static void Main()
{
var matrixDimentions = Console.ReadLine()
.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntri... |
namespace Bisqwit.SpeechSynthesizer
{
public class Record
{
public Record(RecordModes mode, double voice, Frame[] data)
{
Mode = mode;
Voice = voice;
Data = data;
}
public RecordModes Mode { get; }
public double Voice { get; }
... |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace MicroPack.MessageBrokers.Outbox.Processors
{
internal sealed class Outbo... |
/**********************************************************************
Copyright 2021 Misty Robotics
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
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace InMemoryToSQLServer.Models
{
public class Log
{
public int ID { get; set; }
public string message { get; set; }
}
} |
/*
* The MIT License
*
* Copyright 2018-2021 whiteflare.
*
* 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, ... |
// Copyright (C) 2018 Samuel Fisher
//
// 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 ag... |
// 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.Text;
using Microsoft.VisualStudio.Text;
namespace Microsoft.VisualStudio.ProjectSystem.Logging
{
partial class ProjectLogge... |
namespace Taser.Chakra
{
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// An error code returned from a Chakra hosting API.
/// </summary>
public enum JavaScriptErrorCode : uint
{
/// <summary>
/// Success error code.
/// </summary>
NoError = 0,
... |
//
// Copyright (C) 2012-2014 DataStax Inc.
//
// 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 ap... |
using System.Collections.Generic;
using NSubstitute;
using Xunit;
using Xunit.Abstractions;
using Xunit.Runner.Common;
public class TestDiscoverySinkTests
{
[Fact]
public void CollectsTestCases()
{
var visitor = new TestDiscoverySink();
var testCase1 = Substitute.For<ITestCase>();
var testCase2 = Substitute.... |
/*
* Copyright © 2017 EDDiscovery development team
*
* 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... |
namespace EClassBook.Data.Repositories
{
using Common.Models;
using Model;
using Model.Repositories;
public class AddressRepository : EntityBaseRepository<Address>, IAddressRepository
{
public AddressRepository(EBookContext context)
: base(context)
{ }
}
} |
using static Corellia.Interfaces.Enums;
namespace Corellia.Interfaces
{
public interface IModules
{
Mode Mode { get; }
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace AdaptiveCards.Rendering.Wpf
{
public static class AdaptiveImageSetRenderer
{
public static FrameworkElement Render(A... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00020410", true, 0xE1FF)]
[Attributes(9)]
public class LteB38TxLinMaster0
{
[ElementsCount(64)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using Microsoft.Ajax.Utilities;
namespace Jok.Strip.Server.Models
{
[DataContract]
public struct KeyboardOption
{
[DataMember]
public int From { set; get; }
[Dat... |
/*
* 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... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
using Mirror.Tests.RemoteAttrributeTest;
using NUnit.Framework;
namespace Mirror.Tests.GeneratedWriterTests
{
public class BaseData
{
public bool toggle;
}
public class SomeOtherData : BaseData
{
public int usefulNumber;
}
public class DataSenderBehaviour : Ne... |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classes.Interopt;
using... |
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions;
using Microsoft.Recognizers.Definitions.Chinese;
using Microsoft.Recognizers.Definitions.Utilities;
using DateObject = System.DateTime;
namespace Microsoft.Recognizers.Text.DateTime.Chin... |
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("Co... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions;
using M... |
//------------------------------------------------------------------------------
// <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 Autofac;
using Nancy.Bootstrappers.Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nancy;
using System.Threading.Tasks;
using Nancy.Responses;
using Nancy.Authentication.Forms;
using System.IO;
namespace Evolve.Configuration
{
public class Bootstrapper : ... |
using Newtonsoft.Json;
using Payments.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using static System.String;
namespace Payments
{
[TypeConverter(typeof(BillingIdTypeConverter))]
[JsonConverter(typeof(BillingIdJsonConverter))]
public class BillingId
{
... |
/*
Copyright 2016 James Craig
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 writing, software
di... |
/*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 Dave Clemmer, Intelligent Coding Solutions, LLC
This program is free software: you can redistribute it and/or ... |
using System;
using System.Windows;
using WpfScreenHelper.Enum;
namespace WpfScreenHelper
{
/// <summary>
/// Provides helper functions for window class.
/// </summary>
public static class WindowHelper
{
public static void SetWindowPosition(this Window window, WindowPositions pos, Rect bou... |
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("Con... |
@using smartData.Common
@{
ViewBag.Title = "::No Permission::";
Layout = "~/Views/Shared/_UserOuterLayout.cshtml";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
@System.Web.Optimization.Styles.Render("~/bundles/bootstrapCss")
@System.Web.Optimization.Scr... |
@model netcore.Models.Invoice.Currency
@{
ViewData["Title"] = "Edit";
Layout = "~/Views/Shared/_AdminlteNetcoreEdit.cshtml";
}
<div class="row">
<div class="col-md-12">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<input type="hidden" asp-for="curren... |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.New, "PnPWeb")]
public class NewWeb : PnPWebCmdlet
{
[Parameter(Mandatory = true)]
public string Title;
[Parameter(Mandatory = true)]
public stri... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace ePaperTeamsPresence.Desktop
{
public static class BitmapUtil
{
/// <summa... |
using AlgoRay.SearchingSortingAndGreedyAlgorithms.SearchingAndSorting;
using AlgoRay.UnitTests.Helpers;
using AlgoRay.UnitTests.Setups.Dummies;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace AlgoRay.UnitTests.SearchingAndSortingTests
{
[TestClass... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MotorControllerUnitTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MotorControllerUnitTest")]
[as... |
using System.Web;
using System.Web.Optimization;
namespace ZenithWebSite
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Scr... |
using Xunit;
namespace FluentInstallation.Web.Hosts
{
public class HostEntryTests
{
[Fact]
public void Constructor_SetsDefaultsCorrectly()
{
var hostEntry = new HostEntry();
Assert.Equal(HostEntry.LocalHostIpAddress, hostEntry.IpAddress);
Assert.True... |
// 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.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using Microsoft.VisualStudio.Shell;
using M... |
// Copyright © 2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp.ModelBinding
{
/// <summary>
/// Converts input params into complex .Net types (can also be used for type conv... |
namespace TechZone.Models.ViewModels.Customer
{
using System.Collections.Generic;
public class CustomerProfileViewModel
{
public CustomerProfileViewModel()
{
this.PurchasesHistory = new HashSet<CustomerPurchaseHistoryViewModel>();
}
public string FullName { get... |
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
namespace MoveEffectTool
{
public class Press_13 : BasePress
{
protected override void Effect()
{
base.Effect();
transform.DOPunchPosition(new Vector3... |
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System;
namespace MoogleEngine
{
public class Vector
{
public double[] elements;
public Vector(double[] elements)
{
if (elements == null)
throw new ArgumentExcepti... |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Dolittle.Heads;
using Dolittle.TimeSeries.Identity.Runtime;
namespace Dolittle.TimeSeries.Identity
{
/// <summary>
/// R... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Xms.Core.Context;
using Xms.Localization.Abstractions;
using Xms.Localization.Domain;
namespace Xms.Localization
{
public interface ILocalizedLabelService
{
bool Create(Guid solutionId, string label, string labelTypeN... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace Phnx.Reflection
{
/// <summary>
/// Extensions for <see cref="MemberInfo"/>
/// </summary>
public static class MemberInfoExtensions
{
/// <summary>Retrieves a custom a... |
using System;
using System.IO;
using System.Collections;
using System.Linq;
using System.Reflection;
namespace Gecko
{
/// <summary>
/// Search /usr/lib directory for the latest xulrunner.
/// Currently looks for xulrunner-1.9.2 variants in /usr/lib.
/// Returns null if no xulrunner-1.9.2 directory is... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Paramore.Darker.Exceptions;
using Paramore.Darker.Policies.Logging;
using Polly;
using Polly.Registry;
namespace Paramore.Darker.Policies
{
public class RetryableQueryDecorator<TQuery, TResult> : IQueryHandlerDecorator<TQuery, TResult>
... |
using System;
// Xamarin
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace XamKit
{
/// <summary>
/// Root content page which handles back button navigation
/// </summary>
public class RootPage : Xamarin.Forms.ContentPage
{
private static RootPage _root... |
/*
* 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.Threading;
using System.Threading.Tasks;
using MediatR;
using AdventureWorks.Application.Enums;
using AdventureWorks.Application.Interfaces;
using AdventureWorks.Application.Models;
using Entities = AdventureWorks.Domain.Entities.Dbo;
using AdventureWorks.BaseDomain.CustomTypes;
namespace AdventureWorks.A... |
/*
* 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
*
... |
namespace CarShop.ViewModels.Users
{
public class LoginInputModel
{
public string Username { get; set; }
public string Password { get; set; }
}
} |
// ----------------------------------------------------------------------------------
//
// 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... |
/*
* Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using Snowflake.Data.Client;
using Snowflake.Data.Log;
namespace Snowflake.Data.Core.Authenticator
{
/// <summary>
/// Interface for Authenticator
/// For si... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AupliCommandLineTests.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.