text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlServerCe;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.MobileServices;
using Microsoft.WindowsAzure.MobileServices.Query;
using Microsoft.WindowsAzure.MobileServi... |
@using Lingvo.Backend
@using Lingvo.Backend.Services;
@using Lingvo.Backend.ViewModels
@using Lingvo.Common.Entities
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
/*
* 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 (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
namespace Azure.AI.DocumentTranslation
{
[CodeGenModel("InnerErrorV2")]
public partial class DocumentTranslationInnerError
{
}
} |
// <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.
// </auto-generated>
namespace Microsoft.Azure.Management.Network.Fluent.Mod... |
using System;
using Content.Server.Alert;
using Content.Server.Atmos.Components;
using Content.Shared.Alert;
using Content.Shared.Atmos;
using Content.Shared.Damage;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Server.Atmos.EntitySystems
{
public class BarotraumaSystem : EntitySystem... |
//---------------------------------------------------------------------
// <copyright file="AllNode.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------------------... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace DigitalOcean.API.Models.Requests {
public class PurgeCdnFiles {
/// <summary>
/// An array of strings containing the path to the content to be purged from the CDN cache.
/// </summary>
[JsonProperty("files")]
... |
namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class T894Map :
X12LayoutMap<T894, X12Entity>
{
public T894Map()
{
Id = "T894";
Name = "894 Delivery/Return Base Record";
Segment(x => x.Function... |
// 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.Cdn.Models
{
/// <summary> Defines the parameters for UrlFilename match conditions. </summary... |
using System.Collections.Generic;
using System.Linq;
namespace LBH.AdultSocialCare.Api.V1.Extensions
{
// ReSharper disable once InconsistentNaming
public static class ICollectionExtensions
{
public static ICollection<T> AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)
{
... |
// Copyright 2020 Google 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 applicable law or agreed to in... |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Mania.Objects
{
/// <summary>
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("as2csharpTool")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assem... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Server.cs" company="Sean McElroy">
// Released under the terms of the MIT License
// </copyright>
// <summary>
// The server is the holder of <see cref="Listener" /> and <see ... |
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace CodeEditor.Text.UI.Unity.Editor.Implementation
{
static class MissingEditorAPI
{
static Type inspectorStateType;
public static bool ParentHasFocus(EditorWindow editorWindow)
{
return (bool)(PropertyOf(ParentOf(editorWin... |
// 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.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Represents an event.
... |
namespace Ryujinx.HLE.HOS.Services.Sm
{
enum ResultCode
{
ModuleId = 21,
ErrorCodeShift = 9,
Success = 0,
NotInitialized = (2 << ErrorCodeShift) | ModuleId,
AlreadyRegistered = (4 << ErrorCodeShift) | ModuleId,
InvalidName = (6 << ErrorCodeShift) ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace TestApp.Views {
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BarChartPage : ContentPage {
public BarCh... |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
using System;
using Xunit;
namespace JuniorPorfirio.CheckClauses.Tests
{
public class DateTimeCheckClausesTest
{
[Fact(DisplayName = "Date now is of range, return value")]
public void Should_return_date_of_range()
{
//Arrange
var today = DateTime.Now;
... |
// ------------------------------------------------------------------------------
// <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 Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using WebStore.Memory;
namespace WebStore.Web.Controllers
{
public class SearchController : Controller
{
private readonly BookRepository bookRepository;
public SearchController(BookRepository bookRepository)
{
this.... |
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using LinqToDB.Tools;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class WhereTests : TestBase
{
[Test, DataContextSource]
public void MakeSubQuery(string context)
{
using (var db = Get... |
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("FpM... |
using System;
using System.Collections;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.XR.Interaction.Toolkit
{
/// <summary>
/// Abstract base class from which all interactors that are controller driven derive.
/// This class hooks into the interaction syste... |
namespace Metsys.WebOp.Runner
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
public class BustingCommand : ICommand
{
private static readonly Regex _stylesheetPattern = new Regex(@"\('?(?<file>.*?\.(gif|jpg... |
using System;
using System.Web.Http;
using System.Web.Mvc;
using signup_signin.Areas.HelpPage.ModelDescriptions;
using signup_signin.Areas.HelpPage.Models;
namespace signup_signin.Areas.HelpPage.Controllers
{
/// <summary>
/// The controller that will handle requests for the help page.
/// </summary>
p... |
//-----------------------------------------------------------------------
// <copyright file="JsonSchemaReferenceUtilities.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico S... |
using System.Collections.Generic;
public class NeuralLayer
{
public List<Neuron> m_neurons = new List<Neuron>();
} |
// 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.Reflection;
namespace Microsoft.Data.Entity.Metadata.ModelConventions
{
internal static class Conventio... |
//------------------------------------------------------------------------------
// <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 MvvmWorkshop.Shared;
using NUnit.Framework;
using Rhino.Mocks;
using WpfApplication1;
namespace WpfApplication1Tests
{
[TestFixture]
public class MainViewModelTest
{
[Test]
public void Construction_LoadsPersons()
{
var dataService = MockRepository.GenerateStub<IDataService>();
dataService.Stub(x =... |
using System;
namespace PuppeteerSharp
{
/// <summary>
/// Popup event arguments. <see cref="Page.Popup"/>
/// </summary>
public class PopupEventArgs : EventArgs
{
/// <summary>
/// Gets the popup page.
/// </summary>
public Page PopupPage { get; internal set; }
... |
using System;
namespace ZStart.Core
{
public abstract class ZDataBase :ICloneable, IDisposable
{
public string UID = "";
public long ID = 0;
public string name = "";
public virtual object Clone()
{
return this.MemberwiseClone();
}
public vi... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using MySql.Data.MySqlClient;
namespace Backend {
public class PatientServices {
public AppDb Db { get; }
public PatientServices(AppDb newDb) {
Db = newDb;
}
public List<Patient> findAllPatientsPerDepartment(long depId)... |
using Imagin.Common.Data;
using System;
namespace Imagin.Common.Linq
{
/// <summary>
///
/// </summary>
public static class UInt64Extensions
{
/// <summary>
///
/// </summary>
/// <param name="value"></param>
/// <param name="maximum"></param>
/// ... |
using Xamarin.Forms;
namespace testeAds
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new testeAdsPage();
}
protected override void OnStart()
{
// Handle when your app starts
}
... |
// Copyright © Jason Curl 2012-2016
// Sources at https://github.com/jcurl/SerialPortStream
// Licensed under the Microsoft Public License (Ms-PL)
namespace RJCP.IO.Ports.Native.Windows
{
using System;
using System.Collections.Specialized;
using System.Runtime.InteropServices;
internal static class N... |
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
static class SdkToolFinder
{
static string windowsSdkDirectory;
static SdkToolFinder()
{
var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
... |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System.Diagnostics;
using System.Linq.Expressions;
namespace Moq
{
internal sealed class InnerMockSetup : SetupWithOutParameterSupp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Ingameを司る。
//ゲームデータの保存など。
public partial class IngameManager: MonoBehaviour
{
/*
public IngameManager()
{
this.IngameClientsData = new Dictionary<uint, Gamemodel.IngameClient>();
this.IngameClientsInstances = ... |
using System;
using System.Collections.Generic;
using Model;
using UnityEngine;
using Random = UnityEngine.Random;
public sealed class MapView : MonoBehaviour {
[SerializeField]
private List<CellPreset> cellObjectPresets = new List<CellPreset>();
[SerializeField]
private Vector2 size = Vector2.one;
... |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.VisioApi
{
///<summary>
/// DispatchInterface IVToolbarSet
/// Sup... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MvsApp
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathIn... |
// Copyright 2009-2020 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/Jos... |
/*
* Author: Ruy Delgado <ruydelgado@gmail.com>
* Title: OpenDNS
* Description: DNS Client Library
* Revision: 1.0
* Last Modified: 2005.01.28
* Created On: 2005.01.28
*
* Note: Based on DnsLite by Jaimon Mathew
* */
using System;
namespace OpenDNS
{
/// <summary>
/// Query Result/Response Codes f... |
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Apricot")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Apricot")]
[assembly: AssemblyCopyright("Copyright © 2015")]... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace OpenIZ.OrmLite
{
/// <summary>
/// Non-generic interface
/// </summary>
public interface IOrm... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.commerce.iot.wifi.status.query
/// </summary>
public class AlipayCommerceIotWifiStatusQueryRequest : IAlipayRequest<AlipayCommerceIotWi... |
// Copyright © 2017 - 2018 Chocolatey Software, Inc
// Copyright © 2011 - 2017 RealDimensions Software, LLC
//
// 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.or... |
using Xamarin.Forms;
namespace DSoft.XamarinForms.Controls.TouchTracking
{
public class TouchEffect : RoutingEffect
{
private const string effectId = "DSoft.XamarinForms.Controls.TouchEffect";
/// <summary>
/// Resolves the effect with its platform implementation
/// </summar... |
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class InvoiceSubscriptionItemPriceDataOptions : INestedOptions
{
/// <summary>
/// Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency
/// code</a>, in lowercase... |
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Uveta.Extensions.Jobs.Abstractions.Models;
using Uveta.Extensions.Jobs.Abstractions.Queues;
namespace Uveta.Extensions.Jobs.Queues
{
internal class InMemoryJobQueue : IJobQueue
{... |
namespace ShareYourInterests.Entity.Enums
{
public enum EnumDataBaseType
{
Mysql,
Sqlserver,
Sqlite
}
} |
/*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:QYController.cs
文件功能描述:企业号对接测试
创建标识:Senparc - 20150312
----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.IO;
us... |
namespace PowerUtilities
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TerrainGenerator : MonoBehaviour
{
public int width = 256;
public int height = 256;
public int depth = 20;
public float scale = ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Microsoft.XLANGs.BaseTypes;
using Microsoft.BizTalk.XLANGs.BTXEngine;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify ... |
using System;
using EIP.Common.Entities;
using EIP.Common.Entities.CustomAttributes;
namespace EIP.System.Models.Entities
{
[Serializable]
[Table(Name = "System_DataBase")]
public class SystemDataBase : EntityBase
{
/// <summary>
///
/// </summary>
[Id]
public ... |
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc.
// Authored by DSS, Inc. 2014-2017
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace VA.Gov.Artemis.Commands.Vpr.Data
{
[XmlRoot("value")]
publ... |
// <auto-generated />
using System;
using GloboTicket.Services.Marketing.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueCo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Notepod
{
/// <summary>
/// Member variable to entity store method generator.
/// </summary>
/// <remarks>
/// This is used to support my own MsAccess OleDb Entity framework since Microsoft's entity frame work doesn't supp... |
using System;
using System.Runtime.InteropServices;
namespace NAudio.Wave.Compression
{
/// <summary>
/// Interop structure for ACM driver details (ACMDRIVERDETAILS)
/// </summary>
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
struct AcmDriverDetails
{
/// <summary>
... |
/*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.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 ... |
/*
* 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 ... |
//
// Copyright (c) Microsoft and contributors. 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
//
// Unless requi... |
using Renderer;
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 Test
{
public partial class Form1 : Form
{
public Form1(... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace GameRayBurst.FtLinq.Tests.EnumerableLinq
{
[TestClass]
public class ContainsTests
{
[TestMethod]
public void Contains_Empty()
{
FtlAssert.WorksScalar((int[] source) => source.... |
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace UClient
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public static partial class UApi
{
/// <summary>
/// Returns information about a basic group by its identifier. This is an offline request... |
<h1>Basic MVC Apps: Epicodus Friday Independent Project</h1>
<h3><a href='/words/new'>Word Counter</a></h3>
<h3><a href='/years/new'>Leap Year Checker</a></h3>
<h3><a href='/parcels/new'>Parcel Calculator</a></h3> |
namespace SkunkLab.Protocols.Mqtt
{
public class PingRequestMessage : MqttMessage
{
public PingRequestMessage()
{
}
public override bool HasAck
{
get { return true; }
}
public override byte[] Encode()
{
int index = 0;
... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using LiveHTS.Core.Interfaces;
using LiveHTS.Core.Interfaces.Repository;
using LiveHTS.SharedKernel.Model;
using SQLite;
namespace LiveHTS.Infrastructure.Repository
{
public abstract class MetaRepository<T, TId> : IMetaRepository<T, T... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
using System;
using ClearHl7.Helpers;
using ClearHl7.Serialization;
namespace ClearHl7.V231.Types
{
/// <summary>
/// HL7 Version 2 EIP - Parent Order.
/// </summary>
public class ParentOrder : IType
{
/// <inheritdoc/>
public bool IsSubcomponent { get; set; }
/// <summary... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
namespace CompaniesHouse.Core.Tests.ResourceBuilders
{
public class CompanyFilingHistory
{
public string HistoryStatus { get; set; }
public string ETag { get; set; }
public int TotalCount { get; set; }
public int ItemsPerPage { get; set; }
public int StartIndex { get... |
using System;
using NetOffice;
namespace NetOffice.ExcelApi.Enums
{
/// <summary>
/// SupportByVersion Excel 9, 10, 11, 12, 14, 15
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff838391.aspx </remarks>
[SupportByVersionAttribute("Excel", 9,10,11,12,... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace JDKDownloader.Base.Util
{
public class FixedSizedQueue<T> : ConcurrentQueue<T>
{
private readonly object syncObject = new object();
public int Size { get; private set; }
public F... |
@using GmailDb.Areas.HelpPage.ModelDescriptions
@model CollectionModelDescription
@if (Model.ElementDescription is ComplexTypeModelDescription)
{
@Html.DisplayFor(m => m.ElementDescription)
} |
using Markdig.Adf.Nodes;
using Markdig.Renderers;
using Markdig.Syntax.Inlines;
namespace Markdig.Adf.Renderers
{
internal class TextRenderer : AdfObjectRenderer<LiteralInline>
{
protected override void Write(AdfRenderer renderer, LiteralInline obj)
{
renderer.WriteInline(new TextN... |
namespace ConnectSDK.UnitTests.MeetingsApi.Tests.Exceptions
{
using System.Net;
using System.Threading.Tasks;
using ConnectSDK.UnitTests.Common;
using Xunit;
using Xunit.Abstractions;
using ConnectSDK.Meetings;
using ConnectSDK.Common.Exceptions;
public class MeetingsClientExceptionTes... |
using System;
using MediatR;
using ShopsRUs.Service.Response;
namespace ShopsRUs.Service.Queries
{
public class GetCustomerByIdQuery : IRequest<CustomerDto>
{
public Guid Id { get; set; }
public GetCustomerByIdQuery(Guid id)
{
Id = id;
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LightingSettings;
namespace FogOfWar {
public static class Sorted {
static SortPass sortPass = new SortPass();
public static void Draw(Camera camera) {
sortPass.SortObjects();
Material material = null;
Vector2 obj... |
using BlobMyData.Domain.Model;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlobMyData.Infrastructure.Mappings
{
public class ProfileMap : ClassMap<Profile>
{
public ProfileMap()
{
... |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.Composition;
using Sy... |
namespace ReasonDigitalNews.Core.Models.Shared
{
public class PageInfoModel
{
public PageInfoData PageInfo { get; set; }
}
} |
@model IEntityViewModel
@{
object area = ViewContext.RouteData.DataTokens["Area"];
if (area == null)
{
Layout = "~/Views/Shared/_DialogLayout.cshtml";
}
else
{
Layout = "~/Areas/" + area.ToString() + "/Views/Shared/_DialogLayout.cshtml";
}
ViewBag.Title = Model.Metadata.... |
using System;
using System.IO;
using DAL;
namespace PL_Console
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = System.Text.Encoding.UTF8;
Menu menu = new Menu();
menu.MainMenu();
}
}
} |
using System;
using System.IO;
using System.Threading.Tasks;
namespace OpenAddOnManager
{
public static class Utilities
{
public static Task<DirectoryInfo> GetCommonStorageDirectoryAsync() => Task.Run(() =>
{
var directory = new DirectoryInfo(Path.Combine(Environment.GetFolderPath(E... |
//------------------------------------------------------------------------------
// <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;
namespace Messerli.FileManipulatorAbstractions
{
public sealed class ConflictingMsBuildSdkException : Exception
{
public ConflictingMsBuildSdkException(MsBuildSdk sdk, string currentVersion)
{
Sdk = sdk;
CurrentVersion = currentVersion;
}
p... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/propsys.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syste... |
namespace UnlockMe.Web.ViewModels.ProfilesInputModels
{
using System;
using System.Collections.Generic;
using System.Text;
public class ProfilesListViewModel
{
public IEnumerable<ProfileInListViewModel> Profiles { get; set; }
public int PageNumber { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace E9_Skeleton_Tracking_Complete
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : App... |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System.ServiceModel.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Practices.EnterpriseL... |
using UnityEngine;
using System.Collections;
public class DeactivateMe : MonoBehaviour {
void Awake () {
gameObject.SetActive(false);
}
} |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.Virtualization.V2
{
public abstract class CIMCollection : CIMManagedElement
{
protected CIMCollection()
{
}
protected CIMColle... |
using UnityEngine;
using System.Collections;
public class WallScript : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter2D(Collider2D collider) {
if (collider.CompareTag ("Bullet")&&transform.tag!="ToBeDestroyed"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.