Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving EWS Managed API to Open Source
- Loading branch information
0 parents
commit 7fad161
Showing
738 changed files
with
135,351 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.userosscache | ||
*.sln.docstates | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
build/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# Roslyn cache directories | ||
*.ide/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
#NUNIT | ||
*.VisualState.xml | ||
TestResult.xml | ||
|
||
# Build Results of an ATL Project | ||
[Dd]ebugPS/ | ||
[Rr]eleasePS/ | ||
dlldata.c | ||
|
||
*_i.c | ||
*_p.c | ||
*_i.h | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.svclog | ||
*.scc | ||
|
||
# Chutzpah Test files | ||
_Chutzpah* | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# TFS 2012 Local Workspace | ||
$tf/ | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
*.DotSettings.user | ||
|
||
# JustCode is a .NET coding addin-in | ||
.JustCode | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
_NCrunch_* | ||
.*crunch*.local.xml | ||
|
||
# MightyMoose | ||
*.mm.* | ||
AutoTest.Net/ | ||
|
||
# Web workbench (sass) | ||
.sass-cache/ | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.[Pp]ublish.xml | ||
*.azurePubxml | ||
# TODO: Comment the next line if you want to checkin your web deploy settings | ||
# but database connection strings (with potential passwords) will be unencrypted | ||
*.pubxml | ||
*.publishproj | ||
|
||
# NuGet Packages | ||
*.nupkg | ||
# The packages folder can be ignored because of Package Restore | ||
**/packages/* | ||
# except build/, which is used as an MSBuild target. | ||
!**/packages/build/ | ||
# If using the old MSBuild-Integrated Package Restore, uncomment this: | ||
#!**/packages/repositories.config | ||
|
||
# Windows Azure Build Output | ||
csx/ | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.dbproj.schemaview | ||
*.pfx | ||
*.publishsettings | ||
node_modules/ | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file | ||
# to a newer Visual Studio version. Backup files are not needed, | ||
# because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
*.mdf | ||
*.ldf | ||
|
||
# Business Intelligence projects | ||
*.rdl.data | ||
*.bim.layout | ||
*.bim_*.settings | ||
|
||
# Microsoft Fakes | ||
FakesAssemblies/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// --------------------------------------------------------------------------- | ||
// <copyright file="AttachableAttribute.cs" company="Microsoft"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// --------------------------------------------------------------------------- | ||
|
||
//----------------------------------------------------------------------- | ||
// <summary>Defines the AttachableAttribute attribute.</summary> | ||
//----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.Exchange.WebServices.Data | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
/// <summary> | ||
/// The Attachable attribute decorates item classes that can be attached to other items. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] | ||
internal sealed class AttachableAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="AttachableAttribute"/> class. | ||
/// </summary> | ||
internal AttachableAttribute() | ||
: base() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// --------------------------------------------------------------------------- | ||
// <copyright file="EwsEnumAttribute.cs" company="Microsoft"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// --------------------------------------------------------------------------- | ||
|
||
//----------------------------------------------------------------------- | ||
// <summary>Defines the EwsEnumAttribute attribute</summary> | ||
//----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.Exchange.WebServices.Data | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// EwsEnumAttribute decorates enum values with the name that should be used for the | ||
/// enumeration value in the schema. | ||
/// If this is used to decorate an enumeration, be sure to add that enum type to the dictionary in EwsUtilities.cs | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)] | ||
internal sealed class EwsEnumAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// The name for the enum value used in the server protocol | ||
/// </summary> | ||
private string schemaName; | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="EwsEnumAttribute"/> class. | ||
/// </summary> | ||
/// <param name="schemaName">Thename used in the protocol for the enum.</param> | ||
internal EwsEnumAttribute(string schemaName) | ||
: base() | ||
{ | ||
this.schemaName = schemaName; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the name of the name used for the enum in the protocol. | ||
/// </summary> | ||
/// <value>The name of the name used for the enum in the protocol.</value> | ||
internal string SchemaName | ||
{ | ||
get | ||
{ | ||
return this.schemaName; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// --------------------------------------------------------------------------- | ||
// <copyright file="RequiredServerVersionAttribute.cs" company="Microsoft"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// --------------------------------------------------------------------------- | ||
|
||
//----------------------------------------------------------------------- | ||
// <summary>Defines the RequiredServerVersion attribute</summary> | ||
//----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.Exchange.WebServices.Data | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// RequiredServerVersionAttribute decorates classes, methods, properties, enum values with the first Exchange version | ||
/// in which they appeared. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)] | ||
internal sealed class RequiredServerVersionAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Exchange version. | ||
/// </summary> | ||
private ExchangeVersion version; | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="RequiredServerVersionAttribute"/> class. | ||
/// </summary> | ||
/// <param name="version">The Exchange version.</param> | ||
internal RequiredServerVersionAttribute(ExchangeVersion version) | ||
: base() | ||
{ | ||
this.version = version; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the name of the XML element. | ||
/// </summary> | ||
/// <value>The name of the XML element.</value> | ||
internal ExchangeVersion Version | ||
{ | ||
get | ||
{ | ||
return this.version; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// --------------------------------------------------------------------------- | ||
// <copyright file="SchemaAttribute.cs" company="Microsoft"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// --------------------------------------------------------------------------- | ||
|
||
//----------------------------------------------------------------------- | ||
// <summary>Defines the SchemaAttribute attribute.</summary> | ||
//----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.Exchange.WebServices.Data | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
/// <summary> | ||
/// The Schema attribute decorates classes that contain EWS schema definitions. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] | ||
internal sealed class SchemaAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="SchemaAttribute"/> class. | ||
/// </summary> | ||
internal SchemaAttribute() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.