public StoreOperationSetDeploymentMetadata(IDefinitionAppId Deployment, StoreApplicationReference Reference, StoreOperationMetadataProperty[] SetProperties, StoreOperationMetadataProperty[] TestProperties)
{
this.Size = (uint) Marshal.SizeOf(typeof(StoreOperationSetDeploymentMetadata));
this.Flags = OpFlags.Nothing;
this.Deployment = Deployment;
if (SetProperties != null)
{
this.PropertiesToSet = MarshalProperties(SetProperties);
this.cPropertiesToSet = new IntPtr(SetProperties.Length);
}
else
{
this.PropertiesToSet = IntPtr.Zero;
this.cPropertiesToSet = IntPtr.Zero;
}
if (TestProperties != null)
{
this.PropertiesToTest = MarshalProperties(TestProperties);
this.cPropertiesToTest = new IntPtr(TestProperties.Length);
}
else
{
this.PropertiesToTest = IntPtr.Zero;
this.cPropertiesToTest = IntPtr.Zero;
}
this.InstallerReference = Reference.ToIntPtr();
}