本文整理汇总了C#中IWorkspace.SetWorkspaceValue方法的典型用法代码示例。如果您正苦于以下问题:C# IWorkspace.SetWorkspaceValue方法的具体用法?C# IWorkspace.SetWorkspaceValue怎么用?C# IWorkspace.SetWorkspaceValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IWorkspace
的用法示例。
在下文中一共展示了IWorkspace.SetWorkspaceValue方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Initialize
public void Initialize(IWorkspace workspace)
{
Argument.IsNotNull(() => workspace);
workspace.SetWorkspaceValue("AView.Width", 200d);
workspace.SetWorkspaceValue("BView.Width", 200d);
}
示例2: ProvideInformation
public override void ProvideInformation(IWorkspace workspace)
{
Argument.IsNotNull(() => workspace);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.ShowDebug, _filterService.Filter.ShowDebug);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.ShowError, _filterService.Filter.ShowError);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.ShowInfo, _filterService.Filter.ShowInfo);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.ShowWarning, _filterService.Filter.ShowWarning);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.IsUseDateRange, _filterService.Filter.IsUseDateRange);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.StartDate, _filterService.Filter.StartDate);
workspace.SetWorkspaceValue(Settings.Workspace.Filter.EndDate, _filterService.Filter.EndDate);
}
示例3: ProvideInformation
public void ProvideInformation(IWorkspace workspace)
{
Argument.IsNotNull(() => workspace);
workspace.SetWorkspaceValue(_key, _value);
}