コード例 #1
0
ファイル: Template.cs プロジェクト: oe09/v7-framework
        private string LoadTemplate(ref IDomain workingInstance)
        {
            // Template does not have any ContentArguments, That's why it copies it's parent Arguments
            if (this.Parent != null)
            {
                this.ContentArguments.Replace(this.Parent.ContentArguments);
            }

            Domain deployment = null;

            DeploymentAccessRequested?.Invoke(ref workingInstance, ref deployment);

            if (deployment == null)
            {
                throw new System.Exception("Domain Deployment access is failed!");
            }

            return(deployment.ProvideTemplateContent(this.ControlID));
        }
コード例 #2
0
ファイル: Mother.cs プロジェクト: xeora/v7-framework
 public void RequestDeploymentAccess(ref IDomain instance, out Deployment.Domain deployment)
 {
     deployment = null;
     DeploymentAccessRequested?.Invoke(ref instance, out deployment);
 }