コード例 #1
0
        protected internal OptionsCommand(EasConnectionSettings easConnectionSettings) : base(Command.Options, easConnectionSettings)
        {
            string domain = base.EasConnectionSettings.EasEndpointSettings.Domain;

            base.UriString = string.Format("{0}//{1}/Microsoft-Server-ActiveSync", this.UseSsl ? "https:" : "http:", domain);
            base.InitializeExpectedHttpStatusCodes(typeof(HttpStatus));
        }
コード例 #2
0
 // Token: 0x06000099 RID: 153 RVA: 0x000034E0 File Offset: 0x000016E0
 protected internal AutodiscoverCommand(EasConnectionSettings easConnectionSettings) : base(Command.Autodiscover, easConnectionSettings)
 {
     this.steps = new Dictionary <Step, IExecuteStep>
     {
         {
             Step.TryExistingEndpoint,
             new TryExistingEndpoint(easConnectionSettings)
         },
         {
             Step.TrySmtpAddress,
             new TrySmtpAddress(easConnectionSettings)
         },
         {
             Step.TryRemovingDomainPrefix,
             new TryRemovingDomainPrefix(easConnectionSettings)
         },
         {
             Step.TryAddingAutodiscoverPrefix,
             new TryAddingAutodiscoverPrefix(easConnectionSettings)
         },
         {
             Step.TryUnauthenticatedGet,
             new TryUnauthenticatedGet(easConnectionSettings)
         },
         {
             Step.TryDnsLookupOfSrvRecord,
             new TryDnsLookupOfSrvRecord(easConnectionSettings)
         }
     };
     this.results = new Dictionary <Step, string>(this.steps.Count);
 }
コード例 #3
0
 // Token: 0x0600015A RID: 346 RVA: 0x00004A92 File Offset: 0x00002C92
 internal FolderUpdateCommand(EasConnectionSettings easConnectionSettings) : base(Command.FolderUpdate, easConnectionSettings)
 {
 }
コード例 #4
0
 protected internal EasServerCommand(Command command, EasConnectionSettings easConnectionSettings) : base(command, easConnectionSettings)
 {
     base.InitializeExpectedHttpStatusCodes(typeof(HttpStatus));
 }
コード例 #5
0
 internal MoveItemsCommand(EasConnectionSettings easConnectionSettings) : base(Command.MoveItems, easConnectionSettings)
 {
 }
コード例 #6
0
 internal GetItemEstimateCommand(EasConnectionSettings easConnectionSettings) : base(Command.GetItemEstimate, easConnectionSettings)
 {
 }
コード例 #7
0
 // Token: 0x060000F4 RID: 244 RVA: 0x0000431D File Offset: 0x0000251D
 protected internal ConnectCommand(EasConnectionSettings easConnectionSettings) : base(Command.Connect, easConnectionSettings)
 {
     base.InitializeExpectedHttpStatusCodes(typeof(HttpStatus));
 }
コード例 #8
0
		// Token: 0x060000EB RID: 235 RVA: 0x00004250 File Offset: 0x00002450
		protected internal TryUnauthenticatedGet(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.TryDnsLookupOfSrvRecord)
		{
			this.WebRequestTimeout = new TimeSpan(0, 0, 10).Milliseconds;
		}
コード例 #9
0
 internal ItemOperationsCommand(EasConnectionSettings easConnectionSettings) : base(Command.ItemOperations, easConnectionSettings)
 {
 }
コード例 #10
0
 // Token: 0x060000E8 RID: 232 RVA: 0x0000420F File Offset: 0x0000240F
 internal TrySmtpAddress(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.TryRemovingDomainPrefix)
 {
 }
コード例 #11
0
 // Token: 0x060000E5 RID: 229 RVA: 0x000041B0 File Offset: 0x000023B0
 internal TryRemovingDomainPrefix(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.TryAddingAutodiscoverPrefix)
 {
 }
コード例 #12
0
 // Token: 0x060001DF RID: 479 RVA: 0x00005681 File Offset: 0x00003881
 internal SyncCommand(EasConnectionSettings easConnectionSettings) : base(Command.Sync, easConnectionSettings)
 {
 }
コード例 #13
0
 // Token: 0x0600006F RID: 111 RVA: 0x00002AB6 File Offset: 0x00000CB6
 protected internal EasCommand(Command command, EasConnectionSettings easConnectionSettings)
 {
     this.Command = command;
     this.EasConnectionSettings = easConnectionSettings;
     this.ProtocolVersion       = EasCommand <TRequest, TResponse> .asVersionToStringDict[this.EasConnectionSettings.EasProtocolVersion];
 }
コード例 #14
0
 // Token: 0x060000DB RID: 219 RVA: 0x0000400C File Offset: 0x0000220C
 internal TryAddingAutodiscoverPrefix(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.TryUnauthenticatedGet)
 {
 }
コード例 #15
0
 internal SendMailCommand(EasConnectionSettings easConnectionSettings) : base(Command.SendMail, easConnectionSettings)
 {
 }
コード例 #16
0
 // Token: 0x0600008E RID: 142 RVA: 0x0000336D File Offset: 0x0000156D
 protected internal EasPseudoCommand(Command command, EasConnectionSettings easConnectionSettings) : base(command, easConnectionSettings)
 {
 }
コード例 #17
0
 public StepContext(AutodiscoverRequest request, EasConnectionSettings easConnectionSettings)
 {
     this.Request = request;
     this.EasConnectionSettings = easConnectionSettings;
     this.ProbeStack            = new Stack <string>();
 }
コード例 #18
0
 // Token: 0x060000BC RID: 188 RVA: 0x000039F4 File Offset: 0x00001BF4
 internal AutodiscoverStep(EasConnectionSettings easConnectionSettings, Step nextStepOnFailure) : base(Command.Autodiscover, easConnectionSettings)
 {
     this.NextStepOnFailure = nextStepOnFailure;
     base.InitializeExpectedHttpStatusCodes(typeof(AutodiscoverHttpStatus));
 }
コード例 #19
0
		// Token: 0x060000E1 RID: 225 RVA: 0x0000408B File Offset: 0x0000228B
		internal TryExistingEndpoint(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.TrySmtpAddress)
		{
		}
コード例 #20
0
 internal FolderSyncCommand(EasConnectionSettings easConnectionSettings) : base(Command.FolderSync, easConnectionSettings)
 {
 }
コード例 #21
0
 internal TryDnsLookupOfSrvRecord(EasConnectionSettings easConnectionSettings) : base(easConnectionSettings, Step.Failed)
 {
 }