text stringlengths 1 932k |
|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Cont... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose Pty Ltd" file="DngLoadOptions.cs">
// Copyright (c) 2003-2021 Aspose Pty Ltd
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any person... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using TrustEDU.Core.Base.Helpers;
using TrustEDU.Core.Base.Json;
using TrustEDU.Core.Base.Types;
using TrustEDU.Core.Cryptography;
using TrustEDU.Core.Models.Inventory;
using TrustEDU.Core.Models.Transactions;
namespace TrustEDU.Core.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Logo : MonoBehaviour
{
// Update is called once per frame
void Update()
{
var phase = Mathf.Sin(Time.unscaledTime) * 0.5f + 0.5f;
transform.eulerAngles = new Vector3(0.0f, 0.0f, Mathf.Lerp(-4.0f, 4.0... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
using System;
using Toggl.Foundation.Services;
namespace Toggl.Giskard.Services
{
public sealed class RatingService : IRatingService
{
public void AskForRating()
{
throw new NotImplementedException();
}
}
} |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Horseshoe.NET.Crypto;
namespace Horseshoe.NET.IO
{
public static class Extensions
{
/// <summary>
/// Convert Horseshoe.NET credentials to <c>NetworkCredential</c>
/// </summary>
/// <pa... |
namespace csharp_codewars
{
public class Prime
{
public bool IsPrime(int candidate)
{
return false;
}
}
} |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WebServices.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
namespace Terra... |
@using SignalRLogging.Areas.HelpPage.ModelDescriptions
@model KeyValuePairModelDescription
Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescrip... |
// 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... |
using System.Reflection;
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("dev.Entities")]
[assembly: AssemblyDescrip... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MHWMasterDataUtils.Core
{
public enum BowgunSpecialAmmo
{
Wyvernblast = 0,
Wyvernfire = 1,
Wyvernsnipe = 2
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML;
using Microsoft.ML.Data;
namespace Samples.Dynamic.Trainers.Regression
{
public static class FastTreeRegression
{
// This example requires installation of additional NuGet
// package for Microsoft.ML.FastTre... |
// <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... |
//
// TaskConstants.cs
//
// Authors:
// Jérémie Laval <jeremie dot laval at xamarin dot com>
//
// Copyright 2011 Xamarin Inc.
//
// 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 withou... |
using DojoCourse.Module.Models;
using Orchard;
using Orchard.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DojoCourse.Module.Services
{
public interface IPersonManager : IDependency
{
IEnumerable<PersonRecord> GetPersons();
IEnumerable<Per... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace Target
{... |
//
// Copyright 2010-2018 Deveel
//
// 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 applica... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
namespace Basic.IO
{
using System.Collections.Generic;
using Basic.Runtime;
/// <summary>
/// Declares load and save operations.
/// </summary>
public interface IProgramRepository
{
/// <summary>
/// Loads the BASIC program from an external storage with the specified <param... |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace SampleWebApplication
{
public class UsersRepository
{
private readonly ConcurrentDictionary<int, User> _users = new();
public UsersRepository()
{
AddUser(new User { Id = 1, ... |
//**********************************************************************************
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed under the Apache License, Version 2.0 (the "License");
// y... |
#if NETFRAMEWORK
using System;
using Xunit;
using Xunit.Runner.v1;
public class Xunit1ExceptionUtilityTests
{
[Fact]
public static void CanParseEmbeddedExceptions()
{
try
{
try
{
throw new DivideByZeroException();
}
catch (Exception ex)
{
throw new Exception("failure", ex);
}
}
c... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.WebUI
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class WebUIDeviceActivatedEventArgs : global::Windows.ApplicationModel.Ac... |
using Imobile.Core.Estates;
using Imobile.Core.Calculators.InitialPriceCalc;
namespace Imobile.Core.Calculators.Comissioncalc
{
public interface IComissionCalculator
{
decimal Get_poundage(Estate estate, decimal price);
decimal Get_price(Estate estate, decimal price);
decimal Get_pounda... |
using HECSFramework.Core;
namespace Components
{
public class ServerTagComponent : BaseComponent
{
}
} |
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("Wo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace INCZONE.Common
{
public class MessageCONF
{
}
} |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Syste... |
namespace Observatory.Framework.Files.Journal
{
public class SellDrones : JournalBase
{
public string Type { get; init; }
public int Count { get; init; }
public int SellPrice { get; init; }
public int TotalSale { get; init; }
}
} |
/*
* 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... |
//---------------------------------------------------------------------
// <copyright file="ConstantNode.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------------------... |
using System;
using System.Linq;
using System.Data.SqlClient;
using System.Collections.Generic;
namespace SqlServerEFSample
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("** C# CRUD sample with Entity Framework and SQL Server **\n");
try
... |
using System;
using Entities;
using Entities.Behaviours;
namespace Game {
/// <summary>
/// Holds the serializable structure required for persistent data store.
/// </summary>
[Serializable]
public class GameState {
[Serializable]
public class Entity {
[Serializab... |
/*
* 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 Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Management.Automation.Runspaces;
namespace PnP.PowerShell.Tests.Apps
{
[TestClass]
public class PublishAppTests
{
#region Test Setup/CleanUp
[ClassInitialize]
public static void Initialize(TestContext tes... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
/*
* 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.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace ToDo.WebUI.Pages
{
public class PrivacyModel : PageModel
{
private readonly ILogger<... |
using NUnit.Framework;
namespace NUnitRunner
{
[TestFixture()]
public class NUnitTestClass
{
[Test()]
public void TestCase()
{
NUnitRunner.Main(new [] { "--iterations", "1", "--target", "../../NUnitSelenium/SeleniumSuite/bin/Release/SeleniumSuite.dll"});
}
}... |
// 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.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNet.WebHooks.Receivers.WordPress.Test, PublicKey=002400000480000094... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System... |
@model AspApiSample.Web.Models.Error.ErrorViewModel
@{
ViewData["Title"] = "ErrorController";
}
<h1 class="text-danger">ErrorControllerController.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
@if (Model.ShowRequestId)
{
<p>
<strong>Request ID:</strong> <code>@Mode... |
using System;
using System.Collections.Generic;
namespace TsiU
{
public interface TILoggerListener
{
void log(string msg);
};
public class TLogger : TStaticHelperBase<TLogger>
{
//-------------------------------------------
public enum LOGGER_CHANNEL {
DEFAULT = 0,
WARNING,
INFO,
TODO,
ERROR... |
// *** 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... |
@{
ViewData["Title"] = "Reset password confirmation";
Layout = Constants.SiteLayoutName;
}
<h2>@ViewData["Title"]</h2>
<p>
Your password has been reset. Please <a asp-action="Login">click here to log in</a>.
</p> |
using Microsoft.EntityFrameworkCore;
using Todo.Core.Data;
using Todo.Core.Services;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddDbContextPool<MariaDbContext>(options => options
.UseMySql(builder.Configuration.GetConnectionString("TodoDatabas... |
namespace Barriot.Models.Services
{
/// <summary>
/// A class responsible for storing data on new self-assign role creation.
/// </summary>
public sealed class SarCreationArgs
{
/// <summary>
/// Gets or sets the creation date of this instance.
/// </summary>
... |
// <auto-generated />
using System;
using EcommerceStore.Pedidos.Infraestructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.Value... |
using System;
using System.Collections.Generic;
using RSG;
using Unity.UIWidgets.animation;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.painting;
using Unity.UIWidgets.rendering;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
using TextStyle = Unity.UIWidgets.painting.TextStyle;
namespace Unity.U... |
using System.Data.Common;
using KeySkills.Core.Data.Tests;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace KeySkills.Core.Data.Sqlite.Tests
{
public class SqliteDbFixture : BaseDbFixture<SqliteDbContext>
{
public SqliteDbFixture() : base(
new SqliteC... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace PowerPlanner
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace Revo.DataAccess.Entities
{
public interface IAsyncQueryableResolver
{
Task<bool> AnyAsync<T>(IQueryable<T> queryable, CancellationToken canc... |
using System.Web;
using System.Web.Optimization;
namespace ProviderHosted_RemoteEventHandlerWeb
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
... |
using System.Configuration;
namespace ThatIntegrationEngine.SettingsElements
{
public class EmailElement
: ConfigurationElement
{
/// <summary>
/// Value to be put in the "From" in email message
/// </summary>
[ConfigurationProperty("From", IsRequired = true)]
p... |
using System.Collections.Generic;
using System.Linq;
using Abaddon;
using Abaddon.Execution;
using Abaddon.Verification;
using Shouldly;
using Xunit;
namespace AbaddonTests.Scenarios
{
public class SimpleThreeByThreeScenario
{
private readonly string[] _expected = new[]
{
"1xx",
... |
@using Microsoft.AspNetCore.Identity
@using HappyThoughts.Web.Areas.Identity
@using HappyThoughts.Web.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using HappyThoughts.Data.Models |
using System;
using AGXUnity;
using UnityEngine;
using UnityEditor;
using GUI = AGXUnityEditor.Utils.GUI;
using Object = UnityEngine.Object;
namespace AGXUnityEditor.Tools
{
[CustomTool( typeof( Simulation ) )]
public class SimulationTool : CustomTargetTool
{
public Simulation Simulation
{
get
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Inversion.Data;
using Inversion.Messaging.Extensions;
using Inversion.Messaging.Model;
namespace Inversion.Messaging.Process
{
public class FilesystemEngineController : SyncBa... |
using System;
namespace PixelComrades.Debugging
{
public class DateTimeConverter : Converter
{
public override Type Type
{
get
{
return typeof(DateTime);
}
}
public DateTimeConverter() { }
public override object Conv... |
/*
* DotAAS Part 2 | HTTP/REST | Entire Interface Collection
*
* The entire interface collection as part of Details of the Asset Administration Shell Part 2
*
* OpenAPI spec version: Final-Draft
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Gener... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.CodeDom;
using NUnit.Framework;
using ICSharpCode.NRefactory.Parser;
using ICSharpCode.NRefactory.A... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class IceCoreDrill : MonoBehaviour
{
public bool isProgressing = true;
[Range(0.1f, 0.5f)]
public float progressSpeed = 0.5f;
private TMP_Text progressBarText;
private GameObject progressBar;
pri... |
namespace SFA.DAS.Provider.Events.Api.Types
{
public class DataLockEventPeriod
{
public string ApprenticeshipVersion { get; set; }
public NamedCalendarPeriod Period { get; set; }
public bool IsPayable { get; set; }
public TransactionType TransactionType { get; set; }
}
} |
using Xero.Api.Infrastructure.ThirdParty.Dust.Core.SignatureBaseStringParts.Earl;
using Xero.Api.Infrastructure.ThirdParty.Dust.Core.SignatureBaseStringParts.Parameters;
using Xero.Api.Infrastructure.ThirdParty.Dust.Core.SignatureBaseStringParts.Verb;
namespace Xero.Api.Infrastructure.ThirdParty.Dust.Core {
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyCollide : MonoBehaviour {
private bool invulnerable = false;
private float ghostTime;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (invulnerable) ... |
using System;
namespace Mnubo.SmartObjects.Client.Config
{
public sealed class ClientConfig
{
/// <summary>
/// Available enviroments
/// </summary>
public enum Environments
{
Sandbox,
Production
}
/// <summary>
/// Gets ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using mvc1.Models;
namespace mvc1.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
retur... |
using RavenDB.Model;
using RavenDB.Repository;
using System.Windows;
namespace RavenDB.View
{
public partial class FormCliente : Window
{
public Cliente Cliente { get; set; }
RepositorioDeCliente repositorio;
public FormCliente()
{
InitializeComponent();
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Client;
using BTCPayServer.Client.Models;
using BTCPayServer.Configuration;
using BTCPayServer.Data;
using BTCPayServer.HostedSe... |
//
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public sealed class BRequest_RemoteArrayTypes1dim_setInt : BMethodRequest, BSerializable
{
#region Execute
public override int getRemoteId() { return 123... |
// ----------------------------------------------------------------------------------
//
// 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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... |
using System;
using System.ComponentModel.DataAnnotations;
namespace PenmanApi.Dtos.Users
{
[Serializable]
public class AuthDto
{
[Required]
[StringLength(50)]
public string Username { get; set; }
[Required]
public string Password { get; set; }
public overr... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using 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("BP.... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO.Abstractions.TestingHelpers;
using NUnit.Framework;
using Mklinker.Commands;
using Mklinker.Abstractions;
using Moq;
namespace Mklinker.Tests {
[TestFixture]
class UnixLinkerTest {
TestConsole testConsole;
MockFileSystem testFi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MLTrainWeb;
using MLTrainWeb.Controllers;
namespace MLTrainWeb.Tests.Controllers
{
[TestClass]
public class HomeControllerTest
{
[Te... |
using System;
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Experimental.Rendering.HDPipeline;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
public class LitGUI : BaseLitGUI
{
protected static class Styles
{
public static string InputsTex... |
using GMap.NET.WindowsForms;
using GMap.NET.WindowsForms.Markers;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
... |
// Copyright 2014-2020 Serilog Contributors
//
// 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 o... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LogicLayer;
using DataAccessLayer;
using DataObjects;
namespace LogicLayer.Tests
{
/// <summary>
/// Author: Dalton Cleveland
/// Created : 3/7/2019
/// Here are the Test Methods for MaintenanceWo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using MailKit.Net.Smtp;
using Microsoft.Extensions.Options;
using MimeKit;
using MimeKit.Text;
namespace Security.Services
{
//http://www.mimekit.net/docs/html/Getti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panosen.CodeDom.Java
{
/// <summary>
/// 为 String 类型的变量赋值
/// </summary>
public class AssignStringVariableStepBuilder : StepBuilder
{
/// <summary>
/// Name... |
using System.Threading.Tasks;
namespace DomainResults.Common
{
/// <summary>
/// Extension methods to convert between compatible types
/// </summary>
public static class DomainResultConversionExtensions
{
/// <summary>
/// Convert to <see cref="IDomainResult{T}" /> (the domain operation result with a... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PoeCraftLib.Currency;
using PoeCraftLib.Currency.Currency;
using PoeCraftLib.Entities;
namespace PoeCraftLib.CurrencyTest.Currency
{
[TestClass]
public class AugmentationTest
{
private Mock<IRandom> _random;
private Alch... |
// 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.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Relational.Query.Sql;
using Microsoft.Data.Ent... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using BIS.Library;
namespace Lite.ExcelLibrary.BinaryDrawingFormat
{
/// <summary>
/// File BLIP Store Entry
/// </summary>
public partial class MsofbtBSE : EscherRecord
{
public string BlipName;
p... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Interfaces.Secrets;
namespace BuildXL.Cache.Host.Service
{
/// <summary>
/// Host used for providing callbacks an... |
namespace P05_MordorsCruelPlan.Food
{
public class Apple : Food
{
public Apple()
{
this.Happiness = 1;
}
}
} |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Wpf.TestBuilder.Models
{
public class TestsModel : ObservableCollection<TestModel>
{
/// <summary>
/// A name of a file which be saved with q... |
using System.Xml.Linq;
namespace ExecutionPlanVisualizer
{
static class XmlUtils
{
public static string AttributeValue(this XElement element, string attribute)
{
return element.Attribute(attribute).Value;
}
public static XName WithName(this XNamespace @namespace, st... |
//
// Copyright (c) 2008-2015 the Urho3D project.
// Copyright (c) 2015 Xamarin Inc
//
// 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... |
namespace Kartverket.Register.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} |
// Copyright (c) 2017 Alachisoft
//
// 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 t... |
// ReSharper disable All
#pragma warning disable INPC020 // Prefer expression body accessor.
namespace ValidCode.Inheritance
{
public sealed class StatementBodies : StatementBodiesViewModelBase
{
private string name;
public string Greeting
{
get
{
... |
/*
* 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.