• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Privacy类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Privacy的典型用法代码示例。如果您正苦于以下问题:C# Privacy类的具体用法?C# Privacy怎么用?C# Privacy使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Privacy类属于命名空间,在下文中一共展示了Privacy类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: CreateOrUpdateCatalogCommand

 public CreateOrUpdateCatalogCommand(long catalogId, string name, long userId, Privacy visibility)
 {
     CatalogId = catalogId;
     Name = name;
     UserId = userId;
     Visibility = visibility;
 }
开发者ID:sondreb,项目名称:InTheBoks,代码行数:7,代码来源:CreateOrUpdateCatalogCommand.cs


示例2: TextTag

 public TextTag(string Author, Privacy Privacy, string Id, long Timestamp)
 {
     author = Author;
     privacy = Privacy; 
     id = Id;
     timestamp = Timestamp;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:7,代码来源:Extensions.cs


示例3: Create

 public long Create(string catalogName, string description, Privacy privacy)
 {
     return Call<long>("create", new
     {
         Name = catalogName,
         Description = description,
         Privacy = privacy
     });
 }
开发者ID:SYW,项目名称:social-insight,代码行数:9,代码来源:CatalogsApi.cs


示例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;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:9,代码来源:ConversationDescriptor.cs


示例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;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:9,代码来源:ConversationDescriptor.cs


示例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;
 }
开发者ID:ElizaReiGWCD,项目名称:ImageCandy,代码行数:10,代码来源:UploadPhoto.cs


示例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;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:10,代码来源:Extensions.cs


示例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;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:10,代码来源:PowerPointContent.xaml.cs


示例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;
        }
开发者ID:rene-scheepers,项目名称:ict4events-filesharing,代码行数:11,代码来源:RemoteFile.cs


示例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);
        }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:15,代码来源:FrameworkElementExtensions.cs


示例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);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:11,代码来源:Reference.cs


示例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]));
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:8,代码来源:Reference.cs


示例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);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:12,代码来源:Reference.cs


示例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]));
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:9,代码来源:Reference.cs


示例15: UpdateMembershipPrivacy

 public void UpdateMembershipPrivacy(string accountName, System.Guid sourceInternal, string sourceReference, Privacy newPrivacy) {
     this.Invoke("UpdateMembershipPrivacy", new object[] {
                 accountName,
                 sourceInternal,
                 sourceReference,
                 newPrivacy});
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:7,代码来源:Reference.cs


示例16: UpdateColleaguePrivacyAsync

 /// <remarks/>
 public void UpdateColleaguePrivacyAsync(string accountName, string colleagueAccountName, Privacy newPrivacy) {
     this.UpdateColleaguePrivacyAsync(accountName, colleagueAccountName, newPrivacy, null);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:4,代码来源:Reference.cs


示例17: AddLinkAsync

 /// <remarks/>
 public void AddLinkAsync(string accountName, string name, string url, string group, Privacy privacy, object userState) {
     if ((this.AddLinkOperationCompleted == null)) {
         this.AddLinkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddLinkOperationCompleted);
     }
     this.InvokeAsync("AddLink", new object[] {
                 accountName,
                 name,
                 url,
                 group,
                 privacy}, this.AddLinkOperationCompleted, userState);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:12,代码来源:Reference.cs


示例18: AddLink

 public QuickLinkData AddLink(string accountName, string name, string url, string group, Privacy privacy) {
     object[] results = this.Invoke("AddLink", new object[] {
                 accountName,
                 name,
                 url,
                 group,
                 privacy});
     return ((QuickLinkData)(results[0]));
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:9,代码来源:Reference.cs


示例19: xmppOnLogin

 /// <summary>
 /// Se produit lorsque le flux XMPP est disponible
 /// </summary>
 /// <param name="sender">Objet parent</param>
 private void xmppOnLogin(object sender)
 {
     Jabber.xmpp.DiscoInfo = Queries.getDiscoInfo();
     xmppDiscoServer();
     _queries = new Queries();
     _privacy = new Privacy();
     _bookmarks = new Bookmarks();
     _identity = new Identity(xmpp.MyJID);
     _identity.retrieve();
     _roster = new Roster();
     _presence = new nJim.Presence();
     OnConnected();
     xmpp.RequestRoster();
 }
开发者ID:spzenk,项目名称:sfdocsamples,代码行数:18,代码来源:Jabber.cs


示例20: UpdateColleaguePrivacy

 public void UpdateColleaguePrivacy(string accountName, string colleagueAccountName, Privacy newPrivacy) {
     this.Invoke("UpdateColleaguePrivacy", new object[] {
                 accountName,
                 colleagueAccountName,
                 newPrivacy});
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:6,代码来源:Reference.cs



注:本文中的Privacy类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# PrivateObject类代码示例发布时间:2022-05-24
下一篇:
C# PriorityQueue类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap