Пример #1
0
        public QueryPhysicalWorkspaceOutput QueryPhysicalWorkspace(QueryPhysicalWorkspaceInput input)
        {
            Platform.CheckForNullReference(input, "input");
            Platform.CheckMemberIsSet(input.ViewerId, "ViewerId");

            var viewer = _viewers[(int)input.ViewerId];
            var pw     = viewer.PhysicalWorkspace;

            return(new QueryPhysicalWorkspaceOutput {
                Rows = pw.Rows, Columns = pw.Columns
            });
        }
Пример #2
0
		public QueryPhysicalWorkspaceOutput QueryPhysicalWorkspace(QueryPhysicalWorkspaceInput input)
		{
			Platform.CheckForNullReference(input, "input");
			Platform.CheckMemberIsSet(input.ViewerId, "ViewerId");

			var viewer = _viewers[(int)input.ViewerId];
			var pw = viewer.PhysicalWorkspace;

			return new QueryPhysicalWorkspaceOutput {Rows = pw.Rows, Columns = pw.Columns};
		}