100+ results for 'namespace microsoft'

Not the results you expected?

SetCmdletCommand.cs (https://psstudio.svn.codeplex.com/svn) C# · 512 lines

5 using System.Management.Automation;

6

7 namespace Microsoft.PowerShell.CmdletManagement

8 {

9 [Cmdlet(VerbsCommon.Set, "PsSpecCmdlet", SupportsShouldProcess = true)]

GlobalSuppressions.cs (https://rxx.svn.codeplex.com/svn) C# · 64 lines

13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Reactive.Disposables")]

14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ComponentModel")]

15 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net")]

16 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.IO")]

17 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Collections.Generic")]

22 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Mail")]

23 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.NetworkInformation")]

24 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Sockets")]

51 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "System.Reactive.Linq.Observable2.#FromAsyncPattern`4(System.FuncExtended`6<!!0,!!1,!!2,System.AsyncCallback,System.Object,System.IAsyncResult>,System.Func`2<System.IAsyncResult,!!3>)")]

52 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Phone.UserData")]

53 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "System.Net.Sockets.SocketExtensions.#ReceiveUntilCompleted(System.Net.Sockets.Socket,System.Net.Sockets.SocketFlags)")]

58 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Data.SqlClient")]

59 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ServiceModel.Reactive")]

60 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Reactive.Linq.Observable2.#Collect`5(System.Func`2<System.IDisposable,!!0>,System.IObservable`1<!!1>,System.IObservable`1<System.Reactive.CollectionModification`1<!!3>>,System.Func`2<!!1,!!2>,System.Func`2<!!3,!!2>,System.Func`3<!!2,!!1,System.Reactive.CollectionNotification`1<!!3>>,System.Func`2<System.IObservable`1<System.Reactive.CollectionNotification`1<!!3>>,System.IObservable`1<System.Reactive.CollectionModification`1<!!4>>>,System.Collections.Generic.IEqualityComparer`1<!!2>)")]

