Ejemplo n.º 1
0
 public OrgApp(DefaultStateForUser?defaultStateForUser, ClientExtensionProvidedTo providedTo, MultiValuedProperty <ADObjectId> userList, string marketplaceAssetID, string marketplaceContentMarket, string providerName, Uri iconURL, string extensionId, string version, ExtensionType?type, ExtensionInstallScope?scope, RequestedCapabilities?requirements, string displayName, string description, bool enabled, string manifestXml, string etoken, EntitlementTokenData eTokenData, string appStatus, ADObjectId mailboxOwnerId) : base(defaultStateForUser, marketplaceAssetID, marketplaceContentMarket, providerName, iconURL, extensionId, version, type, scope, requirements, displayName, description, enabled, manifestXml, mailboxOwnerId, etoken, eTokenData, appStatus)
 {
     this.ProvidedTo = providedTo;
     this.UserList   = userList;
 }
Ejemplo n.º 2
0
 public App(DefaultStateForUser?defaultStateForUser, string marketplaceAssetID, string marketplaceContentMarket, string providerName, Uri iconURL, string extensionId, string version, ExtensionType?type, ExtensionInstallScope?scope, RequestedCapabilities?requirements, string displayName, string description, bool enabled, string manifestXml, ADObjectId mailboxOwnerId, string eToken, EntitlementTokenData eTokenData, string appStatus)
 {
     this.DefaultStateForUser      = defaultStateForUser;
     this.MarketplaceAssetID       = marketplaceAssetID;
     this.MarketplaceContentMarket = marketplaceContentMarket;
     this.ProviderName             = providerName;
     this.IconURL        = iconURL;
     this.AppId          = extensionId;
     this.AppVersion     = version;
     this.Type           = type;
     this.Scope          = scope;
     this.Requirements   = requirements;
     this.DisplayName    = displayName;
     this.Description    = description;
     this.Enabled        = enabled;
     this.ManifestXml    = manifestXml;
     base.MailboxOwnerId = mailboxOwnerId;
     this.Etoken         = eToken;
     this.AppStatus      = appStatus;
     if (eTokenData != null)
     {
         base.SetExchangeVersion(ExchangeObjectVersion.Current);
         this.LicensePurchaser     = eTokenData.LicensePurchaser;
         this.EtokenExpirationDate = eTokenData.EtokenExpirationDate.ToString();
         this.LicenseType          = new LicenseType?((LicenseType)eTokenData.LicenseType);
         this.SeatsPurchased       = eTokenData.SeatsPurchased.ToString();
     }
 }