本文整理汇总了C#中Privacy类的典型用法代码示例。如果您正苦于以下问题:C# Privacy类的具体用法?C# Privacy怎么用?C# Privacy使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Privacy类属于命名空间,在下文中一共展示了Privacy类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CreateOrUpdateCatalogCommand
public CreateOrUpdateCatalogCommand(long catalogId, string name, long userId, Privacy visibility)
{
CatalogId = catalogId;
Name = name;
UserId = userId;
Visibility = visibility;
}
示例2: TextTag
public TextTag(string Author, Privacy Privacy, string Id, long Timestamp)
{
author = Author;
privacy = Privacy;
id = Id;
timestamp = Timestamp;
}
示例3: Create
public long Create(string catalogName, string description, Privacy privacy)
{
return Call<long>("create", new
{
Name = catalogName,
Description = description,
Privacy = privacy
});
}
示例4: CanvasContentDescriptor
public CanvasContentDescriptor(double X, double Y, double W, double H, Privacy P, string T)
{
x = X;
y = Y;
w = W;
h = H;
privacy = P;
target = T;
}
示例5: TextDescriptor
public TextDescriptor(double X, double Y, double W, double H, Privacy P, string T, string Content, string FF, double FS, string FW, string FD, System.Windows.Media.Color FC) : base(X, Y, W, H,P,T)
{
fontFamily = FF;
fontSize = FS;
fontWeight = FW;
fontDecoration = FD;
content = Content;
fontColor = FC;
}
示例6: UploadPhoto
public UploadPhoto(Guid id, Guid user, Stream file, string filename, string contenttype, Privacy privacy, ICommandSender bus)
{
Id = id;
UserId = user;
File = file;
Filename = filename;
ContentType = contenttype;
Privacy = privacy;
Bus = bus;
}
示例7: ImageTag
public ImageTag(string Author, Privacy Privacy, string Id, bool IsBackground, long Timestamp, string ResourceIdentity, int ZIndex = 0)
{
author = Author;
privacy = Privacy;
id = Id;
isBackground = IsBackground;
zIndex = ZIndex;
resourceIdentity = ResourceIdentity;
timestamp = Timestamp;
}
示例8: VisualizedPowerpointContent
public VisualizedPowerpointContent(int s, double x, double y, double w, double h, Privacy p, string t)
{
Slide = s;
X = x;
Y = y;
Width = w;
Height = h;
Privacy = p;
Target = t;
}
示例9: RemoteFile
private RemoteFile(int id, string filename, string title, long size, int categoryId, bool active, int userId, Privacy privacy)
: base(filename, title, privacy)
{
Id = id;
Size = size;
Active = active;
this.userId = userId;
this.categoryId = categoryId;
}
示例10: ApplyPrivacyStyling
public static void ApplyPrivacyStyling(this FrameworkElement element, ContentBuffer contentBuffer, string target, Privacy newPrivacy)
{
if ((!Globals.conversationDetails.Permissions.studentCanWorkPublicly && !Globals.isAuthor) || (target == "notepad"))
{
element.RemovePrivacyStyling(contentBuffer);
return;
}
if (newPrivacy != Privacy.Private)
{
element.RemovePrivacyStyling(contentBuffer);
return;
}
ApplyShadowEffect(element, contentBuffer, Colors.Black);
}
示例11: AddMembershipAsync
/// <remarks/>
public void AddMembershipAsync(string accountName, MembershipData membershipInfo, string group, Privacy privacy, object userState) {
if ((this.AddMembershipOperationCompleted == null)) {
this.AddMembershipOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMembershipOperationCompleted);
}
this.InvokeAsync("AddMembership", new object[] {
accountName,
membershipInfo,
group,
privacy}, this.AddMembershipOperationCompleted, userState);
}
示例12: AddMembership
public MembershipData AddMembership(string accountName, MembershipData membershipInfo, string group, Privacy privacy) {
object[] results = this.Invoke("AddMembership", new object[] {
accountName,
membershipInfo,
group,
privacy});
return ((MembershipData)(results[0]));
}
示例13: AddColleagueAsync
/// <remarks/>
public void AddColleagueAsync(string accountName, string colleagueAccountName, string group, Privacy privacy, bool isInWorkGroup, object userState) {
if ((this.AddColleagueOperationCompleted == null)) {
this.AddColleagueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddColleagueOperationCompleted);
}
this.InvokeAsync("AddColleague", new object[] {
accountName,
colleagueAccountName,
group,
privacy,
isInWorkGroup}, this.AddColleagueOperationCompleted, userState);
}
示例14: AddColleague
public ContactData AddColleague(string accountName, string colleagueAccountName, string group, Privacy privacy, bool isInWorkGroup) {
object[] results = this.Invoke("AddColleague", new object[] {
accountName,
colleagueAccountName,
group,
privacy,
isInWorkGroup});
return ((ContactData)(results[0]));
}
示例15: UpdateMembershipPrivacy
public void UpdateMembershipPrivacy(string accountName, System.Guid sourceInternal, string sourceReference, Privacy newPrivacy) {
this.Invoke("UpdateMembershipPrivacy", new object[] {
accountName,
sourceInternal,
sourceReference,
newPrivacy});
}