text stringlengths 1 932k |
|---|
using System.IO;
using System.IO.Compression;
using Vostok.Clusterclient.Core.Model;
using Vostok.Clusterclient.Core.Transforms;
namespace Vostok.ClusterConfig.Client.Helpers
{
internal class GzipBodyTransform : IResponseTransform
{
public Response Transform(Response response)
{
if... |
// 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.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BakeryAdmin.Models;
using System.Collections.Generic;
using System;
namespace BakeryAdmin.Tests
{
[TestClass]
public class VendorTest : IDisposable
{
public void Dispose()
{
Vendor.ClearAll();
}
[TestMethod]
public void VendorCon... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Echo.Server
{
using System;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Dot... |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Dmitri Maximov
// Created: 2009.08.31
using System;
using NUnit.Framework;
using Xtensive.Sql;
using Xtensive.Sql.Dml;
using Xtensive.Sql.Model;
namespace Xtensive.Orm.Tests.Sql.S... |
// ------------------------------------------------------------------------------
// <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>
// ---------------------------------------... |
using Volo.Abp.Modularity;
using Volo.Abp.Localization;
using Almighty.Mall.Module.Seller.Localization;
using Volo.Abp.Localization.ExceptionHandling;
using Volo.Abp.Validation;
using Volo.Abp.Validation.Localization;
using Volo.Abp.VirtualFileSystem;
namespace Almighty.Mall.Module.Seller;
[DependsOn(
typeof(Abp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Romfix.Model.DictionaryAPI
{
public interface IDictionaryAPI
{
Task<Translation> TranslateQueryAsync(string query);
}
} |
#region license
// Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// 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 retain the above co... |
using System;
namespace Newtonsoft.Json
{
// http://stackoverflow.com/a/11830387/126995
public class ByteArrayConvertor: Newtonsoft.Json.JsonConverter
{
public override bool CanConvert( Type objectType )
{
return objectType == typeof( byte[] );
}
// http://stackoverflow.com/a/9995303/126995
static by... |
//------------------------------------------------------------------------------
// <copyright file="OleDbCommandBuilder.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="fa... |
/*
* Copyright 2010-2013 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;
using System.Collections.Generic;
using UnityEngine;
using UnityUtilities;
using UnityUtilities.DataStructures;
using UnityUtilities.ExecutionOrder.ExecutionOrderControl;
namespace FPSFramework.Movement
{
/// <summary>
/// A movement controller with the following featur... |
/*
* 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 2007 ZXing authors
*
* 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 wri... |
// HO=False
using System;
// using System;
using System.Collections.Generic;
// using System.Collections.Generic;
using System.Linq;
// using System.Linq;
using System.Text;
// using System.Text;
using System.IO;
// using System.IO;
using System.IO.Compression;
// using System.IO.Compression;
using System.Threading;
/... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Linq;
using DeepEqual.Syntax;
using NUnit.Framework;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Formats;
using... |
@{
conf.Column(c => c.LastOrderDate).Title("Last order").Format("`moment({#}).fromNow()`");
}
@* ... *@
@section scripts {
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js"></script>
} |
// NCLCredPolicy
using System;
using System.Net;
using System.Net.Security;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Specialized;
using Microsoft.Win32;
//<snippet3>
public class SelectedHostsCredentialPolicy: ICredentialPolicy
{
public SelectedHostsCreden... |
namespace Shapeshifter.WindowsDesktop.Controls.Window.Factories.Interfaces
{
using Window.Interfaces;
public interface ISettingsWindowFactory
{
ISettingsWindow Create();
}
} |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class General : MonoBehaviour {
public static bool dbgMode;
public bool debugMode = true;
public static bool kinectControl;
public bool controlByKinect = true;
public static bool icons = true;
public bool showIcons = true;
p... |
using System.IO;
using System.Threading.Tasks;
using Checkout.Disputes;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Checkout.Tests.Disputes
{
public class SubmitDisputeEvidenceTests : IClassFixture<ApiTestFixture>
{
private readonly ICheckoutApi _api;
public SubmitDispute... |
/*
* 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... |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 regenerate... |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using RFReborn.Extensions;
namespace RFReborn.AoB
{
/// <summary>
/// Searches for <see cref="Signature"/> in various regions.
/// </summary>
public static class Scanner
{
... |
/*
* 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 Microsoft.EntityFrameworkCore.Migrations;
namespace Agree.Accord.Infrastructure.Data.Migrations
{
public partial class ChangeUserTagType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
//using Microsoft.Practices.Composite.Presentation.Commands;
using System.Windows.Input;
using Microsoft.Practices.Prism.Commands;
namespace TwaijaComposite.Modules.Authentication
{
public class Face... |
using System;
using System.Collections.Generic;
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
using Lykke.Sdk.Settings;
using MAVN.Job.LykkeService.Settings.JobSettings;
namespace MAVN.Job.LykkeService.Settings
{
public class AppSettings : BaseAppSettings
{
public LykkeServiceJobSettings LykkeServiceJob { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace ECMPS.Checks.Parameters
{
/// <summary>
/// The decimal array parameter object used by the check engine.
/// </summary>
public class cCheckParameterDecimalArray : cCheckParameterAbstractArray<decimal, decimal?>
{
#region Pu... |
using System;
using System.Collections.Generic;
using TransPick.Capturers.Types;
using TransPick.Settings.Types;
namespace TransPick.Settings
{
[Serializable]
internal class General
{
#region ::Singleton::
// Singleton pattern to store settings
[NonSerialized]
private stat... |
//------------------------------------------------------------------------------
// <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>
//--... |
// 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.
namespace System
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | A... |
using GraphX.PCL.Common.Models;
namespace GraphXSampleWpfApp.Models
{
/* DataVertex is the data class for the vertices. It contains all custom vertex data specified by the user.
* This class also must be derived from VertexBase that provides properties and methods mandatory for
* correct GraphX operatio... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Cryptography;
using System.Text;
using BASeCamp.Updating;
namespace BASeCamp.BASeBlock
{
class LevelbackupManager
{
//class stores backup copies of Levels as... |
// 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
#region Usings
using System;
using System.ComponentModel.DataAnnotations;
using System.Data;
using DotNetNuke.Comm... |
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components.Authorization;
namespace Bunit.TestDoubles;
/// <summary>
/// Root authorization service that manages different authentication/authorization state
/// in the system.
/// </summary>
public class TestAuthorizat... |
#region Copyright Syncfusion Inc. 2001-2021
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applica... |
// 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... |
/*
* 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.Windows.Controls;
using System.Windows.Media;
using Microsoft.Toolkit.Mvvm.ComponentModel;
namespace LibAlarmverwaltung.ViewModel;
public partial class VmAlarmverwaltung
{
[ObservableProperty] private ClickMode _clickModeTasterReset;
[ObservableProperty] private Brush _brushAlarm00;
[Obser... |
using b2xtranslator.DocFileFormat;
using b2xtranslator.OpenXmlLib;
namespace b2xtranslator.WordprocessingMLMapping
{
public class FootnotesMapping : DocumentMapping
{
public FootnotesMapping(ConversionContext ctx)
: base(ctx, ctx.Docx.MainDocumentPart.FootnotesPart)
{
th... |
using XSharp.Assembler;
using XSharp.Assembler.x86;
using XSharp;
using static XSharp.XSRegisters;
namespace Cosmos.Core_Asm.MemoryOperations
{
public class MemoryOperationsFill16BlocksAsm : AssemblerMethod
{
private const int DestDisplacement = 16;
private const int ValueDisplacement = 12;
... |
using Signals;
using Signals.Signals;
using Sound;
using System;
namespace ConsoleTest
{
class Program
{
private const int SampleRate = 44100;
private const int Seconds = 10;
static void Main(string[] args)
{
Data data1 = new Data(1, 2, 0, 0);
Data data... |
using System;
using System.Text;
using System.Net;
using System.IO;
using System.Text.RegularExpressions;
using System.IO.Compression;
using System.Security.Cryptography.X509Certificates;
using System.Net.Security;
using System.Linq;
using System.Net.Cache;
using System.Collections.Generic;
using System.Collections;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Owin;
using Owin;
using Microsoft.AspNet.SignalR;
[assembly: OwinStartup(typeof(AngularJS.App.Startup))]
namespace AngularJS.App
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
... |
namespace ClearHl7.Codes.V240
{
/// <summary>
/// HL7 Version 2 Table 0437 - Alert Device Code.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0437</remarks>
public enum CodeAlertDeviceCode
{
/// <summary>
/// B - Bracelet.
/// </summary>
Bracelet,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace IP_Geolocation
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/... |
using Elsa.Activities.Temporal.Common.Services;
using NodaTime;
using Quartz;
namespace Elsa.Activities.Temporal.Quartz.Services
{
public class QuartzCrontabParser : ICrontabParser
{
private readonly IClock _clock;
public QuartzCrontabParser(IClock clock)
{
_clock = clock;... |
namespace XmrStakGui
{
internal static class Consts
{
internal const string ConfigFile = "config.json";
internal const string ConfigTxtFile = "config.txt";
internal const string CpuMiner = "xmr-stak-cpu.exe";
internal const string AmdMiner = "xmr-stak-amd.exe";
internal ... |
using UnityEngine;
public class DeleteMessageOnCollected : MonoBehaviour
{
[SerializeField]
private GameObject dialogBox;
private void OnDestroy()
{
Destroy(dialogBox);
}
} |
//-----------------------------------------------------------------------------
// Filename: RTCPeerConnection.cs
//
// Description: Represents a WebRTC RTCPeerConnection.
//
// Specification Soup (as of 13 Jul 2020):
// - "Session Description Protocol (SDP) Offer/Answer procedures for
// Interactive Connectivity Es... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WebCV.Models
{
public abstract class BaseRelation<T> where T: class
{
public virtual int BaseID { ... |
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("TpP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace RatePI
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
... |
namespace MyAttributes;
using System;
/// <summary>
/// Label for after-class tests.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class AfterClassAttribute : Attribute
{
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> The List VmImages in EdgeZone operation response. </summary>
... |
/*
* 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.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... |
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("2.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Academy.Models;
using Academy.Models.Enums;
using Academy.Models.Abstractions;
using Academy.Tests.Fakes;
using Academy.Core.Factories;
using Academy.Models.Utils.LectureReso... |
/*
* 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 Cineland.Domain.Common;
namespace Cineland.Domain.Entities.MovieAggregate
{
public class Genre : Entity
{
private List<Movie> _movies = new List<Movie>();
public Genre(Guid id, string name)
{
Id = id;
Name = ... |
using System.Linq;
using System.Threading.Tasks;
using Cloo;
using Emphasis.OpenCL.Helpers;
using Emphasis.ScreenCapture.Windows.Dxgi;
using SharpDX.Direct3D11;
namespace Emphasis.ScreenCapture.OpenCL
{
public class ComputeMemoryDispatcher
{
public async Task<ComputeImage2D> Dispatch(ScreenCapture capture, Comput... |
using System.IO;
using JetBrains.Annotations;
using essentialMix.Text;
namespace essentialMix.Cryptography.Hash;
public interface IHashAlgorithm : IAlgorithmBase, IEncoding
{
bool CanReuseTransform { get; }
bool CanTransformMultipleBlocks { get; }
byte[] Hash { get; }
int HashSize { get; }
int InputBlockSize { ... |
using System;
namespace Oblqo
{
/// <summary>
/// Task execution result - delete file, new file and others.
/// </summary>
[Flags]
public enum AccountFileStates
{
New = 1,
Deleted = 2,
UnsyncronizedWithAllDrives = 4,
UnsyncronizedWithStorage = 8,
Syncron... |
@using System.Web.Http
@using EmplSys.WebAPI.Areas.HelpPage.Models
@model HelpPageApiModel
@{
var description = Model.ApiDescription;
ViewBag.Title = description.HttpMethod.Method + " " + description.RelativePath;
}
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
<div id="body" ... |
using Xamarin.Forms;
namespace XamarinMvvm
{
/// <summary>
/// Application, Implement in Xamarn.Forms Application class
/// </summary>
public interface IApplication
{
/// <summary>
/// Gets or sets the main page.
/// </summary>
/// <value>
/// The main page.... |
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using System.Net.Http;
using Microflow.API;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using System.Threading;
using Microflow.Models;
namespace Microflow
{
public static class ResponseProxyInlineDemoFunction
{
/// <summary>
... |
using UnityEngine;
using System.Collections;
public class Camera_Move : MonoBehaviour {
private GameObject Player = null;
private Vector3 Position_Offset = Vector3.zero;
// Use this for initialization
void Start () {
Player = GameObject.FindGameObjectWithTag("Player");
this.Position_Offset ... |
/*
Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com)
This file is part of Highlander Project https://github.com/alexanderwatt/Hghlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
copy of the license along wit... |
using HotelBooking.Business.Business;
using HotelBooking.Repository.Repositories;
using HotelBooking.Services.Services;
using System;
namespace HotelBooking.Application
{
class Program
{
static void Main( string[] args )
{
// Dependencies
BedroomRepository bedroomReposi... |
// 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... |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.PublisherApi.Enums
{
/// <summary>
/// SupportByVersion Publisher 14, 15, 16
/// </summary>
[SupportByVersion("Publisher", 14,15,16)]
[EntityType(EntityType.IsEnum)]
public enum PbPlacementType
{
/// <summary>
/// SupportByV... |
using FeralTic.DX11;
using SharpFontWrapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VVVV.PluginInterfaces.V2;
namespace VVVV.DX11.Nodes.Text
{
[Startable(Name = "Font Factory", Lazy = false)]
public class FontWrapperFactory : I... |
/*
* 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.Threading.Tasks;
namespace PaymentGateway.Service.Clients
{
public class BankClientMock : IBankClient
{
public async Task<BankTransactionResponseDto> ProcessTransaction(BankTransactionRequestDto request)
{
if (request is null)
{
return await ... |
using System;
namespace POESKillTree.ItemFilter.Model
{
public interface IMergeableMatch
{
/// <summary>
/// Determines whether this match complements another match.
/// </summary>
/// <example>
/// "Quality = 10" complements both "Quality > 10" and "Quality < 9".
... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Mikibot.Analyze.Database;
#nullable disable
namespace Mikibot.Analyze.Migrati... |
using System.Text.RegularExpressions;
namespace FengWo.Web.Views
{
public static class UrlChecker
{
private static readonly Regex UrlWithProtocolRegex = new Regex("^.{1,10}://.*$");
public static bool IsRooted(string url)
{
if (url.StartsWith("/"))
{
... |
// Copyright © 2018 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Platformus.Barebone;
using Platformus.ECommerce.Data.Entities;
using Platformus.Globalization.Frontend.ViewModels;
namespace Platformus.EComm... |
//------------------------------------------------------------------------------
// <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>
//------------------------------------------... |
using BlazorGraphExample.Services.GraphAPI;
using Microsoft.AspNetCore.Blazor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace BlazorGraphExample.Services
{
public class GraphService : IGraphService
{
... |
//------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* *
* Use subject to the terms of the Apache License 2.0 available at *
... |
@model Orchard.Modules.ViewModels.ModulesIndexViewModel
@using Orchard.Localization;
@using Orchard.Modules.Models;
@using Orchard.Modules.Extensions;
@using Orchard.Mvc.Html;
@using Orchard.Utility.Extensions;
@{
Style.Require("ModulesAdmin");
Layout.Title = T("Modules").ToString();
}
@using (Html.BeginFo... |
using System.IO;
using System;
using System.Linq;
using Microsoft.Office.Interop.Excel;
using GeneratePayslip.Model;
using System.Data.Entity;
using System.Diagnostics;
using System.Globalization;
using GeneratePayslip.Resources.Constants;
using System.Net.Mail;
using System.Net;
using System.Web;
using PdfSharp.Pdf;... |
// <auto-generated />
using System;
using Exercise1.DbScaffold.Models.VirbelaListing;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueC... |
namespace Engine.PathFinding.RecastNavigation.Recast
{
public enum EdgeValues
{
EV_UNDEF = -1,
EV_HULL = -2,
}
} |
// *** 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.Goog... |
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("Di... |
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.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using JdSdk.Domain.Order;
namespace JdSdk.Response.Order
{
[Serializable]
public class OrderLogisticsSearchResponse : JdResponse
{
[JsonProperty("orders")]
pub... |
// T4 code generation is enabled for model 'G:\Project\SQMS\SQMS\sqmscontext.edmx'.
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
// property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
// is open in the designer.
//... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityServerWithAspNetIdentity.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[EmailAddress]
public string Emai... |
using _7dtd_svmanager_fix_mvvm.Views;
using CommonStyleLib.ViewModels;
using Prism.Commands;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Sy... |
/****************************************************************************
* QualitativeSequenceBVTTestCases.cs
*
* This file contains the Qualitative BVT test cases.
*
******************************************************************************/
using System;
using System.Linq;
using System.Text;
using Bi... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
///
/// </summary>
public class CubePlanet
{
static Vector3[] directions = new Vector3[] {
Vector3.left,
Vector3.forward,
Vector3.right,
Vector3.back
};
GameOb... |
namespace Kapi.Auth.Domain.Specifications
{
using Kapi.Auth.Domain.Interfaces.Services;
using Kapi.Auth.Domain.Models;
using Kapi.Domain.Core.Validations;
public class ClaimCouldNotHaveEqualName : DomainSpecification<ClaimModel, Guid>
{
private readonly IClaimService _claimService;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.