Ejemplo n.º 1
0
        internal ExtensionImageVersion(XElement xml)
        {
            var azureNamespace = XmlNamespaces.WindowsAzure;

            xml.HydrateObject(azureNamespace, this);

            PublicConfigurationSchema  = PublicConfigurationSchema.FromBase64String();
            PrivateConfigurationSchema = PrivateConfigurationSchema.FromBase64String();
            SampleConfig = SampleConfig.FromBase64String();
        }
Ejemplo n.º 2
0
        internal AvailableExtensionImage(XElement xml, Subscription subscription)
        {
            Subscription = subscription;
            var azureNamespace = XmlNamespaces.WindowsAzure;

            xml.HydrateObject(azureNamespace, this);

            PublicConfigurationSchema  = PublicConfigurationSchema.FromBase64String();
            PrivateConfigurationSchema = PrivateConfigurationSchema.FromBase64String();
            SampleConfig = SampleConfig.FromBase64String();

            Versions = new LatentSequence <ExtensionImageVersion>(GetExtensionImageVersionsAsync);
        }