本文整理汇总了C#中Client.Read方法的典型用法代码示例。如果您正苦于以下问题:C# Client.Read方法的具体用法?C# Client.Read怎么用?C# Client.Read使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Client
的用法示例。
在下文中一共展示了Client.Read方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: StructureGroup
/// <summary>
/// Initializes a new instance of the <see cref="StructureGroup"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal StructureGroup(Client client, TcmUri uri)
: this(client, client.Read<StructureGroupData>(uri))
{
}
示例2: Group
/// <summary>
/// Initializes a new instance of the <see cref="Group"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Group(Client client, TcmUri uri)
: this(client, client.Read<GroupData>(uri))
{
}
示例3: Activity
/// <summary>
/// Initializes a new instance of the <see cref="Activity"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Activity(Client client, TcmUri uri)
: this(client, client.Read<ActivityData>(uri))
{
}
示例4: Process
/// <summary>
/// Initializes a new instance of the <see cref="Process"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Process(Client client, TcmUri uri)
: this(client, client.Read<ProcessData>(uri))
{
}
示例5: PublishingTarget
/// <summary>
/// Initializes a new instance of the <see cref="PublishingTarget"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal PublishingTarget(Client client, TcmUri uri)
: this(client, client.Read<PublishingTargetData>(uri))
{
}
示例6: IdentifiableObject
/// <summary>
/// Initializes a new instance of the <see cref="IdentifiableObject"/> class.
/// </summary>
/// <param name="session"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal IdentifiableObject(Client client, TcmUri uri)
: this(client, client.Read<IdentifiableObjectData>(uri))
{
}
示例7: TargetType
/// <summary>
/// Initializes a new instance of the <see cref="TargetType"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal TargetType(Client client, TcmUri uri)
: this(client, client.Read<TargetTypeData>(uri))
{
}
示例8: ApprovalStatus
/// <summary>
/// Initializes a new instance of the <see cref="ApprovalStatus"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal ApprovalStatus(Client client, TcmUri uri)
: this(client, client.Read<ApprovalStatusData>(uri))
{
}
示例9: Schema
/// <summary>
/// Initializes a new instance of the <see cref="Schema"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Schema(Client client, TcmUri uri)
: this(client, client.Read<SchemaData>(uri))
{
}
示例10: TemplateBuildingBlock
/// <summary>
/// Initializes a new instance of the <see cref="TemplateBuildingBlock"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Session" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal TemplateBuildingBlock(Client client, TcmUri uri)
: this(client, client.Read<TemplateBuildingBlockData>(uri))
{
}
示例11: ActivityInstance
/// <summary>
/// Initializes a new instance of the <see cref="ActivityInstance"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal ActivityInstance(Client client, TcmUri uri)
: this(client, client.Read<ActivityInstanceData>(uri))
{
}
示例12: Page
/// <summary>
/// Initializes a new instance of the <see cref="Page"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Page(Client client, TcmUri uri)
: this(client, client.Read<PageData>(uri))
{
}
示例13: Category
/// <summary>
/// Initializes a new instance of the <see cref="Category"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Category(Client client, TcmUri uri)
: this(client, client.Read<CategoryData>(uri))
{
}
示例14: ProcessInstance
/// <summary>
/// Initializes a new instance of the <see cref="ProcessInstance"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal ProcessInstance(Client client, TcmUri uri)
: this(client, client.Read<ProcessInstanceData>(uri))
{
}
示例15: Repository
/// <summary>
/// Initializes a new instance of the <see cref="Repository"/> class.
/// </summary>
/// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
/// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
internal Repository(Client client, TcmUri uri)
: this(client, client.Read<RepositoryData>(uri))
{
}