/// <summary>
        /// Initializes a new instance of the <see cref="JsonLightDataContextFormatApplier"/> class.
        /// </summary>
        /// <param name="workspace">The workspace.</param>
        /// <param name="clientCodeLayerGenerator">The ClientCodeLayerGenerator</param>
        public JsonLightDataContextFormatApplier(AstoriaWorkspace workspace, IClientCodeLayerGenerator clientCodeLayerGenerator)
        {
            ExceptionUtilities.CheckArgumentNotNull(workspace, "workspace");
            ExceptionUtilities.CheckArgumentNotNull(clientCodeLayerGenerator, "clientCodeLayerGenerator");

            this.workspace = workspace;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="JsonLightDataContextFormatApplier"/> class.
        /// </summary>
        /// <param name="workspace">The workspace.</param>
        /// <param name="clientCodeLayerGenerator">The ClientCodeLayerGenerator</param>
        public JsonLightDataContextFormatApplier(AstoriaWorkspace workspace, IClientCodeLayerGenerator clientCodeLayerGenerator)
        {
            ExceptionUtilities.CheckArgumentNotNull(workspace, "workspace");
            ExceptionUtilities.CheckArgumentNotNull(clientCodeLayerGenerator, "clientCodeLayerGenerator");

            this.workspace = workspace;
        }