public LanguageExpression GetFullyQualifiedResourceId(ModuleSymbol moduleSymbol)
 {
     return(ScopeHelper.FormatFullyQualifiedResourceId(
                context,
                this,
                context.ModuleScopeData[moduleSymbol],
                TemplateWriter.NestedDeploymentResourceType,
                GetModuleNameExpression(moduleSymbol).AsEnumerable()));
 }
 public LanguageExpression GetFullyQualifiedResourceId(ResourceMetadata resource)
 {
     return(ScopeHelper.FormatFullyQualifiedResourceId(
                context,
                this,
                context.ResourceScopeData[resource],
                resource.TypeReference.FormatType(),
                GetResourceNameSegments(resource)));
 }
        public LanguageExpression GetFullyQualifiedResourceId(ResourceSymbol resourceSymbol)
        {
            var typeReference = EmitHelpers.GetTypeReference(resourceSymbol);

            return(ScopeHelper.FormatFullyQualifiedResourceId(
                       context,
                       this,
                       context.ResourceScopeData[resourceSymbol],
                       typeReference.FullyQualifiedType,
                       GetResourceNameSegments(resourceSymbol, typeReference)));
        }