Matrix.UnitTest.cs (https://MSCompBio.svn.codeplex.com/svn) C# · 296 lines

1 //*********************************************************

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 //

18 using System.IO;

19

20 namespace Bio.Matrix

21 {

22

DNNTreeNavigationProvider.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 479 lines

1 namespace DotNetNuke.NavigationControl

2 {

3 using DotNetNuke.Modules.NavigationProvider;

4 using DotNetNuke.UI.WebControls;

5 using Microsoft.VisualBasic;

6 using Microsoft.VisualBasic.CompilerServices;

ITimespanFormatter.cs (https://enhancedreminders.svn.codeplex.com/svn) C# · 227 lines

1 //++

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // Module Name:

16 using System.Globalization;

17

18 namespace Microsoft.EnhancedReminders.Dispatcher

19 {

20 /// <summary>

UserProfile.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 383 lines

1 namespace DotNetNuke.Entities.Users

2 {

3 using DotNetNuke.Common.Utilities;

4 using Microsoft.VisualBasic.CompilerServices;

5 using System;

6 using System.Collections;

_LinkApplicationPlacementType_DAL.cs (https://PlacementManager.svn.codeplex.com/svn) C# · 336 lines

28 using System.Web.UI.WebControls.WebParts;

29 using System.Web.UI.HtmlControls;

30 using Microsoft.Practices.EnterpriseLibrary.Data;

31 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

32

33

34 namespace PlacementManager.DAL

35 {

36 public abstract class _LinkApplicationPlacementType_DAL

EntityConfigurations.cs (https://cfx.svn.codeplex.com/svn) C# · 319 lines ✨ Summary

This C# code defines entity configurations for a database, including tables and relationships between them. It specifies column mappings, data types, and constraints for each table, as well as complex type configurations for additional data such as names and addresses. The configurations are used to map the database schema to the C# classes that represent the data.

2 * Module Name: EntityConfigurations.cs

3 * Project: CSEFCodeOnly

4 * Copyright (c) Microsoft Corporation.

5 *

6 * This code file contains the EntityConfiguration for the POCO entities to

7 * create the Entity Data Model metadata.

8 *

9 * This source is subject to the Microsoft Public License.

10 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.

21 using System.Linq;

22 using System.Text;

23 using Microsoft.Data.Objects;

24 #endregion

25

26 namespace CSEFCodeOnly

27 {

28 #region EntityConfiguration for TPT inheritance POCO entities

ControlIdentifiers.Designer.cs (https://prism.svn.codeplex.com/svn) C# · 305 lines ✨ Summary

This is a C# class that provides access to localized strings for a Silverlight application. It contains a collection of static properties, each returning a string value from a resource file (not shown). The class allows developers to retrieve these strings in their code, making it easier to manage internationalization and localization in the application.

1 //===================================================================================

2 // Microsoft patterns & practices

3 // Composite Application Guidance for Windows Presentation Foundation and Silverlight

4 //===================================================================================

5 // Copyright (c) Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

25 //------------------------------------------------------------------------------

26

27 namespace ModularityWithMef.Tests.AcceptanceTest.TestData {

28 using System;

29

45 private static global::System.Globalization.CultureInfo resourceCulture;

46

47 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

48 internal ControlIdentifiers() {

49 }

IntrospectionUtility_ClassTest.cs (https://hg.codeplex.com/injectioncop) C# · 310 lines

16 using InjectionCop.IntegrationTests.Parser;

17 using InjectionCop.Utilities;

18 using Microsoft.FxCop.Sdk;

19 using NUnit.Framework;

20

21 namespace InjectionCop.IntegrationTests.Utilities

22 {

23 [TestFixture]

dl_check_table.cpp (https://git01.codeplex.com/z3) C++ · 364 lines

1 /*++

2 Copyright (c) 2010 Microsoft Corporation

3

4 Module Name:

24

25

26 namespace datalog {

27

28 bool check_table_plugin::can_handle_signature(table_signature const& s) {

PCGamePad.cs (https://fitclub.svn.codeplex.com/svn) C# · 258 lines

2 // --------------------------------

3 // <copyright file="PCGamePad.cs" company="Faculty of Information Technology, Czech Technical University in Prague">

4 // This document is shared by Microsoft Public License (MS-PL)

5 // For further details please see http://msdn.microsoft.com/en-us/library/ff648068.aspx or license.txt.

18 #if WINDOWS

19 using System.Collections.Generic;

20 using Microsoft.Xna.Framework.Input;

21 using Nuclex.Input;

22

23 namespace ExternalClasses.Controls

24 {

25 public enum PCGamePadButtons { Up, Down, Left, Right, Attack, Block }

Orphan.cs (https://LinqOverCSharp.svn.codeplex.com/svn) C# · 265 lines

6 using CSharpTreeBuilder.CSharpSemanticGraphBuilder;

7 using CSharpTreeBuilder.ProjectContent;

8 using Microsoft.VisualStudio.TestTools.UnitTesting;

9 using SoftwareApproach.TestingExtensions;

10

11 namespace CSharpTreeBuilderTest

12 {

13 class Orphan : ParserTestBed

15 // ----------------------------------------------------------------------------------------------

16 /// <summary>

17 /// Error CS0101: The namespace 'A' already contains a definition for 'B' (namespace and class)

18 /// </summary>

19 // ----------------------------------------------------------------------------------------------

ParallelAlgorithms_Scan.cs (https://hg.codeplex.com/associativy) C# · 218 lines

1 //--------------------------------------------------------------------------

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // File: ParallelAlgorithms_Scan.cs

11 using System.Threading.Tasks;

12

13 namespace System.Threading.Algorithms

14 {

15 public static partial class ParallelAlgorithms

CubeInfo.cs (https://ASStoredProcedures.svn.codeplex.com/svn) C# · 302 lines

42 try

43 {

44 Microsoft.AnalysisServices.Server oServer = new Microsoft.AnalysisServices.Server();

45 oServer.Connect("Data Source=" + sServerName);

46 Database db = oServer.Databases.GetByName(sDatabaseName);

81 try

82 {

83 Microsoft.AnalysisServices.Server oServer = new Microsoft.AnalysisServices.Server();

84 oServer.Connect("Data Source=" + sServerName);

85 Database db = oServer.Databases.GetByName(sDatabaseName);

213 try

214 {

215 Microsoft.AnalysisServices.Server oServer = new Microsoft.AnalysisServices.Server();

216 oServer.Connect("Data Source=" + sServerName);

217 Database db = oServer.Databases.GetByName(sDatabaseName);

ReflectionComposablePartDefinitionTests.cs (https://hg.codeplex.com/mef) C# · 342 lines

1 // -----------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

7 using System.ComponentModel.Composition.Primitives;

8 using System.Reflection;

9 using Microsoft.Internal;

10 using Microsoft.VisualStudio.TestTools.UnitTesting;

14 using System.Threading;

15

16 namespace System.ComponentModel.Composition.ReflectionModel

17 {

18 [TestClass]

ReflectionModelServices.cs (https://spm.svn.codeplex.com/svn) C# · 352 lines

1 // -----------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

6 using System.ComponentModel.Composition.Primitives;

7 using System.Reflection;

8 using Microsoft.Internal;

9 using System.Collections.Generic;

10 using System.Linq;

12 using System.Globalization;

13

14 namespace System.ComponentModel.Composition.ReflectionModel

15 {

16 public static class ReflectionModelServices

106 }

107

108 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]

109 public static ComposablePartDefinition CreatePartDefinition(

110 Lazy<Type> partType,

TriggerCollection.cs (https://tridentworkflow.svn.codeplex.com/svn) C# · 356 lines

1 //*********************************************************

2 //

3 // Copyright (c) Microsoft. All rights reserved.

4 // This code is licensed under the Apache License, Version 2.0.

5 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF

10 //*********************************************************

11

12 namespace Microsoft.Research.eResearch.WFServiceLibrary.SchedulerLogic

13 {

14 using System;

PlayerObject.cs (https://Helium.svn.codeplex.com/svn) C# · 356 lines

2 using System.Collections.Generic;

3 using System.Linq;

4 using Microsoft.Xna.Framework;

5 using Microsoft.Xna.Framework.Audio;

6 using Microsoft.Xna.Framework.Content;

7 using Microsoft.Xna.Framework.GamerServices;

8 using Microsoft.Xna.Framework.Graphics;

9 using Microsoft.Xna.Framework.Input;

10 using Microsoft.Xna.Framework.Input.Touch;

11 using Microsoft.Xna.Framework.Media;

14 using Engine.Core;

15

16 namespace Name

17 {

18 public class PlayerObject : BaseObjectStreamingHelper<PlayerObject>

TaskServiceTest.cs (https://Calcium.svn.codeplex.com/svn) C# · 396 lines

7 using DanielVaughan.Tests.Mocks;

8

9 using Microsoft.VisualStudio.TestTools.UnitTesting;

10

11 namespace DanielVaughan.Tests.TaskModel

Resources.Designer.cs (https://arepa.svn.codeplex.com/svn) C# · 271 lines

9 //------------------------------------------------------------------------------

10

11 namespace Arepa.Parser.Resources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

ModifyPropertyBag.aspx.cs (https://pbs2010.svn.codeplex.com/svn) C# · 297 lines

2 using System.Web.UI;

3 using System.Web.UI.WebControls;

4 using Microsoft.SharePoint;

5 using Microsoft.SharePoint.WebControls;

6

7 namespace Havivi.PropertyBagSettings

8 {

9 public class ModifyPropertyBag : PBSPageBase

_LinkContactAttributeContact_DAL.cs (https://PlacementManager.svn.codeplex.com/svn) C# · 336 lines

28 using System.Web.UI.WebControls.WebParts;

29 using System.Web.UI.HtmlControls;

30 using Microsoft.Practices.EnterpriseLibrary.Data;

31 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

32

33

34 namespace PlacementManager.DAL

35 {

36 public abstract class _LinkContactAttributeContact_DAL

VMListViewModel.cs (https://UACluster2.svn.codeplex.com/svn) C# · 371 lines

5 using System.Threading;

6 using System.Collections.ObjectModel;

7 using Microsoft.Practices.Composite.Wpf.Commands;

8 using System.Windows;

9 using VMClusterManager.Controls.JobViews;

10 using VMClusterManager.ViewModels.HpcModels;

11

12 namespace VMClusterManager.ViewModels

13 {

14 class VMListViewModel : ViewModelBase

MapSpaceNodeStateTest.cs (https://HappyQ.svn.codeplex.com/svn) C# · 288 lines

1 using Demo.Mmose.Core.Map;

2 using Microsoft.VisualStudio.TestTools.UnitTesting;

3 using Demo.Mmose.Core.Entity.Item;

4 using Demo.Mmose.Core.Entity.Creature;

6 using Demo.Mmose.Core.Entity;

7

8 namespace Demo.Mmose.Core.Test

9 {

10 /// <summary>

CallConstructorStrategyFixture.cs (https://websf.svn.codeplex.com/svn) C# · 384 lines

1 using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan;

2 using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan;

3 using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation;

4 using Microsoft.Practices.CompositeWeb.Tests.Mocks;

5 using Microsoft.Practices.CompositeWeb.Tests.Mocks.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation;

6 using Microsoft.Practices.ObjectBuilder;

7 using Microsoft.VisualStudio.TestTools.UnitTesting;

8

9 namespace Microsoft.Practices.CompositeWeb.Tests.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation

10 {

11 [TestClass]

CollectionWithoutExpectedTypeValidator.cs (https://git01.codeplex.com/odata) C# · 240 lines

1 // Copyright 2011 Microsoft Corporation

2 //

3 // Licensed under the Apache License, Version 2.0 (the "License");

13 // limitations under the License.

14

15 namespace Microsoft.Data.OData

16 {

17 #region Namespaces

18 using System.Diagnostics;

19 using Microsoft.Data.Edm;

20 using Microsoft.Data.Edm.Library;

21 using Microsoft.Data.OData.Metadata;

22 #endregion Namespaces

Reference.cs (https://git01.codeplex.com/mobileshop) C# · 270 lines

84

85 /// <remarks/>

86 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetLogonUrl", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]

87 public string GetLogonUrl(string gotoUrl) {

88 object[] results = this.Invoke("GetLogonUrl", new object[] {

113

114 /// <remarks/>

115 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetLogoutUrl", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]

116 public string GetLogoutUrl(string gotoUrl) {

117 object[] results = this.Invoke("GetLogoutUrl", new object[] {

142

143 /// <remarks/>

144 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetCurrentUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]

145 public string GetCurrentUser(string cookieValue) {

146 object[] results = this.Invoke("GetCurrentUser", new object[] {

SpatialServicesTests.cs (https://git01.codeplex.com/entityframework) C# · 349 lines

1 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

2 using System;

3 using System.Collections.Generic;

11 using Xunit;

12

13 namespace ProviderTests

14 {

15 public class SpatialServicesTests

concept_archetype.hpp (https://bitbucket.org/genericcontainer/goblin-camp/) C++ Header · 670 lines ✨ Summary

This C++ header file defines a set of concept archetypes, which are classes that implement various iterator concepts such as random access, bidirectional, and unidirectional iterators. The code provides implementations for these concepts using template metaprogramming, allowing users to write generic algorithms that work with any type that implements these concepts.

This C++ header file defines a set of concept archetypes, which are classes that implement various iterator concepts such as random access, bidirectional, and unidirectional iterators. The code provides implementations for these concepts using template metaprogramming, allowing users to write generic algorithms that work with any type that implements these concepts.

20 #include <functional>

21

22 namespace boost {

23

24 //===========================================================================

25 // Basic Archetype Classes

26

27 namespace detail {

28 class dummy_constructor { };

29 }

665 { return x; }

666

667 } // namespace boost

668

669 #endif // BOOST_CONCEPT_ARCHETYPES_H

HierarchicalClustering.cs (https://mbf.svn.codeplex.com/svn) C# · 206 lines

1 // *********************************************************

2 //

3 // Copyright (c) Microsoft. All rights reserved.

4 // This code is licensed under the Apache License, Version 2.0.

5 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF

12 using System;

13

14 namespace Bio.Algorithms.Alignment.MultipleSequenceAlignment

15 {

16 /// <summary>

AsyncOperationState.java (https://hg.codeplex.com/javamscrm) Java · 164 lines

1 /*

2 * XML Type: AsyncOperationState

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.AsyncOperationState

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML AsyncOperationState(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is an atomic type that is a restriction of com.microsoft.schemas.crm._2007.webservices.AsyncOperationState.

33

34 /**

35 * Enumeration value class for com.microsoft.schemas.crm._2007.webservices.AsyncOperationState.

36 * These enum values can be used as follows:

37 * <pre>

PropertyEditing.feature.cs (https://hg.codeplex.com/195be0225cfa) C# · 256 lines

10 // ------------------------------------------------------------------------------

11 #region Designer generated code

12 namespace Sketch.Test.Acceptance.Specs

13 {

14 using TechTalk.SpecFlow;

17 [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.5.0.0")]

18 [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

19 [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute()]

20 public partial class EditingElementPropertiesFeature

21 {

26 #line hidden

27

28 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute()]

29 public static void FeatureSetup(Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext)

34 }

35

36 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute()]

37 public static void FeatureTearDown()

38 {

NemerleDesignPropertyDescriptor.cs (git://github.com/xxVisorxx/nemerle.git) C# · 40 lines ✨ Summary

This C# code defines a custom property descriptor class NemerleDesignPropertyDescriptor that inherits from Microsoft’s built-in DesignPropertyDescriptor. It allows for non-bolded text in the Visual Studio project property grid by overriding the ShouldSerializeValue method to always return false, effectively disabling bold formatting.

1 using System;

2 using System.ComponentModel;

3 using Microsoft.VisualStudio.Package;

4 using Microsoft.VisualStudio.Project;

5

6 namespace Nemerle.VisualStudio.Project

7 {

8 /// <summary>

PolicyInjectionSettingsFixture.cs (https://entlib.svn.codeplex.com/svn) C# · 309 lines ✨ Summary

This C# code is a set of unit tests for a policy injection framework, testing various scenarios such as matching rules, call handlers, and custom handlers. It verifies that the framework correctly registers services with synthetic names, handles calls to these services, and injects policies into the application. The tests cover different edge cases and ensure the framework behaves as expected in various situations.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Policy Injection Application Block

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

11

12 using System.Linq;

13 using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

14 using Microsoft.Practices.EnterpriseLibrary.Common.TestSupport.Configuration.ContainerModel;

18 using Microsoft.VisualStudio.TestTools.UnitTesting;

19

20 namespace Microsoft.Practices.EnterpriseLibrary.PolicyInjection.Tests.Configuration

21 {

22 #if !SILVERLIGHT

BodyRenderExtension.cs (https://3dphysics.svn.codeplex.com/svn) C# · 279 lines

1 using Microsoft.Xna.Framework;

2 using Microsoft.Xna.Framework.Graphics;

3 using Microsoft.Xna.Framework.Input;

4 using System;

5 using System.Collections.Generic;

9 using JigLibX.Collision;

10

11 namespace JigLibX.Physics

12 {

13 /// <summary>

ServiceLocatorTests.cs (https://codetitans.svn.codeplex.com/svn) C# · 363 lines

28 using TestCleanupAttribute=NUnit.Framework.TearDownAttribute;

29 #else

30 using Microsoft.VisualStudio.TestTools.UnitTesting;

31 #endif

32

33 namespace CodeTitans.UnitTests.Services

34 {

35 /// <summary>

GoalRequiredExpertise.cs (https://lazarus.svn.codeplex.com/svn) C# · 246 lines

6 /// Lazarus database.

7 ///

8 /// Copyright(c) Microsoft Corporation

9 ///***********************************************************************

10

18 using OR.MyGoals.DataAccess;

19

20 namespace OR.MyGoals.DataAccess.Generated

21 {

22 /// <summary>

_Geo_AdministrativeDivision_DAL.cs (https://PlacementManager.svn.codeplex.com/svn) C# · 260 lines

28 using System.Web.UI.WebControls.WebParts;

29 using System.Web.UI.HtmlControls;

30 using Microsoft.Practices.EnterpriseLibrary.Data;

31 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

32

33

34 namespace PlacementManager.DAL

35 {

36 public abstract class _Geo_AdministrativeDivision_DAL

Mapper.cs (https://anito.svn.codeplex.com/svn) C# · 350 lines

3 // Source Code Available : http://anito.codeplex.com //

4 // //

5 // This source code is made available under the terms of the Microsoft Public License (MS-PL) //

6 /////////////////////////////////////////////////////////////////////////////////////////////////////

7

18

19

20 namespace Anito.Data.SqlClient

21 {

22 public class Mapper: Anito.Data.IMapper

GlobalSuppressions.cs (https://hg.codeplex.com/tomatobreak) C# · 52 lines

2 // attributes that are applied to this project.

3 // Project-level suppressions either have no target or are given

4 // a specific target and scoped to a namespace, type, member, etc.

5 //

6 // To add a suppression to this file, right-click the message in the

9 // You do not need to add suppressions to this file manually.

10

11 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.RESTfulRouteHelper.#Resources`1(System.Web.Routing.RouteCollection)")]

12 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.RESTfulRouteHelper.#Resources`1(System.Web.Routing.RouteCollection)")]

13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.RESTfulRouteHelper.#Resource`1(System.Web.Routing.RouteCollection)")]

14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.FilterRegistry.#Register`2(System.Collections.Generic.IEnumerable`1<System.Func`1<!!1>>)")]

15 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.FilterRegistryHelper.#Register`3(TomatoBreak.Infrastructure.FilterRegistry)")]

16 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "TomatoBreak.Infrastructure.FilterRegistryHelper.#Register`3(TomatoBreak.Infrastructure.FilterRegistry,System.Linq.Expressions.Expression`1<System.Action`1<!!0>>)")]

Settings.Designer.cs (https://hg01.codeplex.com/npe) C# · 228 lines ✨ Summary

This is a C# class that represents settings for a package explorer application. It contains various properties, such as font size, content viewer height, and package source, which can be accessed and modified through the Settings class. The properties are stored in an application settings file and are scoped to the user’s session.

This is a C# class that represents settings for a package explorer application. It contains various properties, such as font size, content viewer height, and package source, which can be accessed and modified through the Settings class. The properties are stored in an application settings file and are scoped to the user’s session.

9 //------------------------------------------------------------------------------

10

11 namespace PackageExplorer.Properties {

12

13

14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]

16 public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {

17

50 [global::System.Configuration.UserScopedSettingAttribute()]

51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

52 [global::System.Configuration.DefaultSettingValueAttribute("https://go.microsoft.com/fwlink/?LinkID=230477")]

53 public string PackageSource {

54 get {

SvnRibbon.Designer.cs (https://officesvn.svn.codeplex.com/svn) C# · 234 lines

1 namespace WordSVN {

2 partial class SvnRibbon {

3 /// <summary>

24 /// </summary>

25 private void InitializeComponent() {

26 this.officeSvnTab = new Microsoft.Office.Tools.Ribbon.RibbonTab();

27 this.lockGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup();

28 this.getLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();

29 this.releaseLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();

30 this.commitGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup();

31 this.addButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();

32 this.revertButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();

33 this.commentEditBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox();

jet_indexlist.cs (https://managedese.svn.codeplex.com/svn) C# · 292 lines

1 //-----------------------------------------------------------------------

2 // <copyright file="jet_indexlist.cs" company="Microsoft Corporation">

3 // Copyright (c) Microsoft Corporation.

5 //-----------------------------------------------------------------------

6

7 namespace Microsoft.Isam.Esent.Interop

8 {

9 using System;

16 /// </summary>

17 [StructLayout(LayoutKind.Sequential)]

18 [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules",

19 "SA1305:FieldNamesMustNotUseHungarianNotation",

20 Justification = "This should match the unmanaged API, which isn't capitalized.")]

21 [SuppressMessage(

22 "Microsoft.StyleCop.CSharp.NamingRules",

23 "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter",

24 Justification = "This should match the unmanaged API, which isn't capitalized.")]

Extensions.QueryString.cs (https://vodca.svn.codeplex.com/svn) C# · 250 lines

7 // Date: 07/30/2008

8 //-----------------------------------------------------------------------------

9 namespace Vodca

10 {

11 using System;

12 using System.Web;

13

14 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.StyleCop.CSharp.DocumentationRules", "SA1601:PartialElementsMustBeDocumented", Justification = "Extension methods partial class.")]

15 public static partial class Extensions

16 {

jet_objectlist.cs (https://sandassist.svn.codeplex.com/svn) C# · 178 lines

1 //-----------------------------------------------------------------------

2 // <copyright file="jet_objectlist.cs" company="Microsoft Corporation">

3 // Copyright (c) Microsoft Corporation.

5 //-----------------------------------------------------------------------

6

7 namespace Microsoft.Isam.Esent.Interop

8 {

9 using System;

17 [StructLayout(LayoutKind.Sequential)]

18 [SuppressMessage(

19 "Microsoft.StyleCop.CSharp.NamingRules",

20 "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter",

21 Justification = "This should match the unmanaged API, which isn't capitalized.")]

90 /// </summary>

91 [SuppressMessage(

92 "Microsoft.StyleCop.CSharp.NamingRules",

93 "SA1300:ElementMustBeginWithUpperCaseLetter",

94 Justification = "This should match the unmanaged API, which isn't capitalized.")]

StringReaderTests.cs (https://codetitans.svn.codeplex.com/svn) C# · 204 lines

29 using TestCleanupAttribute=NUnit.Framework.TearDownAttribute;

30 #else

31 using Microsoft.VisualStudio.TestTools.UnitTesting;

32 #endif

33

34 namespace CodeTitans.UnitTests.Core

35 {

36 /// <summary>

DatabaseIndexedDocument.cs (https://sandassist.svn.codeplex.com/svn) C# · 338 lines

7 using System.Collections.Generic;

8

9 using Microsoft.Isam.Esent;

10 using Microsoft.Isam.Esent.Interop;

11 using Microsoft.Isam.Esent.Collections.Generic;

12

13 namespace Sandcastle.ReflectionData

BoxContactManifold.cs (https://hg01.codeplex.com/xnafinalengine) C# · 239 lines

4 using BEPUphysics.CollisionTests.CollisionAlgorithms;

5 using BEPUutilities.ResourceManagement;

6 using Microsoft.Xna.Framework;

7 using BEPUutilities.DataStructures;

8 using BEPUphysics.CollisionShapes.ConvexShapes;

9

10 namespace BEPUphysics.CollisionTests.Manifolds

11 {

12 ///<summary>

AfaOperator.cs (https://streaminsight.svn.codeplex.com/svn) C# · 245 lines

1 // *********************************************************

2 //

3 // Copyright (c) Microsoft. All rights reserved.

4 // This code is licensed under the Apache 2.0 License.

5 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OR

11 // *********************************************************

12

13 namespace StreamInsight.Samples.UserExtensions.Afa

14 {

15 using System;

16 using System.Collections.Generic;

17 using System.Runtime.Serialization;

18 using Microsoft.ComplexEventProcessing;

19 using Microsoft.ComplexEventProcessing.Extensibility;

GuidPartitionTableTest.cs (https://hg01.codeplex.com/discutils) C# · 204 lines ✨ Summary

This C# code is a test suite for a GuidPartitionTable class, which manages disk partitions. It tests various scenarios such as creating and deleting partitions, ensuring they are within certain size ranges, and verifying their alignment. The tests cover different partition types and sizes, simulating real-world usage to validate the class’s functionality.

25 using DiscUtils.Vdi;

26

27 namespace DiscUtils.Partitions

28 {

29 [TestFixture]

69

70 Assert.AreEqual(2, table.Partitions.Count);

71 Assert.AreEqual(GuidPartitionTypes.MicrosoftReserved, table[0].GuidType);

72 Assert.AreEqual(32 * 1024 * 1024, table[0].SectorCount * 512);

73

74 // Make sure the partition fills from first to last usable, allowing for MicrosoftReserved sector.

75 Assert.AreEqual(table[0].LastSector + 1, table[idx].FirstSector);

76 Assert.AreEqual(table.LastUsableSector, table[idx].LastSector);

D3D11ComputeShaderPipelineStage.h (https://hg01.codeplex.com/poshconsole) C Header · 144 lines ✨ Summary

This C++ header file defines a class ComputeShaderPipelineStage that represents a stage in a compute shader pipeline. It provides methods for setting and getting various parameters, such as constant buffers, samplers, shaders, and unordered access views. The class is designed to be used with a DeviceContext object, which is not shown in this code snippet.

1 //Copyright (c) Microsoft Corporation. All rights reserved.

2

3 #pragma once

5 #include "D3D11ShaderAndClasses.h"

6

7 namespace Microsoft { namespace WindowsAPICodePack { namespace DirectX { namespace Direct3D11 {

8

9 /// <summary>

DefaultPropertyValidator.cs (https://entlib.svn.codeplex.com/svn) C# · 201 lines ✨ Summary

This C# code defines a custom property validator for the Enterprise Library’s configuration design. It validates properties of configuration elements, checking for required fields, unique collection elements, and duplicate key values. The validator uses other built-in validators to perform additional checks on specific properties.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Core

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

14 using System.Configuration;

15 using System.Linq;

16 using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Properties;

17 using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel;

19 using System.Globalization;

20

21 namespace Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation

22 {

23 internal class DefaultPropertyValidator : PropertyValidator

AdminTasksWebServicewsdl.aspx (https://SPContentDeployment.svn.codeplex.com/svn) ASP.NET · 327 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://sdc/2009/12/WebServices/1.0/AdminTasksWebService" xmlns:s1="namespace1" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://sdc/2009/12/WebServices/1.0/AdminTasksWebService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

3 <wsdl:types>

4 <s:schema elementFormDefault="qualified" targetNamespace="http://sdc/2009/12/WebServices/1.0/AdminTasksWebService">

5 <s:import namespace="namespace1" />

6 <s:element name="CreateJob">

7 <s:complexType>

68 <s:element name="boolean" type="s:boolean" />

69 </s:schema>

70 <s:schema elementFormDefault="qualified" targetNamespace="namespace1">

71 <s:complexType name="Item">

72 <s:attribute name="ItemName" type="s:string" />

Resources.Designer.cs (https://regatta.svn.codeplex.com/svn) C# · 226 lines

9 //------------------------------------------------------------------------------

10

11 namespace Microsoft.Phone.Controls.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

40 get {

41 if (object.ReferenceEquals(resourceMan, null)) {

42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Phone.Controls.Properties.Resources", typeof(Resources).Assembly);

43 resourceMan = temp;

44 }

RegionManagerExtensions.cs (https://PasswordMgr.svn.codeplex.com/svn) C# · 174 lines

1 //===================================================================================

2 // Microsoft patterns & practices

3 // Composite Application Guidance for Windows Presentation Foundation and Silverlight

4 //===================================================================================

5 // Copyright (c) Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

18 using System.Globalization;

19 using System.Threading;

20 using Microsoft.Practices.Prism.Properties;

21 using Microsoft.Practices.ServiceLocation;

22

23 namespace Microsoft.Practices.Prism.Regions

24 {

25 /// <summary>

Transform2D.cs (https://sle.svn.codeplex.com/svn) C# · 300 lines

33 #endregion

34

35 namespace starLiGHT.Collision

36 {

37 #region Using Statement

39 using System.Collections.Generic;

40 using System.Text;

41 using Microsoft.Xna.Framework;

42 #endregion

43

ResourcesMain.Designer.cs (https://HartProtocolLite.svn.codeplex.com/svn) C# · 253 lines

9 //------------------------------------------------------------------------------

10

11 namespace HartAnalyzer.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal ResourcesMain() {

33 }

WorkflowManagerModule.cs (https://tridentworkflow.svn.codeplex.com/svn) C# · 228 lines

1 //*********************************************************

2 //

3 // Copyright (c) Microsoft. All rights reserved.

4 // This code is licensed under the Apache License, Version 2.0.

5 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF

10 //*********************************************************

11

12 using Microsoft.Research.ScientificWorkflow.ManagementStudioControls.Interfaces;

13 using Microsoft.Research.ScientificWorkflow.TridentUtilities;

14 using Microsoft.Research.ScientificWorkflow.UIDesigner.WpfComposite;

15 using Microsoft.Practices.Unity;

16

17 namespace Microsoft.Research.ScientificWorkflow.ManagementStudioControls.WorkflowManagerModule

18 {

19 /// <summary>

VSCodeGenAccessors.cs (https://tfsbuildversionsync.svn.codeplex.com/svn) C# · 385 lines

52 internal class TFSAssemblyInfoTask_AssemblyInfoWrapperAccessor : BaseAccessor {

53

54 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.AssemblyInfoWrapper");

55

56 internal TFSAssemblyInfoTask_AssemblyInfoWrapperAccessor(object target) :

219 internal class TFSAssemblyInfoTask_VersionAccessor : BaseAccessor {

220

221 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.Version");

222

223 internal TFSAssemblyInfoTask_VersionAccessor(object target) :

337 tfsLastBuildNumber,

338 tfsBuildNumber};

339 Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.Version", new System.Type[] {

340 typeof(string),

341 typeof(string),

ExcelPSHost.cs (https://ExcelPoSH.svn.codeplex.com/svn) C# · 437 lines

5 using System.Management.Automation;

6 using System.Management.Automation.Host;

7 using Excel = Microsoft.Office.Interop.Excel;

8 using System.Reflection;

9

10

11 namespace ExcelPoSH

12 {

13 // PShost derived class

ContentTypeConfiguration.cs (https://sharepointobjects.svn.codeplex.com/svn) C# · 283 lines

4 using System.Web.UI;

5 using System.Web.UI.WebControls;

6 using Microsoft.SharePoint;

7 using TST.SharePoint.Shared;

8 using System.Xml;

9 using TST.WebParts.Shared.WebControls;

10

11 namespace TST.WebParts

12 {

13 public class ContentTypeConfiguration : ConfigurationControl

LinqTemplatesCommon.vb (https://GenDotNet.svn.codeplex.com/svn) Visual Basic · 250 lines

15

16 Public Class Support

17 Private Const vbcrlf As String = Microsoft.VisualBasic.ControlChars.CrLf

18

19 'Public Shared Function StandardVBClassOpening( _

98 'Imports System

99 '<%= OutputImports(importList) %>

100 ' <%= OutputNamespace(nspace) %>

101 ' </code>

102 ' Return code.Value

111 ' End Class

112 '<%= If(String.IsNullOrEmpty(nspace), "", <code>

113 'End Namespace

114 ' </code>.Value) %>

115 ' </code>.Value

IPAddressConverterTest.cs (https://DotRas.svn.codeplex.com/svn) C# · 339 lines

13 //--------------------------------------------------------------------------

14

15 namespace DotRas.UnitTests

16 {

17 using System;

21 using System.Text;

22 using DotRas.Internal;

23 using Microsoft.VisualStudio.TestTools.UnitTesting;

24

25 /// <summary>

EventManager.cs (https://hg.codeplex.com/themvcforum) C# · 291 lines

8 using MVCForum.Utilities;

9

10 namespace MVCForum.Domain.Events

11 {

12 public sealed class EventManager : IEventManager

104 }

105

106 if (nextAssembly.FullName.StartsWith("System") || nextAssembly.FullName.StartsWith("Microsoft"))

107 {

108 // Skip microsoft assemblies

SykboxProcessor.cs (https://git01.codeplex.com/xnags30unleashed) C# · 222 lines

1 using System;

2 using System.Collections.Generic;

3 using Microsoft.Xna.Framework;

4 using Microsoft.Xna.Framework.Graphics;

5 using Microsoft.Xna.Framework.Content.Pipeline;

6 using Microsoft.Xna.Framework.Content.Pipeline.Graphics;

7 using Microsoft.Xna.Framework.Content.Pipeline.Processors;

8

9 using TInput = Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture2DContent;

12 using System.ComponentModel;

13

14 namespace SkyboxPipeline

15 {

16 /// <summary>

RetryPolicyConfigurationSettings.cs (https://hg.codeplex.com/hashfoosqlserver) C# · 173 lines

1 //=======================================================================================

2 // Microsoft Windows Server AppFabric Customer Advisory Team (CAT) Best Practices Series

3 //

4 // This sample is supplemental to the technical guidance published on the community

6 //

7 //=======================================================================================

8 // Copyright © 2010 Microsoft Corporation. All rights reserved.

9 //

10 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER

15 using System;

16

17 namespace HashFoo.SqlServer.TransientDbConnection

18 {

19 #region Using references

Schema.Expressions.cs (https://git01.codeplex.com/signum) C# · 237 lines

6 using System.Data;

7 using System.IO;

8 using Microsoft.SqlServer.Server;

9 using Signum.Utilities;

10 using Signum.Entities;

18 using Signum.Utilities.Reflection;

19

20 namespace Signum.Engine.Maps

21 {

22 public partial class Table

TimeControlTest.cs (https://enhancedreminders.svn.codeplex.com/svn) C# · 191 lines

1 //++

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // Module Name:

13 // Classes:

14 //

15 // Microsoft.EnhancedReminders.OutlookAddIn.UnitTests.TimeControlUnitTest

16 //

17 //--

23 using Microsoft.VisualStudio.TestTools.UnitTesting;

24

25 namespace Microsoft.EnhancedReminders.OutlookAddIn.UnitTests

26 {

27 /// <summary>

StraightLineMovementComponent.cs (https://modelvirtualcasting.svn.codeplex.com/svn) C# · 197 lines

3 // StraightLineMovementComponent.cs

4 //

5 // Microsoft XNA Community Game Platform

6 // Copyright (C) Microsoft Corporation. All rights reserved.

14 using System.Collections.Generic;

15 using System.Text;

16 using Microsoft.Xna.Framework;

17 using Microsoft.Xna.Framework.Graphics;

20 #endregion

21

22 namespace NinjaBra

23 {

24 /// <summary>

LoopShape.cs (https://BHG.svn.codeplex.com/svn) C# · 179 lines

26 using System.Diagnostics;

27 using FarseerPhysics.Common;

28 using Microsoft.Xna.Framework;

29

30 namespace FarseerPhysics.Collision.Shapes

ModuleMessage.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 230 lines

1 namespace DotNetNuke.UI.Skins.Controls

2 {

3 using DotNetNuke.Services.Exceptions;

4 using DotNetNuke.UI.Skins;

5 using Microsoft.VisualBasic.CompilerServices;

6 using System;

7 using System.Collections.Generic;

frmReporteAlmacen.Designer.cs (https://vensoftdipercax.svn.codeplex.com/svn) C# · 133 lines

1 namespace vensoft.Win32

2 {

3 partial class frmReporteAlmacen

30 {

31 this.components = new System.ComponentModel.Container();

32 Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();

33 this.GetFromCategoriaByUbicBindingSource = new System.Windows.Forms.BindingSource(this.components);

34 this.DataAlma = new vensoft.Win32.DataAlma();

35 this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();

36 this.GetFromCategoriaByUbicTableAdapter = new vensoft.Win32.DataAlmaTableAdapters.GetFromCategoriaByUbicTableAdapter();

37 this.fillToolStrip = new System.Windows.Forms.ToolStrip();

122 #endregion

123

124 private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;

125 private System.Windows.Forms.BindingSource GetFromCategoriaByUbicBindingSource;

126 private DataAlma DataAlma;

Resources.Designer.cs (https://sqtpp.svn.codeplex.com/svn) C# · 164 lines

9 //------------------------------------------------------------------------------

10

11 namespace csql.addin {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

Reference.vb (https://trainingapp.svn.codeplex.com/svn) Visual Basic · 150 lines

20

21 '

22 'This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.1.

23 '

24 Namespace TryIEntry

28 System.Diagnostics.DebuggerStepThroughAttribute(), _

29 System.ComponentModel.DesignerCategoryAttribute("code"), _

30 System.Web.Services.WebServiceBindingAttribute(Name:="TryI Single EntrySoap", [Namespace]:="http://TryISingleEntry/")> _

31 Partial Public Class TryISingleEntry

32 Inherits System.Web.Services.Protocols.SoapHttpClientProtocol

76

77 '''<remarks/>

78 <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://TryISingleEntry/ProcessXML", RequestNamespace:="http://TryISingleEntry/", ResponseNamespace:="http://TryISingleEntry/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _

79 Public Function ProcessXML(ByVal xm As System.Xml.XmlNode) As String

80 Dim results() As Object = Me.Invoke("ProcessXML", New Object() {xm})

CustomActionHandlers.cs (https://spbulkactions.svn.codeplex.com/svn) C# · 181 lines

3 // Date: March 17, 2010

4 // ******************************************************************************

5 namespace BulkListActions

6 {

7 using System;

9 using System.Web;

10 using System.Collections.Specialized;

11 using Microsoft.SharePoint;

12 using Microsoft.SharePoint.Utilities;

Rectangle2DTest.cs (https://HappyQ.svn.codeplex.com/svn) C# · 257 lines

1 using Demo.Mmose.Core.Common;

2 using Microsoft.VisualStudio.TestTools.UnitTesting;

3

4 namespace Demo.Mmose.Core.Test

Resources.Designer.cs (https://spsmassivefields.svn.codeplex.com/svn) C# · 181 lines

9 //------------------------------------------------------------------------------

10

11 namespace SharepointListFieldsMassiveCreator.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

ServeSettingUserControl.designer.cs (https://GenePatternWordAddin.svn.codeplex.com/svn) C# · 165 lines

1 namespace Microsoft.eResearch.GenePattern.Package

2 {

3 /// <summary>

39 this.emailCheckBox = new System.Windows.Forms.CheckBox();

40 this.panel1 = new System.Windows.Forms.Panel();

41 this.emailAddress = new Microsoft.eResearch.GenePattern.Package.WaterMarkTextBox();

42 this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);

43 this.panel1.SuspendLayout();

49 this.showResultsCheckBox.Checked = true;

50 this.showResultsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;

51 this.showResultsCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

52 this.showResultsCheckBox.Location = new System.Drawing.Point(6, 57);

53 this.showResultsCheckBox.Name = "showResultsCheckBox";

64 this.serverConnectionscomboBox.DisplayMember = "Name";

65 this.serverConnectionscomboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;

66 this.serverConnectionscomboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

67 this.serverConnectionscomboBox.FormattingEnabled = true;

68 this.serverConnectionscomboBox.Location = new System.Drawing.Point(130, 11);

CoordinateTransform.cs (https://hg01.codeplex.com/d3future) C# · 188 lines ✨ Summary

This C# code defines a class CoordinateTransform that provides methods for transforming points between different coordinate systems, such as data coordinates and screen coordinates. It includes creation methods, transformation methods, and properties to access the transformed points. The class is designed to be immutable and can be used in 2D coordinate transformations in DynamicDataDisplay.

4 using System.Text;

5 using System.Windows;

6 using Microsoft.Research.DynamicDataDisplay.Common;

7 using System.Diagnostics;

8 using System.Windows.Media;

9

10 namespace Microsoft.Research.DynamicDataDisplay

11 {

12 /// <summary>

Exceptions.cs (https://pubsub.svn.codeplex.com/svn) C# · 276 lines

5 using System.Runtime.InteropServices;

6

7 namespace Microsoft.WebSolutionsPlatform.PubSubManager

8 {

9 /// <summary>

NakedObjectsSurfaceExtensions.cs (https://hg01.codeplex.com/nakedobjects) C# · 219 lines

1 // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).

2 // All Rights Reserved. This code released under the terms of the

3 // Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)

4

5 using System.Collections.Generic;

6

7 namespace NakedObjects.Surface.Utility {

8 public static class NakedObjectsSurfaceExtensions {

9 #region INakedObjectSurface

OnesComplement.cs (https://IronPython.svn.codeplex.com/svn) C# · 271 lines ✨ Summary

This C# code tests the OnesComplement method, which returns the bitwise complement of a given value. It covers various scenarios, including:

  • Passing different types and values
  • Using valid and invalid method references
  • Handling overflow cases
  • Testing with nullable types

The code ensures that the OnesComplement method behaves correctly in these situations.

2 using System.Linq.Expressions;

3 #else

4 using Microsoft.Scripting.Ast;

5 #endif

6

9 using System.Reflection;

10

11 namespace ETScenarios.Operators {

12 using EU = ETUtils.ExpressionUtils;

13 using Expr = Expression;

14 using AstUtils = Microsoft.Scripting.Ast.Utils;

15

16 public class OnesComplement {

IterativeTokenizerCanParseIncomplete.cs (https://XmlCodeEditor.svn.codeplex.com/svn) C# · 236 lines

1 using System;

2 using Microsoft.VisualStudio.TestTools.UnitTesting;

3 using E = com.bodurov.SilverlightControls.XmlCodeEditor.Enums.XmlElement;

4 using A = com.bodurov.SilverlightControls.XmlCodeEditor.Enums.XmlArea;

5

6 namespace com.bodurov.SilverlightControls.XmlCodeEditor.Tests

7 {

8 [TestClass]//[Ignore]

CollisionInfo.cs (https://vstspacebattlev2.svn.codeplex.com/svn) C# · 300 lines

1 #region Using Statements

2 using Microsoft.Xna.Framework;

3 using Utilities;

4 #endregion

5

6 namespace JigLibX.Collision

7 {

8

SplasherViewTest.cs (https://GastrOS.svn.codeplex.com/svn) C# · 194 lines

7 using NUnit.Framework;

8 using OpenEhr.AM.Archetype.ConstraintModel;

9 using Microsoft.Practices.Unity;

10 using OpenEhr.RM.DataStructures.ItemStructure.Representation;

11 using OpenEhr.RM.DataTypes.Text;

12

13 namespace GastrOs.Sde.Test.GuiTests

14 {

15 [TestFixture]

ShoppingCartTests.cs (https://VSArchitectureGuide.svn.codeplex.com/svn) C# · 250 lines

3 using System.Linq;

4 using System.Text;

5 using Microsoft.VisualStudio.TestTools.UnitTesting;

6 using Tailspin.Model;

7

8 namespace Tailspin.Tests {

9 /*

10 Things we know about shopping carts

ESharpScope.cs (https://NBusiness.svn.codeplex.com/svn) C# · 224 lines

3 using System.Linq;

4 using System.Text;

5 using Microsoft.VisualStudio.Package;

6 using Microsoft.VisualStudio.TextManager.Interop;

14 using NBusiness.CodeDom.Services;

15

16 namespace NBusiness.VisualStudio

17 {

18 class ESharpScope : AuthoringScope

195 if (found.Count() == 0)

196 {

197 string[] namespaces = (from @using in entity.Using select @using.Namespace).ToArray();

198

199 if (namespaces.Contains(@namespace))

215 }

216

217 public override string Goto(Microsoft.VisualStudio.VSConstants.VSStd97CmdID cmd, Microsoft.VisualStudio.TextManager.Interop.IVsTextView textView, int line, int col, out Microsoft.VisualStudio.TextManager.Interop.TextSpan span)

218 {

219 span = new TextSpan();

Theme.cs (https://blackstar.svn.codeplex.com/svn) C# · 263 lines

3 using System.Linq;

4 using System.Text;

5 using Microsoft.Xna.Framework.Graphics;

6 using Microsoft.Xna.Framework;

7 using Microsoft.Xna.Framework.Content;

8

9 namespace BlackStar

Tasks.cs (https://teamprojectmanager.svn.codeplex.com/svn) C# · 161 lines

1 using Microsoft.TeamFoundation.Build.Client;

2 using System;

3 using System.Collections.Generic;

6 using TeamProjectManager.Common.Infrastructure;

7

8 namespace TeamProjectManager.Modules.BuildProcessTemplates

9 {

10 internal static class Tasks

RepeatRegion.cs (https://MSCompBio.svn.codeplex.com/svn) C# · 306 lines

1 //*********************************************************

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 //

15 using System.Collections.Generic;

16

17 namespace Bio.IO.GenBank

18 {

19 /// <summary>

GlobalSuppressions.cs (https://GPSYVManejadorDeMapa.svn.codeplex.com/svn) C# · 114 lines

9 // You do not need to add suppressions to this file manually.

10

11 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa")]

12 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Yv", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa")]

13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gps", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa")]

14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De")]

34 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "member", Target = "GpsYv.ManejadorDeMapa.Pdis.ManejadorDePdis.#ArregladorDePalabrasPorTipo")]

35 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "member", Target = "GpsYv.ManejadorDeMapa.Pdis.ManejadorDePdis.#BuscadorDeDuplicados")]

36 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "member", Target = "GpsYv.ManejadorDeMapa.Pdis.ManejadorDePdis.#BuscadorDeErrores")]

48 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "member", Target = "GpsYv.ManejadorDeMapa.Vías.Vía.#CampoParámetrosDeRuta")]

49 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa.Pdis")]

50 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa.Vías")]

84 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Yv", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa.Pdis")]

85 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Yv", Scope = "namespace", Target = "GpsYv.ManejadorDeMapa.Vías")]

86 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "De", Scope = "member", Target = "GpsYv.ManejadorDeMapa.Pdis.ArregladorDeLetras.#.ctor(GpsYv.ManejadorDeMapa.Pdis.ManejadorDePdis,GpsYv.ManejadorDeMapa.IEscuchadorDeEstatus)")]

AbstractForceController.cs (https://SimpleFPPlatformer.svn.codeplex.com/svn) C# · 323 lines

1 using System;

2 using FarseerPhysics.Dynamics;

3 using Microsoft.Xna.Framework;

4

5 namespace FarseerPhysics.Controllers

TaskExtrasExtensions.cs (https://EmployeeScheduler.svn.codeplex.com/svn) C# · 224 lines

1 //--------------------------------------------------------------------------

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // File: TaskExtensions.cs

9 using System.Linq;

10

11 namespace System.Threading.Tasks

12 {

13 /// <summary>Extensions methods for Task.</summary>

Test8 (2).cs (https://expressionscompiler.svn.codeplex.com/svn) C# · 364 lines

4 using Expressions.Compiler;

5 using Expressions.Compiler.Interfaces;

6 using Microsoft.VisualStudio.TestTools.UnitTesting;

7 using Excel.Expressions.Interfaces;

8

9 namespace Tests

10 {

11

ErrorUtilities.cs (https://SolutionFramework.svn.codeplex.com/svn) C# · 279 lines

1 namespace Microsoft.Build.Shared

2 {

3 using System;

17 if (throwExceptions)

18 {

19 throw new ArgumentException(Microsoft.Build.Shared.ResourceUtilities.FormatResourceString(resourceName, args), innerException);

20 }

21 }

37 if (throwExceptions)

38 {

39 throw new Microsoft.Build.Shared.InternalErrorException(Microsoft.Build.Shared.ResourceUtilities.FormatString(message, args));

40 }

41 }

45 if (throwExceptions)

46 {

47 throw new Microsoft.Build.Shared.InternalErrorException(Microsoft.Build.Shared.ResourceUtilities.FormatString(message, args), innerException);

48 }

49 }

HTCRegistry.cs (https://advancedexplorerwp7.svn.codeplex.com/svn) C# · 285 lines

1 namespace Yaaf.WP7.NativeAccess.ComWrapper.HTC.COM_RegRw

2 {

3 using System;

4 using System.Text;

5

6 using Microsoft.Phone.InteropServices;

7

8 using Yaaf.WP7.NativeAccess.Helper;

PackageInfoStep.Designer.cs (https://hg.codeplex.com/wix) C# · 175 lines

2 // <copyright file="PackageInfoStep.Designer.cs" company="Outercurve Foundation">

3 // Copyright (c) 2004, Outercurve Foundation.

4 // This software is released under Microsoft Reciprocal License (MS-RL).

5 // The license and further copyright text can be found in the file

6 // LICENSE.TXT at the root directory of the distribution.

12 //-------------------------------------------------------------------------------------------------

13

14 namespace WixToolset.Extensions.OfficeAddin

15 {

16 /// <summary>

DualTextureEffect.cs (https://hg.codeplex.com/raing2engine) C# · 330 lines

3 // DualTextureEffect.cs

4 //

5 // Microsoft XNA Community Game Platform

6 // Copyright (C) Microsoft Corporation. All rights reserved.

9

10 #region Using Statements

11 using Microsoft.Xna.Framework;

12 using Microsoft.Xna.Framework.Graphics;

13 #endregion

14

15 namespace StockEffects

16 {

17 /// <summary>

SqlVwKnjizenjeIspisProviderBase.generated.cs (https://hg.codeplex.com/napp) C# · 286 lines

11 using System.Data.Common;

12 using System.Data.SqlClient;

13 using Microsoft.Practices.EnterpriseLibrary.Data;

14 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

22 #endregion

23

24 namespace NetROS.Tiers.Data.SqlClient

25 {

26 /// <summary>

283

284 }//end class

285 } // end namespace

286

NakedObjectsSurfaceExtensions.cs (https://hg.codeplex.com/nakedobjects) C# · 177 lines

1 // Copyright Š Naked Objects Group Ltd ( http://www.nakedobjects.net).

2 // All Rights Reserved. This code released under the terms of the

3 // Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)

4

5 using System.Collections.Generic;

6

7 namespace NakedObjects.Surface.Utility {

8 public static class NakedObjectsSurfaceExtensions {

9 #region INakedObjectSurface

MetaweblogResources.Designer.cs (https://hg.codeplex.com/mojoportal) C# · 226 lines

9 //------------------------------------------------------------------------------

10

11 namespace Resources {

12 using System;

13

20 // To add or remove a member, edit your .ResX file then rerun ResGen

21 // with the /str option or rebuild the Visual Studio project.

22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "12.0.0.0")]

23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal MetaweblogResources() {

33 }

HgRole.cs (https://hg.codeplex.com/liquidsilver) C# · 341 lines

2 using System.Collections.Generic;

3 using System.Security.Permissions;

4 using Microsoft.SharePoint;

5 using Microsoft.SharePoint.Security;

6

7 namespace LiquidSilver

8 {

9 /// <summary>

Context.cs (https://hg.codeplex.com/boogie) C# · 234 lines

1 //-----------------------------------------------------------------------------

2 //

3 // Copyright (C) Microsoft Corporation. All Rights Reserved.

4 //

5 //-----------------------------------------------------------------------------

11 using Microsoft.Boogie.VCExprAST;

12

13 namespace Microsoft.Boogie

14 {

15 /// <summary>

VectorRendererTest.cs (https://WpfSharpMapControls.svn.codeplex.com/svn) C# · 253 lines

1 using SharpMap.Wpf.Rendering;

2 using Microsoft.VisualStudio.TestTools.UnitTesting;

3 using SharpMap.Rendering.Rendering2D;

4 using System.Windows.Media;

7 using SharpMap.Rendering;

8

9 namespace SharpMap.Rendering.Wpf.Test

10 {

11

EnetaSiteDefinitions.Designer.cs (https://eneta.svn.codeplex.com/svn) C# · 325 lines

9 //------------------------------------------------------------------------------

10

11 namespace Eneta.Portal.Deployment.Resources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal EnetaSiteDefinitions() {

33 }

Resources.Designer.cs (https://ScintillaNET.svn.codeplex.com/svn) C# · 216 lines

9 //------------------------------------------------------------------------------

10

11 namespace ScintillaNET.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

frmManualSearch.Designer.cs (https://wdtvhubgen.svn.codeplex.com/svn) C# · 199 lines

1 namespace WDTVHubGen

2 {

3 partial class frmManualSearch

149 this.label5.AutoSize = true;

150 this.label5.Enabled = false;

151 this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

152 this.label5.Location = new System.Drawing.Point(353, 44);

153 this.label5.Name = "label5";

IMFMediaEvent.cs (https://hg01.codeplex.com/naudio) C# · 209 lines

5 using NAudio.CoreAudioApi.Interfaces;

6

7 namespace NAudio.MediaFoundation

8 {

9 /// <summary>

10 /// IMFMediaEvent - Represents an event generated by a Media Foundation object. Use this interface to get information about the event.

11 /// http://msdn.microsoft.com/en-us/library/windows/desktop/ms702249%28v=vs.85%29.aspx

12 /// Mfobjects.h

13 /// </summary>

codedomvisitor.fs (https://fshappowerpack.svn.codeplex.com/svn) F# · 102 lines

1 namespace Microsoft.Test.Compiler.CodeDom.Internal

2

3 open System

7 open System.CodeDom

8 open System.CodeDom.Compiler

9 open Microsoft.FSharp.Collections

10

11 //---------------------------------------------------------------------------------------------

26 (fun (c:obj) -> match c with | :? CodeCatchClause as co -> [(co.CatchExceptionType:>obj); (co.Statements:>obj);] | _ -> []);

27 (fun (c:obj) -> match c with | :? CodeCommentStatement as co -> [(co.Comment:>obj);] | _ -> []);

28 (fun (c:obj) -> match c with | :? CodeCompileUnit as co -> [(co.AssemblyCustomAttributes:>obj); (co.EndDirectives:>obj); (co.Namespaces:>obj); (co.StartDirectives:>obj);] | _ -> []);

29 (fun (c:obj) -> match c with | :? CodeConditionStatement as co -> [(co.Condition:>obj); (co.FalseStatements:>obj); (co.TrueStatements:>obj);] | _ -> []);

30 (fun (c:obj) -> match c with | :? CodeConstructor as co -> [(co.BaseConstructorArgs:>obj); (co.ChainedConstructorArgs:>obj);] | _ -> []);

46 (fun (c:obj) -> match c with | :? CodeMethodReferenceExpression as co -> [(co.TargetObject:>obj); (co.TypeArguments:>obj);] | _ -> []);

47 (fun (c:obj) -> match c with | :? CodeMethodReturnStatement as co -> [(co.Expression:>obj);] | _ -> []);

48 (fun (c:obj) -> match c with | :? CodeNamespace as co -> [(co.Comments:>obj); (co.Imports:>obj); (co.Types:>obj);] | _ -> []);

49 (fun (c:obj) -> match c with | :? CodeNamespaceImport as co -> [(co.LinePragma:>obj);] | _ -> []);

Field.cs (https://hg01.codeplex.com/stylecop) C# · 0 lines ✨ Summary

This C# code defines a class Field that represents a field within a class or struct in a C# program. It includes properties for the field’s type, const and readonly status, and variable declaration statement. The class also overrides methods to provide additional functionality, such as getting the element name and resetting the contents of the class.

4 // </copyright>

5 // <license>

6 // This source code is subject to terms and conditions of the Microsoft

7 // Public License. A copy of the license can be found in the License.html

8 // file at the root of this distribution.

9 // By using this source code in any fashion, you are agreeing to be bound

10 // by the terms of the Microsoft Public License. You must not remove this

11 // notice, or any other, from this software.

12 // </license>

13 //-----------------------------------------------------------------------

14 namespace StyleCop.CSharp.CodeModel

15 {

16 using System.Collections.Generic;

ILoggingConfigurationSendToMsmqTraceListener.cs (https://entlib.svn.codeplex.com/svn) C# · 153 lines ✨ Summary

This C# code defines a fluent interface for configuring an MsmqTraceListener, which is used to send log messages to Microsoft Message Queue (Msmq). It provides various options and settings for formatting, filtering, encryption, authentication, and priority of the log messages. The fluent interface allows for chaining method calls to configure the listener’s behavior in a flexible and readable manner.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Logging Application Block

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

14 using System.Linq;

15 using System.Text;

16 using Microsoft.Practices.EnterpriseLibrary.Logging.Configuration;

17 using System.Diagnostics;

18 using System.Messaging;

22 using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent;

23

24 namespace Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent

25 {

26 /// <summary>

SubscriptionData.cs (https://ssrsftp.svn.codeplex.com/svn) C# · 347 lines

32 using System.Collections.Generic;

33 using System.Text;

34 using Microsoft.ReportingServices.Interfaces;

35

36 namespace Secure.FTPDeliveryExtension

Driver.cs (https://hg01.codeplex.com/jemgine) C# · 201 lines ✨ Summary

This C# code is part of a game engine, specifically responsible for rendering graphics and lighting effects. It uses a technique called “layered rendering” to draw different elements of the game world, including background, midground, foreground, and shadows. The code handles various lighting conditions, such as ambient lighting, light sources, and shadow mapping, to create a realistic visual experience.

3 using System.Linq;

4 using System.Text;

5 using Microsoft.Xna.Framework.Graphics;

6 using Microsoft.Xna.Framework;

7

8 namespace Jemgine.Engine.Renderer

9 {

10 public enum ShadowType

59 Effect.Tint = Vector4.One;

60

61 Device.Clear(Microsoft.Xna.Framework.Color.Black);

62 Effect.Technique = "DrawShadow";

63

133 Effect.LightMap = BackgroundLightBuffer;

134

135 Device.Clear(Microsoft.Xna.Framework.Color.Black);

136 Effect.Technique = "DrawLighted";

137 if (!String.IsNullOrEmpty(Header.BackgroundTexture))

Minifier.cs (https://hg.codeplex.com/jasc) C# · 320 lines

1 // Minifier.cs

2 //

3 // Copyright 2010 Microsoft Corporation

4 //

5 // Licensed under the Apache License, Version 2.0 (the "License");

21 using System.Text;

22

23 namespace Microsoft.Ajax.Utilities

24 {

25 /// <summary>

279 /// <summary>

280 /// This class is deprecated; it will be removed in future versions.

281 /// Please use Microsoft.Ajax.Utilities.Minifier instead.

282 /// </summary>

283 [Obsolete("This class is deprecated; use Microsoft.Ajax.Utilities.Minifier instead")]

SqlXmlReader.cs (https://hg.codeplex.com/hashfoosqlserver) C# · 303 lines

126 /// </summary>

127 /// <param name="name">The local name of the attribute.</param>

128 /// <param name="namespaceURI">The namespace URI of the attribute.</param>

129 /// <returns>The value of the specified attribute. If the attribute is not found or the value is <see cref="String.Empty"/>, null is returned. This method does not move the reader.</returns>

130 public override string GetAttribute(string name, string namespaceURI)

170 /// Resolves a namespace prefix in the current element's scope

171 /// </summary>

172 /// <param name="prefix">The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.</param>

173 /// <returns>The namespace URI to which the prefix maps or null if no matching prefix is found.</returns>

174 public override string LookupNamespace(string prefix)

175 {

176 return this.innerReader.LookupNamespace(prefix);

234

235 /// <summary>

236 /// Returns the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.

237 /// </summary>

238 public override string NamespaceURI

SearchFacetSpecifier.designer.cs (https://hg01.codeplex.com/hydrodesktop) C# · 195 lines ✨ Summary

This C# code defines a Windows Forms application component, SearchFacetSpecifier, which contains various UI elements such as buttons, text boxes, and a tree view. The component is designed to facilitate search functionality with faceted filtering, allowing users to input search queries and browse through related results in the tree view.

1 namespace FacetedSearch3

2 {

3 partial class SearchFacetSpecifier

107 //

108 this.FacetTextBox.Dock = System.Windows.Forms.DockStyle.Fill;

109 this.FacetTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

110 this.FacetTextBox.Location = new System.Drawing.Point(0, 0);

111 this.FacetTextBox.Margin = new System.Windows.Forms.Padding(0);

130 //

131 this.DeleteFacetBtn.Dock = System.Windows.Forms.DockStyle.Right;

132 this.DeleteFacetBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

133 this.DeleteFacetBtn.Location = new System.Drawing.Point(219, 0);

134 this.DeleteFacetBtn.Name = "DeleteFacetBtn";

CacheConfigUI.Designer.cs (https://appfabricCacheAdmin.svn.codeplex.com/svn) C# · 252 lines

1 namespace AppFabricAdministrator

2 {

3 partial class CacheConfigUI

90 // btnSaveDialog

91 //

92 this.btnSaveDialog.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

93 this.btnSaveDialog.Location = new System.Drawing.Point(468, 27);

94 this.btnSaveDialog.Name = "btnSaveDialog";

167 // btnOpenDialog

168 //

169 this.btnOpenDialog.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

170 this.btnOpenDialog.Location = new System.Drawing.Point(468, 30);

171 this.btnOpenDialog.Name = "btnOpenDialog";

IncludeTests.cs (https://git01.codeplex.com/entityframework) C# · 263 lines

1 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

2

3 namespace System.Data.Entity.Query.LinqToEntities

VirtualEarthTileSystem.cs (https://geoCache.svn.codeplex.com/svn) C# · 157 lines

1 //------------------------------------------------------------------------------

2 // <copyright file="VirtualEarthTileSystem.cs" company="Microsoft">

3 // Copyright (c) 2006 Microsoft Corporation. All rights reserved.

4 // </copyright>

5 //

6 // Source from http://msdn.microsoft.com/en-us/library/bb259689.aspx

7 //------------------------------------------------------------------------------

8

10 using System.Text;

11

12 namespace Microsoft.MapPoint

13 {

14 public static class VirtualEarthTileSystem

_LinkVenueCategory_DAL.cs (https://PlacementManager.svn.codeplex.com/svn) C# · 336 lines

28 using System.Web.UI.WebControls.WebParts;

29 using System.Web.UI.HtmlControls;

30 using Microsoft.Practices.EnterpriseLibrary.Data;

31 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

32

33

34 namespace PlacementManager.DAL

35 {

36 public abstract class _LinkVenueCategory_DAL

AdControl.cs (https://hg.codeplex.com/diswptoolkit) C# · 166 lines

4 using System.Windows.Controls;

5 using System.Windows.Media.Imaging;

6 using Microsoft.Phone.Tasks;

7

8 namespace DIS.WindowsPhone.Toolkit.Controls

9 {

10 /// <summary>

11 /// Represents an Ad that displays the Microsoft Ad Control and falls back to a user specified banner if no ads to display

12 /// </summary>

13 public class AdControl : Control

14 {

15 Microsoft.Advertising.Mobile.UI.AdControl adControl1;

16 Image image1;

17 string deferredApplicationID = null;

ViewDataDictionaryExtensions.cs (https://hg.codeplex.com/mvcextensions) C# · 159 lines

1 #region Copyright

2 // Copyright (c) 2009 - 2010, Kazi Manzur Rashid <kazimanzurrashid@gmail.com>.

3 // This source is subject to the Microsoft Public License.

4 // See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.

6 #endregion

7

8 namespace MvcExtensions

9 {

10 using System.Collections.Generic;

ServiceHelper.cs (https://git01.codeplex.com/tfsdeployer) C# · 175 lines

2 using System.Collections.Generic;

3 using System.Text;

4 using Microsoft.TeamFoundation.Server;

5 using Microsoft.TeamFoundation.Client;

13

14

15 namespace Readify.Useful.TeamFoundation.Common

16 {

17 /// <summary>

CalendarButtonAutomationPeer.cs (https://entlib.svn.codeplex.com/svn) C# · 293 lines ✨ Summary

This C# code defines an AutomationPeer class for a CalendarButton control, which is part of the Microsoft Enterprise Library. It provides automation support for the calendar button, including getting its control type, name, and help text, as well as handling selection and grid item properties. It also inherits from ButtonAutomationPeer to leverage existing functionality.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Core

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

12 //---------------------------------------------------------------------------

13 //

14 // Copyright (C) Microsoft Corporation. All rights reserved.

15 //

16 //---------------------------------------------------------------------------

29 using CalendarSelectionMode = Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.Toolkit.Windows.Controls.CalendarSelectionMode;

30

31 namespace Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.Toolkit.Windows.Automation.Peers

32 {

33 /// <summary>

TypeConversionValidatorFixture.cs (https://entlib.svn.codeplex.com/svn) C# · 231 lines ✨ Summary

This C# code is a test fixture for the TypeConversionValidator class, which validates whether an object conforms to a specific type. The tests cover various scenarios, including null values, string inputs of different types, and empty strings. It ensures that the validator behaves correctly in these cases and supplies the correct parameters to its message template.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Validation Application Block

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

12 using System;

13 using System.Text.RegularExpressions;

14 using Microsoft.Practices.EnterpriseLibrary.Validation.Properties;

15 using Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport;

18 using Microsoft.VisualStudio.TestTools.UnitTesting;

19

20 namespace Microsoft.Practices.EnterpriseLibrary.Validation.Tests.Validators

21 {

22 [TestClass]

WeakHash.cs (https://IronPython.svn.codeplex.com/svn) C# · 295 lines ✨ Summary

This C# code implements a custom dictionary class called WeakHash that uses a hybrid mapping approach to store and retrieve values. It combines strong and weak references to manage memory efficiently, allowing for garbage collection while maintaining data integrity. The class provides methods for adding, removing, and retrieving values, as well as handling cleanup and rehashing of the underlying dictionary.

1 /* **********************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation. All rights reserved.

4 *

5 * This source code is subject to terms and conditions of the Shared Source License

6 * for IronPython. A copy of the license can be found in the License.html file

7 * at the root of this distribution. If you can not locate the Shared Source License

8 * for IronPython, please send an email to ironpy@microsoft.com.

9 * By using this source code in any fashion, you are agreeing to be bound by

10 * the terms of the Shared Source License for IronPython.

22 using IronPython.Runtime.Operations;

23

24 namespace IronPython.Runtime {

25 class WeakHash<TKey, TValue> : IDictionary<TKey, TValue> {

26 // The one and only comparer instance.

ForCustomCacheManagerNamedExtensionFixture.cs (https://entlib.svn.codeplex.com/svn) C# · 308 lines ✨ Summary

This C# code defines a set of test classes for a caching system, including TestCustomCacheManager, which implements the ICacheManager interface. The tests cover various scenarios, such as adding and removing items from the cache, checking for existence, and using a custom cache manager as the default. The tests are designed to ensure the caching system behaves correctly under different conditions.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Caching Application Block

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

14 using System.Linq;

15 using System.Text;

16 using Microsoft.VisualStudio.TestTools.UnitTesting;

17 using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

19 using System.Collections.Specialized;

20

21 namespace Microsoft.Practices.EnterpriseLibrary.Caching.Tests.Configuration.Fluent

22 {

23 [TestClass]

MatrixRenderer.cs (https://cre4ssrs.svn.codeplex.com/svn) C# · 249 lines

1 using System.Data;

2 using System.Collections;

3 using Microsoft.VisualBasic;

4 using System.Diagnostics;

5 using Microsoft.ReportingServices.ReportRendering;

7

8

9 namespace CustomExcelRenderCS

10 {

11

74 /// </summary>

75 /// <returns>generated html string of matrix object</returns>

76 protected internal string Render(Microsoft.ReportingServices.ReportRendering.Matrix reportMatrix)

77 {

78 // register to renderer record of current matrix

CompositeMessageSenderTest.cs (https://enhancedreminders.svn.codeplex.com/svn) C# · 213 lines

1 //++

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // Module Name:

15 using System.Collections.Generic;

16 using System.Threading;

17 using Microsoft.VisualStudio.TestTools.UnitTesting;

18

19 using Microsoft.OfficeCommunicationsServer.Applications.Common;

20

21 namespace Microsoft.EnhancedReminders.Dispatcher.UnitTests

22 {

23 /// <summary>

GlobalSuppressions.cs (https://ExFinderReflector.svn.codeplex.com/svn) C# · 48 lines

12 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "ExceptionFinder.TestTarget.IndirectRecursiveCall")]

13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers")]

14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]

15 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]

16 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]

25 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkScenarios.#WarmUp()")]

26 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.TestTarget")]

27 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")]

28 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")]

29 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#ComplexHandlers(System.String)")]

35 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgument(System.Exception)")]

36 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.Tests.Scenarios")]

37 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgumentFromInstance(System.Exception)")]

TryStatementBuilder.cs (https://IronSmalltalk.svn.codeplex.com/svn) C# · 231 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

7 * you cannot locate the Apache License, Version 2.0, please send an email to

8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound

9 * by the terms of the Apache License, Version 2.0.

10 *

21 using Microsoft.Scripting.Utils;

22

23 namespace Microsoft.Scripting.Ast {

24 public sealed class TryStatementBuilder {

25 private readonly List<CatchBlock> _catchBlocks = new List<CatchBlock>();

SubscriptionReposTransformationsTests.cs (https://rockbus.svn.codeplex.com/svn) C# · 218 lines

2 using System.Linq;

3 using System.Transactions;

4 using Microsoft.VisualStudio.TestTools.UnitTesting;

5 using RockBus.DataContracts;

6 using RockBus.Logging.Trace;

68 var nis = new[]

69 {

70 new NamespaceInfo("ns1", "http://somenamespace/"),

71 };

72

147 var nis = new[]

148 {

149 new NamespaceInfo("ns1", "http://somenamespace/"),

150 };

151

RegistrationByConventionHelpersFixture.cs (https://git01.codeplex.com/unity) C# · 226 lines

1 // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

2

3 using System;

4 using System.Collections;

5 using System.Collections.Generic;

6 using Microsoft.Practices.Unity.TestSupport;

7 #if NETFX_CORE

8 using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;

13 using TestInitializeAttribute = NUnit.Framework.TestFixtureSetUpAttribute;

14 #else

15 using Microsoft.VisualStudio.TestTools.UnitTesting;

16 #endif

17

18 namespace Microsoft.Practices.Unity.Tests

19 {

20 [TestClass]

TargetDeleteTask.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteTask

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteTask

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteTask(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteTask extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

OwnerDocument.java (https://hg.codeplex.com/javamscrm) Java · 123 lines

2 * An XML document type.

3 * Localname: Owner

4 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

5 * Java type: com.microsoft.schemas.crm._2007.webservices.OwnerDocument

7 * Automatically generated - do not modify.

8 */

9 package com.microsoft.schemas.crm._2007.webservices;

10

11

12 /**

13 * A document containing one Owner(@http://schemas.microsoft.com/crm/2007/WebServices) element.

14 *

15 * This is a complex type.

23 * Gets the "Owner" element

24 */

25 com.microsoft.schemas.crm._2006.webservices.Owner getOwner();

26

27 /**

TargetDeleteTeam.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteTeam

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteTeam

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteTeam(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteTeam extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

ProcessInboundEmailResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: ProcessInboundEmailResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.ProcessInboundEmailResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML ProcessInboundEmailResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface ProcessInboundEmailResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

SetStateOpportunityResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: SetStateOpportunityResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.SetStateOpportunityResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML SetStateOpportunityResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface SetStateOpportunityResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

SetStateAppointmentResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: SetStateAppointmentResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.SetStateAppointmentResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML SetStateAppointmentResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface SetStateAppointmentResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetDeleteRole.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteRole

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteRole

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteRole(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteRole extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetDeleteLead.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteLead

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteLead

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteLead(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteLead extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

ValidateRequest.java (https://hg.codeplex.com/javamscrm) Java · 112 lines

1 /*

2 * XML Type: ValidateRequest

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.ValidateRequest

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML ValidateRequest(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface ValidateRequest extends com.microsoft.schemas.crm._2007.webservices.Request

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

ConvertProductToKitResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: ConvertProductToKitResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.ConvertProductToKitResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML ConvertProductToKitResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface ConvertProductToKitResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetDeleteList.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteList

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteList

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteList(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteList extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetQueuedTask.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetQueuedTask

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetQueuedTask

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetQueuedTask(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetQueuedTask extends com.microsoft.schemas.crm._2007.webservices.TargetQueued

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

SetParentSystemUserResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: SetParentSystemUserResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.SetParentSystemUserResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML SetParentSystemUserResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface SetParentSystemUserResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

ConvertKitToProductResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: ConvertKitToProductResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.ConvertKitToProductResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML ConvertKitToProductResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface ConvertKitToProductResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

RemovePrivilegeRoleResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: RemovePrivilegeRoleResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.RemovePrivilegeRoleResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML RemovePrivilegeRoleResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface RemovePrivilegeRoleResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

AleRenderTarget.cs (https://hg.codeplex.com/conquera) C# · 298 lines

20 using System.Collections.Generic;

21 using System.Text;

22 using Microsoft.Xna.Framework.Graphics;

23 using Ale.Tools;

24 using Microsoft.Xna.Framework;

25

26 namespace Ale.Graphics

27 {

28 public sealed class AleRenderTarget : IDisposable

ScriptManager.cs (https://git01.codeplex.com/xnascumm) C# · 285 lines

3 using System.Linq;

4 using System.Text;

5 using Microsoft.Xna.Framework;

6

7 namespace Scumm.Engine.Resources.Scripts

TargetOwnedQuote.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetOwnedQuote

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetOwnedQuote

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetOwnedQuote(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetOwnedQuote extends com.microsoft.schemas.crm._2007.webservices.TargetOwned

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetOwnedEmail.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetOwnedEmail

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetOwnedEmail

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetOwnedEmail(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetOwnedEmail extends com.microsoft.schemas.crm._2007.webservices.TargetOwned

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

StringBuilder_TypeParserTest.cs (https://hg.codeplex.com/injectioncop) C# · 246 lines

14

15 using System;

16 using Microsoft.FxCop.Sdk;

17 using NUnit.Framework;

18 using Assert = NUnit.Framework.Assert;

19

20 namespace InjectionCop.IntegrationTests.Parser.TypeParsing.TypeParserTests.StringBuilderInference

21 {

22 [TestFixture]

BuildActionExecutionTableTests.cs (https://hg.codeplex.com/codemadesimple) C# · 241 lines

7 using CodeMadeSimple.BOPE.Core;

8 using Moq;

9 using Microsoft.SqlServer.Server;

10 using System.Data;

11

12 namespace CodeMadeSimple.BOPE.SQLRepository.Tests

13 {

14 [TestFixture]

CacheCluster.cs (https://MdcAdminTool.svn.codeplex.com/svn) C# · 339 lines

9 using System.Text;

10 using System.Xml.Linq;

11 using Microsoft.Data.Caching.AdminApi;

12 using System.ComponentModel;

13

14 namespace MDCAdminTool

15 {

16 public class CacheCluster : PowerShellBase<object , CacheHost>

Resources.Designer.cs (https://nativebrowser.svn.codeplex.com/svn) C# · 2899 lines

9 //------------------------------------------------------------------------------

10

11 namespace Specialwork.AddIns.VisualStudio.NativeObjectBrowser.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

RecordBase.cs (https://managedese.svn.codeplex.com/svn) C# · 351 lines

1 //-----------------------------------------------------------------------

2 // <copyright file="RecordBase.cs" company="Microsoft Corporation">

3 // Copyright (c) Microsoft Corporation.

11 using Microsoft.Isam.Esent.Interop;

12

13 namespace Microsoft.Isam.Esent

14 {

15 /// <summary>

data-type-names.Designer.cs (https://EffiProz.svn.codeplex.com/svn) C# · 361 lines

9 //------------------------------------------------------------------------------

10

11 namespace EffiProz.Core.Resources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 public data_type_names() {

33 }

DataSourceGroupContext.cs (https://git01.codeplex.com/extendedsilverlight) C# · 429 lines

5 Copyright (C) 2010-2012 Xceed Software Inc.

6

7 This program is provided to you under the terms of the Microsoft Public

8 License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license

9

24 using System.Windows.Data;

25

26 namespace Xceed.Silverlight.Data

27 {

28 internal sealed class DataSourceGroupContext

RemovingItemTransitionAnimation.cs (https://git01.codeplex.com/extendedsilverlight) C# · 327 lines

5 Copyright (C) 2010-2012 Xceed Software Inc.

6

7 This program is provided to you under the terms of the Microsoft Public

8 License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license

9

23 using System.Windows.Media.Animation;

24

25 namespace Xceed.Silverlight.ListBox

26 {

27 internal class RemovingItemTransitionAnimation : TransitionAnimation

CustomerProductsServiceInterfaces.cs (https://CrystalConsulting.svn.codeplex.com/svn) C# · 467 lines

38 using System.Xml.Serialization;

39

40 namespace GlobalBankServices

41 {

42

43 /// <remarks/>

44 [GeneratedCode("wsdl", "2.0.50727.42")]

45 [WebServiceBinding(Name="CustomerProductsServiceSoap", Namespace="http://GlobalBranchServices/2006/05/CustomerProducts")]

46 public interface ICustomerProductsServiceSoap {

47

48 /// <remarks/>

49 [WebMethod()]

50 [SoapDocumentMethod("http://GlobalBranchServices/2006/05/CustomerProducts/GetCustomerAccounts", RequestNamespace="http://GlobalBranchServices/2006/05/CustomerProducts", ResponseNamespace="http://GlobalBranchServices/2006/05/CustomerProducts", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]

51 [return: XmlElement("getCustomerAccountsResponse", Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")]

52 getCustomerAccountsResponseType GetCustomerAccounts([XmlElement(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")] getCustomerAccountsRequestType getCustomerAccountsRequest);

53 }

54

HierarchyTest.cs (https://ahp.svn.codeplex.com/svn) C# · 180 lines

3 using System.Collections.Generic;

4 using System.Linq;

5 using Microsoft.VisualStudio.TestTools.UnitTesting;

6 using Ahp;

7

8 namespace AhpTest

9 {

10 [TestClass]

PropertyAttributes.Designer.cs (https://aip.svn.codeplex.com/svn) C# · 226 lines

9 //------------------------------------------------------------------------------

10

11 namespace DaveSexton.Web.Controls.Resources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal PropertyAttributes() {

33 }

Brettle.Web.NeatUpload.UploadStorageConfigMethods.html (https://phoenix.svn.codeplex.com/svn) HTML · 74 lines

2 <head>

3 <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />

4 <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />

5 <title>UploadStorageConfig Methods</title>

6 <xml>

28 <div class="tablediv">

29 <table class="dtTABLE" cellspacing="0">

30 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCollectionsSpecializedNameValueCollectionClassAddTopic.asp">Add</a> (inherited from <b>NameValueCollection</b>)</td><td width="50%">Overloaded.  </td></tr>

31 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCollectionsSpecializedNameValueCollectionClassClearTopic.asp">Clear</a> (inherited from <b>NameValueCollection</b>)</td><td width="50%"> </td></tr>

32 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCollectionsSpecializedNameValueCollectionClassCopyToTopic.asp">CopyTo</a> (inherited from <b>NameValueCollection</b>)</td><td width="50%"> </td></tr>

33 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassEqualsTopic.asp">Equals</a> (inherited from <b>Object</b>)</td><td width="50%"> </td></tr>

34 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCollectionsSpecializedNameValueCollectionClassGetTopic.asp">Get</a> (inherited from <b>NameValueCollection</b>)</td><td width="50%">Overloaded.  </td></tr>

35 <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCollectionsSpecializedNameObjectCollectionBaseClassGetEnumeratorTopic.asp">GetEnumerator</a> (inherited from <b>NameObjectCollectionBase</b>)</td><td width="50%"> </td></tr>

TargetRetrieveWorkflowLog.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetRetrieveWorkflowLog

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetRetrieveWorkflowLog

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetRetrieveWorkflowLog(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetRetrieveWorkflowLog extends com.microsoft.schemas.crm._2007.webservices.TargetRetrieve

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetRetrieveQuoteDetail.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetRetrieveQuoteDetail

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetRetrieveQuoteDetail

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetRetrieveQuoteDetail(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetRetrieveQuoteDetail extends com.microsoft.schemas.crm._2007.webservices.TargetRetrieve

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

UpdateUserSettingsSystemUserResponse.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: UpdateUserSettingsSystemUserResponse

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.UpdateUserSettingsSystemUserResponse

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML UpdateUserSettingsSystemUserResponse(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface UpdateUserSettingsSystemUserResponse extends com.microsoft.schemas.crm._2007.webservices.Response

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetRetrieveUoMSchedule.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetRetrieveUoMSchedule

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetRetrieveUoMSchedule

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetRetrieveUoMSchedule(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetRetrieveUoMSchedule extends com.microsoft.schemas.crm._2007.webservices.TargetRetrieve

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetRetrieveAppointment.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetRetrieveAppointment

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetRetrieveAppointment

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetRetrieveAppointment(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetRetrieveAppointment extends com.microsoft.schemas.crm._2007.webservices.TargetRetrieve

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetRetrieveOpportunity.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetRetrieveOpportunity

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetRetrieveOpportunity

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetRetrieveOpportunity(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetRetrieveOpportunity extends com.microsoft.schemas.crm._2007.webservices.TargetRetrieve

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

RetrieveDeploymentLicenseTypeRequest.java (https://hg.codeplex.com/javamscrm) Java · 97 lines

1 /*

2 * XML Type: RetrieveDeploymentLicenseTypeRequest

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.RetrieveDeploymentLicenseTypeRequest

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML RetrieveDeploymentLicenseTypeRequest(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface RetrieveDeploymentLicenseTypeRequest extends com.microsoft.schemas.crm._2007.webservices.Request

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

ExportIdsOptionalParameter.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: ExportIdsOptionalParameter

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.ExportIdsOptionalParameter

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML ExportIdsOptionalParameter(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface ExportIdsOptionalParameter extends com.microsoft.schemas.crm._2007.webservices.OptionalParameter

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetQuantifyOpportunity.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetQuantifyOpportunity

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetQuantifyOpportunity

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetQuantifyOpportunity(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetQuantifyOpportunity extends com.microsoft.schemas.crm._2007.webservices.TargetQuantify

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

Status.java (https://hg.codeplex.com/javamscrm) Java · 157 lines

1 /*

2 * XML Type: Status

3 * Namespace: http://schemas.microsoft.com/crm/2006/WebServices

4 * Java type: com.microsoft.schemas.crm._2006.webservices.Status

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2006.webservices;

9

10

11 /**

12 * An XML Status(@http://schemas.microsoft.com/crm/2006/WebServices).

13 *

14 * This is an atomic type that is a restriction of com.microsoft.schemas.crm._2006.webservices.Status.

86 public static final class Factory

87 {

88 public static com.microsoft.schemas.crm._2006.webservices.Status newInstance() {

89 return (com.microsoft.schemas.crm._2006.webservices.Status) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }

WaveFormatEx.cs (https://hg.codeplex.com/clipflair) C# · 301 lines

6 // (c) Copyright Gilles Khouzam

7 // Based on the sample from Larry Olson

8 // This source is subject to the Microsoft Public License (Ms-PL)

9 // All other rights reserved.

10 // </copyright>

13 using System;

14

15 namespace ClipFlair.AudioLib

16 {

17

TargetDeleteBulkOperation.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteBulkOperation

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteBulkOperation

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteBulkOperation(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteBulkOperation extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetDeleteDuplicateRule.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteDuplicateRule

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteDuplicateRule

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteDuplicateRule(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteDuplicateRule extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetOwnedAsyncOperation.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetOwnedAsyncOperation

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetOwnedAsyncOperation

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetOwnedAsyncOperation(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetOwnedAsyncOperation extends com.microsoft.schemas.crm._2007.webservices.TargetOwned

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

TargetDeleteLookUpMapping.java (https://hg.codeplex.com/javamscrm) Java · 117 lines

1 /*

2 * XML Type: TargetDeleteLookUpMapping

3 * Namespace: http://schemas.microsoft.com/crm/2007/WebServices

4 * Java type: com.microsoft.schemas.crm._2007.webservices.TargetDeleteLookUpMapping

6 * Automatically generated - do not modify.

7 */

8 package com.microsoft.schemas.crm._2007.webservices;

9

10

11 /**

12 * An XML TargetDeleteLookUpMapping(@http://schemas.microsoft.com/crm/2007/WebServices).

13 *

14 * This is a complex type.

15 */

16 public interface TargetDeleteLookUpMapping extends com.microsoft.schemas.crm._2007.webservices.TargetDelete

17 {

18 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)

SR.Designer.cs (https://hg01.codeplex.com/wcf) C# · 152 lines ✨ Summary

This is a C# class that provides localized error messages for various scenarios related to JSON serialization and deserialization, such as array formatting, nested objects, and form-urlencoded data. The class contains methods that return formatted error messages with placeholders for variables, allowing for easy localization and customization of the error messages.

9 //------------------------------------------------------------------------------

10

11 namespace Microsoft.ApplicationServer.HttpEnhancements {

12

13

24 get {

25 if (object.ReferenceEquals(resourceManager, null)) {

26 System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Microsoft.ApplicationServer.HttpEnhancements.SR", typeof(SR).Assembly);

27 resourceManager = temp;

28 }

UserGroupBusiness.cs (https://hg.codeplex.com/longchang) C# · 199 lines

3 using System.Linq;

4 using System.Text;

5 using Microsoft.Practices.EnterpriseLibrary.Data;

6 using System.Data;

7 using IntVideoSurv.Entity;

13

14

15 namespace IntVideoSurv.Business

16 {

17 public class UserGroupBusiness

WixBuildEventEditorForm.cs (https://hg.codeplex.com/wix) C# · 163 lines

2 // <copyright file="WixBuildEventEditorForm.cs" company="Outercurve Foundation">

3 // Copyright (c) 2004, Outercurve Foundation.

4 // This software is released under Microsoft Reciprocal License (MS-RL).

5 // The license and further copyright text can be found in the file

6 // LICENSE.TXT at the root directory of the distribution.

12 //--------------------------------------------------------------------------------------------------

13

14 namespace WixToolset.VisualStudio.Forms

15 {

16 using System;

151 private void WixBuildEventEditorForm_HelpRequested(object sender, HelpEventArgs hlpevent)

152 {

153 Microsoft.VisualStudio.VSHelp.Help help = this.serviceProvider.GetService(typeof(Microsoft.VisualStudio.VSHelp.Help)) as Microsoft.VisualStudio.VSHelp.Help;

154

155 if (help != null)

ApplicationBarMenuItem.cs (https://hg.codeplex.com/shoppinganalytics) C# · 204 lines

10 using System.Windows.Shapes;

11

12 namespace DeepForest.Phone.Assets.Shell

13 {

14 public class ApplicationBarMenuItem : FrameworkElement, Microsoft.Phone.Shell.IApplicationBarMenuItem

16 #region Fields

17

18 private readonly Microsoft.Phone.Shell.IApplicationBarMenuItem _sysAppBarMenuItem;

19 private bool _isAttached;

20

38 }

39

40 protected Microsoft.Phone.Shell.IApplicationBarMenuItem SysAppBarMenuItem

41 {

42 get { return _sysAppBarMenuItem; }

DualParaboloidShadowMaps.cs (https://hg.codeplex.com/shevaengine) C# · 158 lines

1 using System;

2 using System.Collections.Generic;

3 using Microsoft.Xna.Framework;

4 using Microsoft.Xna.Framework.Graphics;

7 using ShevaEngine.Core.Modules.Scenes;

8

9 namespace ShevaEngine.Core.Modules.Graphics.ShadowMaps

10 {

11 /// <summary>

OAVSProject.cs (https://hg.codeplex.com/pytools) C# · 218 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

7 * you cannot locate the Apache License, Version 2.0, please send an email to

8 * vspython@microsoft.com. By using this source code in any fashion, you are agreeing to be bound

9 * by the terms of the Apache License, Version 2.0.

10 *

19 using VSLangProj;

20

21 namespace Microsoft.PythonTools.Project.Automation

22 {

23 /// <summary>

TestData.cs (https://hg.codeplex.com/pytools) C# · 145 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

7 * you cannot locate the Apache License, Version 2.0, please send an email to

8 * vspython@microsoft.com. By using this source code in any fashion, you are agreeing to be bound

9 * by the terms of the Apache License, Version 2.0.

10 *

19 using System.Linq;

20 using System.Text;

21 using Microsoft.PythonTools;

22

23 namespace TestUtilities {

Resources.Designer.cs (https://hg.codeplex.com/mudclient) C# · 163 lines

9 //------------------------------------------------------------------------------

10

11 namespace Adan.Client.Properties {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resources() {

33 }

frmAltaObraSocial.Designer.cs (https://hg.codeplex.com/sistematurnet) C# · 136 lines

1 namespace UI.Desktop

2 {

3 partial class frmAltaObraSocial

96 //

97 this.label6.AutoSize = true;

98 this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 26.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Italic | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));

99 this.label6.Location = new System.Drawing.Point(31, 167);

100 this.label6.Name = "label6";

SqlCeResultSetWrapper.cs (https://entlib.svn.codeplex.com/svn) C# · 316 lines ✨ Summary

This C# code defines a wrapper class SqlCeResultSetWrapper around the SqlCeResultSet class, which is used to manage reference counting on a corresponding connection. It provides a delegating implementation for various methods, allowing it to interact with the inner SqlCeResultSet object while maintaining its own connection management.

1 //===============================================================================

2 // Microsoft patterns & practices Enterprise Library

3 // Data Access Application Block

4 //===============================================================================

5 // Copyright Å  Microsoft Corporation. All rights reserved.

6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

16 using System.Data.SqlTypes;

17

18 namespace Microsoft.Practices.EnterpriseLibrary.Data.SqlCe

19 {

20 /// <summary>

Log.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a custom logging class Log within the Xtensive.Core namespace. It uses reflection to determine its own log name, which is set to the full name of its declaring type minus the last part (e.g., “Xtensive.Core.Log”). This allows for unique logging identification.

8 using Xtensive.Core.Diagnostics;

9

10 namespace Xtensive.Core

11 {

12 /// <summary>

13 /// Log for this namespace.

14 /// </summary>

15 internal sealed class Log: LogTemplate<Log>

ParamPanel.cs (git://github.com/xxVisorxx/nemerle.git) C# · 122 lines ✨ Summary

This C# code defines a custom Panel control called ParamPanel. It provides two properties: NameColumn and Wrap, which allow for customized layout behavior. The MeasureOverride method calculates the size of the panel based on its children’s sizes, while the ArrangeOverride method arranges the children in a specific order to accommodate both name columns and type columns with varying widths.

3 using System.Windows.Controls;

4

5 namespace WpfHint.UIBuilding

6 {

7 internal class ParamPanel : Panel

PHPExcel_Reader_Excel2007.cs (https://PHPExcel.svn.codeplex.com/svn) C# · 26 lines ✨ Summary

This C# code defines a class PHPExcel_Reader_Excel2007 that inherits from PHPExcel_Writer_IReader. It implements an interface with two methods: reads which is not implemented and throws an exception, indicating it’s not intended to be used directly. The class seems to be part of a larger library or framework for working with Excel files.

3 using System.Text;

4

5 namespace ClassDiagrams

6 {

7 public class PHPExcel_Reader_Excel2007 : PHPExcel_Writer_IReader

SByteInstanceGenerator.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a class SByteInstanceGenerator that generates instances of the sbyte data type. It uses another instance generator for the underlying byte type and wraps it to produce sbyte values, which are signed 8-bit integers. The class is designed to be used in testing scenarios, as indicated by its namespace and the presence of a Random parameter in its GetInstance method.

8 using System;

9

10 namespace Xtensive.Core.Testing

11 {

12 [Serializable]

test-478.n (git://github.com/xxVisorxx/nemerle.git) Unknown · 36 lines

3 using System.ComponentModel.Design;

4

5 namespace Test {

6 class MainClass {

7 public static Main() : void {}

LinkableComponent.cs (https://hg01.codeplex.com/hydrodesktop) C# · 17 lines

4 using System.Text;

5

6 namespace Sediment_Diff

7 {

8 class LinkableComponent :Oatc.OpenMI.Sdk.Wrapper.LinkableEngine

Settings.settings (git://github.com/xxVisorxx/nemerle.git) Unknown · 18 lines

1 <?xml version='1.0' encoding='utf-8'?>

2 <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Nemerle.VisualStudio.Properties" GeneratedClassName="Settings">

3 <Profiles />

4 <Settings>

Resources.resx (https://hg01.codeplex.com/hydrodesktop) Unknown · 120 lines

2 <root>

3 <!--

4 Microsoft ResX Schema

5

6 Version 2.0

14

15 ... ado.net/XML headers & schema ...

16 <resheader name="resmimetype">text/microsoft-resx</resheader>

17 <resheader name="version">2.0</resheader>

18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>

20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>

21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>

22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">

23 <value>[base64 mime encoded serialized .NET Framework object]</value>

24 </data>

62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">

63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />

64 <xsd:element name="root" msdata:IsDataSet="true">

65 <xsd:complexType>

AsyncWorker.n (git://github.com/xxVisorxx/nemerle.git) Unknown · 189 lines

13

14

15 namespace Nemerle.Compiler.Utils.Async

16 {

17 /// <summary>

SubHintForType.n (git://github.com/xxVisorxx/nemerle.git) Unknown · 133 lines

6 using BFlg = System.Reflection.BindingFlags;

7

8 namespace Nemerle.Compiler.Utils

9 {

10 class SubHintForType : Utils.Convert

39 def makeTypeStr(key : string) : string

40 {

41 AddNamespaces = true;

42 ExpandTypeArgs = false;

43 def ty = _idToTypeMap[int.Parse(key)];

59 else $<#<lb/>$prompt: ..$(itfs; ", "; FixedClassTypeToString)#>

60 }

61 def old = AddNamespaces;

62 AddNamespaces = false;

69 else implementsInfo(itfs);

70

71 AddNamespaces = old;

72

73 res

is_placeholder.hpp (https://bitbucket.org/genericcontainer/goblin-camp/) C++ Header · 32 lines ✨ Summary

This C++ header file defines a metafunction is_placeholder that checks if a given type is a placeholder, which is typically used to indicate a parameter pack in C++. The function returns an enum value indicating whether the type is a placeholder (value = 0). It’s part of the Boost library and is compatible with MS compilers.

This C++ header file defines a metafunction is_placeholder that checks if a given type is a placeholder, which is typically used to indicate a parameter pack in C++. The function returns an enum value indicating whether the type is a placeholder (value = 0). It’s part of the Boost library and is compatible with MS compilers.

19

20

21 namespace boost

22 {

23

27 };

28

29 } // namespace boost

30

31 #endif // #ifndef BOOST_IS_PLACEHOLDER_HPP_INCLUDED

TestResources.Designer.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a strongly-typed resource class TestResources that allows for localized string lookups. It provides a ResourceManager instance and a Culture property to override the current thread’s culture, enabling resource lookups with specific cultures. The class is auto-generated by a tool and should not be modified manually.

9 //------------------------------------------------------------------------------

10

11 namespace Xtensive.Core.Tests.Resources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal TestResources() {

33 }

Settings.settings (https://hg01.codeplex.com/hydrodesktop) Unknown · 21 lines

1 <?xml version='1.0' encoding='utf-8'?>

2 <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="FacetedSearch3.Properties" GeneratedClassName="Settings">

3 <Profiles />

4 <Settings>

MapperHandlingStructureTests.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a set of unit tests for a DefaultMapper class, which is responsible for transforming data between different structures. The tests cover various scenarios, including transformation of fields with converters, limit on graph depth, and truncation types. They ensure the mapper behaves correctly in different situations, providing a comprehensive test suite for the mapping functionality.

13 using Xtensive.Core.Tests.ObjectMapping.TargetModel;

14

15 namespace Xtensive.Core.Tests.ObjectMapping

16 {

17 [TestFixture]

ImplementFactoryMethodWeaver.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code is a PostSharp aspect that weaves an implementation of a factory method into a class. It generates a private static method with the same name as the class, which creates and returns an instance of the class using its constructor. The generated method takes the required arguments and calls the class’s constructor to create a new instance.

19 using Xtensive.Core.Reflection;

20

21 namespace Xtensive.Core.Weaver

22 {

23 internal class ImplementFactoryMethodWeaver : TypeLevelAspectWeaver

AboutBox.cs (https://hg01.codeplex.com/hydrodesktop) C# · 284 lines

45 using System.Windows.Forms;

46

47 namespace Oatc.OpenMI.Gui.ConfigurationEditor

48 {

49 /// <summary>

SgmlopXMLTreeBuilder.py (http://xbmc-scripting.googlecode.com/svn/trunk/) Python · 104 lines ✨ Summary

This Python code defines a class TreeBuilder that builds an element tree from XML data using the SGMLOP parser. It feeds encoded data to the parser, finishes parsing, and returns an element structure. The class also handles start tags, end tags, and data within tags, allowing it to construct a complete XML element tree.

5 # A simple XML tree builder, based on the sgmlop library.

6 #

7 # Note that this version does not support namespaces. This may be

8 # changed in future versions.

9 #

47 # Tools to build element trees from XML, based on the SGMLOP parser.

48 # <p>

49 # The current version does not support XML namespaces.

50 # <p>

51 # This tree builder requires the <b>sgmlop</b> extension module

RibbonSamplePluginVB.vbproj (https://hg01.codeplex.com/hydrodesktop) MSBuild · 172 lines

8 <ProjectGuid>{8C7391D2-59FF-4F22-825E-0602E3EB6804}</ProjectGuid>

9 <OutputType>Library</OutputType>

10 <RootNamespace>RibbonSamplePluginVB</RootNamespace>

11 <AssemblyName>RibbonSamplePluginVB</AssemblyName>

12 <FileAlignment>512</FileAlignment>

137 <Generator>VbMyResourcesResXFileCodeGenerator</Generator>

138 <LastGenOutput>Resources.Designer.vb</LastGenOutput>

139 <CustomToolNamespace>My.Resources</CustomToolNamespace>

140 <SubType>Designer</SubType>

141 </EmbeddedResource>

152 <None Include="My Project\Settings.settings">

153 <Generator>SettingsSingleFileGenerator</Generator>

154 <CustomToolNamespace>My</CustomToolNamespace>

155 <LastGenOutput>Settings.Designer.vb</LastGenOutput>

156 </None>

gtest-129.n (git://github.com/xxVisorxx/nemerle.git) Unknown · 37 lines

1 namespace B

2 {

3 using C;

8 }

9

10 namespace B

11 {

12 partial class Test [T]

15 }

16

17 namespace B

18 {

19 partial class Test [T]

27 }

28

29 namespace C {

30 interface IA { }

31 interface IB { }

FakeVoid.n (git://github.com/xxVisorxx/nemerle.git) Unknown · 45 lines

33 using System.Linq;

34

35 namespace Nemerle.ComputationExpressions

36 {

37 /// <summary>

LinearConversionDataOperation.cs (https://hg01.codeplex.com/hydrodesktop) C# · 225 lines

31 using Oatc.OpenMI.Sdk.Backbone;

32

33 namespace Oatc.OpenMI.Sdk.Wrapper

34 {

35 /// <summary>

WaterOneFlowClientTest.cs (https://hg01.codeplex.com/hydrodesktop) C# · 155 lines ✨ Summary

This C# code defines a set of unit tests for a WaterOneFlowClient class, which appears to be a web service client for accessing hydrological data from various sources. The tests cover different scenarios, such as testing invalid URLs, valid URLs, and specific sites and variables, to ensure the client behaves correctly and returns expected results.

8 using HydroDesktop.Interfaces.ObjectModel;

9

10 namespace HydroDesktop.WebServices.Tests

11 {

12 [Ignore] // Set Ignore because this tests executes too long with timeout exceptions

IValueSet.cs (https://hg01.codeplex.com/hydrodesktop) C# · 49 lines

21 #endregion

22

23 namespace OpenMI.Standard

24 {

25 /// <summary>

AliasProvider.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a class AliasProvider that inherits from UnaryProvider. It allows aliasing of a result by specifying an alias, and is used in a database provider to modify the header of a record set with the specified alias. The class has properties for the source and alias, and overrides methods to build the header and convert parameters to a string.

10 using Xtensive.Storage.Rse.Providers.Compilable;

11

12 namespace Xtensive.Storage.Rse.Providers.Compilable

13 {

14 /// <summary>

ConcatProvider.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a ConcatProvider class that concatenates two binary providers, Left and Right, into a single provider. It ensures compatibility between the two sources by checking their column information references. The resulting provider produces a concatenated record set with columns from both sources.

12 using System.Linq;

13

14 namespace Xtensive.Storage.Rse.Providers.Compilable

15 {

16 /// <summary>

PrefetchTestHelper.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code is a test helper class for Xtensive Storage’s prefetch functionality, used to verify that only default columns are loaded when prefetching specific fields in an entity. It provides methods to fill a database with sample data and invoke prefetch on entities, allowing tests to be written to ensure correct behavior.

15 using Xtensive.Storage.Tests.Storage.Prefetch.Model;

16

17 namespace Xtensive.Storage.Tests.Storage.Prefetch

18 {

19 public static class PrefetchTestHelper

HierarchyRootAttribute.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a custom attribute HierarchyRootAttribute that marks a class as the root of a persistent type hierarchy in an Xtensive Storage model. It specifies inheritance schema and key structure options, allowing for different storage arrangements and optimizations. The attribute is used to decorate classes that should be part of a hierarchical data structure.

9 using Xtensive.Storage.Model;

10

11 namespace Xtensive.Storage

12 {

13 /// <summary>

CustomToolTipControl.Designer.cs (https://hg01.codeplex.com/hydrodesktop) C# · 52 lines ✨ Summary

This is a C# class definition for a custom control called CustomToolTipControl. It contains a partial class declaration, which allows multiple files to share the same code. The class has a constructor and some properties that are not shown in this snippet, but it’s likely used to display a tooltip with custom content.

1 namespace HydroDesktop.DataDownload.LayerInformation

2 {

3 partial class CustomToolTipControl

MetadataCacheManagerSQL.cs (https://hg01.codeplex.com/hydrodesktop) C# · 1175 lines

9 using System.Globalization;

10

11 namespace HydroDesktop.Database

12 {

13 /// <summary>

OwnerRemover.cs (https://code.google.com/p/dataobjectsdotnet/) C# · 0 lines ✨ Summary

This C# code defines a class OwnerRemover that inherits from PersistentExpressionVisitor. It provides a static method RemoveOwner to remove the owner (i.e., the entity) from an expression, leaving only the field or property being accessed. The visitor is used to traverse and modify expressions in LINQ-to-SQL queries.

9 using System.Linq.Expressions;

10

11 namespace Xtensive.Storage.Linq.Expressions.Visitors

12 {

13 internal class OwnerRemover : PersistentExpressionVisitor